Re: How to use the counter module

2005-11-14 Thread Radoslav Kolev
On Sun, 2005-11-13 at 12:20 +, [EMAIL PROTECTED] wrote: Could I use the Counter module to count the number of times a user gets their password wrong? AFAIK the counter module was not designed to count this type of things. The idea is to count let's say the total amount of time a user has

Re: Script for counting # of NAS ports in use?

2005-11-14 Thread Radoslav Kolev
On Mon, 2005-11-14 at 12:49 -0700, Scott Langley wrote: Before I write one, I wonder if anyone already has a script or module for counting the number of ports on a NAS that were in use at a given point of time? I know this can be done by collecting the SNMP data sent from the NAS, but I

Re: Adding a custom attribute

2005-06-20 Thread Radoslav Kolev
On Sun, 2005-06-19 at 17:55 -0400, Alan DeKok wrote: Radoslav Kolev [EMAIL PROTECTED] wrote: I've tried it, with the same effect. Adding other reply attirutes work, but just the new one I defined in the dictionary file doesn't. Any ideas? Not really. There's nothing magic about

Adding a custom attribute

2005-06-19 Thread Radoslav Kolev
Hi, all! I'm using FreeRADIUS 1.0.1 with the MySQL backend. I want to send out a reply attribute which is not in the standard dictionary file. What I did is edit /etc/raddb/dictionary and added a line like: ATTRIBUTE Some-Attribute 229 string Then inserted a row in the

Re: Adding a custom attribute

2005-06-19 Thread Radoslav Kolev
On Sun, 2005-06-19 at 11:28 -0400, Alan DeKok wrote: Radoslav Kolev [EMAIL PROTECTED] wrote: When the attribute is in the dictionary no errors are given, and it is still not appended to the reply. Try it in the users file first. That may be different. I've tried it, with the same

Re: mrtg

2005-06-10 Thread Radoslav Kolev
I would like to know if I can create mrtg using snmp on how many users are currently connected? Yes, you can. MRTG can get data not only from SNMP but it can execute an arbitrary program and parse the output. It's a four line format it expects if I remember right. Look at the MRTG docs

Re: Are there Session-Octets-Limit parameter in FreeRadius ?

2004-10-13 Thread Radoslav Kolev
Are there some fields in SQL Table(Session-Octets-Limit,Octets-Direction), which I must to add? No, you just insert in the regular radreply, radgroupreply tables like that: insert into radcheck (UserName, Attribute, Op, Value) values ('user','Session-Octets-Limit',':=','100'); The syntax

Re: Are there Session-Octets-Limit parameter in FreeRadius ?

2004-10-13 Thread Radoslav Kolev
What about Dayly/Weekly/Month Octets limit support by PPPD? Session-Octets-Limit restrict only current session. PPPD only supports the Session-Octets-Limit attribute. Just as it only supports the Session-Timeout attribute for session time limiting. Daily/Weekly and so on attributes are internal

Re: Are there Session-Octets-Limit parameter in FreeRadius ?

2004-10-12 Thread Radoslav Kolev
[EMAIL PROTECTED] wrote: Are there Session-Octets-Limit parameter in FreeRadius ? NAS- PPPD 2.4.2, mysql_realm Hello! If you just want to send reply attributes of type Session-Octets-Limit add this to your dictionary file (located probably in /usr/local/share/freeradius): # Limit session

counter-name and check-name difference

2004-06-09 Thread Radoslav Kolev
thing, why have both? REgards, Radoslav Kolev - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

counter-name and check-name difference

2004-06-08 Thread Radoslav Kolev
thing, why have both? REgards, Radoslav Kolev - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html