From owner-freebsd-stable@FreeBSD.ORG Tue Dec 11 17:00:16 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 5C79716A477; Tue, 11 Dec 2007 17:00:16 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 93A7513C45A; Tue, 11 Dec 2007 17:00:15 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 4F03FE067F; Tue, 11 Dec 2007 18:00:13 +0100 (CET) Date: Tue, 11 Dec 2007 18:00:10 +0100 From: cpghost To: Julian Elischer Message-ID: <20071211180010.503f6ded@epia-2.farid-hajji.net> In-Reply-To: <475C660A.1070909@elischer.org> 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> <475C56CA.6030600@FreeBSD.org> <20071209221936.1a6d47fa@epia-2.farid-hajji.net> <475C6381.9020701@FreeBSD.org> <475C660A.1070909@elischer.org> Organization: Cordula's Web X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Elischer , Julian, Alexander Motin , freebsd-stable@freebsd.org, Brian Somers 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, 11 Dec 2007 17:00:16 -0000 On Sun, 09 Dec 2007 14:02:50 -0800 Julian Elischer wrote: > Adding brian to CC list. > > > Alexander Motin wrote: > > cpghost wrote: > >>> I think such behaviour can take place if ppp daemon for some > >>> reason don't waits for reply but closes session immediately after > >>> sending connect request. If it so it also explains original "no > >>> matching session" errors as for the answer received time > >>> session/hook can already be destroyed. > >>> > >>> Provide please your ppp configuration files and part of detailed > >>> log file (set log All) describing connection attempts. > >> > >> ppp.conf already sent. I don't have a 'set log All' turned on, but > >> maybe the following logfile of the aborted session would help? > >> > >> http://www.cordula.ws/tests/ppp-tcpdump.txt > > > > Here is part of your logs which proves my assumption that it is ppp > > who creates numerous sessions: > > > > Dec 9 17:06:07 fw ppp[35265]: Phase: bundle: Establish > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: closed -> opening > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: Connected! > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: opening -> dial > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: dial -> carrier > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: Disconnected! > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: carrier -> hangup > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: Connect time: 0 > > secs: 0 octets in, 0 octets out > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: 7070012 packets in, > > 6467630 packets out > > Dec 9 17:06:07 fw ppp[35265]: Phase: total 0 bytes/sec, peak 0 > > bytes/sec on Sun Dec 9 17:06:07 2007 > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: hangup -> closed > > Dec 9 17:06:07 fw ppp[35265]: Phase: bundle: Dead > > Dec 9 17:06:07 fw ppp[35265]: Phase: bundle: Establish > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: closed -> opening > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: Connected! > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: opening -> dial > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: dial -> carrier > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: Disconnected! > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: carrier -> hangup > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: Connect time: 0 > > secs: 0 octets in, 0 octets out > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: 7070012 packets in, > > 6467630 packets out > > Dec 9 17:06:07 fw ppp[35265]: Phase: total 0 bytes/sec, peak 0 > > bytes/sec on Sun Dec 9 17:06:07 2007 > > Dec 9 17:06:07 fw ppp[35265]: Phase: deflink: hangup -> closed > > Dec 9 17:06:07 fw ppp[35265]: Phase: bundle: Dead > > Dec 9 17:06:07 fw ppp[35265]: Phase: bundle: Establish > > > > For the some reason ppp logs "Disconnected!" message and terminates > > session (which is strange as it have not logged any message from > > ng_ppp node) just to initiate new without delay. Could you enable > > any more logs to understant why is it "Disconnected!"? Here's a new, more detailed log: http://www.cordula.ws/tests/ppp-tcpdump2.txt That's all I can do here. I guess it's up to Brian now... If you have some patches for ppp, I'd be happy to try them and report back. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/