Re: Getting "ICMP Host redirect from gateway" response



Am Wed, 30 May 2007 20:10:50 -0500 schrieb Moe Trin:

I can't say - you'd have to look at the kernel source (depending, this
should be in /usr/src/linux/net/ipv4/* somewhere). I'm not exactly sure
the D flag is implemented in modern kernels. I'd also be looking at the
ARP cache.
e.g:
/proc/sys/net/ipv4/conf/eth0/send_redirects
/proc/sys/net/ipv4/conf/eth0/secure_redirects
/proc/sys/net/ipv4/conf/eth0/accept_redirects
/proc/sys/net/ipv4/conf/lo/send_redirects
/proc/sys/net/ipv4/conf/lo/secure_redirects
/proc/sys/net/ipv4/conf/lo/accept_redirects
/proc/sys/net/ipv4/conf/default/send_redirects
/proc/sys/net/ipv4/conf/default/secure_redirects
/proc/sys/net/ipv4/conf/default/accept_redirects
/proc/sys/net/ipv4/conf/all/send_redirects
/proc/sys/net/ipv4/conf/all/secure_redirects
/proc/sys/net/ipv4/conf/all/accept_redirects
/proc/sys/net/ipv4/route/redirect_silence
/proc/sys/net/ipv4/route/redirect_number
.