Re: Freeradius help
Hi,
Thanks for your answer.
Actually, I need a more "dynamic"
solution. I will have an agreement with a hotspot agregator (like
Boingo...) and I will have about 60 millions NAS. The thing is that
each NAS have different rates(10 to 20 cent/mn).
So, for each user, I have to calculate the remaining
session-timeout according to the NAS in which the user wishes to
connect to.
When the user logs in, I have to run a script which set
the session-timeout attribute (
e.g how long the user is allowed to be connected to that specific NAS).
When the user logs out, I have to run a script which updates the
remaining connection time.
I
have installed freeradius and phpmyprepaid (with sql_counter module)
and everything is working well. The problem with phpmyprepaid is that
we invoice the user regardless the NAS in which (s)he is connected to.
I hope that my explanation is clear.
Thank you very much for your assistance!!
Best regards.
Khalid
On 9/1/07,
freeradius-users-request@lists.freeradius.org <freeradius-users-request@lists.freeradius.org> wrote:
Send Freeradius-Users mailing list submissions to
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-request@lists.freeradius.org
You can reach the person managing the list at
freeradius-users-owner@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. Freeradius help (Khaldon manIP)
2. Re: Freeradius help (tnt@kalik.co.yu)
3. Proxy accounting information in a diffrect table (justice obrey)
4. Re: MOTP with freeradius (Alan DeKok)
5. Re: checkitem problem (Alan DeKok)
----------------------------------------------------------------------
Message: 1
Date: Fri, 31 Aug 2007 21:02:44 +0200
From: "Khaldon manIP" <
manvoip@gmail.com>
Subject: Freeradius help
To: freeradius-users@lists.freeradius.org
Message-ID:
<
f90cb76b0708311202u3b8af7fu43a43e5c84037f56@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi all,
I have installed a freeradius server and it works perfectly...
Now, I want to play with the Session-Timeout attribute. I want to set that
value according to the NAS in which the client is connected.
For instance, let us assume a user connect himself to a "Group1 NAS" and
have X seconds session-timeout. But if he would be connected to a "Group2
NAS", he will have X-10 seconds session-timeout.
Finally, what I want is:
1) to run a script that set a session-timeout value according to the NAS IP
address.
2) to run a script when the user log out (when the session-timeout attribute
is updated)
But I don't know how to do so...I thought about launching scripts but if you
have a better solution, i'll take it heartily.
Thanks a lot.
ps: I sent that mail but it has not been posted....if it has been posted,
sorry in advance...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070831/17e4e5d7/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 31 Aug 2007 20:25:33 +0100
From: <
tnt@kalik.co.yu>
Subject: Re: Freeradius help
To: "FreeRadius users mailing list"
<freeradius-users@lists.freeradius.org
>
Message-ID: <pAGDDK1m.1188588333.3616070.tnt@kalik.co.yu>
Content-Type: text/plain; charset=ISO-8859-2
You can set up DEFAULT entries in users file:
DEFAULT NAS-IP-Address == NAS1IP
Session-Timeout = X
Same thing for NAS2.
Ivan Kalik
Kalik Informatika ISP
Dana 31/8/2007, "Khaldon manIP" <
manvoip@gmail.com> pi?e:
>Hi all,
>
>I have installed a freeradius server and it works perfectly...
>Now, I want to play with the Session-Timeout attribute. I want to set that
>value according to the NAS in which the client is connected.
>For instance, let us assume a user connect himself to a "Group1 NAS" and
>have X seconds session-timeout. But if he would be connected to a "Group2
>NAS", he will have X-10 seconds session-timeout.
>
>Finally, what I want is:
>1) to run a script that set a session-timeout value according to the NAS IP
>address.
>2) to run a script when the user log out (when the session-timeout attribute
>is updated)
>
>But I don't know how to do so...I thought about launching scripts but if you
>have a better solution, i'll take it heartily.
>
>Thanks a lot.
>
>ps: I sent that mail but it has not been posted....if it has been posted,
>sorry in advance...
>
>
------------------------------
Message: 3
Date: Fri, 31 Aug 2007 14:20:10 -0700 (PDT)
From: justice obrey <justopee@yahoo.com
>
Subject: Proxy accounting information in a diffrect table
To: freeradius-users@lists.freeradius.org
Message-ID: <
461467.71291.qm@web62506.mail.re1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
How do you configure freeradius to receive accounting information from a proxy radius server ? Is it possible to store this accounting information in a different table in postgresql database?
Thanks
---------------------------------
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070831/0094963f/attachment-0001.html
>
------------------------------
Message: 4
Date: Sat, 01 Sep 2007 08:15:12 +0200
From: Alan DeKok <aland@deployingradius.com>
Subject: Re: MOTP with freeradius
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Message-ID: <46D90370.8040506@deployingradius.com">
46D90370.8040506@deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1
Gaston Bougie wrote:
> Now I would like to build this functionality with freeradius.
> I've read that Exec-Program-Wait is ending so I would like to follow
> procedures and start with rlm_exec.
You can still use Exec-Program-Wait in 1.1.7. In 2.0, there's a MUCH
easier way of doing it.
Alan DeKok.
------------------------------
Message: 5
Date: Sat, 01 Sep 2007 08:17:30 +0200
From: Alan DeKok <aland@deployingradius.com>
Subject: Re: checkitem problem
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Message-ID: <46D903FA.3010405@deployingradius.com">46D903FA.3010405@deployingradius.com
>
Content-Type: text/plain; charset=windows-1252
Norbert Wegener wrote:
> rlm_ldap: looking for check items in directory...
> rlm_ldap: Adding primaryGroupID as Cleartext-Password == "515"
OK...
> modcall[authorize]: module "ldap" returns ok for request 11
> users: Matched entry DEFAULT at line 2
Yes... because you are telling the server what the clear-text password
is supposed to be. If you tell the server TWICE, it will say OK twice.
What sort of behavior do you expect? "If cleartext password is
already set, don't set it again" ? Nothing in the ldap or users file
documentation says that they do anything like that.
If you want that functionality, see 2.0.
Alan DeKok.
------------------------------
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
End of Freeradius-Users Digest, Vol 29, Issue 1
***********************************************
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.