Please help me with sqlcounter

2011-03-21 Thread frankfang
I want to use sqlcounter to control the user's traffic usage, and I have these needs: 1. I have read http://wiki.freeradius.org/Rlm_sqlcounter the wiki about the sqlcounter, and I get %b as the unix time value of beginning of reset period but how can I set this value? I want to sqlcounter

Re: Please help me with sqlcounter

2011-03-21 Thread Suman Dash
I am trying to do the same in sqlcounter but looks like the %b is hard coded and there is no way to make it dynamically read from database. I have tried using custom sqlcounter but it doe not escapes properly. Anyone effort in commenting on this thread will be highly appreciable as it will

Re: I need help and some advice !!!

2011-03-21 Thread Phil Mayers
On 21/03/11 01:47, striderblue wrote: about IPv6 on freeradius v.2.1.test9 for ubuntu so this version is support IPv6 right? but I try to test local with IPv6 ::1 it response like this :

Counter info while proxying

2011-03-21 Thread Rajkumar R
Hi All, I would like to know if there's a counter associated with the radius server to keeptrack of the incoming messages arrived. As I'm using a proxy setup with 5 homeservers connected, this info is needed to show on the statistics of loadbalancing activity. Appreciate all your inputs.

$75.00 USD Bounty

2011-03-21 Thread Craig Smith
Good Morning! I will pay $75.00 USD (via PayPal) to the first person who can send me the documentation and working configuration files for external authentication using a PHP script. Thanks, Craig - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Counter info while proxying

2011-03-21 Thread Phil Mayers
On 21/03/11 12:04, Rajkumar R wrote: Hi All, I would like to know if there’s a counter associated with the radius server to keeptrack of the incoming messages arrived. As I’m using a proxy setup with 5 homeservers connected, this info is needed to show on the statistics of loadbalancing

Re: $75.00 USD Bounty

2011-03-21 Thread Alan DeKok
Craig Smith wrote: I will pay $75.00 USD (via PayPal) to the first person who can send me the documentation and working configuration files for external authentication using a PHP script. Read scripts/exec-program-wait This is documented. Alan DeKok. - List info/subscribe/unsubscribe?

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Campbell
? See http://www.freeradius.org/list/users.html __ Information from ESET Smart Security, version of virus signature database 5970 (20110321) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Campbell
This is documented. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Information from ESET Smart Security, version of virus signature database 5970 (20110321) __ The message was checked by ESET Smart Security. http

RE: Freeradiusd 2.1.8

2011-03-21 Thread Danial
Gary Gatten wrote: FBSD allows one to easily change the scheduler, MAYBE that would help? I've tried changing scheduler, but alas to no avail. It was worth a shot though. / Danial -- View this message in context:

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Smith
Alan, I am also finding the documentation semi helpful. So I put: exec { program = /path/to/program/exec-program-wait -- I know I need to change this wait = yes input_pairs = request output_pairs = reply } In /etc/freeradius/modules/exec. Now how do make my authentication request use exec?

Re: $75.00 USD Bounty

2011-03-21 Thread Alan DeKok
Craig Smith wrote: I am also finding the documentation semi helpful. So I put: In 2.1.x, you can *still* use Exec-Program-Wait. So no change is necessary. exec { program = /path/to/program/exec-program-wait -- I know I need to change this Change it to the path of the program you want

Re: $75.00 USD Bounty

2011-03-21 Thread Phil Mayers
On 21/03/11 12:14, Craig Smith wrote: Good Morning! I will pay $75.00 USD (via PayPal) to the first person who can send me the documentation and working configuration files for external authentication using a PHP script. Well, your question is not as simple as you imagine; you haven't defined

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Campbell
-- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Information from ESET Smart Security, version of virus signature database 5971 (20110321) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: $75.00 USD Bounty

2011-03-21 Thread Phil Mayers
On 21/03/11 15:04, Craig Campbell wrote: Alan, I've read the documents indicated repeatedly. (And again just now.) I have not yet been able to port the 'deprecated' method of EXEC-PROGRAM-WAIT=/usr/local/bin/auth -A parameter Why do you say it's deprecated? to the new method. I guess I'm

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Campbell
, as that is not helpful. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Information from ESET Smart Security, version of virus signature database 5971 (20110321) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Campbell
://www.freeradius.org/list/users.html __ Information from ESET Smart Security, version of virus signature database 5971 (20110321) __ The message was checked by ESET Smart Security. http://www.eset.com __ Information from ESET Smart Security, version of virus

Re: $75.00 USD Bounty

2011-03-21 Thread Leander S.
Now who got the 75 Bucks? ;) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Campbell
Bounty Now who got the 75 Bucks? ;) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Information from ESET Smart Security, version of virus signature database 5971 (20110321) __ The message was checked by ESET Smart Security. http

authenticate via etc/shadow intead of users

