Date: Tue, 06 Nov 2007 19:25:22 +0300 From: Yuri Pankov <yuri.pankov@gmail.com> To: Stefan Lambrev <stefan.lambrev@moneybookers.com> Cc: freebsd-net@freebsd.org Subject: Re: icmp type 5 redirect Message-ID: <1194366322.8230.3.camel@darklight.org.ru> In-Reply-To: <47305839.3060705@moneybookers.com> References: <47305839.3060705@moneybookers.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1194366322.8230.3.camel>
