Re: [tcpdump-workers] packet dumping

2005-01-03 Thread Guy Harris
On Jan 2, 2005, at 3:13 AM, linux lover wrote: No. i know how to print Hexdump of packet with tcpdump. What i want to know is the source program/statement that actually prints this on console when given command tcpdump -X. As you'll find if you look at the tcpdump code, if Xflag is set (th

Re: [tcpdump-workers] packet dumping

2005-01-02 Thread linux lover
Hello, No. i know how to print Hexdump of packet with tcpdump. What i want to know is the source program/statement that actually prints this on console when given command tcpdump -X. Thanks for reply. regards, linux_lover. --- Hannes Gredler <[EMAIL PROTECTED]> wrote: > hi, > > i am not

Re: [tcpdump-workers] packet dumping

2005-01-02 Thread Hannes Gredler
hi, i am not 100% sure if i do understand your question; if its regarding printing a hexdump of an arbitrary (including ICMP) then you may want to try tcpdump with the -X flag; see the tcpdump man page for details; /hannes On Sat, Jan 01, 2005 at 05:30:03AM -0800, linux lover wrote: | Hi all,

[tcpdump-workers] packet dumping

2005-01-01 Thread linux lover
Hi all, I want to know which program and which statement in that prints HEX dump of ICMP packet. I want to write my own sniffer but not getting how to print packets content and in which format to look like 4500 003a feac 4000 4006 b7fe c0a8 01c1 c0a8 0101 0403 05dc 1d83 3d44 1bd2 e615 8018 16d