[tcpdump-workers] FreeBSD sandboxing support via capsicum

2014-07-05 Thread Loganaden Velvindron
Hi All, FreeBSD has designed capsicum which is a sandboxing mechanism. Please find below a patch against FreeBSD 10 Release: (Patch based on FreeBSD's port of tcpdump done by p...@freebsd.org) diff --git a/tcpdump.c b/tcpdump.c index 739f9c8..aaac4b8 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -6

Re: [tcpdump-workers] FreeBSD sandboxing support via capsicum

2014-07-05 Thread Guy Harris
On Jul 5, 2014, at 1:15 PM, Loganaden Velvindron wrote: > FreeBSD has designed capsicum which is a sandboxing mechanism. > > Please find below a patch against FreeBSD 10 Release: So this will compile on all versions of FreeBSD, correct? If not, please update the configure script to test for t

[tcpdump-workers] building libpcap without usb support

2014-07-05 Thread Michael Richardson
It appears that on Linux there is no way to build libpcap without USB support. There is no --disable-usb that I can see in ./configure, and it appears that if you don't have the right headers, you just fail. (Or did I miss something?) Ubuntu 12.04 (which is what Travis runs), can not install bot

Re: [tcpdump-workers] building libpcap without usb support

2014-07-05 Thread Guy Harris
On Jul 5, 2014, at 5:02 PM, Michael Richardson wrote: > It appears that on Linux there is no way to build libpcap without USB > support. There is no --disable-usb that I can see in ./configure, and > it appears that if you don't have the right headers, you just fail. > (Or did I miss something?

Re: [tcpdump-workers] building libpcap without usb support

2014-07-05 Thread Guy Harris
On Jul 5, 2014, at 5:39 PM, Guy Harris wrote: > On Jul 5, 2014, at 5:02 PM, Michael Richardson wrote: > >> It appears that on Linux there is no way to build libpcap without USB >> support. There is no --disable-usb that I can see in ./configure, and >> it appears that if you don't have the ri