Reading an rlm_counter database file

2012-10-20 Thread jobhunts02
How can an rlm_counter database file be read? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Printing rlm_counter AVP's

2012-07-26 Thread Alan DeKok
jobhunt...@aol.com wrote: I have added some AVP's for an rlm_counter What does that mean? and want to look at the values. I have tried using radclient but it prints only one of the AVP's I added. Since I added each AVP the same way, can anyone tell me what determines which AVP's

Printing rlm_counter AVP's

2012-07-25 Thread jobhunts02
I have added some AVP's for an rlm_counter and want to look at the values. I have tried using radclient but it prints only one of the AVP's I added. Since I added each AVP the same way, can anyone tell me what determines which AVP's radclient prints and what I can do to make sure all

Re: Configuring rlm_counter for gigaword

2012-07-18 Thread Jeff Wark
I'm not sure what rlm_counter is, but the documentation for regular accounting states: *snip* Modify FreeRADIUS Queries Secondly, modify the accounting queries in sql.conf to make the SQL database perform the computation that is required to merge the two values sent as attributes by the NAS

Configuring rlm_counter for gigaword

2012-07-17 Thread jobhunts02
I want to use the Acct-Output-Gigawords attribute along with the Acct-Output-Octets to keep track of traffic in an rlm_counter that can exceed the 32-bit integer limitation. It looks like the counter will take only one count-attribute. How can I use both of these attributes in a single counter

Fwd: rlm_counter: res is greater than zero

2012-02-19 Thread pamela pomary
### clare Max-Daily-Session:=120, User-Password := password # Dubug output # rlm_counter: Check item = 120, Count = 0 rlm_counter: res

Re: problem with rlm_counter module when reset option is set to never

2009-05-27 Thread Ahmed Nifaz Faizabadi
accounting record is not deleted from rlm_counter module once the user has used his allocated time. ...    This would increase the accounting file size indefenitely and cause some other problems as the user records are not at all being deleted.  See the configuration: reset = never means never reset

Re: problem with rlm_counter module when reset option is set to never

2009-05-27 Thread Ivan Kalik
  I tried that but that accounting file is in binary or some other encrypted format. Will you please let me know about how to delete that accounting record or how to convert that to simple text file ( which would make easy deleting expired records) .  It's just a DBM file.  See the

Re: problem with rlm_counter module when reset option is set to never

2009-05-27 Thread Alan DeKok
Ahmed Nifaz Faizabadi wrote: I guess I need to patch up freeradius where a delete user message (my own defnied) is sent to freeradius from NAS. I really don't think you want to do that. On recieveing this freeradius would just go and delete the users mentioned in that message. I would

problem with rlm_counter module when reset option is set to never

2009-05-26 Thread Ahmed Nifaz Faizabadi
Hi all, Here is the issue I am facing with rlm_counter module. I am using freeradius-server-2.1.4 and configuring Max session time for each user. for example: user1 Max-Session-Time := 1800, Auth-Type := Reject Reply-Message = Your time limit is used user2 Max

Re: problem with rlm_counter module when reset option is set to never

2009-05-26 Thread Ivan Kalik
Here is the issue I am facing with rlm_counter module. I am using freeradius-server-2.1.4 and configuring Max session time for each user. for example: user1 Max-Session-Time := 1800, Auth-Type := Reject Reply-Message = Your time limit is used user2 Max

Re: problem with rlm_counter module when reset option is set to never

2009-05-26 Thread Ahmed Nifaz Faizabadi
Here is the issue I am facing with rlm_counter module. I am using freeradius-server-2.1.4 and configuring Max session time for each user. for example: user1          Max-Session-Time := 1800, Auth-Type := Reject                 Reply-Message = Your time limit is used user2          Max

Re: problem with rlm_counter module when reset option is set to never

2009-05-26 Thread Alan DeKok
Ahmed Nifaz Faizabadi wrote: counter daily { counter-name = Max-All-Session-Time check-name = Max-All-Session key = User-Name reset = never ... I am observing that the user accounting record is not deleted from rlm_counter module once the user has used his

Re: Re: rlm_counter: Failed to open file /etc/raddb/db.daily:, Permission denied

2008-11-14 Thread Romain Mercier
: Ted Lum [EMAIL PROTECTED] Subject: Re: rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied To: Alan DeKok [EMAIL PROTECTED] Cc: FreeRadius users mailing list freeradius-users@lists.freeradius.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1

Re: rlm_counter: Failed to open file /etc/raddb/db.daily:, Permission denied

2008-11-14 Thread Ted Lum
: db_dir = $(raddbdir) By : db_dir = ${raddbdir} I use freeRadius 2.0.5 on a freeBSD 6.3 [EMAIL PROTECTED] a écrit : Message: 2 Date: Thu, 13 Nov 2008 18:21:17 -0500 From: Ted Lum [EMAIL PROTECTED] Subject: Re: rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied

Re: rlm_counter: Failed to open file /etc/raddb/db.daily:, Permission denied

2008-11-14 Thread Ted Lum
PROTECTED] Subject: Re: rlm_counter: Failed to open file /etc/raddb/db.daily: Permissiondenied To: Alan DeKok [EMAIL PROTECTED] Cc: FreeRadius users mailing list freeradius-users@lists.freeradius.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Re: rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied

