about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* misc: Run GitHub build actions on pull requestsMarc2023-04-152-2/+2
|
* Merge pull request #18 from libwifi/fixup_allocMarc2023-04-151-5/+9
|\ | | | | core: Check length of frame body before allocating
| * core: Check length of body before allocatingMarc2023-04-151-5/+9
|/ | | | | | | | Frames with no body may be worth parsing, but should avoid the allocation of zero-length bodies. Instead, we'll check if the body exists in the parsed data and if that length is zero, return early with success. Fixes #16
* Merge pull request #15 from libwifi/cleanupMarc2023-04-0613-34/+2
|\ | | | | gen: Remove randomness from generated frames by default
| * gen: Remove randomness from generated frames by defaultMarc2023-04-0613-34/+2
|/ | | | | | This was originally done to emulate what you might see from a typical airspace, but frankly, this is dumb to do in the library. The library user should be responsible for implementing these behaviours.
* build: Respect cmake install prefixMarc2023-01-181-5/+5
| | | | Fixes #14
* Merge pull request #12 from libwifi/compilerMarc2023-01-153-4/+27
|\ | | | | Enable more code safety and hardening compiler flags
| * build: Prevent PIE warning on shared libMarc2023-01-151-2/+2
| |
| * build: Drop -Warith-conversionMarc2023-01-151-1/+1
| |
| * build: Enable more compiler security flagsMarc2023-01-151-3/+22
| |
| * core/gen: Fix warnings flagged by new compiler optionsMarc2023-01-152-1/+5
| |
* | examples/util: Fix example compilation on 32-bit hostsMarc2023-01-152-2/+4
| | | | | | | | Fixes #10
* | Merge pull request #13 from mow/patch-1Marc2023-01-151-5/+3
|\ \ | |/ |/| fix: consquent adding of details
| * fix: consquent adding of detailsAnıl2023-01-131-5/+3
|/ | | to be able to add data to existing detail
* Merge pull request #11 from libwifi/6ghzMarc2022-10-168-56/+86
|\ | | | | Add support for 6GHz and initial extension tag parsing
| * Merge branch 'main' into 6ghzMarc2022-10-163-2/+7
| |\ | |/ |/|
* | build: Bump version to 0.0.8Marc2022-10-161-1/+1
| |
* | gen: Fix boundary alignment in Radiotap headerJeff2022-10-021-0/+5
| |
* | examples: Use llu for uint64_t fieldMarc2022-10-021-1/+1
| | | | | | Fixes #10
| * parse: Add clarifying comment for Beacon frame length checkMarc2022-09-101-0/+1
| |
| * core/parse: Add skeleton for element extension parsingMarc2022-09-102-0/+18
| |
| * core/parse: Better handling of Radiotap informationMarc2022-09-105-56/+67
|/ | | | | | | | | | | | | | | | | | | | | | Radiotap information is now stored in the `libwifi_frame` struct, and will be kept automatically in `libwifi_frame.radiotap_info` for the lifecycle of said frame, if it is present. A new flag has been added for the frame for use with `libwifi_frame.flags` to detect if the radiotap info is present: `LIBWIFI_FLAGS_RADIOTAP_PRESENT`. The frame parser will now automatically calculate the band and center channel from radiotap data, and will store them in `libwifi_radiotap_info.channel.center` and `libwifi_radiotap_info.channel.band`. Four new flags have been added for use with the new radiotap band field: - `LIBWIFI_RADIOTAP_BAND_2GHZ` - `LIBWIFI_RADIOTAP_BAND_5GHZ` - `LIBWIFI_RADIOTAP_BAND_6GHZ` - `LIBWIFI_RADIOTAP_BAND_900MHZ` These can be used with a binary AND: `if (rtap.channel.band & LIBWIFI_RADIOTAP_BAND_6GHZ) { }`
* build: Also build a statically-linkable versionMarc2022-08-201-1/+6
|
* Add macOS support (#8)Marc2022-08-2011-21/+135
| | | Add macOS build support
* misc: delete COPYING fileMarc2022-08-111-15/+0
|
* Merge pull request #7 from foxtrot/mainMarc2022-08-114-13/+14
|\ | | | | Small cleanup and bugfix for Auth Key Management Suite parsing.
| * build: Update AUTHORS fileMarc2022-08-101-0/+1
| |
| * build: Bump version number to 0.0.6Marc2022-08-101-1/+1
| |
| * parse: Update references to libwifi_cipher_suite structMarc2022-08-101-6/+6
| |
| * parse: Check for WEP presence before removing it from bitfieldMarc2022-08-101-2/+6
| |
| * parse: Remove useless reassignment of suite_typeMarc2022-08-101-4/+0
|/
* misc: Bump version to 0.0.5Marc2022-03-071-1/+1
|
* core: Avoid double frame copy in radiotap handlingMarc2022-03-071-18/+7
| | | | Thanks @dragorn !
* core: Ensure radiotap parser errors are handledMarc2022-03-071-1/+4
|
* misc: Bump version to 0.0.4Marc2022-03-071-1/+1
|
* core: Return error if invalid length is supplied to tag_iterator_init()Marc2022-03-041-1/+4
|
* Revert "build: Add 'libinstall' target, for installing just the shared library"Marc2022-02-011-1/+0
| | | | This reverts commit 09e3322ba1d86e97e32f74382a4d5d5e77176e4a.
* build: Add 'libinstall' target, for installing just the shared libraryMarc2022-01-311-0/+1
|
* misc: Change examples text to linkMarc2022-01-291-1/+1
|
* Merge pull request #5 from libwifi/fixupMarc2022-01-2941-225/+457
|\ | | | | Improve header comments, add ability to always specify Management frame Address 3 field
| * gen: Style fixups for #5Marc2022-01-292-5/+6
| |
| * misc: Show version output for debug builds.Marc2022-01-291-0/+4
| |
| * misc: Update README to include details about debug buildsMarc2022-01-281-1/+10
| |
| * misc: Build Git branch and hash into .so in Debug modeMarc2022-01-281-6/+10
| |
| * core: Use version set in CMakeLists, inside code. Bump version to 0.0.3Marc2022-01-282-2/+5
| |
| * utils: Fixup generation utility to use new function prototypesMarc2022-01-281-12/+12
| |
| * examples: Fixup examples for new gen function prototypesMarc2022-01-281-1/+1
| |
| * test: Fixup tests for new gen function prototypesMarc2022-01-2810-21/+25
| |
| * gen: Improve header comments, add ability to set Address 3 field for all ↵Marc2022-01-2826-181/+388
|/ | | | management frames
* test: Fix beacon generation function callMarc2022-01-151-2/+2
|