Commit Graph

16918 Commits

Author SHA1 Message Date
Mathy Vanhoef
ad423fbab1 fragattacks: prepare README for release 2021-05-06 01:07:48 +04:00
Mathy Vanhoef
3146b65d09 fragattacks: README: clarify what I mean with The Above 2021-04-15 18:47:10 +04:00
Mathy Vanhoef
769ed3d7be fragattacks: Appendix E now discusses FreeBSD 2021-04-15 18:38:43 +04:00
Mathy Vanhoef
eedac9c6c2 fragattacks: README: title and spelling fix 2021-04-15 18:09:05 +04:00
Mathy Vanhoef
f5ba68a05a fragattacks: track latest libwifi 2021-03-15 22:13:11 +04:00
Mathy Vanhoef
35b5399816 fragattacks: README: updated drivers to compile on kernel 5.10 2021-03-15 21:03:09 +04:00
Mathy Vanhoef
78bc4b7ffb fragattacks: reorder CVEs in SUMMARY.md 2021-03-15 21:02:44 +04:00
Mathy Vanhoef
f6310c198d fragattacks: mention reboot as troubleshooting in README 2021-03-13 06:06:23 +04:00
Mathy Vanhoef
f0c97b2446 fragattacks: reorder CVEs in SUMMARY 2021-03-13 06:05:51 +04:00
Mathy Vanhoef
070cfd9bad v1.3.2: reference presentation handouts and icmp-size parameter 2021-03-08 05:51:44 +04:00
Mathy Vanhoef
c362116dcd fragattacks: the tool is now called FragAttack 2021-03-01 20:55:14 +04:00
Mathy Vanhoef
3ad0d1a883 fragattacks: updated README for 1.3.1 release 2021-03-01 08:07:38 +04:00
Mathy Vanhoef
f069b9d724 fragattack: fix paper references in README 2021-02-19 11:16:39 +04:00
Mathy Vanhoef
32de654b74 fragattack: detect unexpected scapy version 2021-01-30 06:52:45 +04:00
Mathy Vanhoef
7eb3596f07 fragattack: clarify fragmented ping test sanity check 2021-01-22 05:14:37 +04:00
Mathy Vanhoef
40d19275c8 fragattack: minor fix in README 2021-01-21 10:56:05 +04:00
Mathy Vanhoef
8d62941087 fragattack: README: rerun pysetup.sh when pulling new code 2021-01-21 04:48:57 +04:00
Mathy Vanhoef
6f8d45f37e fragattack: improved scapy fix and driver/hostap version check 2021-01-21 01:49:12 +04:00
Mathy Vanhoef
ac012353e9 fragattack: updated amsduattack reference 2021-01-20 21:30:29 +04:00
Mathy Vanhoef
694aaa0100 fragattack: updated README and SUMMARY 2021-01-20 04:30:41 +04:00
Mathy Vanhoef
2f4a6cb56e fragattack: tweaked troubleshooting steps 2021-01-16 15:48:07 +04:00
Mathy Vanhoef
d7718bc6f6 fragattack: use set_amsdu and is_amsdu functions 2021-01-16 14:39:21 +04:00
Mathy Vanhoef
56a0d40b3b fragattack: tweak to README 2021-01-13 04:23:24 +04:00
Mathy Vanhoef
cab3422a38 fragattack: bugfixes and move to new scapy 2021-01-13 04:18:13 +04:00
Mathy Vanhoef
d3dcc2c449 fragattack: track latest libwifi 2021-01-12 22:49:39 +04:00
Mathy Vanhoef
89a1cd8283 fragattack: scapy fix with Python 3.9 2021-01-12 22:48:32 +04:00
Mathy Vanhoef
95033755ae fragattack: track latest libwifi 2021-01-07 00:27:48 +04:00
Mathy Vanhoef
4fc8340205 fragattack: minor driver check bug 2021-01-05 20:45:34 +04:00
Mathy Vanhoef
0465abe64c fragattack: don't receive EAPOL over nl80211 2020-12-19 05:59:04 +04:00
Mathy Vanhoef
1c7d9224b5 fragattack: mention ath9k_htc 11n fix in README 2020-12-19 04:50:50 +04:00
Mathy Vanhoef
ac5dea5903 fragattack: check hostap and driver for version 1.3 2020-12-19 04:47:04 +04:00
Mathy Vanhoef
c5648ebcd2 fragattacks: updated README for version 1.3 2020-12-19 00:50:26 +04:00
Mathy Vanhoef
f7d7681386 fragattack: support SAE with hash-to-element method 2020-12-19 00:30:29 +04:00
Mathy Vanhoef
f988e85c95 pull in new hostap code 2020-12-18 23:24:52 +04:00
Mathy Vanhoef
35acc6dce2 fragattack: track latest libwifi 2020-12-18 22:47:40 +04:00
Mathy Vanhoef
641c4a5f2d fragattack: add --stay-up argument 2020-12-18 21:18:51 +04:00
Mathy Vanhoef
8ea2321ce3 fragattack: by default use 11n in tests 2020-12-18 21:18:09 +04:00
Mathy Vanhoef
87e5a7e832 fragattack: fix description of optional argument 2020-12-18 21:15:47 +04:00
Mathy Vanhoef
48ca650035 fragattack: clarify tcpdump usage in README 2020-12-18 21:11:46 +04:00
Sunil Dutt
a337c1d7c9 New TWT operations and attributes to TWT Setup and Nudge
Define the following additional TWT operations:
QCA_WLAN_TWT_GET_STATS, QCA_WLAN_TWT_CLEAR_STATS,
QCA_WLAN_TWT_GET_CAPABILITIES, QCA_WLAN_TWT_SETUP_READY_NOTIFY.

