idle_timeout
When protocol is set to TCP or TLS, this optional parameter specifies the maximum amount of time that a connection to the RADIUS backend server can remain idle before it is closed. This helps to conserve resources and prevent connections from being held open indefinitely. If not specified, connections will remain open indefinitely, or until the server closes them.
Duration Units
This parameter supports duration units for improved readability:
backends {
radius "upstream" {
server "radius1.example.org" {
secret "ExampleSecret";
protocol tcp;
idle_timeout 5m; # 5 minutes
}
}
}
When no unit suffix is provided, the value is interpreted as seconds.