4 ms·
Came here to write the very same command. I only use -l instead of -U. In Windows using WSL I use something like this: ssh root@remotehost "tcpdump -i eth1 -
by iammeow 7y ago
Came here to write the very same command. I only use -l instead of -U. In Windows using WSL I use something like this:
ssh root@remotehost "tcpdump -i eth1 -s0 -l -w - 'udp'" | /mnt/c/Program\ Files/Wireshark/Wireshark.exe -k -i -
- kees99 7y agoOption "-l" only supposed to be used with text output. When mis-applied to binary (-w) output, it will: - On Linux, flush buffer at wrong places, breaking last (few) packet(s); - On Windows, flush buffer after every byte (which gives acceptable result, but is very inefficient). With "-w", always use "-U" instead.