Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I set the udpdump port for use with tshark?

I try to use tshark with udpdump, but I need to set a different port for udpdump...

my current comandline:

/usr/bin/tshark -g -q -n -s 0 -F pcapng -i udpdump -b filesize:50000 -b files:200 -w /srv/data/udpdump_2020-05-06_23-00-59.pcapng

This are the started processes:

tshark 10071 10068 0 23:00 ? 00:00:00 /usr/bin/tshark -g -q -n -s 0 -F pcapng -i udpdump -b filesize:50000 -b files:200 -w /srv/data/udpdump_2020-05-06_23-00-59.pcapng tshark 10088 10071 0 23:00 ? 00:00:00 /usr/lib/x86_64-linux-gnu/wireshark/extcap/udpdump --capture --extcap-interface udpdump --fifo /tmp/wireshark_extcap_udpdump_20200506230100_4ngo5f --port 5555 --payload data --debug false tshark 10090 10071 0 23:00 ? 00:00:00 /usr/bin/dumpcap -n -b filesize:50000 -b files:200 -g -i /tmp/wireshark_extcap_udpdump_20200506230100_4ngo5f -s 262144 -Z none -w /srv/data/udpdump_2020-05-06_23-00-59.pcapng

I need a way to chagen the listen port 5555 to 37008 to use it with mikrotik a router, because on mikrotik site I am not able to change the destination port...

How can I set the udpdump port for use with tshark?

I try to use tshark with udpdump, but I need to set a different port for udpdump...

my current comandline:

/usr/bin/tshark -g -q -n -s 0 -F pcapng -i udpdump -b filesize:50000 -b files:200 -w /srv/data/udpdump_2020-05-06_23-00-59.pcapng

/srv/data/udpdump_2020-05-06_23-00-59.pcapng

This are the started processes:

tshark   10071 10068  0 23:00 ?        00:00:00 /usr/bin/tshark -g -q -n -s 0 -F pcapng -i udpdump -b filesize:50000 -b files:200 -w /srv/data/udpdump_2020-05-06_23-00-59.pcapng
tshark   10088 10071  0 23:00 ?        00:00:00 /usr/lib/x86_64-linux-gnu/wireshark/extcap/udpdump --capture --extcap-interface udpdump --fifo /tmp/wireshark_extcap_udpdump_20200506230100_4ngo5f --port 5555 --payload data --debug false
tshark   10090 10071  0 23:00 ?        00:00:00 /usr/bin/dumpcap -n -b filesize:50000 -b files:200 -g -i /tmp/wireshark_extcap_udpdump_20200506230100_4ngo5f -s 262144 -Z none -w /srv/data/udpdump_2020-05-06_23-00-59.pcapng

/srv/data/udpdump_2020-05-06_23-00-59.pcapng

I need a way to chagen change the listen port 5555 to 37008 to use it with mikrotik a router, because on mikrotik site I am not able to change the destination port...