- 论坛徽章:
- 0
|
回复 18# ww2000e
我是试一个办法……
sysctl -w net.ipv4.conf.eth0.send_redirects=0
sysctl -w net.ipv4.conf.lo.send_redirects=0
sysctl -w net.ipv4.conf.default.send_redirects=0
sysctl -w net.ipv4.conf.all.send_redirects=0
sysctl -w net.ipv4.conf.eth0.accept_redirects=0
sysctl -w net.ipv4.conf.lo.accept_redirects=0
sysctl -w net.ipv4.conf.default.accept_redirects=0
sysctl -w net.ipv4.conf.all.accept_redirects=0
这样就可以把那两项disable掉,貌似是因为eth0,lo,default,all四个文件夹下皆有send_redirects,accept_
redirects.这也是为什么如果cat它们的话会有4个值都是1的原因 |
|