From owner-freebsd-net@FreeBSD.ORG Fri Oct 5 00:28:13 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C1F71065672; Fri, 5 Oct 2012 00:28:13 +0000 (UTC) (envelope-from dblais@interplex.ca) Received: from smtp1.interplex.ca (smtp1.interplex.ca [207.134.105.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4904B8FC0A; Fri, 5 Oct 2012 00:28:12 +0000 (UTC) Received: by smtp1.interplex.ca (Postfix, from userid 106) id E4143509AB; Thu, 4 Oct 2012 20:28:11 -0400 (EDT) Received: from smtp.interplex.ca (office.abi.ca [207.134.166.34]) by smtp1.interplex.ca (Postfix) with ESMTP id 6990C50881; Thu, 4 Oct 2012 20:28:11 -0400 (EDT) Received: from WIN2008.Domnt.abi.ca ([fe80::e06e:fea4:8702:2295]) by WIN2008.Domnt.abi.ca ([fe80::e06e:fea4:8702:2295%12]) with mapi; Thu, 4 Oct 2012 20:28:11 -0400 From: Dominic Blais To: Gary Palmer , Krzysztof Barcikowski Date: Thu, 4 Oct 2012 20:27:58 -0400 Thread-Topic: Default route destination changing without warning follow-up Thread-Index: Ac2ifuhL7I/vMxudQc+Z57zSk3GI9QAETEFA Message-ID: <2DE61B0869B7484997BCA012845482C7EBE8E2814B@WIN2008.Domnt.abi.ca> References: <2DE61B0869B7484997BCA012845482C7EBE8E280DB@WIN2008.Domnt.abi.ca> <5068AC17.8020704@FreeBSD.org> <2DE61B0869B7484997BCA012845482C7EBE8E280DC@WIN2008.Domnt.abi.ca> <5068ADCC.5030105@FreeBSD.org> <2DE61B0869B7484997BCA012845482C7EBE8E280DD@WIN2008.Domnt.abi.ca> <5068B48E.2070303@FreeBSD.org> <20121004160240.GA1967@funkthat.com> <506DC933.7080307@airnet.opole.pl> <20121004222327.GA40357@in-addr.com> In-Reply-To: <20121004222327.GA40357@in-addr.com> Accept-Language: fr-FR, fr-CA Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR, fr-CA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-net@freebsd.org" , "Alexander V. Chernikov" Subject: RE: Default route destination changing without warning follow-up 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: Fri, 05 Oct 2012 00:28:13 -0000 net.inet.icmp.log_redirect: 0 net.inet.icmp.drop_redirect: 0 net.inet6.ip6.redirect: 1 net.inet6.icmp6.rediraccept: 1 -- -----Message d'origine----- De=A0: Gary Palmer [mailto:gpalmer@freebsd.org]=20 Envoy=E9=A0: 4 octobre 2012 18:23 =C0=A0: Krzysztof Barcikowski Cc=A0: Alexander V. Chernikov; Dominic Blais; freebsd-net@freebsd.org Objet=A0: Re: Default route destination changing without warning follow-up On Thu, Oct 04, 2012 at 07:36:51PM +0200, Krzysztof Barcikowski wrote: > W dniu 2012-10-04 18:02, John-Mark Gurney pisze: > > Alexander V. Chernikov wrote this message on Mon, Oct 01, 2012 at 01:07= +0400: > >> On 01.10.2012 00:59, Dominic Blais wrote: > >>> It's all about IPv4 in my case. > >> It will be great to supply some more details (e.g. like FreeBSD=20 > >> version, interfaces configuration, netstat -rn output). > >> > >> How often does this happen ? > >> (e.g. while true; do echo -n `date` ; route -n get default | grep=20 > >> gate; sleep 1; done can help) > >> > >> If this is reproducible, what actions precedes this change? > >> Maybe some ARP traffic on that interface, or interface=20 > >> creation/deletion, or.. ? > >> > >> Is route monitor completely silent when the change happens? > > Just for refernece, Dominic brought this up in an earlier thread: > > http://www.freebsd.org/cgi/mid.cgi?2DE61B0869B7484997BCA012845482C7E > > BE62DDD88@WIN2008.Domnt.abi.ca > > > > and at least on other person seems to have the same issue... > > > > quick question for you Dominic, do you see the correct number of=20 > > routes, but a new wrong one appear? or does the route just simply=20 > > disapear? or does a new one seem to replace the old one? > > > > The reason I ask is that if a new wrong one appears, it could be=20 > > memory corruption, but if a new one replaces the old one, for some=20 > > reason when allocating a new route, it could accidentatlly be=20 > > replacing the default route... > > > > Just some thoughts... > > >=20 > Hi, >=20 > I don't see a second new route appearing in my case, just the default=20 > or static route is replaced. > I'm not conviced of memory corruption, as it happens on 3 different=20 > physical machines. Sorry for jumping into the middle of the thread (and apologies if this was = asked/answered previously), however what are the settings for the following= sysctls? net.inet.icmp.log_redirect net.inet.icmp.drop_redirect and potentially net.inet6.ip6.redirect net.inet6.icmp6.rediraccept Gary