From 688d6e08093c9164a3d88c78cf619419a1e35e81 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Wed, 15 Jan 2025 17:45:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=20SYSCTL=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 07.PVE制作TS服务器.md | 5 ----- src/debian/debian_ts_99_sysctl.conf | 5 ----- 2 files changed, 10 deletions(-) diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index d4f61a2..6a39f8c 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -228,8 +228,6 @@ net.ipv4.conf.default.arp_ignore = 1 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 -net.ipv4.conf.all.log_martians = 1 - net.ipv4.igmp_max_memberships = 256 net.ipv4.route.error_burst = 500 @@ -246,9 +244,6 @@ net.ipv4.tcp_notsent_lowat = 131072 net.ipv4.tcp_rmem = 4096 87380 26214400 net.ipv4.tcp_wmem = 4096 16384 655360 -net.ipv6.conf.all.accept_ra = 0 -net.ipv6.conf.default.accept_ra = 0 - net.ipv6.conf.all.accept_redirects = 0 net.ipv6.conf.default.accept_redirects = 0 diff --git a/src/debian/debian_ts_99_sysctl.conf b/src/debian/debian_ts_99_sysctl.conf index 460ba86..7a53e57 100644 --- a/src/debian/debian_ts_99_sysctl.conf +++ b/src/debian/debian_ts_99_sysctl.conf @@ -34,8 +34,6 @@ net.ipv4.conf.default.arp_ignore = 1 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 -net.ipv4.conf.all.log_martians = 1 - net.ipv4.igmp_max_memberships = 256 net.ipv4.route.error_burst = 500 @@ -52,9 +50,6 @@ net.ipv4.tcp_notsent_lowat = 131072 net.ipv4.tcp_rmem = 4096 87380 26214400 net.ipv4.tcp_wmem = 4096 16384 655360 -net.ipv6.conf.all.accept_ra = 0 -net.ipv6.conf.default.accept_ra = 0 - net.ipv6.conf.all.accept_redirects = 0 net.ipv6.conf.default.accept_redirects = 0