Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   No response to my QUERIES! (https://www.gnutellaforums.com/general-gnutella-development-discussion/12744-no-response-my-queries.html)

AliSweden June 23rd, 2002 05:03 PM

No response to my QUERIES!
 

I talked a lot in the previous thread, here is a dump of exactly what my client sends and receives. I do not get ANY response whatsoever on my queries (not behind firewall :).

I start by sending (actual NC data dump) :

< 00000000 47 4e 55 54 45 4c 4c 41 20 43 4f 4e 4e 45 43 54 # GNUTELLA CONNECT
< 00000010 2f 30 2e 36 0d 0a 55 73 65 72 2d 41 67 65 6e 74 # /0.6..User-Agent
< 00000020 3a 20 44 54 47 6e 75 74 0d 0a 50 6f 6e 67 2d 43 # : DTGnut..Pong-C
< 00000030 61 63 68 69 6e 67 3a 20 30 2e 31 0d 0a 0d 0a # aching: 0.1....
< 0000003f 47 4e 55 54 45 4c 4c 41 2f 30 2e 36 20 32 30 30 # GNUTELLA/0.6 200
< 0000004f 20 4f 4b 0d 0a 0d 0a # OK....


I get the following response :
> GNUTELLA/0.6 200 OK
> User-Agent: BearShare 2.4.4
> Pong-Caching: 0.1
> Hops-Flow: 1.0
> Remote-IP: 193.150.203.220
>

I send this after a few seconds (actual NC data dump) :
< 00000056 32 35 39 30 37 38 39 30 ff 31 30 33 33 38 35 00 # 25907890.103385.
< 00000066 80 07 00 09 00 00 00 # .......
< 0000006d 38 00 6d 6f 76 69 65 73 00 # 8.movies.

no response :(!!!

what am I doing wrong?

tshdos June 23rd, 2002 05:33 PM

Is that the EXACT order you send it ie

send :

Quote:

< 00000000 47 4e 55 54 45 4c 4c 41 20 43 4f 4e 4e 45 43 54 # GNUTELLA CONNECT
< 00000010 2f 30 2e 36 0d 0a 55 73 65 72 2d 41 67 65 6e 74 # /0.6..User-Agent
< 00000020 3a 20 44 54 47 6e 75 74 0d 0a 50 6f 6e 67 2d 43 # : DTGnut..Pong-C
< 00000030 61 63 68 69 6e 67 3a 20 30 2e 31 0d 0a 0d 0a # aching: 0.1....
< 0000003f 47 4e 55 54 45 4c 4c 41 2f 30 2e 36 20 32 30 30 # GNUTELLA/0.6 200
< 0000004f 20 4f 4b 0d 0a 0d 0a # OK....
recv:

Quote:

> GNUTELLA/0.6 200 OK
> User-Agent: BearShare 2.4.4
> Pong-Caching: 0.1
> Hops-Flow: 1.0
> Remote-IP: 193.150.203.220
>
then send

Quote:

< 00000056 32 35 39 30 37 38 39 30 ff 31 30 33 33 38 35 00 # 25907890.103385.
< 00000066 80 07 00 09 00 00 00 # .......
< 0000006d 38 00 6d 6f 76 69 65 73 00 # 8.movies.
If so, it looks like the other end was expecting a GNUTELLA/0.6 200 OK /r/n/r/n and when it didn't recv it your query was dumped/ignored.

AliSweden June 23rd, 2002 05:40 PM


No sorry, I managed to screw this posting up as well. That was not the right flow.

Sorry again... here comes the right flow:

send :


--------------------------------------------------------------------------------

< 00000000 47 4e 55 54 45 4c 4c 41 20 43 4f 4e 4e 45 43 54 # GNUTELLA CONNECT
< 00000010 2f 30 2e 36 0d 0a 55 73 65 72 2d 41 67 65 6e 74 # /0.6..User-Agent
< 00000020 3a 20 44 54 47 6e 75 74 0d 0a 50 6f 6e 67 2d 43 # : DTGnut..Pong-C
< 00000030 61 63 68 69 6e 67 3a 20 30 2e 31 0d 0a 0d 0a # aching: 0.1....

--------------------------------------------------------------------------------

recv:

--------------------------------------------------------------------------------

> GNUTELLA/0.6 200 OK
> User-Agent: BearShare 2.4.4
> Pong-Caching: 0.1
> Hops-Flow: 1.0
> Remote-IP: 193.150.203.220
>

--------------------------------------------------------------------------------

now sending ..

--------------------------------------------------------------------------------

< 0000003f 47 4e 55 54 45 4c 4c 41 2f 30 2e 36 20 32 30 30 # GNUTELLA/0.6 200
< 0000004f 20 4f 4b 0d 0a 0d 0a # OK....

--------------------------------------------------------------------------------



then send

--------------------------------------------------------------------------------

< 00000056 32 35 39 30 37 38 39 30 ff 31 30 33 33 38 35 00 # 25907890.103385.
< 00000066 80 07 00 09 00 00 00 # .......
< 0000006d 38 00 6d 6f 76 69 65 73 00 # 8.movies.

--------------------------------------------------------------------------------

tshdos June 23rd, 2002 07:46 PM

Have you tried it against a different client I am still not able to get Bearshare to respond to the query. Gnucleus based clients respond however.

Still looking for a solution though...

AliSweden June 24th, 2002 02:11 AM

What do you mean you're not able to get bearshare to answer? You mean that you've tried sending the same data I just showed and you get no answer with bearshare?

In that case, it's weird, because I'm doing AFAIK exactly what RFC says you should do!

I noticed, sometimes I get a PING from the SERVER before I perform the search, in that case I send a PONG backl. Would you like to see that part too?

cheers

GregorK June 24th, 2002 06:08 AM

Did you try to send a Ping with TTL = 1 and Hops = 0 to Bearshare before sending the query?
Also make sure you respond with a Pong to every Ping with TTL = 1 and Hops = 0 you get.

Also I saw a Pong Caching header in your connection. Are you sure you support it? Maybe you should test without it.

Gregor

tshdos June 24th, 2002 06:10 AM

Quote:

Also I saw a Pong Caching header in your connection. Are you sure you support it? Maybe you should test without it.
Tried that...

AliSweden June 24th, 2002 03:29 PM

Tried taking out the Pong-Caching... tried sending a Ping ttl=1 right away... still get no reply on my queries! I do get reply (pong) on the ping! but no query hit on the query! hrm.. what am I doing wrong?


All times are GMT -7. The time now is 10:18 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.