From owner-freebsd-net@FreeBSD.ORG Fri Oct 5 06:19:25 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 DA11A106566B; Fri, 5 Oct 2012 06:19:24 +0000 (UTC) (envelope-from krzysiek@airnet.opole.pl) Received: from base.airnet.opole.pl (ns2.airmax.pl [176.111.128.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1DFA58FC08; Fri, 5 Oct 2012 06:19:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by base.airnet.opole.pl (Postfix) with ESMTP id C6D947FF02B; Fri, 5 Oct 2012 08:19:22 +0200 (CEST) Received: from base.airnet.opole.pl ([127.0.0.1]) by localhost (mail.airnet.opole.pl [127.0.0.1]) (maiad, port 10024) with ESMTP id 59996-03; Fri, 5 Oct 2012 08:19:22 +0200 (CEST) Received: from [10.10.11.223] (unknown [176.111.138.12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: krzysiek@airnet.opole.pl) by base.airnet.opole.pl (Postfix) with ESMTPSA id 94A857FF020; Fri, 5 Oct 2012 08:19:22 +0200 (CEST) Message-ID: <506E7BE7.2080104@airnet.opole.pl> Date: Fri, 05 Oct 2012 08:19:19 +0200 From: Krzysztof Barcikowski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Gary Palmer 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" , "Alexander V. Chernikov" , Dominic Blais 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 06:19:25 -0000 W dniu 2012-10-05 00:23, Gary Palmer pisze: > 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 > _______________________________________________ > 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" > Hi, net.inet.icmp.log_redirect: 0 net.inet.icmp.drop_redirect: 1 net.inet6.ip6.redirect: 1 net.inet6.icmp6.rediraccept: 1 Best regards! Krzysiek Barcikowski Krzysiek Barcikowski