Subject: Re: Dialup connections and daily worm terror
To: Stephen Ma <stephenm@employees.org>
From: Martin Husemann <martin@duskware.de>
List: tech-net
Date: 09/03/2003 16:54:10
On Wed, Sep 03, 2003 at 07:30:01AM -0700, Stephen Ma wrote:
> Would it make sense for the kernel to use the async PPP code for sync
> PPP (and PPPoE)?

Yes. But you'll have to find a volunteer ;-)

> It seems a little wasteful of effort to maintain two
> PPP stacks (including 2 separate LCP, IPCP & authentication
> layers).

The LCP and ICPC layers are mostly handled in userland, IIUC, for
pppd based stuff. So it's only a small duplication.

> One problem mentioned at the time was finding a way of passing the
> control packets between the kernel and the userland PPP daemon.

The problem in the ISDN case is more the interaction between the two
userland daemons in that case and the passing of a kernel controll channel.
Nothing like rocket sience, more a matter of time.

On the other hand the current solution gives us a very, very small
and fast implementation especially for the PPPoE case.

Martin