On Sat, Dec 15, 2001 at 02:51:06AM -0500, Tavin Cole wrote: <> > It turns out this is all a bit trickier than we thought.. > > Gianni's change, by throwing the EndOfRouteException, causes the node whose > HTL > gets decremented to zero due to automatic restarts to act as though it > were the end node in a successful chain. This means > DataNotFound/InsertReply is sent back. > > So for a situation where the client would expect to see RouteNotFound, > she sees DataNotFound instead, and her inserts might actually wind up on > far fewer nodes than the requested HTL.
I don't agree at all, there is no guarantee that HTL of 20 will actually reach 20 nodes, just that it will attempt to. A malicious node that wishes to cut the request short can end the request right away by sending a DataNotFound/InsertReply, so it's not an attack vector. When the HTL reaches zero, DNF/IR should be returned. No need to complicate things. -- Oskar Sandberg oskar at freenetproject.org _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
