mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 07:10:51 +00:00
update doc
This commit is contained in:
parent
89acfccc8e
commit
53bd454335
3 changed files with 53 additions and 3 deletions
|
|
@ -9,7 +9,13 @@ Transparent Proxy
|
|||
|
||||
How to setup transparent proxy firewall / route rules on the host. See :doc:`transparent_proxy`.
|
||||
|
||||
Wireshark Udpdump
|
||||
=================
|
||||
|
||||
How to accept dumped traffic. See :doc:`wireshark_udpdump`.
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
transparent_proxy
|
||||
wireshark_udpdump
|
||||
|
|
|
|||
46
g3proxy/doc/protocol/setup/wireshark_udpdump.rst
Normal file
46
g3proxy/doc/protocol/setup/wireshark_udpdump.rst
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
.. _protocol_setup_wireshark_udpdump:
|
||||
|
||||
=================
|
||||
Wireshark Udpdump
|
||||
=================
|
||||
|
||||
See `udpdump(1)`_ for more introduction.
|
||||
|
||||
.. _udpdump(1): https://www.wireshark.org/docs/man-pages/udpdump.html
|
||||
|
||||
Protocol
|
||||
--------
|
||||
|
||||
Data structure: `exported_pdu_tlvs`_
|
||||
|
||||
Dissector Code: `exported_pdu`_
|
||||
|
||||
.. _exported_pdu_tlvs: https://github.com/wireshark/wireshark/blob/master/wsutil/exported_pdu_tlvs.h
|
||||
.. _exported_pdu: https://github.com/wireshark/wireshark/blob/master/epan/dissectors/packet-exported_pdu.c
|
||||
|
||||
|
||||
Wireshark GUI
|
||||
-------------
|
||||
|
||||
Steps to capture:
|
||||
|
||||
- Select *UDP Listener remote capture* line in wireshark main GUI.
|
||||
- Click *setting* button at the beginning of that line.
|
||||
- Set payload type to **exported_pdu**.
|
||||
- Set listen port to whatever you want, and click *save*.
|
||||
- Double click the *UDP Listener remote capture* line to start the capture.
|
||||
|
||||
Tshark CLI
|
||||
----------
|
||||
|
||||
Doc: `extcap-preference`_.
|
||||
|
||||
.. _extcap-preference: https://tshark.dev/capture/sources/extcap_interfaces/#extcap-preferences
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
tshark -i udpdump -o extcap.udpdump.payload:exported_pdu -o extcap.udpdump.port:5555 <...>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue