Slashdot Mirror


Gnutella2 Specifications

An anonymous reader writes "After lots of heated debate regarding Gnutella2, (first story and more recent story), the specifications have finally been released. There is a mirror here. Let the debates begin."

18 of 254 comments (clear)

  1. Great! by Linux-based-robots · · Score: 5, Funny

    I can use this to share all my Linux warez with impunity!! Ha ha GPL take that! I'm sharing and there's nothing you can do about it!! NOTHING!

  2. GENIUS by JanusFury · · Score: 4, Funny

    Slashdot the specs so nobody can develop clients! That's absolute genius. I wonder how much Hilary Rosen is paying Taco for this? ;)

    --
    using namespace slashdot;
    troll::post();
    1. Re:GENIUS by Dog+and+Pony · · Score: 4, Funny

      And with the dupes we can keep it down for weeks! :)

  3. The "About" information by Berylium · · Score: 5, Informative

    For those of you who don't want to pop over to the site. Or if it get's slashdotted (which would be odd).

    What is Gnutella2?
    Gnutella2 is a modern and efficient peer-to-peer network standard and architecture designed to provide a solid foundation for distributed global services such as person to person communication, data location and transfer and other future services.

    Why is it needed?
    Peer to peer technologies have become mainstream over recent years, and there are already a significant number of P2P networks in various stages of development and operation.

    How does yet another network help?
    Gnutella2 is unique amongst the currently operating peer to peer networks in several important ways:
    * Many of the most successful networks are "closed", owned by a single entity with restrictions or fees constituting a barrier to participation. This is not a viable model for an open, general purpose network. Gnutella2 is an open architecture where anyone is welcome to participate and contribute. The network has been designed to allow such diversity without the need for messy hacks or compromises in integrity.
    * The majority of networks are devoted to a single purpose, often the sharing of files. This is certainly a popular application for peer to peer technology, but it is by no means the only application. Gnutella2 is designed as a general purpose network which can be used as a solid foundation for any number of different peer to peer applications - vanilla file sharing, communications tools or other ideas which are yet to be conceived.
    * Some peer to peer networks have been developed with similar general purpose goals, however they have been unable to compete in the most popular application of the day, which is file sharing. For a general purpose network to succeed, it must be able to compete with purpose-specific networks in the most popular purpose. Gnutella2 is not only able to compete with the current popular file sharing specific networks, it outperforms them.

    What About "Old Gnutella"?
    The original "Gnutella" was created several years ago as a very simple, single vendor file-sharing specific network. Its simplicity made it a popular platform for file sharing application developers; however this simplicity also critically limited its effectiveness. As a result, competing file-sharing specific networks slowly but surely took over as the tools of choice as Gnutella users became frustrated with poor performance and turned elsewhere.
    The original Gnutella[1] network was designed for a very limited purpose and, despite many changes over the years, remains limited today. Efforts to make it a better file sharing network continue with mixed success.
    Gnutella2 shares the "Gnutella" name, striving to create the network that Gnutella should have been from the beginning. It shares the adopted ideals of openness and cooperation, but offers a fresh start that was sorely needed. The crippling limitations of the old network have been left behind and replaced with an entirely new network architecture ready to grow and develop through the creative efforts of many.

    What is the Scope of Gnutella2?
    The single name "Gnutella2" really refers to two separate components: Gnutella2 the Standard and Gnutella2 the Network.
    The Gnutella2 Network is perhaps the most easily recognised component. It is a new high-performance peer to peer network architecture upon which a variety of distributed applications can be built, such as file sharing applications, communication tools, etc.
    The Gnutella2 Standard is a set of requirements for building applications which operate on the Gnutella2 network in different capacities. It specifies the minimum compliance level required to be recognised as a Gnutella2-compatible application. Compliance with a Gnutella2 Standard ensures participating applications provide a minimum acceptable level of service to other network participants.

    1. Re:The "About" information by Adam+Fisk · · Score: 5, Informative
      Gnutella2, or "Mike's Protocol," has some interesting properties. It has nothing whatsoever to do with Gnutella, however. It's a separate protocol that is bootstrapping off of the Gnutella name to do things like get on Slashdot, and everyone here is falling for it.

      Characterizations of Gnutella as a simple, old protocol reflect a woeful ignorance of the many innovations that have emerged from Gnutella. In fact, much of Mike's Protocol calls "Gnutella 2" are innovations developed on Gnutella itself. These aren't simply close copies -- the protocols he cites are, in fact, Gnutella protocols. There are many more innovations happening on Gnutella as we speak, and the highjacking of the Gnutella name by Mike has weakened the fabric of an otherwise strong and open development community.

      We should all support open networks by supporting Gnutella. Gnutella2 offers interesting alternatives, but is no better than the work currently occurring on Gnutella. What's more, few if any Gnutella developers will ever support Gnutella2 because of the divisive way that it was introduced, permanently fracturing the Gnutella community, with almost all of the Gnutella community still working on Gnutella because they were never told of the so-called Gnutella2 until it was slashdotted, much as we're seeing today.

      If you support open protocols, support the original Gnutella. Gnutella2 does not solve any problems not currently solved by the original Gnutella clients. It simply creates division.

      --

      Adam Fisk

    2. Re:The "About" information by afree87 · · Score: 4, Funny
      Linux, or "Linus' Operating System", has some interesting properties. It has nothing whatsoever to do with Minix, however. It's a separate protocol that is bootstrapping off of the Minix name to do things like get on Slashdot, and everyone here is falling for it.

      Characterizations of Minix a simple, old operating system reflect a woeful ignorance of the many innovations that have emerged from Gnutella. In fact, much of what Linus' Operating System calls "Linux" are innovations developed on Minix itself. These aren't simply close copies -- the protocols he cites are, in fact, Minix protocols. There are many more innovations happening on Minix as we speak, and the highjacking of the Minix name by Linus has weakened the fabric of an otherwise strong and open development community.

      We should all support open operating systems by supporting Minix. Linux offers interesting alternatives, but is no better than the work currently occurring on Minix. What's more, few if any Minix developers will ever support Linux because of the divisive way that it was introduced, permanently fracturing the Minix community, with almost all of the Minix community still working on Minix because they were never told of the so-called Linux until the first release came out, much as we're seeing today.

      If you support open protocols, support the original Minix. Linux does not solve any problems not currently solved by the original Minix operating system. It simply creates division.

    3. Re:The "About" information by havaloc · · Score: 3, Insightful

      As a person who purchased the Limewire Pro version twice, I have to disagree with Adam Fisk's FUD. As a longtime user of Limewire (indeed, even the recent versions), I'm saddened by this FUD. I'm now a happy Shareaza user.

      Why would Shareaza want to bootstrap off the Gnutella name? To me, Gnutella certainly embodies a spirit of openess, but it also reminds me of the worse performing P2P app there is (with certain exceptions).

      Gnutella2, no matter how you feel about the name, simply out performs many of the current P2P programs out there, including the newest version of Limewire. It is also developed at a much faster pace than most clients, and its free. Its also free of ads and spyware.

      To say that Gnutella2 offers nothing better than Gnutella just doesn't seem true to me. I can tell the difference, and I'd imagine a lot of other people can too.

      Limewire was touting GUESS as an enhancement to Gnutella that has been abandoned. It was for this enhancement that I registered for Limewire Pro the second time. Now, I find out that they are just going to make a few changes to the old protocol. That's not what I invested/paid for.

      I also think its silly that the Gnutella community at large refuses to even look at this new protocol because of the way it was introduced. It was introduced because we are all sick of the slow pace of development in the Gnutella community. On the internet, 6 months might as well be 2 years.

      Until I see otherwise, classic Gnutella is all but dead. It's inefficient, with a limited horizon, and traffic intensive.

      I'm also sorry that I registered and supported Limewire.

    4. Re:The "About" information by Adam+Fisk · · Score: 4, Insightful
      An interesting parody. The big difference? Linux represented a huge leap forward because it was open source. Gnutella 2 is not a leap forward. It does things like arbitrarily create a new, completely unstandardized messaging system. As any Gnutella developer knows, the problems facing Gnutella, as with most p2p systems, have little to do with the underlying messages. They have to do with topology and the intelligence of the algorithms. Changing every Gnutella message does nothing to address these issues.

      Linux also didn't hijack the Unix name (don't try to make the case that "Linux" is a varient of "Minix"). Everyone was using the Unix name for all sorts of Unix variants. Gnutella 2 is a marketting stunt, and you are furthering that stunt right now. Honestly, if you knew more about what you were doing, I think you'd be embarrassed about your above comment.

      --

      Adam Fisk

    5. Re:The "About" information by Adam+Fisk · · Score: 3, Insightful
      I am sorry to hear that you have been disappointed with your experiences with LimeWire. We are working hard to create the best technology possible, and we have a road map that we feel will soon make LimeWire the best performing p2p application available.

      You are clearly an informed user, so I will go into the details of LimeWire/Gnutella development as well as more detailed reasons for my above comments. I and Susheel Daswani wrote the original GUESS protocol, and we very openly shared our ideas regarding GUESS with Mike in particular, having no idea that there would be consequences for our openness. GUESS is fully implemented in LimeWire and has been for some time. We have not released that implementation for reasons that are vital to this conversion, including:

      1) After extensive *collaboration* with the rest of the Gnutella community, we came to the realization that any UDP-based protocol would almost surely require a custom flow control layer to be written on top at some point down the road. Without this layer, congestion will simply starve all TCP connections of any available bandwidth, as TCP will continually backoff as UDP indiscriminately consumes the released bandwidth. This is bad for the use. Developing a flow control layer is a significant burden to the developer. Mike's Protocol does not do this, and it will cause congestion on the Internet as a result. It will also be one of the primary reasons that few developers will code for it.

      2) We came to the realization that we could achieve the same efficiency gains with a far safer TCP implementation. This implementation relys on selective querying (dynamically adjusting the reach of a query based on the popularity of the content being searched for), as well as the exchanging of file indexes between Ultrapeers to limit traffic. This implementation is also significantly simpler than UDP-based architectures, and does not pose the same security concerns. We may at some point use GUESS for specific purposes, but we will likely not make GUESS the primary search architecture because we are able to achieve the same efficiency gains by better and more responsible means.

      In short, we did not rush our client out the door using GUESS because our open collaboration with other developers led us to realize that better solutions were available and that a raw UDP solution was, in fact, dangerous in terms of network congestion, and even irresposible to network administrator everywhere attempting to cope with bursts of UDP traffic. Becuase Mike did not develop his protocol openly, he was unable to do this.

      Mike's Protocol is able to use this architecture in large part because it's network is so small. It's possible that it scales better than I think it does, but I doubt it. The search architecture story tells much about why open protocols make sense -- because everyone collaborates to develop the best protocol possible.

      Best,

      --

      Adam Fisk

    6. Re:The "About" information by Adam+Fisk · · Score: 4, Informative
      This is a scary conversation to get into, but here goes. We're probably both a bit overly fanatical in our viewpoints. MP offers interesting ideas, and it does work well. I think that the underlying technology of Gnutella is significantly more sound, as I've outlined in other threads. To say that "MP works and Gnutella doesn't" is clearly ridiculous. I definitely don't own Gnutella, but many people have put a great deal of effort into the Gnutella network, most of their time volunteered. Those people don't deserve to have their work swept under the umbrella of "Gnutella 2" just so Shareaza can get Slashdotted.

      MP was a separate entity from the beginning -- it hasn't changed significantly since it was first introduced, and the Gnutella world did not embrace it because it made no attempt to have anything to do with Gnutella other than taking it's name so we'd all be talking about it right now.

      I went into the details of why we haven't released GUESS on another thread. In a nutshell, we think that TCP approaches are more robust and can achieve the same efficiency and scalability. MP had nothing to do with increasing the outdegree -- that's an idea that has been around Gnutella for years, and the most rigorous discussion I've seen for why high outdegrees are important is the following paper from the Stanford Peers folks at:

      Beverly Yang and Hector Garcia-Molina. Designing a Super-Peer Network

      That link doesn't seem to be working at the moment, but you can reach it from:

      Stanford Peers Page

      All that said, I wish MP the best. I wish it had chosen a different name, but oh well.

      --

      Adam Fisk

  4. Two questions: DRM/Flooding & Anonymous Downl by Anonymous Coward · · Score: 3, Insightful

    Two questions:

    1. Can this version prevent abuse from folks that try to flood the system with bogus or damaged files?

    2. Will this version enable people to download anonymously?

  5. Just in case one mirror ain't enough by Anonymous Coward · · Score: 4, Informative

    Common Gnutella2 Standard (All Applications)

    All applications making use of Gnutella2 technology for any application class MUST IMPLEMENT the following core features:

    * Bidirectional TCP stream connections
    (stream compression OPTIONAL)
    * Bidirectional reliable UDP protocol
    (Gnutella2 reliability layer and stateless compression REQUIRED)
    * HTTP-style link negotiation, exchanging at least the required headers
    * Gnutella2 protocol support, graceful handling of unknown trees
    * Localised, UTF-8 and UNICODE decode REQUIRED, encoding to each optional
    * Operation in LEAF mode, additional node states OPTIONAL
    * Basic link handshaking and maintenance functionality (PI/PO/LNI/KHL)
    * Global node addressing scheme and routing maintenance, addressing children (TO)
    * Reverse (PUSH) connection response (connecting out)
    * HTTP/1.1 client and server for peer to peer transactions

    Gnutella2 Standard for File Sharing

    Applications making use of Gnutella2 technology for file sharing MUST IMPLEMENT the following features:

    * All of the COMMON features listed in the previous section
    * Operation in LEAF mode, additional node states OPTIONAL
    * Some form of bandwidth management scheme to keep network and transfer bandwidth below 95% of the user's link capacity - be it manually configured or some automatic scheme (very important to avoid flooding local connection)
    * SHA1 and TIGER ROOT URNs for all shared objects
    * XML metadata using existing schemas where appropriate (manual entry and peer acquired at minimum, automatic local collection highly recommended, service lookup optional)
    * Universal 1-bit query hash filter, at least 2^20 length, intelligent density management scheme (superset combination required if supporting hub mode)
    * Gnutella2 object search mechanism, all client responsibilities and if supporting hub mode, server responsibilities too
    * Local search processing including simple query language (Boolean operations, quoted search terms, numeric range searches, interest flagging (I), local rule-based metadata searching)
    * Extensible hit format (URN/DN/MD/URL are REQUIRED, all other extensions OPTIONAL)
    * HTTP/1.1 based upload system, URN based requesting, partial content requests, active queuing, partial file uploading, timestamp protected alternate source cache and exchange
    * Tiger Tree volume calculation on shared files, caching on downloads, exchange via DIME. Local corruption detection OPTIONAL but recommended.

  6. Start of a New Beginning by Anenga · · Score: 4, Interesting

    This, hopefully, will be the "re-birth" of Gnutella, or at least of a new open free P2P protocol. And the fact that this protocol looks to be, and pretty much is, the most technical, feature rich and advanced protocol currently out is fantastic. I can't wait until someone adds an "Anonymous layer".

    No word yet if any of the classic Gnutella clients (such as BearShare, Limewire etc.) will be adopting Gnutella2 at all (although Gnucleus has vowed to in the future). However, there are some that are open source/GPL'd, such as GTK for *NIX, Aquisition for OSX or Limewire in Java.

    Incase the specs get /.'d, here is a URI (need Shareaza to download it).

    magnet:?xt=urn:bitprint:PMKP57E2TXFI2Z37M3A7CJ2U 3A FICBDU&dn=Gnutella2%20Specs%20Draft.htm

    1. Re:Start of a New Beginning by smd4985 · · Score: 3, Insightful

      The jury it still out on Gnutella2 - it isn't clear if a brand new protocol is really necessary or if Gnutella can just be extended to incorporate new features (Gnutella is pretty extensible after GGEP, etc.).

      What the jury has already decided on is the bad form that the Gnutella2 developers displayed when they first stole Gnutella's name without the approval of the Gnutella community and then used Gnutella to bootstrap their fledgling network.

      --
      smd4985
  7. Re:Two questions: DRM/Flooding & Anonymous Dow by spudmcduck · · Score: 3, Informative

    1. There is a rating system that can help but not prevent this.

    2. No.

  8. Don't be fooled! It's not the 'official' Gnutella2 by Opiuman · · Score: 5, Informative

    It is "Mike's Protocol", as mentioned at the interview linked to from the previous post.

  9. Combine with EMule and Overnet Instead by Jonah+Hex · · Score: 5, Interesting

    While refining the original protocol is all well and good, why not look towards intergration with other open networks now?

    I've used em all, as they say, and while no one client is best for all applications I'd say the Emule development is damn close. Since it's Open Source and there are several main "production" versions from different groups plus individual modders putting out even more versions on the cutting edge of development. The best code gets quickly integrated all the way from the edge to the trunk, I've had my eye on their mod forums as well as the latest emule 27a thru 27c releases and things are really moving towards another great milestone release.

    With the integration of Overnet support into EMule it now has the best of both worlds, with both public servers and client to client directories. Plus with weblink sites making it easy to find and add known good files to your queue, by batches if needed, it gives the end user the complete experiance of a mature tech.

    At least Gnutella is open and may actually end up moving in this direction, I'm disappointed in hearing that the upcomming WinMX will still be closed, both their client and their network really have some good features but in the P2P world closed is death IMHO. As for me, I'll be waiting for the latest 27c EMule as modded by Sivka, my personal favorite at this time.

    Jonah Hex

  10. Shareazza/mp concepts by throwaway18 · · Score: 5, Interesting

    1) Shareaza works reasonably well though the lack of a usefull anti leech
    mechanism is a drawback. A leaf and hub architecture is a reasonable compromise,
    it usually dosn't allow searching of the whole network.
    A distributed hash table architecture would allow global search but DHT is
    vulnerable to an attacker with modest resources flooding the search space with
    junk.

    2)I'm interested in the reliable communiaction over UDP part of the protocol.

    Two peers, neither of whom accept incoming connections due to connection sharing
    or firewalling can't exchange files with any current p2p software.

    I'm a bit surprised that no p2p project has tried to do UDP connection splicing
    to allow two peers, both behind internet connection sharing (NAT) to talk to
    each other. It not be possible but I havn't come across anyone who has tried at all.
    It dosn't have to work for everyone to be usfull. Just allowing 10% of
    NATed hosts to communicate would be worth the effort.

    NAT routers usually allow outgoing UDP connections, normally the remote
    machine will be listening on a UDP prt (most common use is port 53 for domain
    name lookups. The local computer sends out a packet with a unique local port
    number (sequentially or randomly assigned) and a remote port of 53.
    When a UDP reply arrives from the internet, it also has a remote port number
    of 53 and the chosen local port number. The connection sharing machine
    looks at the local port number and compares it to a table of known connections.
    If it matches an entry it knows which of the computers behind the NAT
    it is intended for and forwards it.

    In theory, if two NATed hosts send out UDP packets at the same time, using
    the same port numbers the connection will penetrate the NATs. It requires the
    help of another machine but in a p2p system you have plenty of machines that
    can pass on some small messages.

    The only problem I can see is that a NAT may change the local port number.
    I hope that cheap cable/dsl routers only change the local port if necessary,
    or if they do will use predicatable numbers.

    This technique will also be usfull for getting through statefull firewalls.

    I need to research this more. Am I missing somthing?
    I'm aware that shifting files over UDP requires TCP compatible flow control
    so it dosn't hog all the bandwidth.

    3)Due to the number of people behind transparent proxys that hijack all outgoing
    connections to port 80 and the number of people who set their filesharing
    clients to listen on 80, I think is is a pity Mike didn't take the opportunity
    to add a faculity to encapsulate traffic with a fake HTTP GET header so it will
    go through http-only proxys. Kazaa does somthing like this.