Questions tagged [tcpdump]
a command line packet analyzer
282 questions
0
votes
1
answer
62
views
Detecting outbound mail
My VMs IPv6 address occasionally get on a blocklist. Their "evidence" is that they claim something is making outbound connections to port 25 and issuing an EHLO of an IP address, not a ...
2
votes
0
answers
62
views
Unexpected packet loss on 10Gbps NIC even under low traffic (~10Mbps)
I'm experiencing unexpected packet loss on a 10Gbps Intel NIC (ixgbe driver) even when traffic is only around 10Mbps. The setup is a test environment using tcpdump to capture packets on Ubuntu 22.04 ...
1
vote
1
answer
207
views
Tcpdump captures CAN bus frames twice
I'm writing a Wireshark dissector for our CAN bus protocol and I've noticed that tcpdump captures CAN frames twice and its output differs from candump program.
For example, when I execute following ...
2
votes
1
answer
755
views
Why am I getting no output in tcpdump even though there is data being sent and received when using network namespaces?
I'm using a fresh minimal Ubuntu server 24.04.1 LTS install.
I run these commands as root to set up networking and do some experiments:
If you have seen this post, it's the same setup but with the ip ...
0
votes
1
answer
135
views
tcpdump: How to show only Push-flag packets?
How can I filter tcpdump output (normal screen, not -w) to only see lines with flag [P]?
Running tcpdump 4.99 on Debian 12
5
votes
1
answer
617
views
why `tcpdump -i any` can't capture unicast traffic in br0 whilst `tcpdump -i br0` can?
I am unable to capture unicast traffic on the br0 (linux bridge) interface using the command tcpdump -nni any -vvv. Broadcast traffic, however, is captured as expected. Interestingly, unicast traffic ...
2
votes
2
answers
531
views
traceroute (UDP) lost packets
I am facing the following issue when running traceroute between two nodes in the same subnet.
This is done as a test whether the network connection between this 2 nodes is reliable or not.
We were ...
0
votes
1
answer
265
views
How to record packet/frames data without a pcap header
I'm trying to capture raw/binary Ethernet traffic from my interface, so I can parse it using C. I don't want to parse any PCAP headers. I would prefer without the preamble and end bytes, but it's okay ...
2
votes
2
answers
129
views
tcpdump takes O(n²) time to parse filter
I run tcpdump with a filter like:
not (
(host 1.165.155.169 and port 4444)
or (host 1.168.68.116 and port 4444)
or (host 1.173.192.253 and port 4444)
or (host 1.174.97.43 and port 4444)
:...
0
votes
0
answers
316
views
Is possible to "sniff" a socket? Socat doesn't work
This is the situation:
I have two VM (virtual machines) via kvm-qemu
connected via virtual-serial (a socket).
I created the two vm's with this serial configuration:
serial1 (slackware, uses port1 ...
0
votes
1
answer
116
views
tcpdump doesn't appear to call any libpcap's exported function
Digging into tcpdump implementation, I can see that it actually loads the libpcap.so dynamic library in userspace.
However, by use of strace, I can't see any occurrence of calls to any function ...
0
votes
1
answer
864
views
How to enable a host to reply to multicast ping
I'm experimenting with multicast traffic within my wireless network and tried to ping some pre-defined multicast address:
$ ping 224.0.0.251
The ip address of the ping machine is 192.168.0.11. So I ...
0
votes
0
answers
54
views
Identify service/script running on a port
System specs:
Linux client 3.10.0-123.20.1.el7.x86_64 #1 SMP Centos 5
I am having some blockages on my DC. I have identified the machine that is making the requests. I also analyzed the outgoing ...
0
votes
0
answers
495
views
Print entire 802.11 WiFi Ethernet frame header with tcpdump (or anything else)
I'm currently learning about WiFi Ethernet frames and want to sniff raw ethernet traffic from my laptop's WiFi adapter. Running
sudo tcpdump -vvv -n -i wifi0 -e
prints something like the following:
...
0
votes
0
answers
89
views
Why doesn't my wi-fi router send STP frames?
I'm learning about Spanning Tree Protocol and was trying to capture STP frames sent from my wi-fi router by tcpdump. Here is the command:
sudo tcpdump -vv -n -i en0 stp
and for pretty large period ...