From owner-freebsd-stable@FreeBSD.ORG Sun Dec 9 21:19:41 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 2F7C916A418; Sun, 9 Dec 2007 21:19:41 +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 B67D813C461; Sun, 9 Dec 2007 21:19:40 +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 3951EE07C1; Sun, 9 Dec 2007 22:19:39 +0100 (CET) Date: Sun, 9 Dec 2007 22:19:36 +0100 From: cpghost To: Alexander Motin Message-ID: <20071209221936.1a6d47fa@epia-2.farid-hajji.net> In-Reply-To: <475C56CA.6030600@FreeBSD.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> 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: Julian Elischer , 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: Sun, 09 Dec 2007 21:19:41 -0000 On Sun, 09 Dec 2007 22:57:46 +0200 Alexander Motin wrote: > Your host generates huge number of simultaneous session requests. > Looking on different Host-Uniq values it should be different ng_pppoe > sessions/hooks as Host-Uniq is actually pointer to the hook/session > internal data and it stays persistent for all packets of the same > session. So it looks that something creates those many hooks. > > 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 > PS: I am not ppp daemon expert, but quick code look shows that > connection waiting can be configured with 'set cd ...' command. > Setting 'set cd 0' gives results close to yours. Have you something > like that in your configuration? Uh... I'm not sure I understand what you're asking for here? Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/