Re: VPN architecture



On Tue, 2004-11-09 at 22:29 -0500, Colin Walters wrote:
> On Sun, 2004-11-07 at 20:46 -0500, Dan Williams wrote:
> > On Sun, 7 Nov 2004, Colin Walters wrote:
> > > To really implement this well though, NetworkManager will have to start
> > > driving things at a lower level.  For example, instead of simply exec'ing
> > > dhclient, NetworkManager should speak DHCP itself (as a separate process though
> > > still), and e.g. gather a list of returned nameservers itself, then
> > > add the VPN ones to it and synthesize /etc/resolv.conf.  Also,
> > 
> > This is something I've thought about for a while, I'm thinking that it 
> > might end up being necessary to take over dhclient and Make It Our Bitch.
> 
> I'm a big fan of any project that involves Making Other Software Our
> Bitch. :)
>   
> > Its under a 3-clause (non-advertising) BSD-type license, not sure how that 
> > works with GPL code, though NetworkManager is doing the calling here.
> 
> 3-clause is fine for bitchification, but we might actually be able to
> write a "library" around dhclient that does a fork/exec, writes to a
> temporary file instead of e.g. /etc/resolv.conf, and then reads out of
> that.  Ugly though :/

dhclient is not the only dhcp client, and some are licensed under the
GPL, so possibly one of them could be used as a basis for integration.

udhcpc - http://udhcp.busybox.net/
pump   - could not find the upstream url






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]