PEER TO PEER (P2P) NETWORK

23
PEER TO PEER (P2P) NETWORK By: Linda Rockson 11/28/06

description

PEER TO PEER (P2P) NETWORK. By: Linda Rockson 11/28/06. Outline:. Definition of Peer-to-Peer (P2P) P2P technologies LimeWire (Latest Technology) How LimeWire works Protocol survey Structured and Unstructured P2P Difference between P2P and server based The future of P2P - PowerPoint PPT Presentation

Transcript of PEER TO PEER (P2P) NETWORK

Page 1: PEER TO PEER (P2P) NETWORK

PEER TO PEER (P2P) NETWORK

By:

Linda Rockson

11/28/06

Page 2: PEER TO PEER (P2P) NETWORK

Outline:

Definition of Peer-to-Peer (P2P) P2P technologies LimeWire (Latest Technology) How LimeWire works Protocol survey Structured and Unstructured P2P Difference between P2P and server based The future of P2P References and Conclusion

Page 3: PEER TO PEER (P2P) NETWORK

Definition of P2P

A peer-to-peer (P2P) network is one that relies primarily on the resources of the participants in the network rather than on a server

(wikipedia)

Page 4: PEER TO PEER (P2P) NETWORK

P2P Technologies

NapsterGnutellaFreenetKaZaAMorpheusLimeWireBearShare

Page 5: PEER TO PEER (P2P) NETWORK

Napster

Page 6: PEER TO PEER (P2P) NETWORK

Napster (con’t)

Brief HistoryHow Napster works:Central Server (stores location).Peers store filesIs Napster a true P2P?

Page 7: PEER TO PEER (P2P) NETWORK

Gnutella

Page 8: PEER TO PEER (P2P) NETWORK

Gnutella (con’t)

Brief HistoryHow Gnutella works (uses TTL) :No central serverEqual peers - (clients + server

roles)Gnutella - a true P2PAnonymosities

Page 9: PEER TO PEER (P2P) NETWORK

Gnutella (con’t)

Page 10: PEER TO PEER (P2P) NETWORK

LimeWire (Latest Technology)

Fastest File Sharing ProgramGnutella – based application. Open standard software running on

an open protocolAllows file-sharing

for .mp3, .jpg, .tiff, Written in Java.Runs on Windows, Mac, Linux, Sun

Page 11: PEER TO PEER (P2P) NETWORK

How LimeWire works

Page 12: PEER TO PEER (P2P) NETWORK

How LimeWire works (con’t)

Node A1 is first connected to the network.

Pings to Nodes (B and C) to find new nodes on the network.

Pong message(node, IP, port No, No files shared)

Sends a query for files shared by other nodes.

Reply (file(s), size, link speed of the node)

Downloads required file for play/use

Page 13: PEER TO PEER (P2P) NETWORK

Freenet

Brief HistoryHow Freenet worksNo central serverEqual peers - (clients + server roles)Inserting resourcesSearch TerminationAnonymous – secure network

Page 14: PEER TO PEER (P2P) NETWORK

Kazaa

Page 15: PEER TO PEER (P2P) NETWORK

Popular protocols

Fastrack (latest)Morpheus / Bearshare / GnutellaGnutella 2KazaaeDonkeyDC++ (directConnect)Bittorent

Page 16: PEER TO PEER (P2P) NETWORK

FastTrack protocol

Used by KaZaA and MorpheusSupernodes and nodes Scalable Routing Routing RepliesRouting ProblemsPartial Decentralisation

Page 17: PEER TO PEER (P2P) NETWORK

P2P Protocols Problem

Problem: Creates traffic (act server + client)

Solution ET/BWMGR software "sniff out" protocols Controls or block traffic Completely disallows communication Finds protocols irrespective of port used

(80)

Page 18: PEER TO PEER (P2P) NETWORK

Structured and Unstructured P2P

Basis – nodes linkage in the network

Unstructured:Easily constructed: copy existing linksSearches by flooding queriesDisadvantage (unresolved queries)Eg: Napster, Gnutella, KaZaA

Page 19: PEER TO PEER (P2P) NETWORK

Structured P2P

Maintains a Distributed Hash Table (DHT)

Peer responsibility

Searches with hash function

More efficient

Egs: Chord, Tapestry, CAN, Tulip

Page 20: PEER TO PEER (P2P) NETWORK

Advantages of P2P over server based

Inexpensive high scability

Network growth increases resources

No centralized systems – hence cheap

1 program on multiple machines at once

Server: traffic, goes down, resources

Page 21: PEER TO PEER (P2P) NETWORK

Future of Peer-to-Peer

Lack of scalability.

Trust (resources) in the network

Virus control

It must be robust (logout leads to difficult download)

Page 22: PEER TO PEER (P2P) NETWORK

References

users.edinboro.edu/dtuckerwww.google.comwww.howstuffworks.comwww.napster.comwww.kazaa.comwww.gnutella.comwww.limewire.com

Page 23: PEER TO PEER (P2P) NETWORK

Questions / Conclusion

? ? ?? ? ? ?