Re: [tcpdump-workers] capture certain bit in ICMP package

2011-08-21 Thread Guy Harris
On Aug 21, 2011, at 12:40 PM, Martin T wrote: > I would like to capture only the value of 108'th and 110'th bit in > ICMP echo request packet. Those bits should reside in ICMP payload > area. Is there a possibility in tcpdump to capture only specific bit? What do you mean by "capture only specif

[tcpdump-workers] capture certain bit in ICMP package

2011-08-21 Thread Martin T
I would like to capture only the value of 108'th and 110'th bit in ICMP echo request packet. Those bits should reside in ICMP payload area. Is there a possibility in tcpdump to capture only specific bit? Or at least show the "tcpdump -i eth0 -n -X" output in binary instead of hexadecimal? - This is