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

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



This patch should recognize how many parameters
pcap_compile_nopcap needs.

Can somebody with a NetBSD box try it?


Vern Paxson wrote:

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

Yups, incomplete patch.

This is the complete one.


José María González wrote:

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