View Single Post
  #1 (permalink)  
Old May 23rd, 2002
Unregistered
Guest
 
Posts: n/a
Unhappy Problems with initial response

Hi, I'm new to Gnutella and I'm having a problem. I heard you have cache servers to which you can connect, send the connect stuff, send a ping and get a list of addresses back.

When I send "GNUTELLA CONNECT/0.4<lf><lf>", I get the "GNUTELLA OK" back.

After that the server sends me a message, of which I think it is a queryhit embedded in a query (does this make any sence?). Shouldn't the server wait for a ping, and send it back in a pong?

Also, the data I'm getting from the message (as far as I make up) contains an IP address and a port, but appearantly there's no host listening there.

This is the response I'm getting after the "GNUTELLA OK". I output it to a file. The complete file can be found <a href=http://home.planetinternet.be/~aerts1/stream.txt>here</a>

<code>
22 8C 00 00 0C 23 04 71 ' MessageID
FF 29 7F A8 F9 C4 D8 00 '
80 01 00 58 00 00 00 81 ' query, ttl=1, hops=0, payloadlength=58, queryhit?
97 DB C4 F1 BA CF FF A0 ' hits=151, port=219,196 ip=241.186.207.255
FC C3 E2 C6 B8 89 D5 9E ' |- 56260 or 50395
B8 C6 BF E7 CE DB 8B 9B
00 E6 A3 AC BF B3 EE FF
F4 E3 FE BF 9C BD CD DC
E2 E0 DA D0 EF B0 BE B0
D1 B2 81 BE DE D7 E7 B1
...
</code>
I outputted it to

My questions
1) Why am I getting this response?
2) what exactly is it?
3) if it is what I think it is, am I getting the correct data out of it?

Any help would be really appreciated


Tom
t.cannaerts@unec.be.remove.this.bit
Reply With Quote