hostapd/src/radius
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
..
.gitignore Add build rules for src/radius/libradius.a 2009-12-24 11:59:08 +02:00
Makefile tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00
radius.c RADIUS: Add WLAN-Reason-Code attribute to Access-Reject 2018-01-12 20:45:12 +02:00
radius.h HS 2.0: Move Terms and Conditions Server URL generation from AP to AS 2018-06-21 20:50:54 +03:00
radius_client.c RADIUS client: Cease endless retry for message for multiple servers 2019-01-07 23:38:18 +02:00
radius_client.h RADIUS: Update full message for interim accounting updates 2016-02-29 11:52:16 +02:00
radius_das.c RADIUS: Allow 0.0.0.0 to be used as wildard radius_das_client 2018-06-22 19:37:18 +03:00
radius_das.h HS 2.0: CoA-Request processing for Terms and Conditions filtering 2018-04-25 12:57:46 +03:00
radius_server.c HS 2.0 server: RADIUS server support for SIM provisioning 2018-12-15 18:01:38 +02:00
radius_server.h HS 2.0 server: RADIUS server support for SIM provisioning 2018-12-15 18:01:38 +02:00