4 udpdump - Provide an UDP receiver that gets packets from network devices (like Aruba routers) and exports them in PCAP format.
11 S<[ B<--extcap-interfaces> ]>
12 S<[ B<--extcap-dlts> ]>
13 S<[ B<--extcap-interface>=E<lt>interfaceE<gt> ]>
14 S<[ B<--extcap-config> ]>
16 S<[ B<--fifo>=E<lt>path to file or pipeE<gt> ]>
17 S<[ B<--port>=E<lt>portE<gt> ]>
18 S<[ B<--payload>=E<lt>typeE<gt> ]>
22 B<udpdump> is a extcap tool that provides an UDP receiver that listens for exported datagrams coming from
23 any source (like Aruba routers) and exports them in PCAP format. This provides the user two basic
24 functionalities: the first one is to have a listener that prevents the localhost to send back an ICMP
25 port-unreachable packet. The second one is to strip out the lower layers (layer 2, IP, UDP) that are useless
26 (are used just as export vector). The format of the exported datagrams are EXPORTED_PDU, as specified in
27 https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob;f=epan/exported_pdu.h;hb=refs/heads/master
35 Print program arguments.
39 Print program version.
41 =item --extcap-interfaces
43 List available interfaces.
45 =item --extcap-interface=E<lt>interfaceE<gt>
47 Use specified interfaces.
51 List DLTs of specified interface.
55 List configuration options of specified interface.
59 Start capturing from specified interface save saved it in place specified by --fifo.
61 =item --fifo=E<lt>path to file or pipeE<gt>
63 Save captured packet to file or send it through pipe.
65 =item --port=E<lt>portE<gt>
67 Set the listerner port. Port 5555 is the default.
69 =item --payload=E<lt>typeE<gt>
71 Set the payload of the exported PDU. Default: data.
77 To see program arguments:
81 To see program version:
87 udpdump --extcap-interfaces
90 interface {value=udpdump}{display=UDP Listener remote capture}
92 To see interface DLTs:
94 udpdump --extcap-interface=udpdump --extcap-dlts
97 dlt {number=252}{name=udpdump}{display=Exported PDUs}
99 To see interface configuration options:
101 udpdump --extcap-interface=udpdump --extcap-config
104 arg {number=0}{call=--port}{display=Listen port}{type=unsigned}{range=1,65535}{default=5555}{tooltip=The port the receiver listens on}
108 udpdump --extcap-interface=randpkt --fifo=/tmp/randpkt.pcapng --capture
110 NOTE: To stop capturing CTRL+C/kill/terminate application.
114 wireshark(1), tshark(1), dumpcap(1), extcap(4)
118 B<udpdump> is part of the B<Wireshark> distribution. The latest version
119 of B<Wireshark> can be found at L<https://www.wireshark.org>.
121 HTML versions of the Wireshark project man pages are available at:
122 L<https://www.wireshark.org/docs/man-pages>.
128 Dario Lombardo <lomato[AT]gmail.com>