At 09:58 PM 2/6/2004, John Ensley wrote:
Hello,
        Learning freeradius-0.9.3 - never used before.
Had it running in default setup after install so it answered from
another client requests.
        Want to add some Ascend-Data-Filter and having problems.
        Can't understand problem from reading archives.

End of start using radiusd -X is this:

Module: Instantiated preprocess (preprocess)
Module: Loaded attr_filter
 attr_filter: attrsfile = "/usr/local/etc/raddb/attrs"
Module: Instantiated attr_filter (attr_filter)
radiusd.conf[78] Unknown module rcode 'DEFAULT'.

This is reading attr just fine. It is complaining about line 78 of your 'radiusd.conf' file. What is on that line?

<snip>

# The rest of this file contains the DEFAULT entry.
# DEFAULT matches with all realm names.
#
DEFAULT
        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,
        Session-Timeout <= 28800,
        Idle-Timeout <= 600,
        Port-Limit <= 2,
        Ascend-Data-Filter := "ip in forward tcp est",
        Ascend-Data-Filter := "ip in forward dstip 204.248.85.116/32",
        Ascend-Data-Filter := "ip in drop tcp dstport = 25",
        Ascend-Data-Filter := "ip in forward",
        Fall-Through = no

You want to use += on the Ascend-Data-Filter lines after the first one. Please see the docs on 'Operators' for more details on why, in particular the 'rlm_attr_filter' file in '~radiusd/doc/'.

-Chris
--
   \\\|||///  \          StarNet Inc.      \         Chris Parker
   \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
   | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                  \ Wholesale Internet Services - http://www.megapop.net



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

Reply via email to