You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hostap/src/ap
Jouni Malinen 31bc66e4d1 More forceful clearing of stack memory with keys
gcc 8.3.0 was apparently clever enough to optimize away the previously
used os_memset() to explicitly clear a stack buffer that contains keys
when that clearing happened just before returning from the function.
Since memset_s() is not exactly portable (or commonly available yet..),
use a less robust mechanism that is still pretty likely to prevent
current compilers from optimizing the explicit clearing of the memory
away.

Signed-off-by: Jouni Malinen <j@w1.fi>
5 years ago
..
Makefile hostapd: Add airtime policy configuration support 5 years ago
accounting.c Remove unused generation of Request Authenticator in Account-Request 8 years ago
accounting.h RADIUS: Use more likely unique accounting Acct-{,Multi-}Session-Id 9 years ago
acs.c ACS: Add supported channel bandwidth checking 6 years ago
acs.h ACS: Fix memory leak if interface is disabled during scan 7 years ago
airtime_policy.c hostapd: Add airtime policy configuration support 5 years ago
airtime_policy.h hostapd: Add airtime policy configuration support 5 years ago
ap_config.c hostapd: Add airtime policy configuration support 5 years ago
ap_config.h hostapd: Add airtime policy configuration support 5 years ago
ap_drv_ops.c nl80211: Station airtime weight configuration 5 years ago
ap_drv_ops.h nl80211: Station airtime weight configuration 5 years ago
ap_list.c Move ap_list_timer() to use common AP periodic cleanup mechanism 9 years ago
ap_list.h Move ap_list_timer() to use common AP periodic cleanup mechanism 9 years ago
ap_mlme.c FILS: Do not clear PTK on FILS Auth/Assoc (AP) 8 years ago
ap_mlme.h
authsrv.c OpenSSL: Add 'check_cert_subject' support for TLS server 5 years ago
authsrv.h
beacon.c WNM: Fix bounds checking in SSID List element matching 5 years ago
beacon.h hostapd: Added signal level to STA tracking 8 years ago
bss_load.c hostapd: Add average channel utilization in STATUS 7 years ago
bss_load.h AP: Add support for BSS load element (STA Count, Channel Utilization) 10 years ago
ctrl_iface_ap.c Indicate ieee80211ax configuration in hostapd STATUS output 5 years ago
ctrl_iface_ap.h DPP: Allow PMKSA cache entries to be added through hostapd ctrl_iface 7 years ago
dfs.c DFS: Add supported channel bandwidth checking 6 years ago
dfs.h DFS: Handle pre-CAC expired event 7 years ago
dhcp_snoop.c HS 2.0: DHCP broadcast-to-unicast conversion before address learning 6 years ago
dhcp_snoop.h AP: Add support for Proxy ARP, DHCP snooping mechanism 10 years ago
dpp_hostapd.c DPP2: hostapd as TCP Relay 5 years ago
dpp_hostapd.h DPP2: hostapd as TCP Relay 5 years ago
drv_callbacks.c Ignore channel switch event if AP interface is not yet ready 5 years ago
eap_user_db.c Check snprintf result to avoid compiler warnings 6 years ago
eth_p_oui.c FT: Replace inter-AP protocol with use of OUI Extended Ethertype 7 years ago
eth_p_oui.h FT: Replace inter-AP protocol with use of OUI Extended Ethertype 7 years ago
fils_hlp.c FILS: Do not process FILS HLP request again while previous one is pending 6 years ago
fils_hlp.h FILS: DHCP relay for HLP requests 8 years ago
gas_query_ap.c DPP: Integration for hostapd 7 years ago
gas_query_ap.h DPP: Integration for hostapd 7 years ago
gas_serv.c DPP2: hostapd as TCP Relay 5 years ago
gas_serv.h DPP2: hostapd as TCP Relay 5 years ago
hostapd.c hostapd: Add airtime policy configuration support 5 years ago
hostapd.h Enforce that IEEE 802.1X EAPOL-Key Replay Counter increases 5 years ago
hs20.c OCV: Advertise OCV capability in RSN capabilities (AP) 6 years ago
hs20.h HS 2.0: Move Terms and Conditions Server URL generation from AP to AS 6 years ago
hw_features.c Verify that channel info is available in hostapd_hw_get_channel() 5 years ago
hw_features.h hostapd: Fix some compilation errors 9 years ago
iapp.c IAPP: Set SO_REUSEADDR on listening socket 8 years ago
iapp.h
ieee802_1x.c Enforce that IEEE 802.1X EAPOL-Key Replay Counter increases 5 years ago
ieee802_1x.h FILS: Export IEEE 802.1X helper functions 8 years ago
ieee802_11.c FILS: Add RSNE into (Re)Association Response frame 5 years ago
ieee802_11.h HE: Add Spatial Reuse Parameter Set element to the Beacon frames 5 years ago
ieee802_11_auth.c Allow remote RADIUS authentication with local VLAN management 6 years ago
ieee802_11_auth.h Extend ACL check for Probe Request frames 6 years ago
ieee802_11_he.c HE: Do not add SPR IE if sr_control is set to 0 5 years ago
ieee802_11_ht.c Do not disable 40 MHz based on co-ex report with matching primary channel 6 years ago
ieee802_11_shared.c Move SA Query frame length check to the shared handler function 5 years ago
ieee802_11_vht.c Store the VHT Operation element of an associated STA 6 years ago
mbo_ap.c MBO: Do not parse reason_detail in non_pref_chan attr (AP) 8 years ago
mbo_ap.h MBO: Parse non-preferred channel list on the AP 8 years ago
ndisc_snoop.c Fix DHCP/NDISC snoop deinit followed by failing re-init 7 years ago
ndisc_snoop.h proxyarp: Use C library header files and CONFIG_IPV6 10 years ago
neighbor_db.c RRM: Move neighbor report functions 6 years ago
neighbor_db.h RRM: Move neighbor report functions 6 years ago
p2p_hostapd.c Use P2P_IE_VENDOR_TYPE more consistently 10 years ago
p2p_hostapd.h
pmksa_cache_auth.c FILS: Update PMKID derivation rules for ERP key hierarchy establishment 7 years ago
pmksa_cache_auth.h OWE: PMKSA caching in AP mode 7 years ago
preauth_auth.c
preauth_auth.h
rrm.c hostapd: Fix a typo in function name 6 years ago
rrm.h Report beacon request TX status as control interface event 8 years ago
sta_info.c WPA: Stop WPA statement on STA disassociation 5 years ago
sta_info.h hostapd: Add airtime policy configuration support 5 years ago
taxonomy.c Fix or supress various sparse warnings 8 years ago
taxonomy.h taxonomy: Store Probe Request frames in hostapd_sta_info 8 years ago
tkip_countermeasures.c hostapd: Add logging around Michael MIC related failures 6 years ago
tkip_countermeasures.h
utils.c FST: Do not prune STAs belonging to the same FST 9 years ago
vlan.c VLAN: Fix vlan_compare() for tagged VLANs 8 years ago
vlan.h radius: Add tagged VLAN parsing 8 years ago
vlan_full.c vlan: Use new bridge ioctl() 6 years ago
vlan_ifconfig.c vlan: Move if_nametoindex() use out of vlan_init.c 8 years ago
vlan_init.c Check snprintf result to avoid compiler warnings 6 years ago
vlan_init.h VLAN: Separate station grouping and uplink configuration 8 years ago
vlan_ioctl.c Use own header file for defining Linux VLAN kernel interface 8 years ago
vlan_util.c vlan: Remove unnecessary header includes from netlink implementation 8 years ago
vlan_util.h vlan: Move if_nametoindex() use out of vlan_init.c 8 years ago
wmm.c WMM: Fix estimated medium time calculation for some corner cases 7 years ago
wmm.h
wnm_ap.c WNM: Fix WNM-Sleep Mode Request bounds checking 5 years ago
wnm_ap.h WNM: Collocated Interference Reporting 6 years ago
wpa_auth.c More forceful clearing of stack memory with keys 5 years ago
wpa_auth.h FILS: Add RSNE into (Re)Association Response frame 5 years ago
wpa_auth_ft.c More forceful clearing of stack memory with keys 5 years ago
wpa_auth_glue.c VLAN assignment based on used WPA/WPA2 passphrase/PSK 5 years ago
wpa_auth_glue.h
wpa_auth_i.h FT: Maintain PMK-R1 for a connected STA 5 years ago
wpa_auth_ie.c FILS: Add RSNE into (Re)Association Response frame 5 years ago
wpa_auth_ie.h OCV: Parse all types of OCI information elements 6 years ago
wps_hostapd.c WPS: Allow AP SAE configuration to be added automatically for PSK 5 years ago
wps_hostapd.h WPS NFC: Add AP mode connection handover report 11 years ago
x_snoop.c AP: Enable multicast snooping on bridge if ProxyARP IPv6 is in use 9 years ago
x_snoop.h AP: Add multicast-to-unicast conversion send for "x_snoop" 10 years ago