Correct me if i am mistaken, but currently the only method for host
discovery is for someone to specific connect to or be connected to
another freenet node. Shouldn't there be another way for hosts to
seek connections to other, already connected, hosts on the Freenet?
This will give more interconnections, and make it more reliable if
a few nodes were to be taken down for whatever reason.

I propose some sort of extension to the DataRequest message, or simply
a new message, depending on what would be more useful / easy to code /
make more sense:

The HostDiscover message would propogate through the freenet in the normal
fashion (not quite sure how to assign a key to it, prolly just a random key
would work fine, randomness would be good in this case) Until it reached a
host that allowed the HostDiscover protocol and randomly choose (user defined
chance? in freenetrc?) to allow the request. It would then reply with it's 
Freenet address tcp/ip:port (at the moment) and the old node could then connect
to the new node. 

Problems:
        Abuse - What if a hostile node fills in a wrong or hostile address in 
the
response field? The ability to request connections to arbitrary addresses could
be a problem. But if we disallow ports < 1024, and rely on the handshaking 
mechanism, any problems caused by this should be minimal, especially because
this data is requested instead of pushed to the node. 

Comments? Questions?

-Adam Lydick

-- 
Freenet -- Re-Wiring the Internet
http://freenet.sourceforge.net
My Node: tcp/rivendell.yi.org:19114

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to