> On Mon, Nov 26, 2001 at 09:19:48PM +0000, toad wrote:
> > On Mon, Nov 26, 2001 at 10:05:59PM +0100, Oskar Sandberg wrote:
> < > 
> > > - We figure out way to probe not only for all the IPs, but also for
> > > their netmasks and gateways, and reimplement part of IP routing to
> > > figure out which is the Internet home.
> >
> > Something in the rc file listing netmasks and addresses (or a flag not to
> > talk on that i/f), to allow multi-freenet nodes (eg WANs where some but not
> > all nodes have access to the "real" internet), and some platform specific
> > scripts; I have heard this can be done under win32, but I don't have
> > experience there (writing the unix scripts should be fairly easy)... this
> > would be similar to 0.3 behaviour once the platform specific support is in
> > place, and even allow tunneled private freenets over PPTP.
> 
> Writing _Linux_ scripts to do it would be fairly easy, it my
> understanding that general unix methods of determining the local ip(s)
> are lacking (which is why you'll often see scripts attempting to do it
> in 4-5 different ways).

I know the output of /sbin/ifconfig is basicly the same on all major GNU/Linux 
distros and 
OpenBSD (and probably all the other BSDs), so grepping and seding the output 
gives us 
a major chunk of deployed Unix systems.  Any types of Unix that don't follow 
this 
convention can either set the IP manually or write their own scripts.

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to