On Thu, 13 Apr 2000, Paul Jimenez wrote: > I was unware this was the way things worked, and am a bit puzzled as to why > Replies need to search their way back to the originator; can't each node track > received/sent RequestId's internally so that replies to a certain request need > only get sent back to the node that requested them? Is there a benefit to > NOT doing so? The benefit to doing so is quite clearly a reduction of > bandwidth > consumed... plus each node only then needs to know that one nearby node > requested > the key; any HTL count is valid, and no Depth field is needed.
They do not search. They go straight back. But ALL messages on Freenet, even Handshake Requests and Replies have a HopsToLive that is decremented on every hop. For messages where it is not needed for practical reasons (like to kill off a request) it is for security reasons - as Hal noted we had an error just the other day that caused a reply message to bounce back and forth between two nodes, had it not been for the HTL that would have gone on forever. It's defensive programming, aka a good thing. > > --pj > > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
