[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    RE: Is there a way to simply not respond to a request?
From:       <adrian.p.smith () bt ! com>
Date:       2020-03-17 9:51:43
Message-ID: CWXP123MB24704AEF4ABADFD01619482AA9F60 () CWXP123MB2470 ! GBRP123 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

> > On 17/03/2020, at 10:29 PM, <adrian.p.smith@bt.com> <adrian.p.smith@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.



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic