On Mon, Nov 26, 2001 at 07:54:04AM -0800, Ian Clarke wrote:
> 0.3 nodes are able to auto-detect a machine's IP address if one is not
> specified in the configuration file.  This functionality was removed in
> 0.4, but I really think that we should reinstate it as it complicates
> the installation process.
> 
> Objections?

It cannot be done cleanly as it was. The old code read the IP address
off the socket every time it sent a message, but with self signed
references in 0.4 that is not realistic. It also doesn't ring well with
the support of multiple interfaces and protocol independence (the 0.3
code was somewhat dubious in this, in that I had to attempt a somewhat
ugly generalization of the "host" and "port" structure.)

The best bet is to add some platform specific stuff to the installation
programs (and maybe even the launcher), or simply have the installation
program contact a good Internet host and read the address of the socket
(though some users might be upset that that reveals their identity
unnecessarily). 

> 
> Ian.
> 
> -- 
> Ian Clarke                                        ian at freenetproject.org
> Founder & Coordinator, The Freenet Project    http://freenetproject.org/
> Chief Technology Officer, Uprizer Inc.           http://www.uprizer.com/



-- 

Oskar Sandberg
oskar at freenetproject.org

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

Reply via email to