Problems to use regex policy

Matthew Newton mcn at
Mon Dec 4 13:11:44 CET 2017

On Mon, 2017-12-04 at 12:34 +0100, Jérôme BERTHIER wrote:
> Before writing this verification under a new policy module, I just
> tried 
> to use those existing by defaut under policy.d/filter.
> I don't know if it is really a mistake but the filter "deny_realms" 
> seems to be wrong.

It's fine.

> /etc/raddb/policy.d/filter[6]: Invalid regular expression @|\: bad 
> escape sequence at offset 3

Set "correct_escapes = true" in radiusd.conf, and don't use 3.0.4.

Then try everything again.


More information about the Freeradius-Users mailing list