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

2014-07-06 Thread Michael Richardson
Romain Francoise wrote: >> is a kernel header; does USB sniffing require >> libusb-dev at all? > Nope. libusb is only required for canusb support. Ah, that's a bit confusing. There is a --disable-canusb, I think, so I'll try building libpcap with that option, which ought to elimin

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

2014-07-06 Thread Michael Richardson
Guy Harris wrote: >> Done. If that header isn't present, the USB probing code isn't built >>or called, so you don't get information about attached USB devices as >>the first items in the trace unless they happen for some other reason. > I've cherry-picked that to the 1.6 branch.

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

2014-07-06 Thread Michael Richardson
Guy Harris 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?) > The conf

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

2014-07-06 Thread Guy Harris
On Jul 6, 2014, at 3:41 AM, Guy Harris wrote: > On Jul 5, 2014, at 7:21 PM, Guy Harris wrote: > >> However, it assumes that, for example, struct usbdevfs_ctrltransfer will >> always be defined, even if doesn't exist. That >> probably needs to be fixed; I'll look at that. > > Done. If tha

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

2014-07-06 Thread Guy Harris
On Jul 5, 2014, at 7:21 PM, Guy Harris wrote: > However, it assumes that, for example, struct usbdevfs_ctrltransfer will > always be defined, even if doesn't exist. That > probably needs to be fixed; I'll look at that. Done. If that header isn't present, the USB probing code isn't built or

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

2014-07-06 Thread Romain Francoise
On Sun, Jul 06, 2014 at 03:19:19AM -0700, Guy Harris wrote: > is a kernel header; does USB sniffing require > libusb-dev at all? Nope. libusb is only required for canusb support. ___ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https:/

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

2014-07-06 Thread Guy Harris
On Jul 5, 2014, at 5:02 PM, Michael Richardson wrote: > Ubuntu 12.04 (which is what Travis runs), can not install both the amd64 > and i386 versions of libusb-dev. We don't attempt to build both in .travis, > but I have another application that I build for -m32 as well, and it depends > upon li