Using the -x flag with ngrep causes the data portion of packets to be displayed in hex. Is there a way to also display the frames/headers as well?
Using the -x flag with ngrep causes the data portion of packets to be displayed in hex. Is there a way to also display the frames/headers as well?
It seems that
ngrep
does not show/search within the packets headers. Fromman ngrep
, you can read fromngrep
description:I could not find any option to show the headers. It would be better to use
tcpdump
if you want more details like headers.