![]() |
|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
General Gnutella Development Discussion For general discussion about Gnutella development. |
![]() |
| LinkBack | Thread Tools | Display Modes |
| |||
![]() Hi, I'm working on implementing a crawler which will eventually provide xcache-like functionality with some additional bells and whistles. I'm currently using jtella for the gnutella stack implementation. For the implementation I'm researching ways to perform crawling by repurposing PONG/QUERYHIT messages without the need to flood the network with PINGs, which I think is a good thing as most crawlers waste precious bandwidth. In my initial investigation I'm noticing a lot of traffic which, if my reading of the protocol is correct, I shouldn't be. Specifically when connecting to a single host (e.g. connect1.gnutellanet.com:6346), and not sending a single PING message, I'm being forwarded PONGs and QUERYHITs. My question: is this expected behavior (PONGs/QUERYHITs are broadcast) or are there just a lot of broken implementations? It's my understanding the only messages which are broadcast (i.e. sent to all connected servents except for the sender) are PING and QUERY messages. Additionally all other messages (PONG and QUERYHIT messages) are "routed" back to the sender (by recording the message GUID and sender and using this information for replying. Are these assumptions correct? |
| |||
![]() Yes, your assumptions are correct. Normally, they should not be forwarded to you (and probably every other lcient connected to the one forwarding these messages). Why is this? Who knows... my guess is that there are indeed a number of defective clients out there. I even see clients who don't even send a User-Agent clause in their connection string. This makes it really difficult to track down the defective client. Normally, your application shouldn't be able to work (at least it shouldn't gather any information). Unfortunatly, some clients perfere to forward an unroutable message to all clients rather than dropping it. |
![]() |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Downloads crawling, I've tried everything I can think of. | Dizoakrod | BearShare Open Discussion | 1 | April 23rd, 2007 12:43 AM |
X-Query-Routing 0.1 only? | Shocker | Gnucleus (Windows) | 0 | October 25th, 2003 09:27 AM |
Routing errors??? | dumbmick | Connection Problems | 3 | January 14th, 2003 10:44 PM |
What is query-routing | Cakkie | General Gnutella Development Discussion | 3 | July 29th, 2002 05:27 AM |
help please- NAT routing | Unregistered | General Gnutella / Gnutella Network Discussion | 2 | April 1st, 2002 01:56 PM |