Here's a sketch:  A is behind a firewall, or has a rapidly changing dynamic
IP (for some defined values of 'rapidly'), and wants to advertise the
correct IP address.

A asks B for its IP (details on when and how to ask not yet determined but
almost certainly related to connection attempts from A to B)

B replies with "your address is aaa.bbb.ccc.ddd"

A generates a random public/private pair
A's "self" servlet generates a webpage containing the message "Self" encoded
using the private key
A tries connecting to http://aaa.bbb.ccc.ddd/ppppp/servlet/self  and
decoding the result using the private key to see if the message is Self.

If it is, A knows it can reach itself on the IP address B told it, and
doesn't even need to trust node B.

Thoughts?

d


_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to