Hello,
I'm using OpenWrt 19.07 on an Archer C6 device.
For a different topic, I need to properly display all DNS (or DNS over HTTPS) traffic to and from my Android phone (assigned 192.168.1.136). I'm using tcpdump for this, but it fails to display this traffic properly. Right now, I'm using the command:
# tcpdump -nn -i any "src Telefoon.lan and (port 53 or port 443)"
However, I'm not so certain that all DNS requests are displayed. If I try to ping a local device on my network, nothing shows up.
Remote addresses do seem to work correctly:
(Trying to ping dns.google from my phone)
15:43:02.535493 ethertype IPv4, IP 192.168.1.136.2518 > 192.168.1.1.53: 2714+ PTR? 4.4.8.8.in-addr.arpa. (38)
15:43:02.535493 IP 192.168.1.136.2518 > 192.168.1.1.53: 2714+ PTR? 4.4.8.8.in-addr.arpa. (38)
15:43:02.535493 IP 192.168.1.136.2518 > 192.168.1.1.53: 2714+ PTR? 4.4.8.8.in-addr.arpa. (38)
Is my command constructed well?