Slashdot Mirror


Gnutella2?

Anenga writes "A Windows (and somewhat WINE compatible) Gnutella client, Shareaza, has released a public preview of its next version which includes a re-designed Gnutella protocol they call "Gnutella2". Gnutella2 (or "G2") dumps the Gnutella broadcast model and uses a new global searching method with UDP connections. It also features compression to limit hub-to-hub (G2 Ultrapeers) bandwidth, Tiger Tree Hashing etc. Shareaza has released a small description of the revised protocol here, but plans to release a full spec to the GDF after the release of v1.7 Final. Gnutella2, which is really a revised Gnutella protocol, will also be free and open for anyone to use in their clients. Shareaza and G2 may give Gnutella - an open and free P2P protocol which has been struggling to keep up with the times against Kazaa, eDonkey and other P2P spin-offs - the stability and power it needs to attract the closed and commercial FastTrack Network users when or if the network folds."

30 of 265 comments (clear)

  1. It's pretty fast... by Anonymous Coward · · Score: 4, Interesting

    I've tried the beta release and G2 hubs operate faster than the G1 hubs. I was able to get faster and larger searches. If only the other clients included supportf for G2 in the future. Better not be Coke II!

    1. Re:It's pretty fast... by iofire · · Score: 5, Interesting

      Did anyone else notice that on the beta download page (visit the "next version" link at the top of the page) that there is a button to download it via gnutella? It's nice to see someone make use of this as a way to download software.

      --
      --Avoid metagame thinking, browse with scores hidden (This sig is in violation of itself)
    2. Re:It's pretty fast... by Anonvmous+Coward · · Score: 3, Interesting

      "It's nice to see someone make use of this as a way to download software."

      Kazaa does that. Their mini-installer logged into the P2P network and pulled the files down from one of the peers. When I started Kazaa again, the first thing that happened was people started downloading it from me.

      I thought it was kinda cool. Far less bandwidth use on their part.

  2. Other OS P2P technologies by jfrumkin · · Score: 4, Interesting

    I've been working with the JXTA project for a bit now, and they seem to be taking a very nice approach to designing a p2p network that is implementation independant (can be implemented on different platforms, devices, etc.). Besides gnutella (and g2), and JXTA, are there other open P2P networks out there? And if there are, what's the best project?

    --

    "What we have here, is a failure to communicate." - Cool Hand Luke
    1. Re:Other OS P2P technologies by WWWWolf · · Score: 2, Interesting
      I've had nothing but problems with giFT. Finally started booting back into Windows and using Kazaa.

      Curious. I've had very few problems with the CVS version of giFT. In fact, i've found it to be the best-working p2p app on Linux since Napster. Doesn't eat all of the bandwidth for nothing, and downloads are *really* fast compared to *any* Gnutella client. I've actually downloaded things with this thing! =)

      The problems have mostly been like "okay, today it didn't work, tomorrow it'll work again"; I think the biggest outage in my case was recently when the new interface protocol was introduced and all clients seemed to work only day or two later.

    2. Re:Other OS P2P technologies by PureFiction · · Score: 3, Interesting

      are there other open P2P networks out there?

      Yes, the ALPINE Network uses a UDP based social discovery mechanism to implement fast, effective searches with minimal bandwidth and dual NAT support.

      Some of the features include:

      - High concurrent connection support (over 10,000).
      - Adaptive configuration for enhanced accuracy and quality of responses.
      - True peer to peer network. No hierarchy, no central servers.
      - Low communication overhead (small UDP packets, no forwarding).
      - Module support to allow extensions to query and transport operations.

      You can read an overview of how alpine works here . There is also a frequently asked questions and plenty of developer information .

      Enjoy!

  3. Just wondered... by Anonymous Coward · · Score: 4, Interesting

    Does anyone actually use P2P networks for legal uses?!?!?!?!?!? e.g. not mp3/porn..

    If so, can you list what you use it for?

    1. Re:Just wondered... by Anonymous Coward · · Score: 1, Interesting

      How about distributing subscription software i.e. where the software is free but the service costs money.

    2. Re:Just wondered... by Anenga · · Score: 4, Interesting

      Now that Shareaza has global searches (and nativly hashes in SHA/MD4/ND5/TTH) we can post up the hash of linux distro's and begin downloading from the Linxu distro site.

      People can download off that person using partial file sharing, people can download off that person using partial file sharing etc. It will save the main site a hell of a lot of bandwidth and you'll be downloading the distro swarming from 10+ people rather than one slow FTP site.

  4. UDP and firewalls by elliotj · · Score: 5, Interesting

    I wonder how this client will perform for people behind firewalls? Many firewalls are setup to deny UDP traffic because most Internet activity is TCP and having UDP open has been unnecessary up to this point.

    I wonder if this will halt the spread of Gnutella2? With P2P, it's all about getting as many people online as possible.

    1. Re:UDP and firewalls by Adam+Fisk · · Score: 5, Interesting

      Firewalls block most incoming UDP traffic in the same way that they block incoming TCP traffic -- there's really no difference. Incoming traffic is generally denied except for specific ports.
      So, with both UDP and TCP, only outgoing data will not be blocked as a general rule. With TCP, this poses less of a challenge because once you've established a connection, data can be passed both ways. With UDP, you cannot establish a connection in the same way. That said, most firewally will allow incoming UDP from a specific endpoint if you've sent outgoing data to that endpoit "recently." In this way, a quasi-connection can be established.
      All that aside, though, the short answer is that non-firewalled hosts, and specifically "Ultrapeers" on Gnutella, act as proxies for firewalled hosts, allowing firewalled hosts to behave on the network almost exactly like hosts without firewalls.

      --

      Adam Fisk

  5. Another alternative... by fault0 · · Score: 4, Interesting

    is OpenFT from the giFT project.. as people may recall, giFT was originally an open implmentation of parts of the FastTrack protocol, used by Kazaa, et al. This was an year ago, and KaZaA was not at all happy about this, so they updated a few times to break giFT (see KaZaA version 1.33).

    So, some of giFT's developers decided to abandon fasttrack, and make their own protocol, OpenFT. giFT went from "giFT is not FastTrack" to "giFT: Internet File Transfer". This protocol, primarily written by jasta of gnapster fame, has been development for the last ~8 months. A publically released version of giFT with OpenFT is not available yet, but right now, the CVS version works quite well.. even in some ways better than FastTrack does.

    There are also some great advantages to giFT. First of all, it enforces a seperation between the client and the network code. giFT is a daemon that handles most of the interaction with the outside world. There are also a multitude of giFT frontends, which are very easy to write, as no network code has to be created. giFT is also modular.. you can put in bridges or even full support to other protocols and networks.

  6. Re:Gnutella2 - The real story! by Adam+Fisk · · Score: 5, Interesting

    Seconding Susheel's comments, "Gnutella 2" appears to be primarily a marketting gimmick. Gnutella 2 is really just a collection of protocols, most of which have been in use on Gnutella for some time. The one apparently new protocol is a version of the Gnutella UDP Extension for Scalable Searches (GUESS) open standard, that was proposed by LimeWire some time ago, as Susheel mentioned, and that is in experimental stages. That said, perhaps "Gnutella 2" makes some sense as a name, as the computing community seems to be out of touch with how rapidly developments are happening on Gnutella. The collection of protocols used on Gnutella today make it a vastly different network than what people typically think of as Gnutella. If Gnutella 2 changes that perception, then it's great. Just keep in mind that "Gnutella 2" has little to nothing to do with Shareaza -- they primarily contributed the name. The new protocols in use on Gnutella are the result of countless hours of work from many Gnutella developers around the world.

    --

    Adam Fisk

  7. Re:Gnutella2 - The real story! by YrWrstNtmr · · Score: 3, Interesting

    I'm a engineer at Lime Wire LLC...

    So when are you guys going to remove all that crapware & stealware from the LimeWire client?

  8. Re:spyware? by Lukey+Boy · · Score: 2, Interesting

    It's actually got a clean record, from day one. Amazingly enough.

  9. Just wondering... by Anonymous Coward · · Score: 1, Interesting

    When will somebody make a p2p gateway which will allow different p2p protocol to interacted at a different layer and interact with one another despite whatever p2p protocl they are using

  10. The problems with Gnutella 1 by evilviper · · Score: 5, Interesting

    The (solvable) problems with Gnutella:

    Bandwidth Usage (for searches)

    Search results. You only get about 4-7 hops. Assuming 4 hops & 4 non-redundant connections per node, that means you are only searching about 256 nodes. Being able to search everyone would make Gnutella for more useful for less-common files.

    Fifo queuing. You may have been requesting a file for the past 24 hours, but someone that just requested a file may get lucky, and take what should have been your spot.

    Messages. We need messages to tell people that slow nodes downloading from our node gets disconnected, that you are 2nd in the queue, etc.

    Upload settings. Each node should be disconnected after a set period of time to prevent slow nodes from causing bottlenecks, or RIAA employees from abusing the limited open slots.

    Bandwith Min/Max for Uploads/Downloads. A limit on the min/max speed for each file download/uploaded, and a min/max for the TOTAL of all downloads/uploads.

    Dynamic determination of REAL IP (if behind NAT with dynamic globally valid IP).

    Solution to the 'PUSH' fiasco. Is there a way that 2 firewalled nodes can connect to a third (non-firewalled) party to open the connection, then tranfer data directly? I don't think so, but worth including here.

    Any more?

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    1. Re:The problems with Gnutella 1 by glesga_kiss · · Score: 3, Interesting
      Solution to the 'PUSH' fiasco. Is there a way that 2 firewalled nodes can connect to a third (non-firewalled) party to open the connection, then tranfer data directly? I don't think so, but worth including here.

      Not possible. The only way it could work is if the third party connection acted as a proxy for all of the data, because neither side can initiate the TCP transfer. The PUSH idea is actually a pretty neat solution to getting around firewalls, but I never liked the way Gnutella used it, you rarely got a successful push.

      It won't work if both clients are firewalled, and this is in keeping with the point of the firewall, i.e. preventing incomming connections.

      My solution is to run p2p on a sacrifical PC, that only has limited access to my network i.e. read-only access to SAMBA shares. I do this anyway because it's a public PC in my living room, and with lot's of random people around from time to time, it's a good idea to protect my data. My firewall forwards the p2p ports to this host, so I basically can access all of the nodes on the network. Should it ever get "rooted", then my exposure is not quite as bad as it would be for a trusted machine.

      Running p2p behind a firewall severely limits the number of people you can access. I see this as a good thing, because it means less people are fighting over the resources that I personally can use. ;-)

  11. Re:Gnutella2 - The real story! by Adam+Fisk · · Score: 4, Interesting

    I think you're right -- our toes were stepped on a little =) -- ours and everyone else's in the Gnutella world who put in most of the work to come up with "Gnutella 2," many of them open source programmers who donated their time to the effort.

    Mike has done a hell of a job on his client and is a very nice guy, but he simply is not the originator of the vast majority of the standards being branded as "Gnutella 2."

    The key word in your last paragraph is "unfortunately." Yes, it was unfortunate that IE created it's own standards and bypassed the w3c. Are you truly advocating proprietary standards over open standards? Am I misinterpretting you?

    --

    Adam Fisk

  12. This is missing the point by TerryAtWork · · Score: 4, Interesting

    The whole point of a p2p network is not to share files but to not get caught sharing files.

    Last February I got a bigfoot letter from my ISP, Rogers, who had been contacted by the Canadian equivalent to the MIAA, whatever it's called.

    I was sharing tons of stuff, 8,000 mp3s, on DalNet and they wanted me to stop. What bothers me is they never contacted ME, they went straight to my ISP and tried to get me kicked off the Internet.

    The letter from Rogers said you're in violation etc, stop now etc, or else etc.

    So, I stopped.

    This close call ruined my career on Dalnet where I had built quite a rep, and trashed my source of free music.

    And not popular music either - ancient stuff you cant get anymore, like Robert Crumb and his Cheap Suit Serenaders. Buy THAT at your local CD shop...

    Since then the point has been made moot by the fact that my cable modem has been capped at about a FIFTH of it's previous speed. (I am investigating DSL)

    However - the crux of the whole matter is this - the record companies hired people to go on the internet and score music for them. Then these people, who, and this is crucial, have the IP of the music source, use that IP to run down the source down and then use legal means to try and get that person kicked off the internet.

    IT DOESN'T MATTER HOW FANCY YOUR PROTOCOL IS OR HOW GOOD YOUR CRYPTOGRAPHY IS, IF THEY CAN GET YOUR IP YOUR SCREWED.

    I have NEVER seen a p2p system address this issue.

    --
    It's Christmas everyday with BitTorrent.
    1. Re:This is missing the point by Lukey+Boy · · Score: 3, Interesting
      I have NEVER seen a p2p system address this issue.

      I have - it's called Freenet.

  13. Re:Gnutella2 - The real story! by Adam+Fisk · · Score: 3, Interesting

    I agree with you to some degree -- the key is coming out with the best technology for everyone in the end. It's just that open standards are typically what make this possible. This is as much of a social issue as anything else -- the Gnutella world is a pretty tightly-knit group that relies on trust to a large degree, but maybe it needed a little shake-up.

    As far as Gnutella vs. other networks, this is really the crux of the issue. Gnutella has lagged behind in some ways precisely because it is open -- it just takes forever for people to agree. I would argue, though, that it's worth it. Why? Because you come up with better standards in the end. Gnutella is the one network that has a public set of RFC-style specifications precisely outlining how the various protocols should work. This takes time, but it allows interoperability.

    eDonkey (and Overnet) are great counter-examples. They work very well, but they are proprietary standards for the most part. This has meant things like the eDonkey web URIs not really being standards compliant. But, then again, they're everywhere, so does it matter? Maybe not.

    It's my belief that open standards win in the end because they allow unforeseen innovation and creativity to be built on top of them.

    --

    Adam Fisk

  14. Re:Kazaa vs. eDonkey by Arker · · Score: 2, Interesting

    Wow, that's a big change. I wonder where that leaves the security issue though, that's of course always been coming, but now I guess it's upon us... the network relies on the fact that even those who try to be leechers can't avoid sharing the parts already downloaded while waiting for the rest... if the complete source is out it will be much easier for someone to put together a full leecher client... and if that becomes very popular the whole network will become untenable. :(

    I never thought security through obscurity was a viable philosophy longterm, but it's better than nothing. What now? Have any of the developers addressed this that you know of?

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  15. Re:Gnutella2 - The real story! by Adam+Fisk · · Score: 2, Interesting

    We also don't mean to imply that Mike "took" GUESS in any way. I fully understand that he was working on a separate protocol when GUESS was being developed -- I understand because I'm the one who had those conversations with him.

    The point is that GUESS is a public specification for searching on Gnutella. Hopefully, whatever Mike is doing will soon be public as well. Then again, if it's not GUESS but is very similar to GUESS, then it'll create a standardization nightmare that we've worked very hard to avoid -- the type of incompatibility that wastes everyone's time. We need to have an open network that evolves and innovates rapidly. Perhaps Gnutella 2 will be a positive part of that, but it's not off to a great start.

    --

    Adam Fisk

  16. A *real* anti-leech/anti attacker system proposal by 0x0d0a · · Score: 5, Interesting

    no leeching is far better than Kazaa

    I seriously doubt that. Any current "no leeching" mechanisms I've seen are severely flawed and rely on trusted remote code.

    People who whine and bitch that people are bypassing them are ignoring the fact that the design is fundamentally wrong. You cannot trust code on another computer. Period. It *will* be broken.

    It is possible to build a trust web (where you have metered trust, instead of just a binary "trusted" or "not trusted" a la PGP). Have each user generate a public/private key pair. Have each person maintain a list of trusted users. These users are identified by their public keys. "Trust values" are assigned to each user in the list-holding user's trust list. The scale is arbitrary -- maybe "100" means trust a lot and "1" means trust a little, and "0" means no trust. Trust is generally positive (more on that later).

    When you want to determine "absolute trust" of a user, you run out and download the trust lists of all the users from them in your trust list (this spans only two hops out on the web of trust...you could go further, though I think this is sufficient). Person can grant absolute trust to person B as following: (points of trust A gives B in A's local trust list)/(total points of trust A gives A's local trust list)* (points of trust A has in our local trust list).

    Then, attackers like the RIAA will be excluded from the network of trust, having low or no trust values, as they hand out corrupted files.

    Trust lists can be redownloaded whenever. Cache 'em for weeks if you want.

    Clients could automatically add a point of trust per data unit downloaded succesfully from a remote client...then, if it's a bad download, the local user could strip all trust away.

    Trust could be used for ranking priorities to let people download from you, determining which copy of a file is "authentic" and which is bogus, etc.

    Other possibilities: the reason we don't allow negative trust or blacklists -- only whitelists -- is because it's usually fairly easy to regenerate a new IP, and this results in bloating attacks against users maintaing blacklists. If a user can present something that "costs" them something to obtain, like a VeriSign cert or other "expensive" (i.e. can't regenerate on your computer easily) proof of identity (doesn't have to be your RL name -- could be a signed cert endorsing a 'nym from Zero Knowledge), then give them automatically a certain number of points of trust (client configurable). Why? Because it's much less likely that they're running out and buying a new Verisign cert for each attack. They're opening themselves up to blacklisting.

    You could purge year-old entries from your local trust list to stay up to date...oh, there's tons of possible tweaks.

    The trust network simply sits on top of another P2P network. It does not require that users not download from users with zero trust -- it simply provides some extremely useful information which is essential to implementing strong antileech/anti network attack protections, or what have you. It is also very difficult to attack. PGP is much more vulnerable, since you just need one stupid person in your web of trust to okay someone, their binary trust bit flips to 1, and they're in your web. If you don't trust someone much, and they give someone else a little tiny bit of trust...that person is only very slightly trusted.

    Drawbacks:
    My analysis of this approach has found only two drawbacks. First, there is some disk and memory overhead to store cached trust information locally. Gnutella clients already store IPs for much of the network, so it shouldn't be prohibitive, though -- we don't have to handle the whole network, just *trusted* users.
    The second one is that letting people download your trust list -- crucial to the functioning of the system -- can leak some information. It means that you "trust" some user on the network. If that user provides nothing but, say, child porn, anyone on the trust network has circumstantial evidence that you have downloaded child porn. Of course, you could have granted the person trust for any number of other reasons, but it is a small amount of information leakage, and worth mentioning.

    I welcome comments.

  17. Archie! Live! by 0x0d0a · · Score: 3, Interesting

    I want archie back. Current web-based FTP search engines suck. I like the command line search...pop in the name of a software package like openoffice, and it spits back several sites.

    After a lot of work, six months ago I got an archie client compiling. Took some work on the source, but got it up. Then I took another two weeks to find a working archie server. It was the last public one, I'm fairly certain.

    Two months after that, it went down. I was probably the only person that used it in ages, and probably the admins were wondering what was going on.

  18. Re:UI by Pinky · · Score: 2, Interesting

    I get a half dozen complaints about the GUI in my p2p program called Myster every few months. I have asked people to do mock-ups of what they would like to see in a GUI and have not yet received any. Personaly my ideal p2p GUI is in Myster (well, with some more intellegent window behavior). Many simple windows for a small learning curve and ability to do many things at once. or not.. :-)

    OSS no spyware Unicode everywhere (lots of japaneese stuff)

    www.mysternetworks.com

  19. Re:Variety of standards by buswolley · · Score: 3, Interesting

    Design the "Trillian" of P2P. One that works on many networks at once.

    --

    A Good Troll is better than a Bad Human.

  20. UDP and DDoS by sshore · · Score: 2, Interesting

    I haven't seen anyone mention the potential of abusing the UDP search extension as a massive DDoS reflector. Simply send a query for something very common, with a faked source address on the packet, to as many Ultrapeers as possible. (I'm assuming that Shareaza implemented the GUESS extension, as many people have suggested.)

    The documentation for GUESS is not reassuring:

    In the past, a principal objection to using UDP has been that it allows anyone to easily execute a DDoS attack on any target machine. This concern has been based on the assumption that queries would require an extension listing the IP address and UDP port to reply to, however. In this proposal, this extension is not required, as responses are always sent directly back to the node that sent them, rendering such an attack impossible.

    This totally ignores the fact that the only way to determine which node sent the packet is to use the source address on the UDP packet! Am I missing something here? Am I misreading the documentation?

  21. Re:Hopefully downloads are better with G2... by sgtsanity · · Score: 3, Interesting

    G2 is very, very good. The main improvement is that it has a global search radius. Normally, in G1, you can only see about 20% of the network at any one time. This is due to the design, and to the bad clients (i.e. Morpheus) polluting it. G2 has special techniques (a modified & extended GUESS) to see everything in the network at once.

    There are other advancements that improve upon this, but they aren't really the thing that has the biggest impact now, like Tiger Tree Hashing, etc. Shareaza has already improved the network by providing a high-speed, high-efficiency backbone to the rest of the Gnutella network. The Shareaza clients freely connect to the other clients on the network, and so provide a way to see more of the network at once.

    So, any way you spin it, it's good for the Gnutella network, especially considering that the specs will be released soon. And everyone who complains about this, even though their complaints may be valid, aren't seeing the tremendous improvement this makes to the workings of Gnutella.