Re: [PATCH] Cease endless retry for radius message for multiple servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 10, 2018 at 07:48:41AM +0000, Bo Chen wrote:
> In the current radius implementation, when there are multiple
> radius servers. We will keep trying the next server when the current
> message can not be acked. It leads to endless retry when
> all the radius servers are down. The fix in this patch keeps a
> counter for the accumulated retransmit attempts for the message,
> and guarantees that after all the servers failover
> RADIUS_CLIENT_MAX_FAILOVER times the msg will be dropped.
> 
> Another issue with the current code is that, the decision regarding
> whether the server should failover is made immediately after we
> send out the msg. This patch guarantees we consider whether
> a server needs failover after pending ack is timeout.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux