Gnutella: Difference between revisions
restoring IPA |
switch to cite.php references |
||
Line 114: | Line 114: | ||
! colspan=2 | client |
! colspan=2 | client |
||
! Hash search |
! Hash search |
||
⚫ | |||
! Chat {{ref|Chat}} |
|||
! Buddy list |
! Buddy list |
||
! Handles big files (>4GB) |
! Handles big files (>4GB) |
||
! Unicode |
! Unicode |
||
! UPnP port mapping |
! UPnP port mapping<ref>Automatically configure port forwarding (requires Router with UPnP support)</ref> |
||
! [[NAT traversal]] |
! [[NAT traversal]] |
||
! [[NAT Port Mapping Protocol|NAT port mapping]] |
! [[NAT Port Mapping Protocol|NAT port mapping]] |
||
⚫ | |||
! RUDP {{ref|RUDP}} |
|||
! TCP Push proxy |
! TCP Push proxy |
||
! UDP Push proxy |
! UDP Push proxy |
||
! Ultrapeer |
! Ultrapeer |
||
⚫ | |||
! GWebCache {{ref|GWebCache}} |
|||
! UDP Host Cache |
! UDP Host Cache |
||
! THEX |
! THEX |
||
Line 157: | Line 157: | ||
| {{?}} |
| {{?}} |
||
| {{?}} |
| {{?}} |
||
| {{Yes}} |
| {{Yes}}<ref>Client only</ref> |
||
| {{No}} |
| {{No}} |
||
⚫ | |||
| {{No}} {{ref|b}} |
|||
| {{Yes}} |
| {{Yes}} |
||
| {{No}} |
| {{No}} |
||
| {{No}} |
| {{No}} |
||
|- |
|- |
||
! {{rh}} colspan=2 | [[GnucDNA]] |
! {{rh}} colspan=2 | [[GnucDNA]]<ref>Version 0.9.2.7</ref> |
||
| {{Yes}} |
| {{Yes}} |
||
| [[Not Applicable|N/A]] |
| [[Not Applicable|N/A]] |
||
Line 176: | Line 176: | ||
| {{Yes}} |
| {{Yes}} |
||
| {{No}} |
| {{No}} |
||
| {{No}} |
| {{No}} <ref name="not_high_out_unusable" /> |
||
| {{Yes}} |
| {{Yes}} |
||
| {{No}} |
| {{No}} |
||
Line 200: | Line 200: | ||
|- |
|- |
||
! {{rh}} colspan=2 | [[LimeWire]] |
! {{rh}} colspan=2 | [[LimeWire]] |
||
⚫ | |||
| {{Yes}} {{ref|d}} |
|||
| {{Yes}} |
| {{Yes}} |
||
| {{No}} |
| {{No}} |
||
Line 206: | Line 206: | ||
| {{Yes}} |
| {{Yes}} |
||
| {{Yes}} |
| {{Yes}} |
||
⚫ | |||
| {{Yes}} {{ref|e}} |
|||
| {{No}} <!-- was "Yes (w/ UPnP)". Are you sure? Please see the link at column top. bpringlemeir. --> |
| {{No}} <!-- was "Yes (w/ UPnP)". Are you sure? Please see the link at column top. bpringlemeir. --> |
||
| {{Yes}} |
| {{Yes}} |
||
Line 249: | Line 249: | ||
| {{no}}<!-- It can only act as leaf; its outdated Ultrapeer support has been rotting for years. --> |
| {{no}}<!-- It can only act as leaf; its outdated Ultrapeer support has been rotting for years. --> |
||
| {{yes}} |
| {{yes}} |
||
| {{yes}} |
| {{yes}}<ref>Since version 2.2.4.0</ref> |
||
| {{yes}} |
| {{yes}} |
||
|} |
|} |
||
Line 262: | Line 262: | ||
* [[MP3Rocket]], 360Share, LemonWire, MP3Torpedo, and DexterWire are the [[LimeWire]] package. |
* [[MP3Rocket]], 360Share, LemonWire, MP3Torpedo, and DexterWire are the [[LimeWire]] package. |
||
* [[FrostWire]] is near identical to LimeWire; [[Acquisition]] and [[Cabos]] have custom front-ends but use [[LimeWire]] as an engine. |
* [[FrostWire]] is near identical to LimeWire; [[Acquisition]] and [[Cabos]] have custom front-ends but use [[LimeWire]] as an engine. |
||
⚫ | |||
* {{note|UPnP}} Automatically configure port forwarding (requires Router with UPnP support) |
|||
⚫ | |||
⚫ | |||
* {{note|a}} Client only |
|||
⚫ | |||
* {{note|c}} Version 0.9.2.7 |
|||
⚫ | |||
⚫ | |||
* {{note|f}} Since vesion 2.2.4.0 |
|||
== Gnutella2 == |
== Gnutella2 == |
||
Line 284: | Line 274: | ||
== References == |
== References == |
||
<References /> |
|||
{{reflist}} |
|||
==External links== |
==External links== |
Revision as of 21:24, 20 October 2007
Gnutella (pronounced: /nʊˈtɛlə/ with a silent g, or alternatively /gnʊˈtɛlə/) is a file sharing network. As of December 2005, Gnutella was the third-most-popular file sharing network on the Internet, following eDonkey 2000 and FastTrack. In June of 2005, Gnutella's population was 1.81 million computers. [1] With the decline of Fasttrack and the emergence of Bittorrent, Gnutella is feasibly still firmly established as third-largest peer-to-peer network.
History
The first client was developed by Justin Frankel and Tom Pepper of Nullsoft in early 2000, soon after the company's acquisition by AOL. On March 14, the program was made available for download on Nullsoft's servers. The event was prematurely announced on Slashdot, and thousands downloaded the program that day. The source code was to be released later, supposedly under the GNU General Public License (GPL).
The next day, AOL stopped the availability of the program over legal concerns and restrained Nullsoft from doing any further work on the project. This did not stop Gnutella; after a few days, the protocol had been reverse engineered, and compatible open-source clones began to appear. This parallel development of different clients by different groups remains the modus operandi of Gnutella development today.
The Gnutella network is a fully distributed alternative to such semi-centralized systems as FastTrack (KaZaA) and such centralized systems as Napster. Initial popularity of the network was spurred on by Napster's threatened legal demise in early 2001. This growing surge in popularity revealed the limits of the initial protocol's scalability. In early 2001, variations on the protocol (first implemented in closed-source clients) allowed somewhat of an improvement in scalability. Instead of treating every user as client and server, some users were now treated as "ultrapeers", routing search requests and responses for users connected to them.
This allowed the network to grow in popularity. In late 2001, the Gnutella client LimeWire became open source. In February 2002, Morpheus, a commercial file-sharing group, abandoned its FastTrack-based peer-to-peer software and released a new client based on the open source Gnutella client Gnucleus.
The word "Gnutella" today refers not to any one project or piece of software, but to the open protocol used by the various clients. Since various parties are developing new clients, and the protocol will likely continue to evolve, it is hard to say what the word 'Gnutella' will come to mean in the future.
The name is a portmanteau of GNU and Nutella: supposedly, Frankel and Pepper ate a lot of Nutella working on the original project, and intended to license their finished program under the GNU General Public License. Gnutella is not associated with the GNU project;[2] see GNUnet for the GNU project's equivalent.
How it works [3]
To envision how Gnutella originally worked, imagine a large circle of users (called nodes), who each have Gnutella client software. On initial startup, the client software must bootstrap and find at least one other node. Different methods have been used for this, including a pre-existing address list of possibly working nodes shipped with the software, using updated web caches of known nodes (called GWebCaches), UDP host caches and, rarely, even IRC. Once connected, the client will request a list of working addresses. The client will try to connect to the nodes it was shipped with as well as nodes it receives from other clients until it reaches a certain quota. It will only connect to that many nodes, locally cache the addresses it has not yet tried and discarding addresses it tried which were invalid.
Now, when the user wanted to do a search, the client would send the request to each node it is actively connected to. The number of actively connected nodes for a client was usually quite small (around 5), so each node then forwards the request to all the nodes it is connected to, and they in turn forward the request, and so on, until the packet was a predetermined number of "hops" from the sender.
If a search request turns up a result, the node that had the result needs to contact the searcher. In the classic Gnutella protocol response messages were always sent back along the route the query came in through, as the query itself did not contain identifying information of the node. This scheme was later revised, so that search results are delivered over UDP directly to the node which initiated the search, respectively a proxying peer, usually an ultrapeer of the node. The queries do therefore carry the IP address and port number of either node. This lowers the amount of traffic routed through the Gnutella network, making it significantly more scalable.
If the user decides to download the file, they negotiate the file transfer. If the node which has the requested file is not firewalled, the querying node can connect to it directly. However, if the node is firewalled, stopping the source node from receiving incoming connections, the client wanting to download a file will send it a so called "push request" to the server for the remote client to initiate the connection instead (to "push" the file). At first, these push requests were routed along the original chain it used to send the query. This was however rather unreliable because routes would often break and routed packets are always subject to flow control. Therefore so called "push proxies" were introduced. These are usually the ultrapeers of a leaf node and they are announced in search results. The client connects to one of these "push proxies" using a HTTP request and the proxy sends a "push request" to leaf on behalf of the client. Normally, it is also possible to send a push request over UDP to the push proxy which is more efficient than using TCP. Push proxies have two advantages: First, ultrapeer-leaf connections are more stable than routes which makes push requests much more reliable. Second, it reduces the amount of traffic routed through the Gnutella network.
Finally, when a user disconnects, the client software saves the list of nodes that it was actively connected to and those collected from pong packets for use the next time it attempts to connect so that it becomes independent from any kind of bootstrap services.
In practice, this method of searching on the Gnutella network was often unreliable. Each node is a regular computer user; as such, they are constantly connecting and disconnecting, so the network is never completely stable. Also, the bandwidth cost of searching on Gnutella would grow exponentially to the number of connected users [1], often saturating connections rendering slower nodes useless. Therefore, search requests would often be dropped, and most queries reached only a very small percentage of the network. This observation identified the Gnutella network as an unscalable distributed system, and inspired the development of distributed hash tables, which are much more scalable but support only exact-match, rather than keyword, search.
To address the problems of bottlenecks, Gnutella developers implemented a tiered system of ultrapeers and leaves. Instead of all nodes being considered equal, nodes entering into the network were kept at the 'edge' of the network as a leaf, not responsible for any routing, and nodes which were capable of routing messages were promoted to ultrapeers, which would accept leaf connections and route searches and network maintenance messages. This allowed searches to propagate further through the network, and allowed for numerous alterations in the topology which have improved the efficiency and scalability greatly.
Additionally the Gnutella adopted a number of other techniques to reduce traffic overhead and make searches more efficient. Most notable are QRP (Query Routing Protocol) and DQ (Dynamic Querying). With QRP a search reaches only those clients which are likely to have the files, so rare files searches grow vastly more efficient, and with DQ the search stops as soon as the program has acquired enough search results, which vastly reduces the amount of traffic caused by popular searches. Gnutella For Users has a vast amount of information about these and other improvements to Gnutella in user-friendly style.
One of the benefits of having Gnutella so decentralized is to make it very difficult to shut the network down and to make it a network in which the users are the only ones who can decide which content will be available. Unlike Napster, where the entire network relied on the central server, Gnutella cannot be shut down by shutting down any one node and it is impossible for any one company to control the contents of the network, which is also due to the many free software Gnutella clients which share the network.
Protocol features and extensions
Gnutella did once operate on a purely query flooding-based protocol. The outdated Gnutella version 0.4 network protocol employs five different packet types, namely
- ping: discover hosts on network
- pong: reply to ping
- query: search for a file
- query hit: reply to query
- push: download request for firewalled servents
These are mainly concerned with searching the Gnutella network. File transfers are handled using HTTP.
The development of the Gnutella protocol is currently led by the GDF (Gnutella Developer Forum). Many protocol extensions have been and are being developed by the software vendors and free Gnutella developers of the GDF. These extensions include intelligent query routing, SHA-1 checksums, query hit transmission via UDP, querying via UDP, dynamic queries via TCP, file transfers via UDP, XML meta data, source exchange (also known as "the download mesh") and parallel downloading in slices (swarming).
There are efforts to finalize these protocol extensions in the Gnutella 0.6 specification at the Gnutella protocol development website. The Gnutella 0.4 standard, although being still the latest protocol specification since all extensions only exist as proposals so far, is outdated. In fact, it is hard to impossible to connect today with the 0.4 handshake and according to developers in the GDF, version 0.6 is what new developers should pursue.
The Gnutella protocol remains under development and in spite of attempts to make a clean break with the complexity inherited from the old Gnutella 0.4 and to design a clean new message architecture, it is still one of the most successful file-sharing protocols to date.
Software
The following tables compare general and technical information for a number of applications supporting the Gnutella network. The tables do not attempt to give a complete list of Gnutella clients. The tables are limited to clients that can participate in the current Gnutella network.
General Specifications
Gnutella Features
client | Hash search | Chat[5] | Buddy list | Handles big files (>4GB) | Unicode | UPnP port mapping[6] | NAT traversal | NAT port mapping | RUDP[7] | TCP Push proxy | UDP Push proxy | Ultrapeer | GWebCache[8] | UDP Host Cache | THEX | Other | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BearShare | Yes | Yes | Yes | No | No | Yes | Yes | Yes | Yes | Yes | ? | Yes | Yes | ? | Yes | ||
giFT | Yes | N/A | N/A | No | No | ? | ? | ? | ? | Yes[9] | No | No [10] | Yes | No | No | ||
GnucDNA[11] | Yes | N/A | N/A | ? | No | No | No | No | No | Yes | No | No [10] | Yes | No | No | ||
gtk-gnutella | Yes | No | No | Yes | Yes | No | No | No | No | Yes | Yes | Yes | No | Yes | Yes | IPv6, TLS | |
LimeWire | Yes [12] | Yes | No | Yes | Yes | Yes | Yes[13] | No | Yes | Yes | Yes | Yes | Yes | Yes | Yes | TLS | |
Phex | Yes | Yes | ? | ? | ? | ? | ? | ? | ? | Yes | ? | Yes | Yes | Yes | Yes | TLS | |
Shareaza | Yes | Yes | No | No | No | Yes | No | Yes | No | Yes | Yes | No | Yes | Yes[14] | Yes |
Notes
- Morpheus differs significantly and may have completely independent code from the GnucDNA engine. Morpheus can function as a modern ultrapeer whereas other GnucDNA clients can not.
- Gnucleus, and Kiwi Alpha use the GnucDNA engine.
- BearFlix should be similar to BearShare.
- giFTcurs, Apollon, FilePipe, giFToxic, giFTui, giFTwin32, KCeasy, Poisoned, and Xfactor are GUI front-ends for the GiFT engine.
- etomi is the Shareaza package.
- MP3Rocket, 360Share, LemonWire, MP3Torpedo, and DexterWire are the LimeWire package.
- FrostWire is near identical to LimeWire; Acquisition and Cabos have custom front-ends but use LimeWire as an engine.
Gnutella2
Gnutella2 is not a successor protocol of Gnutella [15], but rather a fork of the Gnutella protocol which has both advantages and disadvantages compared to Gnutella.[16] A sore point with many Gnutella supporters is that the "Gnutella2" name conveys an upgrade or superiority.[17] [18]
See also
- File sharing timeline
- Bitzi, an open content file catalog integrated with some Gnutella clients
- Gnutella crawler, a program used to gather information from the Gnutella network
- WASTE, a different network developed by Justin Frankel
References
- ^ http://www.slyck.com/news.php?story=814
- ^ Regarding Gnutella (www.gnu.org)
- ^ GDF Working Proposals
- ^ "Shareaza download page on sourceforge Web site". SourceForge. Retrieved 2019-07-06.
- ^ Refers to client-to-client chat.
- ^ Automatically configure port forwarding (requires Router with UPnP support)
- ^ Reliable UDP protocol used for NAT-to-NAT transfers; sometimes called Firewall-to-Firewall
- ^ The UDP host cache is the preferred bootstrap method.
- ^ Client only
- ^ a b Not high out degree, so unusable in current form.
- ^ Version 0.9.2.7
- ^ Via a Kademlia network only supported by LimeWire, completely different from SHA1 searches supported by all other Gnutella clients.
- ^ Port triggering or firewall to firewall (FW2FW).
- ^ Since version 2.2.4.0
- ^ Slyck interviews Greg Blidson of LimeWire on Gnutella2
- ^ Gnutella and Gnutella2 search methods compared
- ^ Comments on Gnutella2 disruption of Gnutella WORD DOC
- ^ Slyck interview with Vincent Falco, creator of BearShare on Gnutella2
External links
- Gnutella Protocol Development Wiki
- Gnutelliums - A list of Gnutella clients for Windows, Linux/Unix, and Macintosh
- Gnutella Forums
- GnuFU, "Gnutella For Users: A description of the inner workings of the Gnutella network in User-Friendly Style"
- Why Gnutella Scales quite well - A text which corrects some of the myths around Gnutella
- Gnutella Client Feature Comparision - Client comparison of LimeWire, Phex, BearShare, gtk-gnutella, Gnucleus, Shareaza.
- Gnutella announcement on Slashdot
- Regarding Gnutella by GNU
Papers on Gnutella and file sharing
- Mapping the Gnutella Network: Properties of Large-Scale Peer-to-Peer Systems and Implications for System Design. M. Ripeanu; I. Foster and A. Iamnitchi, IEEE Internet Computing, 6(1), February 2002.
- The 5th annual Passive & Active Measurement Workshop
- Advanced Peer-Based Technology Business Models. Ghosemajumder, Shuman. MIT Sloan School of Management, 2002.
- Music Downloads: Pirates- or Customers?. Silverthorne, Sean. Harvard Business School Working Knowledge, 2004.
- Free riding on Gnutella revisited: the bell tolls?. D. Hughes, G. Coulson, and J. Walkerdine. IEEE Distributed Systems Online, 6(6), June 2005.