Re: Reply message from the counter module

2003-07-29 Thread Alexander M. Pravking
On Mon, Jul 28, 2003 at 02:02:22PM -0400, Alan DeKok wrote: > > Dear developers, how about customizable messages? Something like > > this in radiusd.conf: > > > > messages { > > multiple_login = "You are already logged in %{Simultaneous-Use} times\r\n" > > timespan_violation = "You are cal

Re: Reply message from the counter module

2003-07-29 Thread Alexander M. Pravking
On Tue, Jul 29, 2003 at 10:52:59AM -0400, Alan DeKok wrote: > "Alexander M. Pravking" <[EMAIL PROTECTED]> wrote: > > > > By the way, %{Simultaneuos-Use} will not work, since there's no way to > > > > expand check items from the request... > > > > > > Nonsense. See 'doc/variables.txt' > > > > H

Re: Reply message from the counter module

2003-07-29 Thread Alan DeKok
"Alexander M. Pravking" <[EMAIL PROTECTED]> wrote: > > > By the way, %{Simultaneuos-Use} will not work, since there's no way to > > > expand check items from the request... > > > > Nonsense. See 'doc/variables.txt' > > Huh? Hmm... if it's not there, then it's trivial enough to add. ~10 lin

Re: Reply message from the counter module

2003-07-28 Thread Alexander M. Pravking
On Mon, Jul 28, 2003 at 08:11:26PM -0400, Alan DeKok wrote: > "Alexander M. Pravking" <[EMAIL PROTECTED]> wrote: > > By the way, %{Simultaneuos-Use} will not work, since there's no way to > > expand check items from the request... > > Nonsense. See 'doc/variables.txt' Huh? %{Attribute-Name}

Re: Reply message from the counter module

2003-07-28 Thread Alan DeKok
"Alexander M. Pravking" <[EMAIL PROTECTED]> wrote: > By the way, %{Simultaneuos-Use} will not work, since there's no way to > expand check items from the request... Nonsense. See 'doc/variables.txt' > How about, say, new integer attribute like FreeRADIUS-Reply-Code, > which will be automatical

Re: Reply message from the counter module

2003-07-28 Thread Alexander M. Pravking
On Mon, Jul 28, 2003 at 02:02:22PM -0400, Alan DeKok wrote: > > Dear developers, how about customizable messages? Something like > > this in radiusd.conf: > > > > messages { > > multiple_login = "You are already logged in %{Simultaneous-Use} times\r\n" > > timespan_violation = "You are cal

Re: Reply message from the counter module

2003-07-28 Thread Alan DeKok
"Alexander M. Pravking" <[EMAIL PROTECTED]> wrote: > Yeah, it's not the only place where configurable messages could be > useful. I've already suggested such a thing, but the silence was an > answer... ... > Dear developers, how about customizable messages? Something like > this in radiusd.conf: >

Re: Reply message from the counter module

2003-07-27 Thread Alexander M. Pravking
On Sat, Jul 26, 2003 at 07:09:38PM -0700, Alex Chen wrote: > I finally get the counter module to work but there is a small question > about the reply message issued by the counter when the accumulated time > exceeds > the value of the 'check-name' attribute. I set the

Reply message from the counter module

2003-07-26 Thread Alex Chen
I finally get the counter module to work but there is a small question about the reply message issued by the counter when the accumulated time exceeds the value of the 'check-name' attribute. I set the 'reset' to 'never' and when the limit, say, 60 seconds, is r

RE: counter module

2003-07-26 Thread Alex Chen
: [EMAIL PROTECTED] > Subject: Re: counter module > > > On Fri, Jul 25, 2003 at 10:20:13PM -0700, Alex Chen wrote: > > The counter module as a configuration element > > 'check-name'. In the example shown in radiusd.conf > > it is set to Max-Daily-Session. T

Re: counter module

2003-07-25 Thread Alexander M. Pravking
On Fri, Jul 25, 2003 at 10:20:13PM -0700, Alex Chen wrote: > The counter module as a configuration element > 'check-name'. In the example shown in radiusd.conf > it is set to Max-Daily-Session. The comment indicates > that this 'Max-Daily-Session' can be specifie

counter module

2003-07-25 Thread Alex Chen
The counter module as a configuration element 'check-name'. In the example shown in radiusd.conf it is set to Max-Daily-Session. The comment indicates that this 'Max-Daily-Session' can be specified in DEFAULT stanza. I am pretty sure when I tried to set DEFAULT Max-Daily-Ses

Re: Max-Daily-Session and counter module

2002-12-10 Thread oz
Kostas Kalevras wrote: The counter module should come *after* the files module so that Max-Daily-Session has been set when it runs. Also add the counter module in the instantiate section. That's it! Thanks very much. This is a now working setup: radiusd.conf ... auth

Re: Max-Daily-Session and counter module

2002-12-09 Thread Kostas Kalevras
On Mon, 9 Dec 2002, oz wrote: > > Oliver Zimmermann wrote: > > > I have the problem understanding how the counter module works. Lets say I want to >provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7. >Is the following scenario right? (sorr

Re: Max-Daily-Session and counter module

2002-12-09 Thread Kostas Kalevras
On Sun, 8 Dec 2002, Oliver Zimmermann wrote: > I have the problem understanding how the counter module works. Lets say I want to >provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7. >Is the following scenario right? (sorry I can't test it

Re: Max-Daily-Session and counter module

2002-12-09 Thread oz
Oliver Zimmermann wrote: I have the problem understanding how the counter module works. Lets say I want to provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7. Is the following scenario right? (sorry I can't test it for the moment): users file: -- DE

Max-Daily-Session and counter module

2002-12-08 Thread Oliver Zimmermann
I have the problem understanding how the counter module works. Lets say I want to provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7. Is the following scenario right? (sorry I can't test it for the moment): users file: -- DEFAULT Max-Daily-Session =

Re: Counter Module ignoring Accounting Packets

2002-10-02 Thread Aaron Webb
eone else who is as silly as I from asking the same question. Aaron On October 2, 2002 13:25 pm, Aaron Webb wrote: > FreeRADIUS Version 0.7.1, for host i686-pc-linux-gnu. > Using MySQL for authentication and accounting. > > I got the counter module set up and the proper entry in

Counter Module ignoring Accounting Packets

2002-10-02 Thread Aaron Webb
FreeRADIUS Version 0.7.1, for host i686-pc-linux-gnu. Using MySQL for authentication and accounting. I got the counter module set up and the proper entry in the radcheck table of the database, and started sending accounting packets to my RADIUS server. I noticed the following message from the

Re: counter module counting too many times

2002-08-19 Thread Alan DeKok
with the same id. My box keeps sending duplicated packets for months, > but with this wacky fix I could solve the problem for me. That's really the only fix. > >I'm using 0.5 and just noticed that when the same acct packet arrive > >more than once to the server, the counter mo

R: MultiGroup and counter module

2002-08-19 Thread Alessandro Maioli
Hi to all! I need to configure my freeradius-0.7 in that manner: 1. I need a Max-Daily-Session (72 senconds) for a group by mean of sqlcounter. 2. I want to force a Session-Timeout (7200 seconds) for the users of that group. My sqlcounter configuration is that: sqlcounter dailycounter {

Re: MultiGroup and counter module

2002-08-19 Thread Kostas Kalevras
On Sat, 17 Aug 2002, Kostas Kalevras wrote: > Please try the attached patch. You should then be able to use Login-Time > compares in the users file. Then you can do the following: > > DEFAULT Login-Time == "Any1400-0200", Max-Monthly-Session := 9 > Fall-Through = 1 > > DEFAULT Login-Tim

Re: MultiGroup and counter module

2002-08-17 Thread Kostas Kalevras
amooshi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, August 14, 2002 10:39 PM > Subject: MultiGroup and counter module > > > > hi all > > I am newbie in FreeRADIUS and I am going to migrate from my NT Commercial > > Accountin

Re: MultiGroup and counter module

2002-08-17 Thread SAber Khamooshi
No Answer ? FreeRADIUS doesn't support such group ? Kind Regards SAber Khamooshi - Original Message - From: "SAber Khamooshi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 10:39 PM Subject: MultiGroup and counter module

MultiGroup and counter module

2002-08-14 Thread SAber Khamooshi
25 hours per month but if they login between 2Am-7Am they could use 75 hours/month and if they login between 7Am-2PM they could use 50 hours/month I read counter module session in radiusd.conf but I couldn't find any appropriate option to accomplish such group. anybody before done it ? thanks

counter module counting too many times

2002-08-13 Thread Alexandre Strube
and radius acknowledges it.(at least on my case and someone else which wrote me months ago, but I didn't kept his email) >> I'm using 0.5 and just noticed that when the same acct packet arrive >> more than once to the server, the counter module does not control the >> fac

counter module counting too many times

2002-08-13 Thread Alexandre Strube
d just noticed that when the same acct packet arrive >more than once to the server, the counter module does not control the >fact that it is repeated -not even if the acct_uniq module is being >used- and its count-attribute get added several times. Just checked the >latest cvs version to f

Re: counter module counting too many times

2002-07-29 Thread Kostas Kalevras
On 25 Jul 2002, [ISO-8859-1] Moisés David [ISO-8859-1] Rincón D'Hoyos wrote: > I'm using 0.5 and just noticed that when the same acct packet arrive > more than once to the server, the counter module does not control the > fact that it is repeated -not even if the acct_uniq mod

Re: counter module counting too many times

2002-07-25 Thread Alan DeKok
[EMAIL PROTECTED] wrote: > I'm using 0.5 and just noticed that when the same acct packet arrive > more than once to the server, the counter module does not control the > fact that it is repeated -not even if the acct_uniq module is being > used- and its count-attribute get ad

counter module counting too many times

2002-07-25 Thread Moisés David Rincón D'Hoyos
I'm using 0.5 and just noticed that when the same acct packet arrive more than once to the server, the counter module does not control the fact that it is repeated -not even if the acct_uniq module is being used- and its count-attribute get added several times. Just checked the latest cvs ve

Re: counter module and mysql

2002-04-14 Thread Alan DeKok
=?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= <[EMAIL PROTECTED]> wrote: > I'd like to store all authentication and accounting data in mysql and use > counter module to calculate some time-stuff.. I don't think you need any patches to do that. > All examples about usage o

counter module and mysql

2002-04-14 Thread Pasi Kärkkäinen
Hello! Does anyone have url to mysql patch for counter module (Reading list archives there was/is such thing)? I'd like to store all authentication and accounting data in mysql and use counter module to calculate some time-stuff.. All examples about usage of counter module are also we

RE: Counter module doesn't work

2002-02-12 Thread Peter Santiago
what I do wrong. > Please help You can do one of the following: 1. Remove the counter from the authorize section and leave it in the accounting section. The check for the Daily-Session-Time is based on a compare function registered from the counter module and not on the authorize function

RE: Counter module doesn't work

2002-02-12 Thread Kostas Kalevras
On Mon, 11 Feb 2002, Peter Santiago wrote: > Based on what I'm reading below ... to set time limits for my users, I need > to use a database (MySQL). Do I? I'm using portslave wih freeradius If > I just want to use /etc/passwd for authentication... where and how should I > store the time lim

Counter module doesn't work

2002-02-12 Thread Andrew Kelaidis
I have installed the latest snapshot of freeRadius and I am using mySQL for AAA. I would also like to limit the online time for all users. Here is a part of my radiusd.conf file: counter { filename = ${raddbdir}/db.counter key = User-Name

Re: Counter module doesn't work

2002-02-12 Thread Andrew Kelaidis
Authorization section of the radius.conf to: authorize { sql counter } I hope that this will help someone. >From: Kostas Kalevras <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: Counter module doesn't work >Date: Mon,

Re: Counter module doesn't work

2002-02-11 Thread Kostas Kalevras
27;t understand what I do wrong. > Please help You can do one of the following: 1. Remove the counter from the authorize section and leave it in the accounting section. The check for the Daily-Session-Time is based on a compare function registered from the counter module and not on the authorize f

RE: Counter module doesn't work

2002-02-11 Thread Peter Santiago
what I do wrong. > Please help You can do one of the following: 1. Remove the counter from the authorize section and leave it in the accounting section. The check for the Daily-Session-Time is based on a compare function registered from the counter module and not on the authorize function

Re: Counter module doesn't work

2002-02-11 Thread Kostas Kalevras
27;t understand what I do wrong. > Please help You can do one of the following: 1. Remove the counter from the authorize section and leave it in the accounting section. The check for the Daily-Session-Time is based on a compare function registered from the counter module and not on the authorize f

Counter module doesn't work

2002-02-11 Thread Andrew Kelaidis
I have installed the latest snapshot of freeRadius and I am using mySQL for AAA. I would also like to limit the online time for all users. Here is a part of my radiusd.conf file: counter { filename = ${raddbdir}/db.counter key = User-Name