mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-23 21:22:17 +00:00
CONTRIB: Wireshark dissector for HAProxy Peer Protocol.
This commit is contained in:
parent
4b6645d8a7
commit
6d889500e2
27
contrib/wireshark-dissectors/peers/README
Normal file
27
contrib/wireshark-dissectors/peers/README
Normal 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
|
1632
contrib/wireshark-dissectors/peers/packet-happp.c
Normal file
1632
contrib/wireshark-dissectors/peers/packet-happp.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -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 \
|
Loading…
Reference in New Issue
Block a user