History log of /libbtbb/lib/src/pcap.c (Results 1 – 24 of 24)
Revision Date Author Comments
# 8a8fc94e 23-Aug-2022 listout <[email protected]>

Fix 'u_char' undeclared on musl libc

On musl libc we get build errors with 'u_char' undeclared and

```
expected expression before ')' token
205 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pc

Fix 'u_char' undeclared on musl libc

On musl libc we get build errors with 'u_char' undeclared and

```
expected expression before ')' token
205 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.bredr_bb_header);
```

This PR fixes both the issues, one of the issue is caused by another.

Signed-off-by: brahmajit das <[email protected]>

show more ...


# 75e6dc72 16-Mar-2019 Michael Farrell <[email protected]>

Use `DLT_BLUETOOTH_LE_LL` for PPI rather than `DLT_USER0`.

`DLT_USER*` is intended for private use. It requires extra configuration in
tools like Wireshark to make it actually work, and causes prob

Use `DLT_BLUETOOTH_LE_LL` for PPI rather than `DLT_USER0`.

`DLT_USER*` is intended for private use. It requires extra configuration in
tools like Wireshark to make it actually work, and causes problems for
Ubertooth users in other tools (eg: secdev/scapy#1673)

I don't have the hardware for this, so I cannot test this change.

show more ...


# f1381c6f 29-Jun-2016 Tobias Svehagen <[email protected]>

Fix pcap magic number for nanoseconds

The magic number in the pcap header should be 0xa1b23c4d for
nanosecond resolution pcap files. The previous value 0xa1b2c3d4
made wireshark show the wrong times

Fix pcap magic number for nanoseconds

The magic number in the pcap header should be 0xa1b23c4d for
nanosecond resolution pcap files. The previous value 0xa1b2c3d4
made wireshark show the wrong timestamp.

show more ...


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

Or bits not and


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

Fixed Payload present


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

Fixed the packet length?


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

Started logging the payloads to the output files


# 41e09bc5 16-Feb-2016 Dominic Spill <[email protected]>

Fix uint types for non-OS X systems


# b6703d5d 16-Feb-2016 Mike Ryan <[email protected]>

Force PCAP on by default, and remove dependency from cmake

Fixes #34

Could probably use more testing


# c3b616c1 26-Nov-2015 Mike Ryan <[email protected]>

pcap: write PCAP directly from libbtbb without using libpcap


# fcf7b60b 07-Feb-2016 Dominic Spill <[email protected]>

include assert.h so that call to assert() doesn't break the build


# cf15ca5e 05-Feb-2016 Mike Ryan <[email protected]>

le: prevent buffer overflows on memcpy

closes #25
closes #26


# d9528177 05-Sep-2015 Mike Ryan <[email protected]>

warnings: kill (most) warnings with -Wall -Werror -Wextra


# 14430aa0 04-Sep-2015 Dominic Spill <[email protected]>

Silence build warnings and remove unused code


# a3df4d72 23-Mar-2015 Dominic Spill <[email protected]>

Fix pcap cmake optionato be ON/OFF
default is on, but it is not an error if pcap is not found


# 1a7f7403 20-Mar-2015 Dominic Spill <[email protected]>

Modify btbb.h based on pcap support
- To inform ubertooth / gr-bluetooth pcap support


# 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


# cf8c0e31 11-Nov-2014 Mike Ryan <[email protected]>

pcap: flush each packet


# a7fccc50 08-Sep-2014 Mike Ryan <[email protected]>

le: prevent buffer overflow when memcpy'ing large-ish packets


# fa150dd3 08-Jul-2014 Dominic Spill <[email protected]>

Fix building against latest libpcap


# b53c3fb7 04-Jul-2014 Mike Ryan <[email protected]>

le: correctly dump data into PCAP PPI format

There were two issues with this code. First, the length of the dump was
incorrect as it did not include fields not accounted for in LE LL
length. Second,

le: correctly dump data into PCAP PPI format

There were two issues with this code. First, the length of the dump was
incorrect as it did not include fields not accounted for in LE LL
length. Second, the code skipped dumping the PPI header.

show more ...


# 45809783 04-Jul-2014 Mike Ryan <[email protected]>

build: build on systems with libpcap 1.4 and earlier


# 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 ...