netlink作为可选政策
This commit is contained in:
@@ -9,7 +9,6 @@ protocol device {
|
|||||||
protocol kernel {
|
protocol kernel {
|
||||||
scan time 20;
|
scan time 20;
|
||||||
merge paths yes limit 4;
|
merge paths yes limit 4;
|
||||||
netlink rx buffer 8388608;
|
|
||||||
ipv6 {
|
ipv6 {
|
||||||
import none;
|
import none;
|
||||||
export filter {
|
export filter {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ protocol kernel {
|
|||||||
scan time 20;
|
scan time 20;
|
||||||
kernel table 102;
|
kernel table 102;
|
||||||
merge paths yes limit 4;
|
merge paths yes limit 4;
|
||||||
netlink rx buffer 8388608;
|
|
||||||
ipv4 {
|
ipv4 {
|
||||||
table inet4;
|
table inet4;
|
||||||
import none;
|
import none;
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ rm -rf /etc/bird/net
|
|||||||
mv bird_config/bird/net /etc/bird/
|
mv bird_config/bird/net /etc/bird/
|
||||||
rm -rf /etc/bird/bird.conf
|
rm -rf /etc/bird/bird.conf
|
||||||
mv bird_config/bird/bird.conf /etc/bird/
|
mv bird_config/bird/bird.conf /etc/bird/
|
||||||
echo "net.core.rmem_max=8388608" >> /etc/sysctl.conf
|
|
||||||
sysctl -p
|
|
||||||
|
|
||||||
chmod -R 755 /etc/bird
|
chmod -R 755 /etc/bird
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user