[PATCH] Use a random initial value for next_radius_identifier so that the identifier is less likely to be reused when multiple hostapd instances are running that will appear to a RADIUS server as being from the same NAS.

Nick Lowe nick.lowe at lugatech.com
Wed Jul 27 05:36:31 PDT 2016


Note: This is a largely cosmetic change as the UDP port will differ
and the Linux kernel will, these days, randomise the UDP port.

It potentially avoids a conceptual race in older versions of the Linux
kernel that are still in use:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=32c1da70810017a98aa6c431a5494a302b6b9a30

Nick



More information about the Hostap mailing list