Science Fair Project Encyclopedia
A peer-to-peer (or P2P) computer network is a network that relies on computing power at the edges (ends) of a connection rather than in the network itself.
A pure peer-to-peer file transfer network does not have the notion of clients or servers, but only equal peer nodes that simultaneously function as both "clients" and "servers" to the other nodes on the network. This model of network arrangement differs from the client-server model where communication is usually to and from a central server. A typical example for a non peer-to-peer file transfer is an FTP server. One user uploads a file to the FTP server, then many others download it, with no need for the uploader and downloader to be connected at the same time.
Some networks and channels, such as Napster, OpenNap, or IRC @find, use a client-server structure for some tasks (e.g. searching) and a peer-to-peer structure for others. Networks such as Gnutella or Freenet, use a peer-to-peer structure for all purposes and are sometimes referred to as true peer-to-peer networks, though Gnutella at least is greatly facilitated by directory servers which inform peers of the network addresses of other peers.
Peer-to-peer architecture embodies one of the key technical concepts of the internet, described in the first internet RFC, "RFC 1, Host Software"  dated 7 April 1969. More recently the concept has achieved wide prominence among the general public in the context of the absence of central indexing servers in architectures used for exchanging multimedia files.
Operation of peer-to-peer networks
Advantages of peer-to-peer networks
An important goal in peer-to-peer networks is that the bandwidth of all clients can be used, so the total bandwidth - and usually the available download bandwidth for the average user - grows with the number of nodes, instead of all clients having to share the bandwidth of one server, where adding more clients could mean slower data transfer for all users.
When the term peer-to-peer was used to describe the Napster network, it implied that the peer protocol nature was important, but in reality the great achievement of Napster was the empowerment of the peers (i.e., the fringes of the network) in association with a central index which made it fast and efficient to locate available content. The peer protocol was just a common way to achieve this.
Generational classification of peer-to-peer file sharing networks
Some people describe peer-to-peer file-sharing networks by their 'generation'. In this context, they are referring only to the popular internet-based file-sharing networks, not earlier research- and business-oriented peer-to-peer systems, which pre-date them.
The first generation of peer-to-peer file sharing networks had a centralized file list, like Napster. Courts in the United States ruled that whoever controlled this centralized file list containing works being infringed was responsible for any infringement of copyright. Ultimately, Napster was held liable even if it used the most advanced technology available to identify works copyright holders had asked it to block, because no technology which can identify works with 100% certainty exists or can exist. Napster continues to exist to this day however.
After Napster encountered legal troubles, Justin Frankel of Nullsoft set out to create a network without a central index server, and Gnutella was the result. Unfortunately, the Gnutella model of all nodes being equal quickly died from bottlenecks as the network grew from incoming Napster refugees. FastTrack solved the problem by having some nodes 'more equal than others'.
By electing some nodes which had more capacity as indexing nodes, and having lower capacity nodes branching off from them, it allowed for a network which could scale to a much larger size. Gnutella quickly adopted this model, and most current peer to peer networks follow this model, as it allows for large and efficient networks without central servers.
Also included in the second generation are distributed hash tables, which solve the scalability problem by electing various nodes to index certain hashes (Which are used to identify files), allowing for fast and efficient searching for any instances of a file on the network, though they are not without their own drawbacks, such as stale hosts and network splits.
Friend-to-friend networks only allow already known users (aka "friends") to connect to your computer, then each node can forward requests and files anonymously between its own "friends" nodes; some of these networks are: MUTE / Napshare / ANts P2P / WASTE.
Third generation networks, however, have not reached mass usage for file sharing because of the extreme overhead which anonymity features introduce, multiplying the bandwidth required to send a file with each intermediary used.
Under US law, "the Betamax decision" case holds that copying technologies are not inherently illegal, if substantial non-infringing use can be made of them. This decision, predating the widespread use of the Internet applies to most data networks, including peer-to-peer networks, since distribution of correctly licensed files can be performed. These non-infringing uses include sending open source software, public domain files and out of copyright works. Other jurisdictions tend to view the situation in somewhat similar ways.
In practice, many, often most, of the files shared on peer-to-peer networks are copies of copyrighted popular music and movies in wide variety of formats (mp3, MPEG, RM etc...). Sharing of these copies are illegal in most jurisdictions. This has led many observers, including most media companies and some peer-to-peer advocates, to conclude that the networks themselves pose grave threats to the established distribution model. Interestingly, the research that attempts to measure actual monetary loss has been somewhat equivocal; although on paper the existence of these networks result in massive losses, the actual income doesn't seem to have changed much since these networks started up. Whether the threat is real or not, both the RIAA and the MPAA now spend large amounts of money attempting to lobby lawmakers for the creation of new laws, and some copyright owners pay companies to help legally challenge users engaging in illegal sharing of their material.
Peer-to-peer networks themselves have been targeted by the representatives of those artists and organizations who license their creative works, including industry trade organizations such as the RIAA and MPAA as a potential threat. The Napster service was shut down by an RIAA lawsuit. In this case, Napster had been deliberately marketed as a way to distribute audio files that were still under copyright.
As actions to defend copyright infringement by media companies expand, the networks have seemed to adapt at a quick pace and have become both technologically and legally more difficult to dismantle. This has caused the users that are actually breaking the law to become targets, because whilst the underlying technology may be legal, the abuse of it by individuals redistributing content in a copyright infringing way is clearly not.
Anonymous peer-to-peer networks allow for distribution of material - legal or not - with little or no legal accountability across a wide variety of jurisdictions. Many people profess to believe that this will lead to greater or easier trading of child pornography and even (in some unclear way) facilitate terrorism, and call for its regulation on those grounds. Others counter that the potential for illegal uses should not prevent the technology from being used for legal purposes, that the presumption of innocence must apply, and that non peer-to-peer technologies like email, which also possess anonymizing services, have similar capabilities.
Computer science perspective
Technically, a completely pure peer-to-peer application must implement only peering protocols that do not recognize the concepts of "server" and "client". Such pure peer applications and networks are rare. Most networks and applications described as peer-to-peer actually contain or rely on some non-peer elements, such as DNS. Also, real world applications often use multiple protocols and act as client, server, and peer simultaneously, or over time. Completely decentralized networks of peers have been in use for many years, two examples include USENET (1979) and FidoNet (1984).
Many P2P systems use stronger peers (super-peers, super-nodes) as servers and client-peers are connected in a star like fashion to a single super-peer.
Sun added classes to the Java technology to speed the development of peer-to-peer applications quickly in the late 1990s so that developers could build decentralized real time chat applets and applications before Instant Messaging networks were popular. This effort is now being continued with the JXTA project.
Peer-to-peer systems and applications have attracted a great deal of attention from computer science research; some prominent research projects include the Chord project, ARPANET, the PAST storage utility , the P-Grid, a self-organized and emerging overlay network and the CoopNet content distribution system (see below for external links related to these projects).
Attacks on Peer-to-peer networks
Many peer-to-peer networks are under constant attack by people with a variety of motives.
- poisoning attacks (providing files whose contents are different than the description)
- denial of service attacks (attacks that may make the network run very slowly or break completely)
- defection attacks (users or software that make use of the network without contributing resources to it)
- insertion of viruses to carried data (e.g. downloaded or carried files may be infected with viruses or other malware)
- malware in the peer-to-peer network software itself (e.g. the software may contain spyware)
- filtering (network operators may attempt to prevent peer-to-peer network data from being carried)
- identity attacks (e.g. tracking down the users of the network and harassing or legally attacking them)
- spamming (e.g. sending unsolicited information across the network- not necessarily as a denial of service attack)
Most attacks can be defeated or controlled by careful design of the peer-to-peer network and through the use of encryption. P2P network defense is in fact closely related to the "Byzantine Generals Problem". However, almost any network will fail when the majority of the peers are trying to damage it, and many protocols may be rendered impotent by far fewer numbers.
Networks, protocols and applications
- applications using that network (operating system)
All networks and protocols are in alphabetical order except very similar applications which are listed in one entry with the most important one first, determining the place of this very similar applications in the list.
- Applejuice network
- Applejuice Client
- BitTorrent network
- CAKE network
- BirthdayCAKE the reference implementation of CAKE
- Direct Connect network
- Edonkey Network
- ed2k (eDonkey 2000 protocol)
- FastTrack protocol
- Freenet network
- Entropy (on its own network)
- Gnutella network
- Gnutella2 network
- HyperCast 
- Joltid PeerEnabler
- Kad Network (using Kademila protocol)
- MANOLITO/MP2P network
- Napster network
- Peercasting type networks
- WPNP network
- other networks
- ANts P2P
- Ares Galaxy
- Audiogalaxy network
- The Circle
- EarthStation 5 network
- iFolder 
- IRC @find and XDCC, used by IRC clients including: mIRC and Trillian
- Peersites 
- Overnet network
- Solipsis a massively multi-participant virtual world
- SongSpy network
- SquidCam 
- Warez P2P
All sites are ranked via http://zeropaid.com/ to help you find the most popular Peer-to-Peer network. An earlier generation of peer-to-peer systems were called "metacomputing" or were classed as "middleware". These include:
- application (networks/protocols) (operating systems)
- eMule (Edonkey Network, Kad Network) (Microsoft Windows, Linux )
- aMule (Edonkey Network, Kad Network) (All with Python )
- Epicea (Epicea , BitTorrent, Edonkey Network, Overnet, FastTrack, Gnutella) (Microsoft Windows)
- GiFT (own OpenFT protocol, and with plugins - FastTrack, eDonkey and Gnutella)
- xfactor (uses GiFT) (Mac OS X)
- Gnucleus (Gnutella, Gnutella2) (Microsoft Windows)
- iMesh (Fasttrack, Edonkey Network, Gnutella, Gnutella2) (Microsoft Windows)
- Kazaa (FastTrack, Joltid PeerEnabler ) (Microsoft Windows)
- Kazaa Lite (FastTrack, Joltid PeerEnabler) (Microsoft Windows)
- MindGem (Edonkey Network, Kademlia)
- MLDonkey (BitTorrent, eDonkey, FastTrack, Gnutella, Gnutella2, Kademlia) (Microsoft Windows, Linux, Mac OS X, Palm OS, Java)
- mlMac (BitTorrent, eDonkey, FastTrack, Gnutella, Gnutella2)
- Morpheus (Gnutella, Gnutella2) (Microsoft Windows)
- Poisoned (FastTrack, Gnutella)
- Shareaza (BitTorrent, eDonkey, Gnutella, Gnutella2) (Microsoft Windows)
- WinMX (Napster, WPNP) (Microsoft Windows)
- XNap (OpenNAP, GiFT, Limewire, Overnet, ICQ, IRC) (Java)
- Zultrax (Gnutella, ZEPP )
- BetBug BetBug was the first P2P network to enable secure financial transactions across an untrusted, anonymous P2P network
- The File Sharing Portal - Programs, News, Forums
- myBittorrent myBittorrent is the biggest BitTorrent site offering everything you need for the Torrent P2P network
- IBM Developer Works: The practice of peer-to-peer computing
- MindGem - Current P2P News with a Special Focus on Legal Aspects of File Sharing (DEAD as of August 26th, 2004)
- bSoftware Peer to peer
- http://best2p.com/ The File Sharing Forum]
- Wired News: Still Plenty of Music Out There - An overview of mostly peer-to-peer software, published Feb. 13, 2001.
- P2P.co.uk - A search engine which searches peer-to-peer networks.
- Slyck- A site giving greatly detailed information and advice on the different P2P networks and software
- The File Sharing News
- Zeropaid.com - The File Sharing Portal - Programs, News, Forums
- The P2P Revolution - A white paper about the future of p2p networking and the entertainment industry. This paper was released just before the RIAA lawsuits against individual p2p users in 2003 and discussed what would happen if such was done. It was correct in its prediction. Time will tell if its other predictions are as accurate.
- wikibooks: P2P File sharing
- Using Linux firewalls to filter Peer-to-peer traffic
- CyberTelly.com - Web site with information about ByteTornado
- TV-Free.org - A site with overview on P2P TV
Canada's approach to p2p and copyright
- C|net Article entititled "Judge: File Sharing is Legal in Canada." In Spring 2004, file sharing via p2p networks was affirmed as legal in Canada.
- Canadian Private Copying Collective Since 1998, private copying of music for personal use is entirely legal in Canada. A levy was established on blank media sales in order to compensate artists for lost revenue due to file-sharing, and the CPCC was founded to oversee the levy process. The levy was renewed in December 2004.
- Copyright Board of Canada Government copyright policy.
- Copyfight: A Tale of Two Cities Article contrasting Ottawa and Washington, D.C.'s assessment of copyright parameters and the issue of criminal sanctions.
- Digital Rights Management in Canada An advocacy website offering an introduction to digital rights management and links to licensed file sharers.
- Digital Copyright Canada A forum created to host public dialogue concerning digital copyright and related issues. Includes a news aggregate.
- Numbers Don't Crunch Against Downloading Michael Geist, a professor at the University of Ottawa, discusses the financial impact of downloading on the recording industry. This column appeared in the Toronto Star, November 29th 2004.
- p2pnet.net An op-ed urging solidarity between musicians and Canadian consumers.
Computer science research
- Brief of Computer Science Professors MGM v. Grokster, March 2005. Covers the early history of the internet and how P2P is a core part of it.
- Chord lookup service
- PAST distributed storage utility
- CoopNet cooperative content distribution system
- More peer-to-peer research resources
- Advanced Peer-Based Technology Business Models - P2P Industry Model from M.I.T.
- P2P Networks (history, music, copyright, Napster, GNUtella, YouServe, Freenet, search engines, routing, security)
- P2P Economics
- P2P Economics
- P2P Content Distribution Resources P2P and Content Distribution Resources from HUJI
In telecommunications, the acronym P2P is often used to refer to Point-to-Point.
P2P can also stand for Pay-to-play (as in Pay-to-play/P2P games).
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details