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.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4 (permalink)  
Old January 4th, 2002
Connoisseur
 
Join Date: August 9th, 2001
Location: Philadelphia, PA, USA
Posts: 358
cultiv8r is flying high
Default

Indeed, many would wonder why you'd have a TTL *and* a HOP count. But there's something you can't tell without the other: How far does it need to go, and how far away did it come from?

For TTL only: Where did the TTL start? Did it start with TTL of 7? Or a TTL of 255? I only see TTL = 2!

For Hops only: At which Hop count do I stop? At 3, 7, 100? Am I the first to see this message? The last?

There are cases where you need to know how far a message has traveled. For example, a PONG message with a TTL of 7 and a hop count of 0 most likely came from a node directly connected to you. You might need to correct the IP address in this PONG message before you pass it on. Also, you might want to prevent multiple PING messages within a short timespan from your direct connected node.

Now, your assumption that the TTL is the time in seconds is incorrect in terms of the Gnutella protocol. When you're talking about ICMP (Pings, traceroutes), yes, TTL would give you a timestamp. But with Gnutella, it is merely any given number, and at each node, this number is decreased.

-- Mike
Reply With Quote
 


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



All times are GMT -7. The time now is 05:45 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.