by jaf656s » April 13, 2005, 5:14 pm
We purposefully left the first RESULT message fairly ambiguous, for two primary reasons.
(1) we did not think that parsing a newline character would be any more difficult than parsing any other path.
(2) since the protocol specifies that the first client that can fulfill a file request must handle that request, a client can create a first RESULT message with an arbitrary number of indices as the hop path, that would function to provide further anonymity for that client in the case that the message is intercepted (although this seems a bit excessive).
So, as a result, each client can make the hop path for the first RESULT message anything, since that client is the only client that needs to make sense of it.
However, to maintain compatibility with other clients, each client must be able to handle a simple newline character as a hop path, then proceed as the protocol specifies. (See the Peer ID subsection in the PROTOCOL DEFINITIONS AND ADDITIONAL INFORMATION section of the doc, or
http://bearnotes.com/phpbb/viewtopic.php?t=955 for some examples)
Hope this helps,
Jason
We purposefully left the first RESULT message fairly ambiguous, for two primary reasons.
(1) we did not think that parsing a newline character would be any more difficult than parsing any other path.
(2) since the protocol specifies that the first client that can fulfill a file request must handle that request, a client can create a first RESULT message with an arbitrary number of indices as the hop path, that would function to provide further anonymity for that client in the case that the message is intercepted (although this seems a bit excessive).
So, as a result, each client can make the hop path for the first RESULT message anything, since that client is the only client that needs to make sense of it.
However, to maintain compatibility with other clients, each client must be able to handle a simple newline character as a hop path, then proceed as the protocol specifies. (See the Peer ID subsection in the PROTOCOL DEFINITIONS AND ADDITIONAL INFORMATION section of the doc, or http://bearnotes.com/phpbb/viewtopic.php?t=955 for some examples)
Hope this helps,
Jason