2008-11-13 Thread Ted Lum
. Wed Nov 12 21:29:16 2008 : Error: rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied ... /etc/raddb -rw--- 1 radiusd radiusd 12312 Nov 12 21:29 db.daily The server isn't running as user radiusd/radiusd. Fix that. This works: # /usr/sbin/radiusd

rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied

2008-11-12 Thread Ted Lum
Any idea how to fix this? Wed Nov 12 21:29:16 2008 : Error: rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied Wed Nov 12 21:29:16 2008 : Error: /etc/raddb/radiusd.conf[152]: Instantiation failed for module daily Wed Nov 12 21:29:16 2008 : Error: Errors initializing modules

Failed to link to module 'rlm_counter'

2006-11-15 Thread Eranga Amarakoon
When using 'radius -X' the following error occured. radiusd.conf[1392] Failed to link to module 'rlm_counter': rlm_counter.so: cannot open shared object file: No such file or directory There's no rlm_counter.so in the library directory What is the reason

Re: Prepaid billing using freeradius and rlm_counter/rlm_sqlcounter

2006-06-12 Thread Julius Igugu
an access-reject.I'm currently using FreeRADIUS 1.1.0 with mysql as the back-end on debian and I've read the manpage about rlm_counter andrlm_sqlcounter though the manpage is a bit low of information and examples. Could someone please provide me with an example of how to get freeradius configured

Re: Prepaid billing using freeradius and rlm_counter/rlm_sqlcounter

2006-06-10 Thread liran tal
Thanks for the reply Craig. I know about phpMyPrepaid although it's an all-around solution which uses chillispot as well, and I was just wondering about the configuration of rlm_counter/sql_counter. On 6/9/06, Craig Russell [EMAIL PROTECTED] wrote: I have not tried it myself yet (due to back

Prepaid billing using freeradius and rlm_counter/rlm_sqlcounter

2006-06-09 Thread liran tal
will be disabled, i.e: freeradiuswould return an access-reject.I'm currently using FreeRADIUS 1.1.0 with mysql as the back-end on debian and I've read the manpage about rlm_counter andrlm_sqlcounter though the manpage is a bit low of information and examples. Could someone please provide me with an example

Re: Prepaid billing using freeradius and rlm_counter/rlm_sqlcounter

2006-06-09 Thread Craig Russell
FreeRADIUS 1.1.0 with mysql as the back-end on debian and I've read the manpage about rlm_counter and rlm_sqlcounter though the manpage is a bit low of information and examples. Could someone please provide me with an example of how to get freeradius configured to this solution? Thanks, Sincerly

rlm_counter location needed in freeradius

2006-02-17 Thread Rupesh Amatya
where can i find rlm_counter in freeradius?? can anyone suggest me? rupesh Your Name Original Message == From: Alan DeKok [EMAIL PROTECTED] == Date: Thu, 16 Feb 2006 11:21:38 -0500 Rupesh Amatya [EMAIL PROTECTED] wrote: If I put 4hours in Session time and after using 3

Problem with rlm_counter in compiling

2005-12-21 Thread Rafael Roldán
Hy all, I am trying to install freeradius 1.0.5 in a solaris 8 machine. When I run make, I obtain the following error: ... rlm_counter.c:38:18: gdbm.h: No such file or directoryrlm_counter.c:84: parse error before "GDBM_FILE"rlm_counter.c:84: warning: no semicolon at end of struct or

Re: Problem with rlm_counter in compiling

2005-12-21 Thread Michael Mitchell
Do you need to use rlm_counter? If not, you can simply delete the rlm_counter directory and run configure again then make, or delete rlm_counter from the MODULES item in Make.inc, and run make again. The problem is that the compiler can't find gdbm.h. It may not be installed on your system

Re: Problem with rlm_counter in compiling

2005-12-21 Thread Rafael Roldán
Hy Michael, Thanks a lot for your extense response. I have deleted rlm_counter and rlm_ippool directory (both of them need gdbm.h) because I only want to test the proxy functionality of freeradius. But, after this I have installed freeradius 1.0.5 in another solaris 8 machine and here I haven´t

Re: rlm_counter

