netdev
[Top] [All Lists]

Re: RFC: PPP over X

To: Mitchell Blank Jr <mitch@xxxxxxxxxx>
Subject: Re: RFC: PPP over X
From: Michal Ostrowski <mostrows@xxxxxxxxxxxxxxxxx>
Date: Thu, 3 Feb 2000 15:52:33 -0500 (EST)
Cc: Michal Ostrowski <mostrows@xxxxxxxxxxxxxxxxx>, jamal <hadi@xxxxxxxxxx>, netdev@xxxxxxxxxxx, axboe@xxxxxxx, Mark Spencer <markster@xxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Marc Boucher <marc@xxxxxxx>, paulus@xxxxxxxxxxxxx, Ben LaHaise <bcrl@xxxxxxxxxx>
In-reply-to: <20000203122402.M72648@xxxxxxxxxx>
References: <Pine.GSO.4.20.0002021030520.22723-100000@xxxxxxxxxxxxxxxx> <14489.34346.789910.342715@xxxxxxxxxxxxxxxxx> <20000203111517.I72648@xxxxxxxxxx> <14489.57797.470801.438102@xxxxxxxxxxxxxxxxx> <20000203122402.M72648@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Mitchell Blank Jr writes:
 > > Serving up connections on such a scale brings up some issues.  Most
 > > importantly, there should be a single process which negotiates all
 > > incoming connections.
 > 
 > That's true - ideally I'd like to see pppd look more like apache.
 > Most of the gloabal varaiables could move to a "struct atm_instance"
 > and each one would have its own ppp options, plugins, etc.
 > Ideally there would be some way to add/delete/tweek these
 > connections on a running pppd (so you could have a nice little
 > GNOME configuration dialog giving you instant-gratification
 > changes)

I won't pretend to be an expert on pppd, but I think you'd want to
replace "/dev/ppp" with something like a netlink socket.  Using a
socket would allow you to mux/demux data in a way that you can't do
with a character device.

 > 
 > I think this would be a really great approach for people
 > running terminal-servers or PPPo{E,ATM} concentrators using
 > linux.  At some point the "thousands of pppd processes" model
 > breaks down - it would be much cleaner just to have a single
 > process that just needs to set a bunch of async-io signals
 > on a bunch of {sockets,ttys} and watch /dev/ppp0.
 > 

Good point.

Michal Ostrowski
mostrows@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>