From owner-freebsd-stable@FreeBSD.ORG Tue Dec 18 02:04:38 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE3C16A41A for ; Tue, 18 Dec 2007 02:04:38 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outQ.internet-mail-service.net (outQ.internet-mail-service.net [216.240.47.240]) by mx1.freebsd.org (Postfix) with ESMTP id 1669D13C45D for ; Tue, 18 Dec 2007 02:04:38 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Mon, 17 Dec 2007 18:04:37 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 64193126CEE; Mon, 17 Dec 2007 18:04:36 -0800 (PST) Message-ID: <47672AB3.2020206@elischer.org> Date: Mon, 17 Dec 2007 18:04:35 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: cpghost References: <20071206030500.746c782d@epia-2.farid-hajji.net> <4757E39C.8020009@FreeBSD.org> <20071206161107.3c0c9a82@epia-2.farid-hajji.net> <20071209173359.710ea5bd@epia-2.farid-hajji.net> <475C3E49.6000906@elischer.org> <20071209215808.68c22b2c@epia-2.farid-hajji.net> <475C65B7.20708@elischer.org> <20071218025914.3e4f1930@epia-2.farid-hajji.net> In-Reply-To: <20071218025914.3e4f1930@epia-2.farid-hajji.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Brian Somers , Alexander Motin , freebsd-stable@freebsd.org Subject: Re: "no matching session" in ng_pppoe.c 1.74.2.4? (RELENG_6) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 02:04:38 -0000 cpghost wrote: > On Sun, 09 Dec 2007 14:01:27 -0800 > Julian Elischer wrote: > >> cpghost wrote: >>> On Sun, 09 Dec 2007 11:13:13 -0800 >>> Julian Elischer wrote: >>> >>>>> ----------- manually restarting ppp(1), then: >>>>> ------------------------ >>>>> >>>>> 17:10:47.306928 00:00:24:c2:45:74 > ff:ff:ff:ff:ff:ff, ethertype >>>>> PPPoE D (0x8863), length 32: PPPoE PADI [Host-Uniq 0x40C663C1] >>>>> [Service-Name] >>>>> >>>>> 17:10:47.306939 00:00:24:c2:45:74 > ff:ff:ff:ff:ff:ff, ethertype >>>>> PPPoE D (0x8863), length 32: PPPoE PADI [Host-Uniq 0xC06220C1] >>>>> [Service-Name] >>>>> >>>> we still have 2 sessions instead of 1, but there is less confusion >>>> so things sort themselves out. >>> Just one more thing: >>> >>> If I remember correctly, sending two PADIs in quick succession >>> was ppp's "normal" behaviour for *years* now (is it expected or >>> required by the protocol? I don't know). I've always wondered >>> why it was so. But that didn't cause any harm as it seemed one >>> of the two PADO was picked up and eventually turned into a session. >>> >>> -cpghost. >>> >> btw try mpd as well. > > So... I'm running net/mpd5 on that router for a few days now, and > it managed 3 forced disconnects in a row and no session chaos at > all, while ppp(8) would probably have initiated a lot of parallel > sessions again but no connection. > > So up until now (but perhaps it's too early to be sure?), > net/mpd5 is fine, while ppp(8) is not. > > Btw, I've compared the sources of ppp(8) from 2007-09-24/25 > when it was still working, and 2007-11-30 when I've updated > the router, and there's NO difference there at all. Whatever > broke ppp(8), it was not ppp(8) but something else > (I suspect ng_pppoe.c): maybe the code clean up exposed > some hidden bug in ppp(8)? > > I hope ppp(8) will be fixed before 6.3-RELEASE; even though > net/mpd5 is excellent and very snappy as well. ;-) mpd is also using ng_pppoe of course. > > Regards, > -cpghost. >