icmp type 5 redirect

Stefan Lambrev stefan.lambrev at moneybookers.com
Tue Nov 6 08:51:02 PST 2007


Hi,

Yuri Pankov wrote:
> 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");
>
>   
The sysctl is ok. and the redirect work ok, I found where the problem is.
seems that my problems are carp related :) but I'll share my findings on 
the "rtfree: 0xc741ee88 has 1 refs" thread
and fill PRs where needed.
> Yuri
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>   

-- 

Best Wishes,
Stefan Lambrev
ICQ# 24134177



More information about the freebsd-net mailing list