From owner-freebsd-net@FreeBSD.ORG Mon Jun 4 11:37:56 2007 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 DF3E516A421; Mon, 4 Jun 2007 11:37:56 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6038613C4B8; Mon, 4 Jun 2007 11:37:55 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.1/8.14.1) with ESMTP id l54BbsAb053140; Mon, 4 Jun 2007 15:37:54 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.1/8.14.1/Submit) id l54BbsSA053139; Mon, 4 Jun 2007 15:37:54 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 4 Jun 2007 15:37:54 +0400 From: Gleb Smirnoff To: Nikos Vassiliadis Message-ID: <20070604113754.GA89017@glebius.int.ru> Mail-Followup-To: Gleb Smirnoff , Nikos Vassiliadis , Alexander Motin , freebsd-net@freebsd.org References: <1179829392.00743801.1179818401@10.7.7.3> <465D60C5.50503@freebsd.org> <20070601111457.GY89017@FreeBSD.org> <200706040957.38906.nvass@teledomenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200706040957.38906.nvass@teledomenet.gr> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-net@FreeBSD.org, Alexander Motin Subject: Re: ng_pptpgre + netmask_change results to lock 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: Mon, 04 Jun 2007 11:37:57 -0000 On Mon, Jun 04, 2007 at 09:57:36AM +0300, Nikos Vassiliadis wrote: N> On Friday 01 June 2007 14:14, Gleb Smirnoff wrote: N> > On Wed, May 30, 2007 at 02:32:21PM +0300, Alexander Motin wrote: N> > A> Nikos Vassiliadis wrote: N> > A> >> In my case doing a few times: N> > A> >> ifconfig fxp0 192.168.1.71/16 N> > A> >> ifconfig fxp0 192.168.1.71/24 N> > A> >> locks the box. N> > A> N> > A> Doing this you are dropping all routes going via that network. N> > Probably you A> are dropping route to your pptp peer which can lead to N> > wrapping tunnel A> inside himself. N> > N> > Yes. This is a known problem with netgraph tunnels. N> N> I see. Would it be possible/desirable to control this kind N> of situations using a LINK[012] flag? I mean having code/kludge N> doing loop detection? I think that in this case loop detection can be implemented only using mbuf tags. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE