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 } } }
Please advice. Thanks, Rams. On Wed, Aug 12, 2009 at 3:30 PM, <freeradius-users-requ...@lists.freeradius.org <mailto:freeradius-users-requ...@lists.freeradius.org>> wrote: Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org <mailto:freeradius-users@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-requ...@lists.freeradius.org <mailto:freeradius-users-requ...@lists.freeradius.org> You can reach the person managing the list at freeradius-users-ow...@lists.freeradius.org <mailto:freeradius-users-ow...@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 <bc...@lafn.org <mailto:bc...@lafn.org>> Subject: Re: freeradius2.1.6 module errors To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org>> Message-ID: <ebeb797d-d771-46be-ba70-c8be1f295...@lafn.org <mailto:ebeb797d-d771-46be-ba70-c8be1f295...@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 <rock786...@gmail.com <mailto:rock786...@gmail.com>> > Subject: freeradius2.1.6 module errors > To: FreeRadius users mailing list > <freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org>> > Message-ID: > <6b6aa6710908110020r50a6d15aked46497f07cda...@mail.gmail.com <mailto: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 ------------------------------ Message: 2 Date: Wed, 12 Aug 2009 00:25:29 -0700 (PDT) From: shivashankar <c.shivashan...@gmail.com <mailto:c.shivashan...@gmail.com>> Subject: Freeradius with jradius To: freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org> Message-ID: <24931286.p...@talk.nabble.com <mailto:24931286.p...@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 <da...@nines.nl <mailto:da...@nines.nl>> Subject: Help with passwords To: "'freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org>'" <freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org>> Message-ID: <1fc4f995991a86438d90d677bfc1b0a889dd6f8...@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 <al...@deployingradius.com <mailto:al...@deployingradius.com>> Subject: Re: Help with passwords To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org>> Message-ID: <4a828b19.7070...@deployingradius.com <mailto:4a828b19.7070...@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 ************************************************ ------------------------------------------------------------------------ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Arran Cudbard-Bell <a.cudbard-b...@sussex.ac.uk>, Systems Administrator (AAA), Infrastructure Services (IT Services), E1-1-08, Engineering 1, University Of Sussex, Brighton, BN1 9QT DDI+FAX: +44 1273 873900 | INT: 3900 GPG: 86FF A285 1AA1 EE40 D228 7C2E 71A9 25BB 1E68 54A2 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html