2005-12-07 Thread Nicolas Baradakis
Alan DeKok wrote: Lisa Casey [EMAIL PROTECTED] wrote: I have Freeradius 1.01 on FreeBSD 5.3. Two questions: *please* upgrade to 1.0.5. You really should follow Alan's advices. See http://freeradius.org/security.html -- Nicolas Baradakis - List info/subscribe/unsubscribe? See

rlm_counter

2005-12-06 Thread Lisa Casey
Hi, I have Freeradius 1.01 on FreeBSD 5.3. Two questions: 1) Is there a way to show which modules are currently installed? 2) I want to use the rlm_counter module. So I went to /usr/ports/distfiles/freeradius-1.0.1/src/modules/rlm_counter and did a ./configure. That went OK, no errors. I next

Re: rlm_counter

2005-12-06 Thread Alan DeKok
Lisa Casey [EMAIL PROTECTED] wrote: I have Freeradius 1.01 on FreeBSD 5.3. Two questions: *please* upgrade to 1.0.5. 1) Is there a way to show which modules are currently installed? $ ls /path/to/libs/rlm_* 2) I want to use the rlm_counter module. So I went to /usr/ports/distfiles

rlm_counter

2005-11-29 Thread Madhvi Gokool
of the users and got the following error : - Auth: Invalid user (rlm_counter: Maximum monthly usage time reached): [kalc/CHAP-Password] (from client as port 257 cli tel number) this user's config in the users file was as follows :- kalc Auth-Type = Local, Password = kalc, Calling-Station-Id = , , Max

rlm_counter and rlm_sqlcounter configuration, help!

2005-11-18 Thread Jorge Pomoro
Hi, I have a few questions: - What's the difference between rlm_counter and rlm_sqlcounter? - If I use freeradius with a mysql db, I have to use rlm_sqlcounter and NOT rlm_counter ? - The module (rlm_counter or rlm_sqlcounter) is including in freeradius or is necessary to download

rlm_counter questions

2005-10-27 Thread Lisa Casey
Hi, I have setup a brand new FreeBSD 5..3 box with a brand new installation of FreeRadius 1.0.0 (installed from ports). I want to install the rlm_counter module. So I went to /usr/ports/distfiles/freeradius-1.0.1/src/modules/rlm_counter and did a make but got this error: # make ../rules.mak

Re: rlm_counter questions

2005-10-27 Thread Alan DeKok
Lisa Casey [EMAIL PROTECTED] wrote: I have setup a brand new FreeBSD 5..3 box with a brand new installation of FreeRadius 1.0.0 (installed from ports). Don't use 1.0.0. If the FreeBSD ports collection has 1.0.5, you should use that. Alan DeKok. - List info/subscribe/unsubscribe? See

working sample config of radiusd.conf using rlm_counter

2004-08-08 Thread Shannon Sariman
Hi All,I am using freeradius-0.9.3 with MySQL on a Red Hat 9.0 machine. Anyone out there have a working config of freeradius using rlm_counter? I'm kinda bogged down at the moment trying to get this rlm_counter working. So far in my radiusd.conf file I have the following: #Modules

Re: working sample config of radiusd.conf using rlm_counter

2004-08-08 Thread apellido jr., wilfredo p.
hi, #Instantiation instantiate { daily } .. #Authorize authorize { daily ** instead of counter *** sql counter } ... accounting { daily ** instead of counter *** radutmp sql }

Re: working sample config of radiusd.conf using rlm_counter

2004-08-08 Thread Shannon Sariman
Hi Apellido, Thanx a lot! I should've known better. But oh yeah, since I'm using freeradius with MySQL I would like to know which MySQL table(s) under the radius database should show the following in the radiusd.conf counter module section be in: Max-Daily-Session := 180 Fall-Through = 1

Re: rlm_counter problem

2004-08-07 Thread Alan DeKok
Shannon Sariman [EMAIL PROTECTED] wrote: I am trying to use the rlm_counter and is currently facing an unkown problem. When I run freeradius in debug mode I get the following error message: ERROR:Cannot find a configuration entry for module counter. Am I missing something here

Re: rlm_sqlcounter versus rlm_counter

2004-07-26 Thread Kostas Kalevras
(rmpbuild) the latest pre-release of version 1.0 of FreeRadius on my Linux RH 9.0 box and resorted back to using ver 0.9.3. I've noticed while searching previous archives of the freeradius mailing lists that there is another counter called rlm_counter but which works with the users file. Can I

rlm_sqlcounter versus rlm_counter

2004-07-25 Thread Shannon Sariman
of FreeRadius on my Linux RH 9.0 box and resorted back to using ver 0.9.3. I've noticed while searching previous archives of the freeradius mailing lists that there is another counter called rlm_counter but which works with the users file. Can I use this rlm_counter to work with my current setup