I use the tcpdumpSSDP service for debugging.
$ sudo tcpdump -Aq udp port 1900
When printing UDP packets, I get a lot of nonsense before the HTTP headers, which I assume are IP and UDP headers. How to suppress their printing and just print application level data in a package (including HTTP headers)?
Here is an example, the material that I do not want, up NOTIFYto the second line:
14:41:56.738130 IP www.routerlogin.com.2239 > 239.255.255.250.1900: UDP, length 326
E..b..@................l.N..NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
source
share