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 20th, 2002
Disciple
 
Join Date: December 7th, 2001
Posts: 17
Ivex is flying high
Question Pong Question

If I received a pong whose TTL is 0, is it means its ping was sent by me? Should I check the routing table (guid, socket) again?
Reply With Quote
  #2 (permalink)  
Old January 21st, 2002
Enthusiast
 
Join Date: January 1st, 2002
Posts: 34
Tamama is flying high
Default

you should not get packets with a ttl of 0

The ttl is decreased at a servent and after that if it is 0 it is dropped. So if you do get a ttl of 0 something went wrong and you could drop it (or use it for something, whatever you want)

Tam
Reply With Quote
  #3 (permalink)  
Old January 21st, 2002
Disciple
 
Join Date: December 7th, 2001
Posts: 17
Ivex is flying high
Default TTL = 1?

If I received a pong with ttl = 1, am I the original sender of its ping? Or I should check it in my routing table again?
Reply With Quote
  #4 (permalink)  
Old January 22nd, 2002
Moak's Avatar
Guest
 
Join Date: September 7th, 2001
Location: Europe
Posts: 816
Moak is flying high
Default

If you receive a ping with a Hop=0, one of your direct connected peer has send it to you.

About your question "ping was sent by me?"... you shouldn't receive a message from your own. Avoid loops to your own, don't connect to yourself! If you receive any message with TTL=0, you should drop the connection (as Tama said), because it's from a bad, broken servent. If you receive a message with TTL=1, you can say nothing about it, it just means "forward this message not anymore".

Well, there is more background and a little bit of pseudo code in this thread (you started it):
"Why do we need TTL?" - http://www.gnutellaforums.com/showth...&threadid=6363

/Moak
Reply With Quote
  #5 (permalink)  
Old January 22nd, 2002
Disciple
 
Join Date: December 7th, 2001
Posts: 17
Ivex is flying high
Default oh, now i see

Thanks, very body!
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
Log Pong robinhood2451 General Discussion 1 September 29th, 2005 12:00 AM
Pong Server sangony General Gnutella / Gnutella Network Discussion 8 September 12th, 2002 02:12 PM
Pong Packet Question.. prh99 General Gnutella Development Discussion 5 July 21st, 2002 05:40 AM
Ping & Pong? What for? JackDCLee General Gnutella Development Discussion 5 March 31st, 2002 12:59 AM
help with PONG RogerioS General Gnutella / Gnutella Network Discussion 1 April 20th, 2001 03:52 PM


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