Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 23rd, 2002
Disciple
 
Join Date: June 2nd, 2002
Posts: 14
AliSweden is flying high
Default 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?
Reply With Quote
  #2 (permalink)  
Old June 23rd, 2002
Gnutella Veteran
 
Join Date: March 24th, 2002
Location: Virginia
Posts: 101
tshdos is flying high
Default

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.
Reply With Quote
  #3 (permalink)  
Old June 23rd, 2002
Disciple
 
Join Date: June 2nd, 2002
Posts: 14
AliSweden is flying high
Default


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.

--------------------------------------------------------------------------------
Reply With Quote
  #4 (permalink)  
Old June 23rd, 2002
Gnutella Veteran
 
Join Date: March 24th, 2002
Location: Virginia
Posts: 101
tshdos is flying high
Default

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...
Reply With Quote
  #5 (permalink)  
Old June 24th, 2002
Disciple
 
Join Date: June 2nd, 2002
Posts: 14
AliSweden is flying high
Default

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
Reply With Quote
  #6 (permalink)  
Old June 24th, 2002
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

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
__________________
Reply With Quote
  #7 (permalink)  
Old June 24th, 2002
Gnutella Veteran
 
Join Date: March 24th, 2002
Location: Virginia
Posts: 101
tshdos is flying high
Default

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...
Reply With Quote
  #8 (permalink)  
Old June 24th, 2002
Disciple
 
Join Date: June 2nd, 2002
Posts: 14
AliSweden is flying high
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
queries samdrew0004 BearShare Open Discussion 0 November 3rd, 2005 10:19 PM
Upload Queries fofofo1003 Download/Upload Problems 1 April 21st, 2005 12:47 PM
ultrapeer queries CyBorG3132 Download/Upload Problems 1 April 21st, 2005 04:11 AM
No response to my QUERIES!!! AliSweden General Gnutella Development Discussion 19 June 24th, 2002 12:29 PM
queries Unregistered Open Discussion topics 0 March 14th, 2002 07:19 PM


All times are GMT -7. The time now is 09:59 PM.


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.