From owner-freebsd-net@FreeBSD.ORG Thu Mar 11 04:01:19 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D60EF16A4CF for ; Thu, 11 Mar 2004 04:01:19 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1721543D3F for ; Thu, 11 Mar 2004 04:01:19 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i2BC1AQE086948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Mar 2004 15:01:11 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i2BC1AGS086947; Thu, 11 Mar 2004 15:01:10 +0300 (MSK) Date: Thu, 11 Mar 2004 15:01:10 +0300 From: Gleb Smirnoff To: Alexander Motin Message-ID: <20040311120110.GA86830@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Alexander Motin , freebsd-net@freebsd.org References: <1078786384.00003365.1078771201@10.7.7.3> <404F5A5C.7010704@alkar.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <404F5A5C.7010704@alkar.net> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org Subject: Re: mpd-3.16 and PPPoE server mode on 5.2.1-RELEASE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 12:01:20 -0000 On Wed, Mar 10, 2004 at 08:11:40PM +0200, Alexander Motin wrote: A> There is a two problems with support of PPPoE in mpd under 5.x: A> 1. sometimes loading of netgraph modules on request cause system crash. A> (You can compile in all required modules.) Have you run kldxref after installing modules? A> 2. PPPoE in mpd do not works now on 5.x because of ununderstandible A> changes in ng_tee shutdown mechanism. (Now ng_tee don't connect left and A> right hooks on shutdown) So mpd now can't handle incoming PPPoE A> connections right. In CURRENT netgraph method xxx_shutdown() is called _after_ all hooks has been disconnected. I think this is not very good idea. In some cases node needs to send some data before shutdown, for example ng_pppoe should close all active sessions sending PADT message, otherwise we have got hanging sessions on remote side. Some other protocols implementations may require sending of data before shutting down. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE