hostapd/src
Bo Chen 27ebadccfb RADIUS client: Cease endless retry for message for multiple servers
In the previous RADIUS client implementation, when there are multiple
RADIUS servers, we kept trying the next server when the current message
can not be acked. It leads to endless retry when all the RADIUS servers
are down.

Fix this by keeping a counter for the accumulated retransmit attempts
for the message, and guarantee that after all the servers failover
RADIUS_CLIENT_MAX_FAILOVER times the message will be dropped.

Another issue with the previous code was that the decision regarding
whether the server should fail over was made immediately after we send
out the message. This patch guarantees we consider whether a server
needs failover after pending ack times out.

Signed-off-by: Bo Chen<bochen@meraki.com>
2019-01-07 23:38:18 +02:00
..
ap hostapd: Work around an interop connection issue in FT-PSK + WPA-PSK 2019-01-06 21:10:08 +02:00
common QCA vendor commands to configure HE +HTC capability and OM control Tx 2019-01-07 22:55:20 +02:00
crypto OpenSSL: Allow systemwide policies to be overridden 2019-01-05 17:14:26 +02:00
drivers Avoid forward references to enum types in ieee802_11_common.h 2019-01-07 17:26:40 +02:00
eap_common EAP-pwd: Mask timing of PWE derivation 2018-05-28 22:15:15 +03:00
eap_peer EAP-TLS: Update Session-Id derivation with TLS v1.3 2019-01-05 18:00:26 +02:00
eap_server EAP-TLS: Update Session-Id derivation with TLS v1.3 2019-01-05 18:00:26 +02:00
eapol_auth Add hostapd tls_flags parameter 2017-09-18 12:12:48 +03:00
eapol_supp eap_proxy: Fix memory leaks when using eap_peer_erp_init() 2018-09-21 21:34:08 +03:00
fst fst: Fix compile error in fst_ctrl_aux.h with C++ compilers 2018-05-21 17:47:03 +03:00
l2_packet wpa_supplicant: Don't reply to EAPOL if pkt_type is PACKET_OTHERHOST 2018-04-02 12:21:27 +03:00
p2p P2P: Continue P2P_WAIT_PEER_(IDLE/CONNECT) sequence on a listen cancel 2017-11-03 21:47:32 +02:00
pae mka: Log MI update failure in debug log 2018-12-31 01:09:02 +02:00
radius RADIUS client: Cease endless retry for message for multiple servers 2019-01-07 23:38:18 +02:00
rsn_supp OCV: Include and verify OCI in the FILS handshake 2018-12-17 15:50:12 +02:00
tls Use os_memdup() 2017-03-07 13:19:10 +02:00
utils eloop: Fix kqueue event deletion filter 2019-01-02 12:11:52 +02:00
wps WPS: Fix wps_validate_credential() argument type 2018-12-24 11:12:53 +02:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00