[tcpdump-workers] Automatic report from sources (tcpdump libpcap htdocs) between 26.04.2005 - 27.04.2005 GMT

2005-04-27 Thread Automatic cvs log generator /tcpdump/bin/makelog
CVS log entries from 26.04.2005 (Tue) 09:07:01 - 27.04.2005 (Wed) 09:06:48 GMT = Summary by authors = Author: guy File: tcpdump/print-chdlc.c; Revisions: 1.38, 1.32.2.6 File: tcpd

[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.

[tcpdump-workers] tcpdump compilation errors on FreeBSD 5.2

2005-04-27 Thread Alexander Dupuy
I sent a report on this previously, but it didn't seem to go through on the list. This is with the 2005-04-26 snapshot: One problem occurs because of FreeBSD's #define of __ntohl as an inline asm function conflicts with the one in tcpdump-stdinc.h. Patch to fix this follows: --- tcpdump-stdin

[tcpdump-workers] pcap_dispatch blocks on AIX

2005-04-27 Thread Gali Diamant
Hi all, This question is related to a topic discussed here last week, which was started by a co-worker. The advice you gave (thanks again, Guy) helped a lot, but now we have a new problem - I have a program compiled and running on AIX5.1, linked with pcap 0.8.3. What we do is - pcap_t *handle =

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

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 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 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] (3) tcpdump infinite loop bugs... (2 fixed

2005-04-27 Thread Hannes Gredler
On Tue, Apr 26, 2005 at 07:40:42PM +0200, Romain Francoise wrote: | Hannes Gredler <[EMAIL PROTECTED]> writes: | | > you're right for 3.8 it makes sense ... i did check meanwhile and both | > isis and rsvp are affected [just committed the outstanding 3.8 fix for | > rsvp] | | Okay, thanks. I hav

Re: [tcpdump-workers] tcpdump compilation errors on FreeBSD 5.2

2005-04-27 Thread Guy Harris
Alexander Dupuy wrote: I sent a report on this previously, but it didn't seem to go through on the list. Perhaps you're not getting stuff on the list delivered; I saw it, and responded. This is with the 2005-04-26 snapshot: One problem occurs because of FreeBSD's #define of __ntohl as an inline

Re: [tcpdump-workers] pcap_dispatch blocks on AIX

2005-04-27 Thread Guy Harris
Gali Diamant wrote: I expected pcap_dispatch to return since we have set the handle to be non blocking. Instead, it doesn't and blocks waiting. Is this the correct behavior or is that an AIX issue? It doesn't happen on Linux or Solaris. It's probably an AIX issue; perhaps non-blocking mode doesn't

Re: [tcpdump-workers] (3) tcpdump infinite loop bugs... (2 fixed

2005-04-27 Thread Romain Francoise
Hannes Gredler <[EMAIL PROTECTED]> writes: > i have checked in fixes for ldp/bgp plus testfiles for the 3.8 branch; You rock! Many thanks to you (and Guy) for providing the fixes. > so all 4 reported exploits are fixed now in the 3.8 branch; I also checked tcpdump 3.6 (current version in Debia

Re: [tcpdump-workers] tcpdump compilation errors on FreeBSD 5.2

2005-04-27 Thread Guy Harris
On Apr 27, 2005, at 12:22 PM, Guy Harris wrote: Why is this occurring at all? I.e., why are we even including the OS's pmap_prot.h file to *cause* problems? Perhaps, on some UN*Xes, we get that because we include some system RPC header files in print-sunrpc.c. If that's unavoidable (i.e., if