Also define new attributes to qca_wlan_vendor_attr_twt_setup
and qca_wlan_vendor_attr_twt_nudge.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-12-16 18:04:15 +02:00
Disha Das
b709bb40fd DPP2: Add DPP_CONTROLLER commands to hostapd_cli and wpa_cli
Add the DPP control interface DPP_CONTROLLER_START and
DPP_CONTROLLER_STOP commands to the CLIs.

Signed-off-by: Disha Das <dishad@codeaurora.org>
2020-12-16 18:04:15 +02:00
Jouni Malinen
6ead8b897f Use bool for is_6ghz variables and functions
Replace the implicit boolean checks that used int variables with use of
a more explicit bool variable type.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-12-11 19:56:14 +02:00
Jouni Malinen
9a411882bd tests: setband with band combination
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-12-11 19:56:14 +02:00
Veerendranath Jakkam
7131fede34 Extend the setband support for 6 GHz and band combinations
Support possible band combinations of 2.4 GHz, 5 GHz, and 6 GHz with
QCA_WLAN_VENDOR_ATTR_SETBAND_MASK attribute. Ensure backwards
compatibility with old drivers that are using
QCA_WLAN_VENDOR_ATTR_SETBAND_VALUE attribute and supporting only 2.4 GHz
and 5 GHz bands.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
2020-12-11 19:56:14 +02:00
Jouni Malinen
e4c815a77a tests: Update scan_fail to match implementation change
The function name for adding frequency lists changed, so this test case
needs a matching change to avoid failures.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-12-11 19:56:14 +02:00
Veerendranath Jakkam
2a37cda747 scan: Add a helper function to append supported freqs from a given band
This functionality was repeated for couple of times. Use a shared helper
function to avoid code duplication.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
2020-12-11 16:47:43 +02:00
Mathy Vanhoef
0593119c76 fragattack: tweaked README and more usage of bcast-dst param 2020-12-11 04:37:15 +04:00
Mathy Vanhoef
fc1d0aaefd fragattack: new testcase in README 2020-12-10 05:12:51 +04:00
Jouni Malinen
bba926350a Fix gcc-10 build with -Werror=array-bounds and dl_list_for_each()
The earlier workaround for UBSAN issues in commit 3b6b3ae581 ("Modify
dl_list_for_each() to not use unaligned access with WPA_TRACE") ended up
using a construction in which the type cast to the containing structure
was compared instead of the struct dl_list pointers. While that worked
around the UBSAN issue, it resulted in a comparison that gcc-10
interprets as being out of bounds for struct dl_list (which it obviously
is since this is to find the start of the containing structure).

Revert that workaround and instead, mark the struct dl_list used within
struct os_alloc_trace to have matching 16 octet alignment as the
containing structure. This is also restoring consistent design for
dl_list_for_each*().

Signed-off-by: Jouni Malinen <j@w1.fi>
2020-12-04 13:59:37 +02:00
Johannes Berg
d215f42538 tests: HE: Add a test for wifi generation on 2.4 GHz
This was broken in the kernel in mac80211 for a while, until commit
780a8c9efc65 ("mac80211: do not disable HE if HT is missing on 2.4 GHz")
fixed it.

Add a test for wifi generation on 2.4 GHz in addition to the 5 GHz one.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2020-12-04 12:42:17 +02:00