From owner-freebsd-net@FreeBSD.ORG Tue Nov 6 16:51:02 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4181E16A417 for ; Tue, 6 Nov 2007 16:51:02 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id EA14213C4A5 for ; Tue, 6 Nov 2007 16:51:01 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 2D2D61B10EF1; Tue, 6 Nov 2007 17:51:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_61 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 7E7F41B10EEC for ; Tue, 6 Nov 2007 17:50:57 +0100 (CET) Message-ID: <47309B71.9000804@moneybookers.com> Date: Tue, 06 Nov 2007 18:50:57 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.6 (X11/20071105) MIME-Version: 1.0 To: freebsd-net@FreeBSD.org References: <47305839.3060705@moneybookers.com> <1194366322.8230.3.camel@darklight.org.ru> In-Reply-To: <1194366322.8230.3.camel@darklight.org.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4682/Tue Nov 6 16:42:37 2007 on blah.cmotd.com X-Virus-Status: Clean Cc: Subject: Re: icmp type 5 redirect X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 16:51:02 -0000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Best Wishes, Stefan Lambrev ICQ# 24134177