new regex code in GIT

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Mon Dec 19 23:54:49 CET 2011


hi,

noted the changelog:

Date:   Tue Nov 29 12:15:52 2011 +0100

    Clean up regex code

    Convert it to use pairmake_xlat, which is better.
    Better ifdef's for regex support.
    boot-time check for invalid regular expressions



and yes, when i went to run our local GIT version I get this..

/etc/raddb/attrs[128]: Parse error (reply) for entry company.co.uk: No regular expression found in Tunnel-Private-Group-Id
Errors reading /etc/raddb/attrs
/etc/raddb/modules/attr_filter[12]: Instantiation failed for module "attr_filter.post-proxy"
ERROR: Cannot find a configuration entry for module "attr_filter".
/etc/raddb/sites-enabled/default[692]: Failed to find "attr_filter.post-proxy" in the "modules" section.
/etc/raddb/sites-enabled/default[681]: Errors parsing post-proxy section.


the /etc/raddb/attr entry has the following:

company.co.uk
        Service-Type == Framed-User,
        Service-Type == Login-User,
        Login-Service == Telnet,
        Login-Service == Rlogin,
        Login-Service == TCP-Clear,
        Login-TCP-Port <= 65536,
        Framed-IP-Address == 255.255.255.254,
        Framed-IP-Netmask == 255.255.255.255,
        Framed-Protocol == PPP,
        Framed-Protocol == SLIP,
        Framed-Compression == Van-Jacobson-TCP-IP,
        Framed-MTU >= 576,
        Framed-Filter-ID =* ANY,
        Reply-Message =* ANY,
        Proxy-State =* ANY,
        EAP-Message =* ANY,
        MS-MPPE-Recv-Key =* ANY,
        MS-MPPE-Send-Key =* ANY,
        MS-CHAP-MPPE-Keys =* ANY,
        State =* ANY,
        Session-Timeout <= 28800,
        Idle-Timeout <= 600,
        Tunnel-Medium-Type == IEEE-802,
        Tunnel-Type == VLAN,
        Tunnel-Private-Group-Id =~ liss-,
        Message-Authenticator =* ANY,
        Calling-Station-Id =* ANY,
        Called-Station-Id =* ANY,
        Port-Limit <= 2

I'm guessing the  "Tunnel-Private-Group-Id =~ liss-," isnt right in some way - its always worked before though...

alan



More information about the Freeradius-Devel mailing list