The RADIUS protocol does not guarantee the delivery of the messages (since it uses UDP), consequently packages are dropped if the system is overburden. Clients and servers attempt to send messages several times; allowing secondary sessions increases reliability and decreases server load. See Section 2.2, Secondary sessions for further information.
Example 4.37. Example RadiusProxy config |
---|
The following example defines a RADIUS proxy which serves 1000 parallel requests in one thread. Packet rebuilding is turned on as well, therefore the server and client side secrets are also specified. class MyRadiusProxy(RadiusProxy): def config(self): RadiusProxy.config(self) self.client_secret="secret" self.server_secret="secret" self.rebuild_packets='TRUE' self.secondary_mask = 0xC self.secondary_sessions = 1000 |
Published on May 30, 2024
© BalaSys IT Ltd.
Send your comments to support@balasys.hu