1 a connection management protocol for promoting cooperation in peer-to-peer networks authors: murat...

26
1 A connection management protocol for promoting c ooperation in Peer-to-Pe er networks Authors: Murat Karakaya, Ibrahim K orpeoglu, and Ozgur Ulusoy Source: Computer Communications, v ol. 31, pp. 240–256, 2008 Speaker: Shu-Fen Chiou ( 邱邱邱 )

Upload: edwin-hines

Post on 05-Jan-2016

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

1

A connection management protocol for promoting cooperation in Peer-to-Peer networks

Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur UlusoySource: Computer Communications, vol. 31, pp. 240–256, 2008Speaker: Shu-Fen Chiou ( 邱淑芬 )

Page 2: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

2

Outline Introduction Gnutella Free rider Proposed scheme P2P Connection Management Protocol

(PCMP) Simulation result Attacks Conclusion Comments

Page 3: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

3

Introduction Gnutella (Host Cache)

It is a pure P2P protocol in contrast with Napster It is a broadcast-type network The core of the protocol consists of 5 descriptors

PING, PONG, QUERY, QUERY HIT and PUSH A Peer needs to connect to 1 or more other Gnutella Peers

in order to participate in the networkGnutella Network N

Server p

QUERY1

QUERY HIT

2

Server p2

Page 4: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

4

Introduction

Find Hosts

Gnutella

Page 5: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

5

Introduction

Ping

Gnutella

Page 6: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

6

Introduction

Pong

Gnutella

Page 7: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

7

Introduction

Pong

Gnutella

Page 8: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

8

Introduction

Pong

Gnutella

Page 9: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

9

Introduction

Query

Gnutella

Page 10: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

10

Introduction

Query TTL=2

Gnutella

Page 11: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

11

Introduction

queryQuery TTL=3

Gnutella

Page 12: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

12

Introduction

Query Hit

Gnutella

Page 13: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

13

Introduction

Download File

Gnutella

Page 14: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

14

Free rider

Download File

Query

Free rider

Page 15: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

15

Proposed scheme Proposed two connection types. Proposed a P2P Connection Management

Protocol (PCMP). Benefits:

The connectivity of free riders to the contributing peers can be reduced.

In some situations, free riders can be totally isolated from the contributors.

The connectivity among contributor peers can be increased.

The workload of a contributor peer can be reduced, since it will not serve many free riders anymore.

Page 16: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

16

General P2P connection

Page 17: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

17

Two connection types

IN-connection and OUT-connection Limiting the numbers of

connection.

IN-connection

OUT-connection

Page 18: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

18

P2P Connection Management Protocol (PCMP) 2 IN-connections, 2 OUT-

connections

A BDownload file

C

DIN-connection

IN-connection

Requester(Downloader)

Responder(Uploader)A

According download times(C-PCMP) or update time (T-PCMP)

IN-connection

IN-connectionB

OUT-connectionPing

Pong

Page 19: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

19

P2P Connection Management Protocol (PCMP) 4 IN-connections, 4 OUT-

connections TTL=2Contributor

Contributor

F1, F3

F2Query F1

Page 20: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

20

P2P Connection Management Protocol (PCMP)

Contributor

Contributor

F1, F3

F2

Query F2

Page 21: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

21

Simulation results

900 peers

Page 22: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

22

Attacks

Malicious peer refuse to add a contributor to its list of IN-connections after downloading file. Contributors establish OUT-

connections only with other contributors. This attack will not affect.

Page 23: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

23

Attacks A malicious peer replies with a

faked Query Hit. In PCMP, the connection between two

peers is established after a file is download. If the file is wrong, the downloader will not send Pong message.

Page 24: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

24

Attacks

A malicious peer behaves as a new-comer to gain more OUT-connections. Try to reduce this attack according

others’ methods.

Page 25: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

25

Conclusion

Proposed a novel approach and a P2P Connection Management Protocol (PCMP).

Page 26: 1 A connection management protocol for promoting cooperation in Peer-to-Peer networks Authors: Murat Karakaya, Ibrahim Korpeoglu, and Ozgur Ulusoy Source:

26

Comments

Prevent the third attack. Increase its OUT-connections by:

Increasing answering power. Increasing the number of edges. Increasing the amount of capacity

used to service neighbors’ queries. Increasing the length of period for

servicing neighbors’ queries.