History log of /libbtbb/lib/src/pcapng-bt.c (Results 1 – 7 of 7)
Revision Date Author Comments
# fa8f3df8 27-May-2018 Mike Ryan <[email protected]>

le: handle BT 5.0 long packets

As of Bluetooth 5, LE packets can be up to 255 octets long. Do not
truncate when capturing such long packets. Note that there is still an
assert lying around in the Pc

le: handle BT 5.0 long packets

As of Bluetooth 5, LE packets can be up to 255 octets long. Do not
truncate when capturing such long packets. Note that there is still an
assert lying around in the PcapNG code, waiting to be tripped.

show more ...


# fa25b38e 27-May-2016 Sean Rivera <[email protected]>

Fixed the pcapng file with all the pcap fixes


# 871ad2c0 26-May-2015 Theodore A. Roth <[email protected]>

pcapng: Eliminate/Document some magic numbers.

* The magic number of 36 used when calculating the block_length
represents the size of the 'Enhanced Packet Block' in pcapng (excluding
the data pa

pcapng: Eliminate/Document some magic numbers.

* The magic number of 36 used when calculating the block_length
represents the size of the 'Enhanced Packet Block' in pcapng (excluding
the data packet itself). Replace the magic number with a macro. See
http://www.winpcap.org/ntar/draft/PCAP-DumpFileFormat.html#sectionepb

* The magic number of 9 added to the caplen represents the extra bytes
of a BLE link layer packet outside of the PDU payload. Added a comment
to identify what those extra 9 bytes represent.

show more ...


# 1ce7419b 26-May-2015 Theodore A. Roth <[email protected]>

Fix buffer overflow in assemble_pcapng_le_packet().

The pcapng_le_packet structure did not allocate enough storage to
contain the OPTIONS and BLOCK_TOTAL_LENGTH fields at the end of the
pcapng enhan

Fix buffer overflow in assemble_pcapng_le_packet().

The pcapng_le_packet structure did not allocate enough storage to
contain the OPTIONS and BLOCK_TOTAL_LENGTH fields at the end of the
pcapng enhanced block structure (see
http://www.winpcap.org/ntar/draft/PCAP-DumpFileFormat.html#sectionepb).

* Added fields to pcapng_le_packet structure for options and length
along with two bytes of padding to allow for 32 bit alignment of
options and length fields.
* Added assert() to catch cases of potential buffer overflow.

This fixes the following bug report in ubertooth project:
https://github.com/greatscottgadgets/ubertooth/issues/56

show more ...


# f83b85cf 26-Nov-2014 Dominic Spill <[email protected]>

Add modulation/transport to packet data
- This should improve our mapping from packet -> pcap


# 0e05cc66 23-Nov-2014 Dominic Spill <[email protected]>

Tidy / fix some PCAP / PCAPNG formatting code


# 8f3e7eea 18-Mar-2014 Christopher Kilgour <[email protected]>

Update to include storing captures in pcap and pcapng format for
LINKTYPE_BLUETOOTH_BREDR_BB and LINKTYPE_BLUETOOTH_LE_LL_WITH_PHDR.

Includes:
* Add support for BTLE access address validity determin

Update to include storing captures in pcap and pcapng format for
LINKTYPE_BLUETOOTH_BREDR_BB and LINKTYPE_BLUETOOTH_LE_LL_WITH_PHDR.

Includes:
* Add support for BTLE access address validity determination.
* Refactor BTLE support with accessors and opaque internals similar
to BR support.

show more ...