Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

Commit c7f70db

Browse files
cx9208chiakge
authored andcommitted
update bbrplus kernel, fix CVE-2019-11477 (#23)
* update debian bbrplus kernel, fix CVE-2019-11477 * change github * update bbrplus kernel, fix CVE-2019-11477 * fix a bug * del
1 parent 2f22500 commit c7f70db

6 files changed

+4
-3
lines changed
Binary file not shown.
-1.13 MB
Binary file not shown.

tcp.sh

100644100755
+4-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export PATH
1111
#=================================================
1212

1313
sh_ver="1.3.1"
14-
github="raw.githubusercontent.com/chiakge/Linux-NetSpeed/master"
14+
github="raw.githubusercontent.com/cx9208/Linux-NetSpeed/master"
1515

1616
Green_font_prefix="\033[32m" && Red_font_prefix="\033[31m" && Green_background_prefix="\033[42;37m" && Red_background_prefix="\033[41;37m" && Font_color_suffix="\033[0m"
1717
Info="${Green_font_prefix}[信息]${Font_color_suffix}"
@@ -53,11 +53,12 @@ installbbr(){
5353

5454
#安装BBRplus内核
5555
installbbrplus(){
56-
kernel_version="4.14.91"
56+
kernel_version="4.14.129-bbrplus"
5757
if [[ "${release}" == "centos" ]]; then
5858
wget -N --no-check-certificate https://${github}/bbrplus/${release}/${version}/kernel-${kernel_version}.rpm
5959
yum install -y kernel-${kernel_version}.rpm
6060
rm -f kernel-${kernel_version}.rpm
61+
kernel_version="4.14.129_bbrplus" #fix a bug
6162
elif [[ "${release}" == "debian" || "${release}" == "ubuntu" ]]; then
6263
mkdir bbrplus && cd bbrplus
6364
wget -N --no-check-certificate http://${github}/bbrplus/debian-ubuntu/${bit}/linux-headers-${kernel_version}.deb
@@ -601,7 +602,7 @@ check_sys_Lotsever(){
601602
check_status(){
602603
kernel_version=`uname -r | awk -F "-" '{print $1}'`
603604
kernel_version_full=`uname -r`
604-
if [[ ${kernel_version_full} = "4.14.91-bbrplus" ]]; then
605+
if [[ ${kernel_version_full} = "4.14.129-bbrplus" ]]; then
605606
kernel_status="BBRplus"
606607
elif [[ ${kernel_version} = "3.10.0" || ${kernel_version} = "3.16.0" || ${kernel_version} = "3.2.0" || ${kernel_version} = "4.4.0" || ${kernel_version} = "3.13.0" || ${kernel_version} = "2.6.32" || ${kernel_version} = "4.9.0" ]]; then
607608
kernel_status="Lotserver"

0 commit comments

Comments
 (0)