7/13/2023 0 Comments Tcpdump wireshark pcap formatI've tried applying a patch as follows: template:Īrgs: Īnd I apply this by running k attach -it app-service-7bdb7798c5-2lr6q | wireshark -k -i -īut this doesn't seem to work Wireshark starts up but it immediately shows an error:ĭata written to the pipe is neither in a supported pcap format nor in pcapng format How do I do something similar in Kubernetes? This output is then piped to Wireshark running on my host machine, which displays the packets as they arrive. This spins up a simple container that runs tcpdump with the arguments shown, and pipes the packet captures in pcap format to stdout (the -w - argument). In plain old Docker, I was able to run this:ĭocker run -rm -net=container:app_service_1 crccheck/tcpdump -i any -immediate-mode -w - | wireshark -k -i. I'm attempting to get a view in Wireshark of live network traffic in one of my Kubernetes pods.
0 Comments
Leave a Reply. |