Georgi Naplatanov
2013-08-24 08:15:42 UTC
Hi, I want my machine to ignore ICMP redirects in Debian Wheezy (Linux
kernel)
Does
net.ipv4.conf.all.accept_redirects = 0
in /etc/sysctl.conf make kernel to ignore ICMP redirects for all interfaces
or
1) do I have to set it for particular interface like
net.ipv4.conf.eth0.accept_redirects = 0
or
2) do I have to set a rule in iptables like
iptables -A INPUT -i eth0 -p icmp --icmp-type 5 -j DROP
Thanks in advance.
Best regards
Georgi
kernel)
Does
net.ipv4.conf.all.accept_redirects = 0
in /etc/sysctl.conf make kernel to ignore ICMP redirects for all interfaces
or
1) do I have to set it for particular interface like
net.ipv4.conf.eth0.accept_redirects = 0
or
2) do I have to set a rule in iptables like
iptables -A INPUT -i eth0 -p icmp --icmp-type 5 -j DROP
Thanks in advance.
Best regards
Georgi