From owner-freebsd-net@FreeBSD.ORG Wed Mar 6 06:30:57 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EEDE8B3F for ; Wed, 6 Mar 2013 06:30:57 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by mx1.freebsd.org (Postfix) with ESMTP id CD38B390 for ; Wed, 6 Mar 2013 06:30:57 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id un1so5499463pbc.40 for ; Tue, 05 Mar 2013 22:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=T6iM0YcmDpDtHfIJIQgDrMTmWTOR5/cSTNpaa1aLJnY=; b=jik4d+bvvP9bFkrtc5kxFh7InZf8gvhIVvy5roXu/yQWEbJBe7MWW7lqzV1eSsu4tS 5pCSwPDH3nhMrgO9U5RzMxG1MU46avkjGu51UivY2HkyTK/wFRxorLP4yQjaYrGoPPo8 7hOeKenl/HivmEO6fHJYsW4saRPrbYZgJMBZjkknsRmR3oJLubXsY1nQoK322ZaVl3ih y4W2j1ts0ekfo9iNc0nRkHVvH6RLMRG2hb9wmX+bYaswwY1IgrPgujzx1mthqdUd5u0v 6plfEAT84bPm077KSxf/I4ddQf6imVWPXIyupMV3s1DrsSJh7C0Fyhxn80huscUUTTLN cHPg== MIME-Version: 1.0 X-Received: by 10.68.196.225 with SMTP id ip1mr43465231pbc.72.1362551456896; Tue, 05 Mar 2013 22:30:56 -0800 (PST) Received: by 10.70.34.103 with HTTP; Tue, 5 Mar 2013 22:30:56 -0800 (PST) Received: by 10.70.34.103 with HTTP; Tue, 5 Mar 2013 22:30:56 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 08:30:56 +0200 Message-ID: Subject: Re: Default route changes unexpectedly From: Sami Halabi To: Nick Rogers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 06:30:58 -0000 Hi, I can say also i faced this problem in 9.1-preRelease. And i'm not using pf, i usyally use ipfw. but i didn't see this happening for a while... Sami On Mar 5, 2013 7:39 PM, "Nick Rogers" wrote: > Hello, > > I am attempting to create awareness of a serious issue affecting users > of FreeBSD 9.x and PF. There appears to be a bug that allows the > kernel's routing table to be corrupted by traffic routing through the > system. Under heavy traffic load, the default route can seemingly > randomly change to an IP address that is not directly connected to the > network (i.e., is not configured anywhere). Dhclient is not in the > mix, nor is routed, bgpd, etc. Running `route monitor` shows no > evidence of the change in the default route. The one commonality > between all the systems experiencing this problem seems to be the use > of PF. > > Obviously this is a serious problem as it causes all Internet-bound > traffic to stop routing until the default route is corrected. Some > users, including myself, are working around this problem by installing > a script that runs multiple times a second to check if the default > route is incorrect and fixing it if necessary, which mitigates the > amount of downtime caused by the bug. > > Please refer to these past posts for more examples and evidence of > other users experiencing this problem: > > http://forums.freebsd.org/showthread.php?p=211610#post211610 > > > http://freebsd.1045724.n5.nabble.com/Default-route-quot-random-quot-gateway-modification-bug-td5750820.html > > http://lists.freebsd.org/pipermail/freebsd-net/2012-March/031879.html > > http://lists.freebsd.org/pipermail/freebsd-ipfw/2010-September/004361.html > > There is also a PR that was incorrectly labeled as an IPFW issue. > Myself and others believe this issue is not restricted to the use of > IPFW and that the PR should be relabeled. I am inclined to think it is > strictly a PF issue since I am not using IPFW, however there is > evidence of the default route changing on people using IPFW for past > versions of FreeBSD (7.x/8.x), so perhaps this is related. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/174749 > > Another PR for the same problem but specific to IPFW and 8.2-RELEASE > > http://www.freebsd.org/cgi/query-pr.cgi?pr=157796 > > I am hoping someone reading this can give the problem the attention it > deserves. Thank you. > > -Nick > _______________________________________________ > 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" >