Re: [tcpdump-workers] Payload in HEX and ASCII..

2005-04-27 Thread Jefferson Ogata
Jefferson Ogata wrote: > This is so obvious a feature that is truly incredible no one has added > it to tcpdump in all these years. It's no wonder someone would be > curious that the man page doesn't mention it. > > I recommend using ethereal or tethereal, since they do this. Or filter > the outpu

Re: [tcpdump-workers] Payload in HEX and ASCII..

2005-04-27 Thread Jefferson Ogata
Aaron Turner wrote: > You'll either have to write your own function (not that hard) or you can > fork tcpdump and pass the packets to it via a pipe. > > For a full list of what features/functions libpcap comes with do a 'man > pcap'. Anything that isn't listed there you'll have to do yourself. >

Re: [tcpdump-workers] Payload in HEX and ASCII..

2005-04-27 Thread Christian Kreibich
On Wed, 2005-04-27 at 11:04 +, soumya r wrote: > Hello, > I am doing a sniffer program using "libpcap" as part of my project. How can > I display the 'packet payload' in 'HEX' and 'ASCII' forms? Please advice. Just look how tcpdump does it (print-ascii.c), or how I did it in the hex/ascii wi

Re: [tcpdump-workers] Payload in HEX and ASCII..

2005-04-27 Thread Aaron Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You'll either have to write your own function (not that hard) or you can fork tcpdump and pass the packets to it via a pipe. For a full list of what features/functions libpcap comes with do a 'man pcap'. Anything that isn't listed there you'll have t

[tcpdump-workers] Payload in HEX and ASCII..

2005-04-27 Thread soumya r
Hello, I am doing a sniffer program using "libpcap" as part of my project. How can I display the 'packet payload' in 'HEX' and 'ASCII' forms? Please advice. Thanks, Soumya. - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.