[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

Re: [tcpdump-workers] packet dumping

2005-01-02 Thread linux lover
> > 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,

[tcpdump-workers] Adding my own IP layer protocol interface to tcpdump

2005-01-12 Thread linux lover
Hello, I want to add my own new protocol interface to tcpdump utility. How can i do that? Is there any Documentation avail? Please give me the information about this or links that contains it. Thanks in advance. regards, linux_lover. __

Re: [tcpdump-workers] Adding my own IP layer protocol interface to tcpdump

2005-01-13 Thread linux lover
AIL PROTECTED]> wrote: > > On Jan 12, 2005, at 8:10 PM, linux lover wrote: > > > I want to add my own new protocol > interface > > to tcpdump utility. > > I.e., you have a protocol that runs top IP or a > protocol running atop > IP (such as TCP or U