someone can port user space ppp now
I have finished my work on the tunnel interface so far that I think someone
can have a go at porting user space ppp. Don't count on me, I took a look at
it, and it's quite ugly, because ppp does a lot of things we don't support,
so you have to butcher to code a bit. See below for some tips.
Here is what you need:
Current CVS Hurd, at least the pfinet directory.
The patch from
There are two options:
a. Porting netgraph and mpd, which uses netgraph.
b. Porting ppp.
You get ppp and mpd from ftp.whistle.com (/pub/archie/mpd etc)
I don't know where netgraph is.
I don't know which of those options will lead faster to a success.
Some initial porting tips: Define
-D_BSD_SOURCE -DMAXHOSTNAMELEN=64 -DMAXPATHLEN=4096
In ppp, main(), remove the code that tries to close all file descriptors
(our current libc binary still doesn't have Rolands patch to limit the
announced number of available fds).
Use fsysopts to change the routing information and interface address.
We currently don't support shutting down the interface, I think, but I think
one can bring it up by starting with a pfinet that doesn't have one and
adding it with fsysopts. You probably want to remove all fancy code in ppp
that takes care of that, and only provide a small subset of all features.
I hope now that the hurd core stuff is done, some of the people who took
interest in ppp by contributing to the design discussions (which have lead
to the implementation of the tunnel device) are now making a serious (maybe
collaborative) attempt to port the ppp stuff.
Specific questions about the porting should be asked on firstname.lastname@example.org, not
 There will be various updates to properly shut down the interface, etc,
but the basic functionality is there.
 I simply don't want to.
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de, email@example.com PGP Key ID 36E7CD09