Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > LimeWire Beta Archives
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts


 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 7th, 2004
et voilà's Avatar
+Modérateur à ses heures+
 
Join Date: July 26th, 2002
Location: Le Québec
Posts: 2,904
et voilà is a great assister to others; your light through the dark tunnel
Exclamation [Bug 3.8.7] Duplicate connections as UP

Salut à tous, as an UP i've seen today duplicates in UP connections as well as leaf connections. ie two instance of the very same IP (they weren't nated or behind router etc..). This is quite a stupid bug to say the least Now, please fix it!

Merci beaucoup
  #2 (permalink)  
Old March 7th, 2004
A reader, not an expert
 
Join Date: January 11th, 2003
Location: Canada
Posts: 4,613
stief has a spectacular aura about
Default

Salut et voilà

I just checked my connections--no duplicates (uptime 30 hrs as UP on the official 3.9.1beta).
Sandvine p2p controls did show duplicates (of my own client) in the past: old screenshot here

This does not sound like your case, but just in case . . .
  #3 (permalink)  
Old March 7th, 2004
et voilà's Avatar
+Modérateur à ses heures+
 
Join Date: July 26th, 2002
Location: Le Québec
Posts: 2,904
et voilà is a great assister to others; your light through the dark tunnel
Default

Héhéhé, at least I know Sandvine isn't the problem here I am UP for a couple of hours, the two connections were from a 3.8.7 as UPs and two same 3.6.15 as leafs. The duplicates have been connected for the same time +/- 1 second (ex: 3.8.7 connected for 15:26 and the same 3.8.7 connected for 15:27) to my UP so this may be a race condition in the code. (I should have taken a screenshot, I disconected them manually before thinking about that...).

Ciao
  #4 (permalink)  
Old March 9th, 2004
verdyp's Avatar
LimeWire is International
 
Join Date: January 13th, 2002
Location: Nantes, FR; Rennes, FR
Posts: 306
verdyp is flying high
Default

Not necessarily a bug: there may exist two distinct hosts at the same IP, trying to connect to you through the same firewall or NAT routing device...

Why do you think that these hosts are not firewalled or NAT-routed? It's possible, for NAT-routed hosts on the same LAN sharing the same Internet access, to create independant connections to the same target UltraPeer on the Net, and these two hosts on the same LAN way still be able to accept incoming connections on the same port.

These two hosts do not communicate each other to check their mutual connections attempts.

But usually the UltraPeer will disconnect one of them, à priori the most recently connected one that will have to seek for another UltraPeer...

But normally, the first Gnutella packet that a Limewire leaf node sends to an UltraPeer is a connection header specifying on which port they expect to receive incoming connections, as well as their own Gnutella servent GUID and IP address and port number within the first Gnutella message sent which should be a direct PING with TTL=1 and Hops=0 (so that this ping message will not be relayed to other hosts, but will just feed the UltraPeer pong cache, and will setup a routing path for QueryHits to forward after the leaf has relayed a Query through your UltraPeer.)
__________________
LimeWire is international. Help translate LimeWire to your own language.
Visit: http://www.limewire.org/translate.shtml

Last edited by verdyp; March 9th, 2004 at 06:30 PM.
  #5 (permalink)  
Old May 1st, 2004
et voilà's Avatar
+Modérateur à ses heures+
 
Join Date: July 26th, 2002
Location: Le Québec
Posts: 2,904
et voilà is a great assister to others; your light through the dark tunnel
Default

