Regular expressions support in FreeRadius.
Dmitry V. Krivenok
krivenok at orangesystem.ru
Thu Oct 30 09:32:49 CET 2008
Anatoly S. Zimin wrote:
> I compiled freeradius by default and I have regexp support.
I believe I have regexp support too.
However, I read this in default radiusd.conf:
# Regular expressions
# These items are set at configure time. If they're set to "yes",
# then setting them to "no" turns off regular expression support.
# If they're set to "no" at configure time, then setting them to "yes"
# WILL NOT WORK. It will give you an error.
regular_expressions = yes
extended_expressions = yes
According to this comment there is possibility to set these options
to "no" at configure time (i.e. when I run ./configure).
I think the comment is wrong or outdated.
> How your testing regexp?
> Might you have regexp support too.
>> As doc says I must not activate regular expressions in radiusd.conf
>> if server wasn't compiled with regexp support.
>> How can I build freeradius with regular expressions support?
>> ./configure --help doesn't show any regexp-related options (like
>> The following command doesn't show options radiusd was compiled with:
>> krivenok at develop2 10:43:08 /usr/local/fr_211/sbin $ sudo ./radiusd -v
>> radiusd: FreeRADIUS Version 2.1.1, for host i686-pc-linux-gnu, built on
>> Oct 28 2008 at 13:10:11
>> Copyright (C) 1999-2008 The FreeRADIUS server project and contributors.
>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE.
>> You may redistribute copies of FreeRADIUS under the terms of the
>> GNU General Public License.
>> For more information about these matters, see the file named COPYRIGHT.
>> krivenok at develop2 10:43:25 /usr/local/fr_211/sbin $
>> So, how can I check whether radiusd supports regexps?
>> Thank you beforehand!
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
More information about the Freeradius-Devel