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).

< > 
> > The problem gets more complicated if you consider the situation with
> > ARKs and nodes with semi-transient addresses. Then we need to some way
> > to detect when the address changes so that the references can be updated
> > and republished, and preferably without restarting the node or user
> > intervention...
> Is it? This can be done with wrappers reasonably easily on at least Win32
> (so I am told) and Linux (/etc/ppp/ip-up.d, ifconfig)... restarting the node
> takes a matter of seconds, is it such a big deal?

Well, it sort of depends, if we assume that a change of address means
that all current connections are lost, then restarting the node doesn't
matter too much, but otherwise it sort of sucks. Either way, if the
detecting occurs outside we could always add an admin message or
something anyways. But the above still means that we need do a
non-trivial task in a massively (as in basically varying between 
Linux distribution) platform specific manner.

< >

-- 

Oskar Sandberg
oskar at freenetproject.org

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

Reply via email to