CONTRIB: Wireshark dissector for HAProxy Peer Protocol.

This commit is contained in:
Frdric Lcaille 2017-11-15 14:50:19 +01:00 committed by Willy Tarreau
parent 4b6645d8a7
commit 6d889500e2
3 changed files with 1683 additions and 0 deletions

View File

@ -0,0 +1,27 @@
------------------------------------------------------------------------
How to build wireshark with HAProxy Peers Protocol dissection support.
------------------------------------------------------------------------
Please note that at this time, HAProxy Peers Protocol dissection is not supported
on Windows systems (could not be tested).
1) File list
-------------
- packet-happp.c: source code for HAProxy Peers Procotol (HAPPP) dissection
support.
- wireshark.happp.dissector.patch: a patch file for wireshark sources to enable HAPPP
dissection support. Note that this patch file modifies only two files:
(epan/dissectors/CMakeLists.txt and epan/dissectors/Makefile.am) to add
packet-happp.c file DISSECTOR_SRC variable which list all wireshark
- README: this file.
2) To build wireshark with HAPPP dissection support
---------------------------------------------------
- Download wireshark sources:
$ git clone https://code.wireshark.org/review/wireshark
- copy packet-happp.c file to epan/dissectors/ directory.
- apply wireshark.happp.dissector.patch file to wireshark source directory.
- build wireshark (see https://www.wireshark.org/docs/wsdg_html_chunked/):
$ ./autogen.sh
$ ./configure
$ make

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
diff --git a/epan/dissectors/CMakeLists.txt b/epan/dissectors/CMakeLists.txt
index 38e2149..5f8cd49 100644
--- a/epan/dissectors/CMakeLists.txt
+++ b/epan/dissectors/CMakeLists.txt
@@ -665,6 +665,7 @@ set(DISSECTOR_SRC
packet-h263.c
packet-h263p.c
packet-h264.c
+ packet-happp.c
packet-hartip.c
packet-hazelcast.c
packet-hci_h1.c
diff --git a/epan/dissectors/Makefile.am b/epan/dissectors/Makefile.am
index 70edc66..bc46235 100644
--- a/epan/dissectors/Makefile.am
+++ b/epan/dissectors/Makefile.am
@@ -694,6 +694,7 @@ DISSECTOR_SRC = \
packet-h263.c \
packet-h263p.c \
packet-h264.c \
+ packet-happp.c \
packet-hartip.c \
packet-hazelcast.c \
packet-hci_h1.c \