ソースを参照

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
cx9208 6 年 前
コミット
c7f70dbabc

BIN
bbrplus/centos/7/kernel-4.14.91.rpm → bbrplus/centos/7/kernel-4.14.129-bbrplus.rpm


BIN
bbrplus/centos/7/kernel-headers-4.14.129-bbrplus.rpm


BIN
bbrplus/centos/7/kernel-headers-4.14.91.rpm


BIN
bbrplus/debian-ubuntu/x64/linux-headers-4.14.91.deb → bbrplus/debian-ubuntu/x64/linux-headers-4.14.129-bbrplus.deb


BIN
bbrplus/debian-ubuntu/x64/linux-image-4.14.91.deb → bbrplus/debian-ubuntu/x64/linux-image-4.14.129-bbrplus.deb


+ 4 - 3
tcp.sh

@@ -11,7 +11,7 @@ export PATH
 #=================================================
 
 sh_ver="1.3.1"
-github="raw.githubusercontent.com/chiakge/Linux-NetSpeed/master"
+github="raw.githubusercontent.com/cx9208/Linux-NetSpeed/master"
 
 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"
 Info="${Green_font_prefix}[信息]${Font_color_suffix}"
@@ -53,11 +53,12 @@ installbbr(){
 
 #安装BBRplus内核
 installbbrplus(){
-	kernel_version="4.14.91"
+	kernel_version="4.14.129-bbrplus"
 	if [[ "${release}" == "centos" ]]; then
 		wget -N --no-check-certificate https://${github}/bbrplus/${release}/${version}/kernel-${kernel_version}.rpm
 		yum install -y kernel-${kernel_version}.rpm
 		rm -f kernel-${kernel_version}.rpm
+		kernel_version="4.14.129_bbrplus" #fix a bug
 	elif [[ "${release}" == "debian" || "${release}" == "ubuntu" ]]; then
 		mkdir bbrplus && cd bbrplus
 		wget -N --no-check-certificate http://${github}/bbrplus/debian-ubuntu/${bit}/linux-headers-${kernel_version}.deb
@@ -601,7 +602,7 @@ check_sys_Lotsever(){
 check_status(){
 	kernel_version=`uname -r | awk -F "-" '{print $1}'`
 	kernel_version_full=`uname -r`
-	if [[ ${kernel_version_full} = "4.14.91-bbrplus" ]]; then
+	if [[ ${kernel_version_full} = "4.14.129-bbrplus" ]]; then
 		kernel_status="BBRplus"
 	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
 		kernel_status="Lotserver"