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 May 18th, 2008
Apprentice
 
Join Date: May 18th, 2008
Posts: 9
lapsy is flying high
Default New Servant Identifier

Can someone please let me know, how a gnutella client obtains its servant identifier? Is it randomely generated or is it some hash function of its ip?
Reply With Quote
  #2 (permalink)  
Old May 18th, 2008
AaronWalkhouse's Avatar
***ּLegendary Axeman***ּ
 
Join Date: January 17th, 2005
Location: My igloos melt in June.
Posts: 1,974
AaronWalkhouse is a great assister to others; your light through the dark tunnel
Default

It's random.
Reply With Quote
  #3 (permalink)  
Old May 18th, 2008
Apprentice
 
Join Date: May 18th, 2008
Posts: 9
lapsy is flying high
Default

If it's randomly generated then what stops a peer from stealing the servent_id of another from?
Reply With Quote
  #4 (permalink)  
Old May 19th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Gnutella Protocol Development

Quote:
Last 16 Servent Identifier. A 16-byte string uniquely identifying the
responding servent on the network. This SHOULD be constant
for all Query Hit messages emitted by a servent and is
typically some function of the servent's network address. The
servent Identifier is mainly used for routing the Push
Message (see below).
Nothing stops you from that, but it doesn't gain you that much either.

You might be able to steal push messages intended for a leaf connected to the same UP, but that doesn't do much damage.

Gnutella worked quite well, when some clients had far too weak servent IDs, so it shouldn't be too much of an issue. And if it becomes an issue, I can already think of some solutions (like the UP informaing the leafs that they have the same servent id and they switching due to that).

If you're writing your own client, it MUST be completely random, though. And the random function should return good randomness (you need only calculate this once).
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #5 (permalink)  
Old May 19th, 2008
Apprentice
 
Join Date: May 18th, 2008
Posts: 9
lapsy is flying high
Default

thanx a lot.. i guess that solved my problem
Reply With Quote
  #6 (permalink)  
Old May 20th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Glad to hear that!

Besides: The new Gnutella specification is available at GDF - LimeWire (that's a relay subdomain, so the specs can change the place and still stay accessible from that domain).
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
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



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