Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 15:01:10 +0300
From:      Gleb Smirnoff <glebius@cell.sick.ru>
To:        Alexander Motin <mav@alkar.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd-3.16 and PPPoE server mode on 5.2.1-RELEASE
Message-ID:  <20040311120110.GA86830@cell.sick.ru>
In-Reply-To: <404F5A5C.7010704@alkar.net>
References:  <1078786384.00003365.1078771201@10.7.7.3> <404F5A5C.7010704@alkar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040311120110.GA86830>