文档介绍:The eMule Protocol Specification
Yoram Kulbak and Danny Bickson
Email: {yorkol,daniel51}***@
Academic supervisor: Prof. Scott Kirkpatrick
DANSS (Distributed Algorithms, Networking and Secure Systems) Lab
School puter Science and Engineering
The Hebrew University of Jerusalem, Jerusalem
January 17, 2005
Contents
1 Introduction 4
Purpose and scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Client to server connection . . . . . . . . . . . . . . . . . . . . . . . . 4
Client to client connection . . . . . . . . . . . . . . . . . . . . . . . . . 6
Client ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
User ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
File ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
File hash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Root hash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
eMule protocol extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Soft and hard limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Client server munication 9
Connection establishment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Connection startup message exchange . . . . . . . . . . . . . . . . . . . . . . 11
File search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Callback mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Client server munication 14
Server keep alive and status information . . . . . . . . . . . . . . . . . . . . . 14
Enhanced file search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Enhanced file-source s