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 Search Today's Posts Mark Forums Read

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 29th, 2002
Unregistered
Guest
 
Posts: n/a
Question Question regarding UDP

Please pardon my ignorance. I'm sure this question have been answered before (I tried search but was flooded with posts about UDP). Why doesn't the Gnutella network use the UDP protocol for searching and other small data transfers? How come other private networks like Blubster and File Spree can use UDP for searching with great success?

Thanks.
Reply With Quote
  #2 (permalink)  
Old June 30th, 2002
Unregistered
Guest
 
Posts: n/a
Default UDP

Some firewalls, including the ones where I work, don't allow some or all UDP out, so you would be preventing many people from being able to use the network.
Reply With Quote
  #3 (permalink)  
Old June 30th, 2002
Unregistered
Guest
 
Posts: n/a
Default

But this problem can be circumvented by a TCP "proxy-out" mechanism. Here's how Blubster's author deals with it:

Quote:
How are we going to enable everybody to connect with Blubster if they can’t use UDP? The answer is “Guide Nodes”. Guide nodes will be normal Blubster peers that will be acting like a guide for non-UDP-enabled peers.

The idea is that, when a peer (peer-A) that can’t use UDP tries to connect, it will “ask” for a UDP-enabled peer (peer-B) to be his/her gateway to the network. A normal TCP/IP connection is now between the two peers. The peer-A will see through peer-B. When peer-A needs to search for something, it passes the search to peer-B, who will process it, resending it -using the normal UDP transmissions- to the network. Peer-B will then receive the results and will forward them to peer-A. This is similar to the router port forwarding, but we will do it in a different layer.

The pros for this method are that everybody will be able to connect with Blubster. If you can navigate the web then you can connect to a Guide Node. The cons are the TCP/IP connection needed. TCP/IP transmissions are reliable, which means that guided peers will not be anonymous. Guide Nodes will sacrifice about 20% of performance receiving, processing and sending data to the guided peer.
The performance hit for those who use this method shouldn't be that bad, IMHO.
Reply With Quote
  #4 (permalink)  
Old June 30th, 2002
Apprentice
 
Join Date: June 18th, 2002
Posts: 6
fireforce is flying high
Default

UDP is a connectionless protocol. If you use it, you have no idea if the person you are sending to is still there anymore. For instance, you may send a search request to a person, but if he signs off right now, you still keep sending him data. Wasting your time and bandwidth. TCP is a more "expensive" protocol but is alot better for the needs of the network.
Reply With Quote
  #5 (permalink)  
Old June 30th, 2002
Unregistered
Guest
 
Posts: n/a
Default

So how does Blubster utilize UDP successfully? Is it more efficient with the search packets so that there is very little wastage? If you look at the statistics in the Blubster client, you will see that there are very few bad packets. Is it the case that Gnutella must optimize the searching and handshake methods before it can utilize UDP?
Reply With Quote
  #6 (permalink)  
Old June 30th, 2002
Connoisseur
 
Join Date: August 9th, 2001
Location: Philadelphia, PA, USA
Posts: 358
cultiv8r is flying high
Default

The problem is the broadcast UDP address. In most cases it is disabled. In addition to the other mentioned issues, this will make UDP usability very limited. It's been discussed before, many times...
Reply With Quote
  #7 (permalink)  
Old July 21st, 2002
On Holiday
 
Join Date: July 20th, 2002
Posts: 185
Syfonic is flying high
Default

problems problems problems
Reply With Quote
Reply

Thread Tools
Display Modes

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
A Question..... kcimm Getting Started Using LimeWire + WireShare 0 January 20th, 2007 09:42 PM
Question? clark griswold Open Discussion topics 0 February 20th, 2006 10:37 AM
question cookie2005 Connection Problems 0 August 2nd, 2005 01:18 PM
May sound like a dumb question....But.... (LW Basic to Pro changeover question) TracyBee Windows 2 June 15th, 2005 12:24 PM
question Unregistered Download/Upload Problems 4 April 6th, 2002 10:35 AM


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