Hi, there.  Hope you don't mind my butting in, being a
newbie to freenet and all.

Q: When a node "out there" (in the public net) is talking to 
my node (protected by a NAT/masq firewall), is it trying to
talk to the addr my node gave it (in the private network).  I
have to assume the former, since I have been able to fetch
and insert, but my node can only initiate and not respond?


On Fri, Jun 29, 2001 at 05:03:46PM -0700, Mr.Bad wrote:
> >>>>> "GJ" == Gianni Johansson <giannijohansson at mediaone.net> writes:
> 
>     GJ> I disagree. Truly ridiculous addresses shouldn't make it into
>     GJ> the data store (or whatever the 0.4 routing mechanism's analog
>     GJ> is) in the first place.
> 
> OK, well, I can think of a few ways to fix this:
> 
> 1) Change tcpAddress so that it throws an exception if a private
>    address is used. (This would prevent using a private network and a
>    "gateway", however).
> 
> 2) Change the code in StoreData so that it does a validity check on an
>    address before saving it to the datastore. If the address is bad,
>    it changes the address for use downstream to its own, and it stores
>    a null reference.
> 
> 3) Change the code in Node so that if the address it's using isn't
>    valid, sets itself to transient and continues on its way.
> 
> Actually, probably a combo of 2) and 3) is the best thing.
> 
> ~Mr. Bad
> 
> -- 
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  Mr. Bad <mr.bad at pigdog.org> | Pigdog Journal | http://pigdog.org/ 
>  "Your description of coffee is how you interpret Sex."
>                               -- "Personality Quiz" chain letter
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://lists.freenetproject.org/mailman/listinfo/devl
> 

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

Reply via email to