aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-edonkey.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-08-24 15:15:36 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-08-24 15:15:36 +0000
commit924894e617c9fc75bb3476732fea27da3b7d877c (patch)
tree4ee3077e974927954c0f174b713d22beea7d87a1 /epan/dissectors/packet-edonkey.h
parentb18c95e5747ab0211dad5e60669c43f6a1405583 (diff)
From: Stefan Monhof:
changes: - fixed: display of kademlia hash (bug #2348) - added: information on the meaning of the values of kad version, parameter of message types KADEMLIA_REQ and KADEMLIA2_REQ, metatag sourcetype and metatag encryption - added: peer id, target id, recipients id, file id, keyword hash as variants of kademlia hash (searchable as string now) - added: xor between target id and recipients id - fixed: ip adresses in taglist now displayed in dotted-decimal (instead of int) - fixed: some values in taglist were displayed in octal, it's hex now - fixed: message type KADEMLIA2_BOOTSTRAP_REQ was wrongly marked as malformed - added: differences in dissecting peer list 1.0 and peer list 2.0 - fixed: dissection of KADEMLIA2_SEARCH_KEY_REQ and KADEMLIA2_SEARCH_RES - added: source-publishing and keyword-publishing in KADEMLIA_PUBLISH_REQ - fixed: decompressed data are not displayed in a subtree anymore svn path=/trunk/; revision=26063
Diffstat (limited to 'epan/dissectors/packet-edonkey.h')
-rw-r--r--epan/dissectors/packet-edonkey.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/packet-edonkey.h b/epan/dissectors/packet-edonkey.h
index 15a53ea213..e4224bf80c 100644
--- a/epan/dissectors/packet-edonkey.h
+++ b/epan/dissectors/packet-edonkey.h
@@ -2,12 +2,14 @@
* Declarations for edonkey dissection
* Copyright 2003, Xuan Zhang <xz@aemail4u.com>
* Copyright 2007, Stefano Picerno <stefano.picerno@gmail.com>
+ * Copyright 2008, Stefan Monhof <stefan.monhof@stud.uni-due.de>
*
* eDonkey dissector based on protocol descriptions from mldonkey:
* http://savannah.nongnu.org/download/mldonkey/docs/Edonkey-Overnet/edonkey-protocol.txt
* http://savannah.nongnu.org/download/mldonkey/docs/Edonkey-Overnet/overnet-protocol.txt
*
* Kademlia dissector based on source code inspection of aMule 2.1.3 and eMule 0.48a
+ * Modified and added on the basis of information and names from the eMule 0.49a source code
*
* $Id$
*
@@ -406,4 +408,10 @@ void proto_register_edonkey(void);
#define KADEMLIA_TAG_SOURCEIP 0xFE /* <uint32> */
#define KADEMLIA_TAG_SOURCETYPE 0xFF /* <uint8> */
-
+/* KADEMLIA (version) */
+#define KADEMLIA_VERSION1_46c 0x01 /*45b - 46c*/
+#define KADEMLIA_VERSION2_47a 0x02 /*47a*/
+#define KADEMLIA_VERSION3_47b 0x03 /*47b*/
+#define KADEMLIA_VERSION5_48a 0x05 /* -0.48a */
+#define KADEMLIA_VERSION6_49aBETA 0x06 /* -0.49aBETA1 */
+#define KADEMLIA_VERSION7_49a 0x07 /* -0.49a */