freeradius2.1.6 module errors

ramesh p rock786143 at gmail.com
Wed Aug 12 16:02:28 CEST 2009


Hi Arran,

where i can place this code? i mean which file?

Thanks,
Rams.

On 12/08/2009 14:18, ramesh p wrote:

I'am trying to store only "Stop" packets in database, and i'm not
storing Acct-Status-Type = start,Tunnel-Stop, Tunnel-start,Failed etc...
packets in db.
How i can achieve this?

default { accounting { if(Acct-Status-Type = 'stop'){ sql } }



On Wed, Aug 12, 2009 at 6:48 PM, ramesh p <rock786143 at gmail.com> wrote:

> I'am trying to store only "Stop" packets in database, and i'm not storing
> Acct-Status-Type = start,Tunnel-Stop, Tunnel-start,Failed etc... packets in
> db.
>
> How i can achieve this?
>
> Please advice.
>
> Thanks,
> Rams.
>
>
>>
>>
>> On Wed, Aug 12, 2009 at 3:30 PM, <
>> freeradius-users-request at lists.freeradius.org> wrote:
>>
>>> Send Freeradius-Users mailing list submissions to
>>>        freeradius-users at lists.freeradius.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>        http://lists.freeradius.org/mailman/listinfo/freeradius-users
>>> or, via email, send a message with subject or body 'help' to
>>>        freeradius-users-request at lists.freeradius.org
>>>
>>> You can reach the person managing the list at
>>>        freeradius-users-owner at lists.freeradius.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Freeradius-Users digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>   1. Re: freeradius2.1.6 module errors (Doug Hardie)
>>>   2. Freeradius with jradius (shivashankar)
>>>   3. Help with passwords (David Jansen)
>>>   4. Re: Help with passwords (Alan DeKok)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Tue, 11 Aug 2009 16:05:21 -0700
>>> From: Doug Hardie <bc979 at lafn.org>
>>> Subject: Re: freeradius2.1.6 module errors
>>> To: FreeRadius users mailing list
>>>        <freeradius-users at lists.freeradius.org>
>>> Message-ID: <EBEB797D-D771-46BE-BA70-C8BE1F2959FA at lafn.org>
>>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>>>
>>>
>>> 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 <rock786143 at gmail.com>
>>> > Subject: freeradius2.1.6 module errors
>>> > To: FreeRadius users mailing list
>>> >        <freeradius-users at lists.freeradius.org>
>>> > Message-ID:
>>> >        <6b6aa6710908110020r50a6d15aked46497f07cdadc7 at 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
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Wed, 12 Aug 2009 00:25:29 -0700 (PDT)
>>> From: shivashankar <c.shivashankar at gmail.com>
>>> Subject: Freeradius with jradius
>>> To: freeradius-users at lists.freeradius.org
>>> Message-ID: <24931286.post at talk.nabble.com>
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>>
>>> hi ,
>>>
>>> i configured Jradius with Freeradius.
>>>
>>> but i don't know how to wirte java code and compile in jradius.
>>>
>>> is any doucment.?
>>>
>>> could u plz help. .
>>>
>>> Regard's
>>> shiva shankar
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Freeradius-with-jradius-tp24931286p24931286.html
>>> Sent from the FreeRadius - User mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Wed, 12 Aug 2009 11:15:01 +0200
>>> From: David Jansen <david at nines.nl>
>>> Subject: Help with passwords
>>> To: "'freeradius-users at lists.freeradius.org'"
>>>        <freeradius-users at lists.freeradius.org>
>>> Message-ID:
>>>        <1FC4F995991A86438D90D677BFC1B0A889DD6F8071 at mail01.efocus.local>
>>> Content-Type: text/plain; charset="us-ascii"
>>>
>>> Hi,
>>>
>>> Although passwords are filtered in radius log i do still see unencrypted
>>> passwords in auth-detail-%% files in /var/log/radius/radacct. How can I get
>>> rid of these passwords?
>>>
>>> Kind regards
>>> David Jansen
>>>
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <
>>> https://lists.freeradius.org/pipermail/freeradius-users/attachments/20090812/2cf30e9d/attachment.html
>>> >
>>>
>>> ------------------------------
>>>
>>> Message: 4
>>> Date: Wed, 12 Aug 2009 11:27:53 +0200
>>> From: Alan DeKok <aland at deployingradius.com>
>>> Subject: Re: Help with passwords
>>> To: FreeRadius users mailing list
>>>        <freeradius-users at lists.freeradius.org>
>>> Message-ID: <4A828B19.7070907 at deployingradius.com>
>>> Content-Type: text/plain; charset=ISO-8859-1
>>>
>>> David Jansen wrote:
>>> > Although passwords are filtered in radius log i do still see
>>> unencrypted
>>> > passwords in auth-detail-%% files in /var/log/radius/radacct. How can I
>>> > get rid of these passwords?
>>>
>>>  Read raddb/modules/detail
>>>
>>>  This is documented.
>>>
>>>  Alan DeKok.
>>>
>>>
>>> ------------------------------
>>>
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>>>
>>>
>>> End of Freeradius-Users Digest, Vol 52, Issue 56
>>> ************************************************
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090812/de86f3f8/attachment.html>


More information about the Freeradius-Users mailing list