Re: [tcpdump-workers] [PATCH] add bluetooth sniffing capability

2006-10-13 Thread Paolo Abeni
hello, On Fri, 2006-10-13 at 10:49 -0700, Guy Harris wrote: > I also protected all calls to the USB code from pcap-linux.c with #ifdef > PCAP_SUPPORT_USB/#endif. Well, the current check for PCAP_SUPPORT_USB is $host_os == linux; usb sniffig is assumed supported on every linux version. This is r

Re: [tcpdump-workers] [PATCH] add bluetooth sniffing capability

2006-10-13 Thread Guy Harris
Paolo Abeni wrote: The attached patch enables sniffing from bluetooth devices for the Linux platform. Checked in. I added pcap-bt-linux.h and pcap-usb-linux.h headers and had pcap-linux.c include them if PCAP_SUPPORT_{BT,USB} is defined and had pcap-{bt,usb}-linux.c include them uncondition

Re: [tcpdump-workers] errata

2006-10-13 Thread Guy Harris
Paolo Abeni wrote: Very sorry, I forgot to add the attach in the previous mail. you can find the lookupnet fix patch attached to this mail Checked in. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

[tcpdump-workers] [PATCH] add bluetooth sniffing capability

2006-10-13 Thread Paolo Abeni
hello, The attached patch enables sniffing from bluetooth devices for the Linux platform. The intercepted frames are exactly the same produced by hcidump. The data link type used for capture bluetooth frames is DLT_BLUETOOTH_HCI_H4. To enable the bluetooth sniffing functionality bluez headers (bl

Re: [tcpdump-workers] HCI data link type [was: [PATCH] lookupnetusb

2006-10-13 Thread Guy Harris
Paolo Abeni wrote: Yes. I used my patched version of libpcap with wireshark and it was able to dissect sniffed hci frames using current wireshark hci dissector[s]. Great! It's DLT_BLUETOOTH_HCI_H4/LINKTYPE_BLUETOOTH_HCI_H4, with a value of 187. - This is the tcpdump-workers list. Visit https:

Re: [tcpdump-workers] HCI data link type [was: [PATCH] lookupnetusb fix]

2006-10-13 Thread Paolo Abeni
On Thu, 2006-10-12 at 19:31 -0700, Guy Harris wrote: > Does "like hcidump" mean the first byte of the data is a code for the > type of packet, i.e.: > > 1 - HCI command > 2 - ACL data > 3 - SCO data > 4 - HCI event > > (possibly with a direction flag) followed by the app