Re: [tcpdump-workers] Problem with libpcap

2010-03-31 Thread Chris Maynard
Guy Harris alum.mit.edu> writes: > > > On Dec 2, 2009, at 4:57 AM, Noro Hasina wrote: > > > hello! > > I'm going to install snort2.8 but it depends on libpcap. So I try to > > install > > it but it doesn't work this is the error : > > gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__(

Re: [tcpdump-workers] Fix print-pflog.c

2010-03-31 Thread Wesley Shields
On Wed, Mar 31, 2010 at 11:00:25AM -0700, Guy Harris wrote: > > On Mar 31, 2010, at 9:15 AM, Michael Richardson wrote: > > > Two questions: > > 1) is there anything preventing us from processing pflog > > format pcap files on any system (i.e. a header I'm missing > > on non-BSD system

Re: [tcpdump-workers] pcap_open_live failing with Illegal instruction error

2010-03-31 Thread Guy Harris
On Mar 31, 2010, at 12:08 PM, krishna manohar wrote: > I am new to pcap.I am writing a sniffer for s3c2440 arm board. > In the process i have cross compile libpcap 1.0.0 and loaded my executable > on the target. > when i run the sniffer application on target pcap_open_live is failing with > Illeg

Re: [tcpdump-workers] Fix print-pflog.c

2010-03-31 Thread Michael Richardson
> "Guy" == Guy Harris writes: Guy> On Mar 31, 2010, at 6:41 AM, Wesley Shields wrote: >> Looks like commit e8b523758959c1854689d71c7a4686c631e5501c broke >> tcpdump on FreeBSD (and probably any other system with PF). The attached >> patch fixes the build. Guy> Checked in

[tcpdump-workers] pcap_open_live failing with Illegal instruction error

2010-03-31 Thread krishna manohar
All, I am new to pcap.I am writing a sniffer for s3c2440 arm board. In the process i have cross compile libpcap 1.0.0 and loaded my executable on the target. when i run the sniffer application on target pcap_open_live is failing with Illegal instruction message. I have enable CONFIG_PACKET option

Re: [tcpdump-workers] Release schedule?

2010-03-31 Thread Michael Richardson
> "Guy" == Guy Harris writes: Guy> On Mar 30, 2010, at 1:55 PM, Wesley Shields wrote: >> The links on http://www.tcpdump.org are broken. Guy> The tarballs are libpcap-1.1.tar.gz and tcpdump-4.1.tar.gz, Guy> rather than libpcap-1.1.0.tar.gz and tcpdump-4.1.0.tar.gz. Are

Re: [tcpdump-workers] Fix print-pflog.c

2010-03-31 Thread Guy Harris
On Mar 31, 2010, at 6:41 AM, Wesley Shields wrote: > Looks like commit e8b523758959c1854689d71c7a4686c631e5501c broke > tcpdump on FreeBSD (and probably any other system with PF). The attached > patch fixes the build. Checked into the main branch and, it appears, into the 4.1 branch - I did, in

Re: [tcpdump-workers] Fix print-pflog.c

2010-03-31 Thread Guy Harris
On Mar 31, 2010, at 9:15 AM, Michael Richardson wrote: > Two questions: > 1) is there anything preventing us from processing pflog > format pcap files on any system (i.e. a header I'm missing > on non-BSD systems)? The fact that the header for packets in a DLT_PFLOG file can be (and

Re: [tcpdump-workers] Release schedule?

2010-03-31 Thread Guy Harris
On Mar 30, 2010, at 1:55 PM, Wesley Shields wrote: > The links on http://www.tcpdump.org are broken. The tarballs are libpcap-1.1.tar.gz and tcpdump-4.1.tar.gz, rather than libpcap-1.1.0.tar.gz and tcpdump-4.1.0.tar.gz. Are we now calling the major releases 1.x and 4.x rather than 1.x.0 and 4

Re: [tcpdump-workers] Fix print-pflog.c

2010-03-31 Thread Michael Richardson
> "Wesley" == Wesley Shields writes: Wesley> Looks like commit e8b523758959c1854689d71c7a4686c631e5501c Wesley> broke tcpdump on FreeBSD (and probably any other system with Wesley> PF). The attached patch fixes the build. Two questions: 1) is there anything preventing us from

[tcpdump-workers] Fix print-pflog.c

2010-03-31 Thread Wesley Shields
Looks like commit e8b523758959c1854689d71c7a4686c631e5501c broke tcpdump on FreeBSD (and probably any other system with PF). The attached patch fixes the build. -- WXS --- ./print-pflog.c.orig 2010-03-31 00:12:46.197152894 -0400 +++ ./print-pflog.c 2010-03-31 00:13:00.429070083 -0400 @@ -42,6 +42,