Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2012 18:23:27 -0400
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Krzysztof Barcikowski <krzysiek@airnet.opole.pl>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "Alexander V. Chernikov" <melifaro@freebsd.org>, Dominic Blais <dblais@interplex.ca>
Subject:   Re: Default route destination changing without warning follow-up
Message-ID:  <20121004222327.GA40357@in-addr.com>
In-Reply-To: <506DC933.7080307@airnet.opole.pl>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 version,
> >> interfaces configuration, netstat -rn output).
> >>
> >> How often does this happen ?
> >> (e.g. while true; do echo -n `date` ; route -n get default | grep gate;
> >> sleep 1; done can help)
> >>
> >> If this is reproducible, what actions precedes this change?
> >> Maybe some ARP traffic on that interface, or interface
> >> 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?2DE61B0869B7484997BCA012845482C7EBE62DDD88@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 routes,
> > but a new wrong one appear?  or does the route just simply 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 memory
> > corruption, but if a new one replaces the old one, for some reason when
> > allocating a new route, it could accidentatlly be replacing the default
> > route...
> >
> > Just some thoughts...
> >
> 
> Hi,
> 
> I don't see a second new route appearing in my case, just the default or 
> static route is replaced.
> I'm not conviced of memory corruption, as it happens on 3 different 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121004222327.GA40357>