2011-03-21 Thread Raheel Itrat
Hi, I am a newbie to free radius, I need to know what changes are required in radiusd.conf or any other file in order to authenticate clients requests through local machine users(etc/passwd or etc/shadow) instead of making users in the raddb/users file. Cheers

Re: authenticate via etc/shadow intead of users

2011-03-21 Thread Alan Buxey
Hi, I am a newbie to free radius, I need to know what changes are required in radiusd.conf or any other file in order to authenticate clients requests through local machine users(etc/passwd or etc/shadow) instead of making users in the raddb/users file. add users to the system

RE: authenticate via etc/shadow intead of users

2011-03-21 Thread Raheel Itrat
Thanks Alan, what I am actually trying to achieve is to authenticate users against our Linux /etc/shadow or /etc/password/ files. I don't want to use the USERS file as it stores passwords in clear text which is what we're trying to avoid. Hi, I am a newbie to free radius, I

RE: authenticate via etc/shadow intead of users

2011-03-21 Thread Gary Gatten
Yup - I *think* the unix module (*nix) is enabled by default, so it should just work. Perhaps check your radiusd.conf and $radius/sites-enabled/default to ensure it's enabled. But, I guess it may depend on what type of authentication requests you are speaking of.

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Smith
Hi again, Okay, I have everything running, but I have one more question. Is there a way to adjust the timeout of the scripts being exec? I get the following error. I'm looking to make the timeout around 40 seconds. Error: Child PID 16599 is taking too much time: forcing failure and killing

RE: $75.00 USD Bounty

2011-03-21 Thread Gary Gatten
Hmmm, I don't know how to set this (source code hack?), but what in the heck are you doing that takes so long? I'd think your target should be less than 3 seconds and for SURE less than 10 seconds. I think the thread is tied to this waiting, so you're gonna severely limit your throughput and

Re: $75.00 USD Bounty

2011-03-21 Thread Phil Mayers
On 03/21/2011 08:51 PM, Craig Smith wrote: Hi again, Okay, I have everything running, but I have one more question. Is there a way to adjust the timeout of the scripts being exec? I get the following error. I'm looking to make the timeout around 40 seconds. That's way, way, way too long.

Freeradius Ldap

2011-03-21 Thread Usuário do Sistema
Hello everyone, I'm dificult with freeradius and LDAP. the user autheticate only it's work when I put in the user file User-Password clear text as follow. maicon.pereiraCleartext-Password := meleca Reply-Message = Hello, %{User-Name} however, my integration

RE: $75.00 USD Bounty

2011-03-21 Thread Craig Smith
I'm trying to recreate the functionality of a product call PhoneFactor (www. phonefactor.com). In the script, I want to make a call using Asterisk, get a code, compare that to an entry in a database, and accepting or rejecting the request. OpenVPN has increased their timeout from a RADIUS server

Re: Freeradius Ldap

2011-03-21 Thread joao...@gmail.com
Maicon, como vi o Pereira no seu nome, deduzo que você seja do Brasil, portanto irei responder sua pergunta em português. 1º Sim o freeradius se integra perfeitamente com o LDAP 2º Que base LDAP vc esta utilizando? OpenLDAP, Active Directory??? 3° Como esta a configuração de seu arquivo ldap?

Re: $75.00 USD Bounty

2011-03-21 Thread Craig Campbell
? Thanks, Craig -- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __ Information from ESET Smart Security, version of virus signature database 5972 (20110321

Behaviour of multiple sequenced authorization modules ?

2011-03-21 Thread Robert Roll
I would like to have multiple authorization modules invoked and then reject if ANY do NOT authorize ? For instance.. authorize { ldap1 ldap2 } It appears if just one returns OK, then the subsequent authentication works. BTW.. The subsequent authentication is

Re: authenticate via etc/shadow intead of users

2011-03-21 Thread Alan Buxey
Hi, Thanks Alan, what I am actually trying to achieve is to authenticate users against our Linux /etc/shadow or /etc/password/ files. I don't want to use the USERS file as it stores passwords in clear text which is what we're trying to avoid. it CAN store the passwords in clear

Re: $75.00 USD Bounty

2011-03-21 Thread Alan Buxey
Hi, I'm trying to recreate the functionality of a product call PhoneFactor (www.phonefactor.com). In the script, I want to make a call using Asterisk, get a code, compare that to an entry in a database, and accepting or rejecting the request. OpenVPN has increased their timeout

Re: Freeradius Ldap

2011-03-21 Thread Sven Hartge
Usuário do Sistema maico...@ig.com.br wrote: Hello everyone, I'm dificult with freeradius and LDAP. the user autheticate only it's work when I put in the user file User-Password clear text as follow. maicon.pereiraCleartext-Password := meleca Reply-Message =

RE: Behaviour of multiple sequenced authorization modules ?

2011-03-21 Thread Robert Roll
I'm a little new to freeradius.. Hmm.. I guess I made the assumption that a user notfound would actually imply no authorization ? That doesn't seem to be the case ? So, I did the following... authorize { ldap1 { notfound = reject } ldap2 (