MÀJ/update here is a picture of the same UP connected two times (the ip and port are the same and the QRP filling is the also the same. They are unfirewalled because they're running UPs.) They connected at the same time to my machine (+/- 1second).
  #6 (permalink)  
Old May 6th, 2004
A reader, not an expert
 
Join Date: January 11th, 2003
Location: Canada
Posts: 4,613
stief has a spectacular aura about
Default

Took a while for catch this rare condition, but now can confirm--3.9.9 Beta (pro). Also managed to get screenshots of the tooltip info (identical). Uptime over 5 hours, and each using differing amounts of bandwidth.
Attached Thumbnails
[Bug 3.8.7] Duplicate connections as UP-dupl.jpg  

Last edited by stief; May 6th, 2004 at 07:45 AM.
  #7 (permalink)  
Old May 6th, 2004
verdyp's Avatar
LimeWire is International
 
Join Date: January 13th, 2002
Location: Nantes, FR; Rennes, FR
Posts: 306
verdyp is flying high
Default

Quote:
Originally posted by et voilà
[B]They are unfirewalled because they're running UPs.)
Note that a firewalled node CAN BE a UltraPeer. What is really needed is to accept incoming connections on the configured port. This does not forbids firewalls or NAT routing devices.

Even in the 2 other examples shown as screenshots just above this message, it is really possible that two hosts (with distinct GUIDs) share a connection with the same visible IP, and even the same shared directories (which may be on a mounted local network shared disk).
For Gnutella, they may even be two distinct UltraPeers each one with its own set of connections. So they participate to the topology. Servents are not uniquely identified by their IP but also by their port number for incoming connections. As the first ping that is exchanged between connected host will contain this port number, they will be distinct.

I can't remember however if the two direct pongs exchanged contain the unique host GUID or just a unique GUID matching the ping request. If this is the unique host GUID (to be used in QueryHits and routing of pushes), then it should be possible to identify if two connections from the same IP belongs to the same host.
__________________
LimeWire is international. Help translate LimeWire to your own language.
Visit: http://www.limewire.org/translate.shtml
  #8 (permalink)  
Old May 6th, 2004
et voilà's Avatar
+Modérateur à ses heures+
 
Join Date: July 26th, 2002
Location: Le Québec
Posts: 2,904
et voilà is a great assister to others; your light through the dark tunnel
Default

Quote:
Note that a firewalled node CAN BE a UltraPeer. What is really needed is to accept incoming connections on the configured port. This does not forbids firewalls or NAT routing devices.
Humm je le sais, it's obvious Philippe....

Quote:
Even in the 2 other examples shown as screenshots just above this message, it is really possible that two hosts (with distinct GUIDs) share a connection with the same visible IP, and even the same shared directories (which may be on a mounted local network shared disk).
For Gnutella, they may even be two distinct UltraPeers each one with its own set of connections. So they participate to the topology. Servents are not uniquely identified by their IP but also by their port number for incoming connections. As the first ping that is exchanged between connected host will contain this port number, they will be distinct.
There is one chance out of 50 billions that this eventuality happens .... Admit it, there are 10 millions more chances for this to be a bug and a lottery happening
Possibilities are one thing (what you describe CAN happen, but can it have happened a couple of times on my computer and on the one of Stief-- no!) , but you have to look at the probabilities sometimes...

Philippe, t'es sûr que tu n'as pas un diplôme en philo? Moi je suis plus du type statistisques
  #9 (permalink)  
Old May 8th, 2004
A reader, not an expert
 
Join Date: January 11th, 2003
Location: Canada
Posts: 4,613
stief has a spectacular aura about
Default

just to clarify, I looked back at the screenshots and that host had the same IP:Port (6346). However, in another screenshot earlier the host used 6348. If it connected twice using a different IP:Port, and changed to the same later, that would explain the rarity, no?
  #10 (permalink)  
Old May 8th, 2004
et voilà's Avatar
+Modérateur à ses heures+
 
Join Date: July 26th, 2002
Location: Le Québec
Posts: 2,904
et voilà is a great assister to others; your light through the dark tunnel
Default

Salut Stief, if he had port 6348, maybe he was running two instances of LW, which is possible under windows (this happened to EllisD). Anyway it is weird and LW shouldn't allow two UP connections of the same ip and port.


Here is another thing weird, an UP connected for more than two hours but it didn't even sent a QRP??? Has you can note on the shot it isn't a 0.6 normal peer either....
 


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
duplicate installation rzulub Download/Upload Problems 2 December 19th, 2004 09:01 AM
Avoiding duplicate files lex General Mac OSX Support 3 December 1st, 2004 03:55 PM
Does iTunes duplicate tracks I download? mr-o General Mac OSX Support 1 November 9th, 2004 11:35 PM
duplicate downloads in Incomplete folder Unregistered Mac OSX 0 June 9th, 2002 08:31 AM
New feature : No more Files Duplicate Unregistered XoloX Feature Request 16 October 22nd, 2001 11:09 PM


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