icmp type 5 redirect

Yuri Pankov yuri.pankov at gmail.com
Tue Nov 6 08:26:47 PST 2007


On Tue, 2007-11-06 at 14:04 +0200, Stefan Lambrev wrote:
> Hi,
> 
> When FreeBSD 6 act as a gatewa,y by default sends icmp type 5 redirect 
> when needed,
> but releng_7 does not. Any ideas how to enable this on RELENG_7?
> 
> net.inet.icmp.maskrepl: 0
> net.inet.icmp.icmplim: 200
> net.inet.icmp.bmcastecho: 0
> net.inet.icmp.quotelen: 8
> net.inet.icmp.reply_from_interface: 0
> net.inet.icmp.reply_src:
> net.inet.icmp.icmplim_output: 1
> net.inet.icmp.log_redirect: 0
> net.inet.icmp.drop_redirect: 0
> net.inet.icmp.maskfake: 0
> 

It's "net.inet.ip.redirect", if I'm not mistaken.
from /sys/netinet/ip_input.c:

SYSCTL_INT(_net_inet_ip, IPCTL_SENDREDIRECTS, redirect, CTLFLAG_RW,
    &ipsendredirects, 0, "Enable sending IP redirects");


Yuri


More information about the freebsd-net mailing list