libpcap compatibility problem (Re: new bro "CURRENT" release - 0.8a57)

is Bro supported on NetBSD?

Not directly, since we don't have any NetBSD machines in house, but
it's certainly the intent that it runs under NetBSD (and in general
on systems with libpcap), if it's not too painful.

If so, a recent thread on ethereal-dev
discussed pcap_compile_nopcap() in that context and might be relevant
for Bro. Have a look at

http://www.ethereal.com/lists/ethereal-dev/200312/msg00401.html

Looks like some more autoconf'ing will be needed :-(. If someone cares
to contribute it, that would be great.

    Vern

Hi,

This patch should recognize how many parameters
pcap_compile_nopcap needs.

Can somebody with a NetBSD box try it?

-Chema

Vern Paxson wrote:

bro-pub-0.8a58.pcap_compile_nopcap.patch (5.67 KB)

Yups, incomplete patch.

This is the complete one.

-Chema

José María González wrote:

bro-pub-0.8a58.pcap_compile_nopcap.patch (7.08 KB)