On 11 August 2009, at 06:54, ramesh p wrote:
Am doing it correctly? Please suggest?
Obviously not since FreeRADIUS is telling you it doesn't understant
the Acct-Type of Ignore. I suspect you are not getting a good answer
is that I (for one) do not understand what you are trying to
accomplish. You use the term ignore which implies to me that you want
FreeRADIUS to drop any non Stop packets and not respond at all. That
means that the NAS will continue to retry every one of those packets
for some predetermined number of times wasting bandwidth. I would
recommend providing some details on what you want to accomplish and
someone may be able to show you how to do that.
Thanks,
Rams.
4. freeradius2.1.6 module errors (ramesh p)
----------------------------------------------------------------------
Message: 4
Date: Tue, 11 Aug 2009 12:50:30 +0530
From: ramesh p <rock786...@gmail.com>
Subject: freeradius2.1.6 module errors
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Message-ID:
<6b6aa6710908110020r50a6d15aked46497f07cda...@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freeradius.org/pipermail/freeradius-users/attachments/20090811/c31a18ad/attachment.html
>
------------------------------
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
End of Freeradius-Users Digest, Vol 52, Issue 54
************************************************
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html