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 January 11th, 2002
Apprentice
 
Join Date: January 11th, 2002
Posts: 5
mckerrell is flying high
Question What happens to unrecognised packets?

Hi,
I'm just wondering what Gnutella clients do if you send them a
packet of a type that they don't recognise - i.e. the payload
descriptor is not one of the standard ones.
I can see that servants should be able to manipulate the TTL
and the hops then pass the packet on, simply ignoring it
themselves.
There's nothing mentioned in the protocol (or the version I'm
using) so I'm wondering what current clients do.
Also, what sort of extensions have been thought of so far? I've
got an idea for one but I'm still not entirely sure how it should
work

Thanks,
John
Reply With Quote
  #2 (permalink)  
Old January 11th, 2002
Enthusiast
 
Join Date: January 1st, 2002
Posts: 34
Tamama is flying high
Default

clients that receive an unknown packet are likely to drop the connection.

This is why the 'bye' proposal for a new packet can be done as the last packet.
Reply With Quote
  #3 (permalink)  
Old January 12th, 2002
Connoisseur
 
Join Date: August 9th, 2001
Location: Philadelphia, PA, USA
Posts: 358
cultiv8r is flying high
Default Re: What happens to unrecognised packets?

John,

Quote:
I'm just wondering what Gnutella clients do if you send them a
packet of a type that they don't recognise - i.e. the payload
descriptor is not one of the standard ones.
If the message has a descriptor that is unrecognized, ie. 0xFF, then the client may think it is out of sync. Some client will drop you right away, some will attempt to get back in sync (my client does that by sending out a ping, then look for a pong in the data stream).

Quote:
Also, what sort of extensions have been thought of so far? I've
got an idea for one but I'm still not entirely sure how it should
work
There's a number of them now. One of them is called "HUGE" which provides file hashes in search results, and resource locators. This opens up a whole new range of possibilities.

Another one is called "GGEP". This one allows you to add additional data to the QueryHit and Query packets (and actually others too). This additional data could almost be anything you can think of, considering the current limitations of Gnutella (like the size of a message). GGEP is built such so not to break older clients.

You should be able to find this, and many other proposed additions at the GDF (Gnutella Developers Forum) at http://groups.yahoo.com/group/the_gdf. Unfortunately, you are required to have a Yahoo! account to access this site (although getting such account is free).

-- Mike

Last edited by cultiv8r; January 13th, 2002 at 08:31 PM.
Reply With Quote
  #4 (permalink)  
Old January 13th, 2002
Apprentice
 
Join Date: January 11th, 2002
Posts: 5
mckerrell is flying high
Default Re: Re: What happens to unrecognised packets?

Quote:
Originally posted by cultiv8r
John,



<snip>
You should be able to find this, and many other proposed additions at the GDF (Gnutella Developers Forum) at http://groups.yahoo.com/group/the_gdf. Unfortunately, you are required to have a Yahoo! account to access this site (although getting such account is free).

-- Mike
It's funny actually. I've written a small client myself and when I checked back on it I found that my client uses the type as a method to keep in sync. If it doesn't recognise the type it closes the connection.
I have seen the_gdf and have started posting to it, about Time Sensitive Data.
John
Reply With Quote
  #5 (permalink)  
Old January 13th, 2002
Connoisseur
 
Join Date: August 9th, 2001
Location: Philadelphia, PA, USA
Posts: 358
cultiv8r is flying high
Default

I've seen that topic, and I've been commenting on it. Great idea!

-- Mike
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
Bearshare -> malformed packets? DMF Connection Problems 1 February 4th, 2005 06:50 PM
lots of dropped packets?! sdsalsero General Gnutella / Gnutella Network Discussion 0 January 17th, 2003 02:48 PM
Network bad packets LordChaos General Gnutella Development Discussion 0 November 3rd, 2001 08:19 PM
Download Stuck (No Packets) cranej Download/Upload Problems 0 August 25th, 2001 05:45 PM
One question about encrypted packets bodhi BearShare Open Discussion 26 June 22nd, 2001 03:20 AM


All times are GMT -7. The time now is 05:39 AM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.