fragattacks/src
Michael Braun a5e81ba9eb Fix STA VLAN bind for RSN pre-authentication case
Previously, during RSN preauthentication, ap_sta_bind_vlan() was called,
which fails for non-zero sta->vlan_id as the station is not known to the
kernel driver.

Fix this by binding the station only if it is associated. If it is not
associated, ap_sta_bind_vlan() will be done later during association.

In addition, reject Access-Accept if the returned VLAN ID is not valid
in the current hostapd configuration.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
2015-04-13 15:26:40 +03:00
..
ap Fix STA VLAN bind for RSN pre-authentication case 2015-04-13 15:26:40 +03:00
common Updates for stricter automatic memcpy bounds checking 2015-04-13 14:01:40 +03:00
crypto Updates for stricter automatic memcpy bounds checking 2015-04-13 14:01:40 +03:00
drivers AP: Enable multicast snooping on bridge if ProxyARP IPv6 is in use 2015-04-13 14:00:32 +03:00
eap_common Make tls_connection_get_keyblock_size() internal to tls_*.c 2015-04-01 12:56:54 +03:00
eap_peer EAP peer: Use 32-bit EAP method type for Phase 2 processing 2015-04-01 12:57:11 +03:00
eap_server EAP-PEAP server: Add support for negotiating vendor for Phase 2 2015-04-01 12:57:11 +03:00
eapol_auth Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
eapol_supp eap_proxy: Callback to notify any updates from eap_proxy 2015-03-02 12:47:20 +02:00
l2_packet Fix Linux packet socket workaround to not close the socket too easily 2015-02-22 16:06:13 +02:00
p2p P2PS: Delete ASP advertisements on wpas_p2p_service_flush 2015-03-20 15:56:59 +02:00
pae MACsec: Update protect frames and replay on reauthentication 2014-12-09 16:56:10 +02:00
radius Fix RSN preauthentication with dynamic_vlan enabled but unused 2015-04-13 15:26:40 +03:00
rsn_supp Show OSEN key management properly in scan results 2015-03-25 16:04:03 +02:00
tls Remove master key extraction from tls_connection_get_keys() 2015-03-31 15:52:40 +03:00
utils Add wpa_snprintf_hex_sep() 2015-03-29 22:27:43 +03:00
wps P2PS: WPS changes needed for P2PS default PIN 2015-02-02 16:55:45 +02:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile MACsec: Add PAE implementation 2014-05-09 20:42:44 +03:00