Is there a way to simply not respond to a request?

adrian.p.smith at bt.com adrian.p.smith at bt.com
Tue Mar 17 10:51:43 CET 2020


>> On 17/03/2020, at 10:29 PM, <adrian.p.smith at bt.com> <adrian.p.smith at bt.com> wrote:
>> 
>> Our network team have asked if we can get FreeRadius to simply not respond under certain circumstances.
>> 
>> i.e.
>> 
>> if (some condition) {
>>            let client time out
>> }
>> 
>> Is this possible?

>$ cat /etc/raddb/policy.d/control
>#
>#  If you want the server to pretend that it is dead, #  then use the "do_not_respond" policy.
>#
>do_not_respond {
>	update control {
>		&Response-Packet-Type := Do-Not-Respond
>	}
>	handled
>}
>.snip.


>So, in your example above, put “do_not_respond” in place of “let client time out”.

>--
>Nathan Ward


Brilliant - many thanks.





More information about the Freeradius-Users mailing list