Am doing it correctly? Please suggest? Thanks, Rams.
4. freeradius2.1.6 module errors (ramesh p)
----------------------------------------------------------------------
Message: 4 Date: Tue, 11 Aug 2009 12:50:30 +0530 From: ramesh p <rock786143@gmail.com> Subject: freeradius2.1.6 module errors To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID: <6b6aa6710908110020r50a6d15aked46497f07cdadc7@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hi All,
I have placed a small module "IGNORE" to ignore packets other than "Stop" type.
modified acct_users file as:
DEFAULT Acct-Status-Type == "Tunnel-Stop", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Tunnel-Start", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Start", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Failed", Acct-Type := "IGNORE" #DEFAULT Acct-Status-Type == "Checkpoint", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Accounting-On", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Accounting-Off", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Tunnel-Reject", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Tunnel-Link-Start", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Tunnel-Link-Stop", Acct-Type := "IGNORE" DEFAULT Acct-Status-Type == "Tunnel-Link-Reject", Acct-Type := "IGNORE"
and added the following in accounting section of main configuration file :
Acct-Type IGNORE {
ok
}
The above configuration was working in 1.1.6 version. However getting following error in 2.1.6 version. Module: Instantiating files files { usersfile = "/usr/local/fnmt/freeradius2//etc/raddb/users" acctusersfile = "/usr/local/fnmt/freeradius2//etc/raddb/acct_users" preproxy_usersfile = "/usr/local/fnmt/freeradius2//etc/raddb/preproxy_users" compat = "no" } */usr/local/fnmt/freeradius2//etc/raddb/acct_users[25]: Parse error (check) for entry DEFAULT: Unknown value IGNORE for attribute Acct-Type*
* *Errors reading /usr/local/fnmt/freeradius2//etc/raddb/acct_users /usr/local/fnmt/freeradius2//etc/raddb/modules/files[7]: Instantiation failed for module "files"
please help.
Thanks, Rams. Please help