netlink作为可选政策

This commit is contained in:
2025-11-26 20:35:04 +08:00
parent f0dc592fdb
commit 2f982e9892
3 changed files with 0 additions and 4 deletions

View File

@@ -9,7 +9,6 @@ protocol device {
protocol kernel {
scan time 20;
merge paths yes limit 4;
netlink rx buffer 8388608;
ipv6 {
import none;
export filter {

View File

@@ -2,7 +2,6 @@ protocol kernel {
scan time 20;
kernel table 102;
merge paths yes limit 4;
netlink rx buffer 8388608;
ipv4 {
table inet4;
import none;

View File

@@ -6,8 +6,6 @@ rm -rf /etc/bird/net
mv bird_config/bird/net /etc/bird/
rm -rf /etc/bird/bird.conf
mv bird_config/bird/bird.conf /etc/bird/
echo "net.core.rmem_max=8388608" >> /etc/sysctl.conf
sysctl -p
chmod -R 755 /etc/bird