Re: Accessing radwho information or accounting request from rlm_perl

2012-05-09 Thread Alan DeKok
eluna wrote: As you can see the NAS-IP-Address attributes are different, and I need a method to get the value of the accounting request because when I need to for example deauthenticate a user, i need to know what access point is is actually associated to. Any solutions or hints are very much

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread Alan DeKok
yagizozen wrote: All the information of the users that connect and dc, is stored in the db.daily file I suppose. But I can not open the file with notepad and see which user had how many seconds of active sessions. That's not how computers work. Do you open MP3s in Notepad to play them? I

Prob web wiki.freeradius.org

2012-05-09 Thread Torsten Lehmann
Hallo, http://wiki.freeradius.org/ (or faq) returns: Forbidden regards Torsten - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Alan DeKok
Torsten Lehmann wrote: http://wiki.freeradius.org/ (or faq) returns: Forbidden It works for me. We upgraded the machine, and had a few problems with editing the wiki. But it should be OK now. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: unlang fails for some strange reason...

2012-05-09 Thread Stefan Winter
Hello, noone with a hint? Stefan On 07.05.2012 11:13, Stefan Winter wrote: Hi, at a client's site, I have to some chopping off parts of User-Name, pretty straightforward, but for some reason it doesn't work (2.1.12): In inner-tunnel, authenticate, MSCHAPv2 for PEAP: authenticate {

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Thomas Glanzmann
Hello Alan, Torsten Lehmann wrote: http://wiki.freeradius.org/ (or faq) returns: Forbidden * Alan DeKok al...@deployingradius.com [2012-05-09 09:44]: It works for me. We upgraded the machine, and had a few problems with editing the wiki. But it should be OK now. for me it does not, I

Re: unlang fails for some strange reason...

2012-05-09 Thread Fajar A. Nugraha
On Wed, May 9, 2012 at 2:45 PM, Stefan Winter stefan.win...@restena.lu wrote: Hello, noone with a hint? Might not be the direct cause for your problem, but I'm pretty sure you're not supposed to put unlang blocks inside authenticate section. Or at least it's not recommended. Try moving it to

Re: unlang fails for some strange reason...

2012-05-09 Thread Alan DeKok
Stefan Winter wrote: noone with a hint? Hmm... the default return code for things in the authenticate section is reject. And the update sections just pass through the *previous* return code. You might try this as a hack: Auth-Type MS-CHAP { ok if (..) { }

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Arran Cudbard-Bell
On 9 May 2012, at 09:51, Thomas Glanzmann wrote: Hello Alan, Torsten Lehmann wrote: http://wiki.freeradius.org/ (or faq) returns: Forbidden * Alan DeKok al...@deployingradius.com [2012-05-09 09:44]: It works for me. We upgraded the machine, and had a few problems with editing the

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Fajar A. Nugraha
On Wed, May 9, 2012 at 2:51 PM, Thomas Glanzmann tho...@glanzmann.de wrote: Hello Alan, Torsten Lehmann wrote: http://wiki.freeradius.org/ (or faq)  returns: Forbidden * Alan DeKok al...@deployingradius.com [2012-05-09 09:44]: It works for me.  We upgraded the machine, and had a few

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Alberto Martínez
It works for me too. http://www.downforeveryoneorjustme.com/http://wiki.freeradius.org/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Marinko Tarlac
Works for me.. On 5/9/2012 9:39 AM, Alan DeKok wrote: Torsten Lehmann wrote: http://wiki.freeradius.org/ (or faq) returns: Forbidden It works for me. We upgraded the machine, and had a few problems with editing the wiki. But it should be OK now. Alan DeKok. - List

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Thomas Glanzmann
Hello everyone, * Thomas Glanzmann tho...@glanzmann.de [2012-05-09 09:58]: for me it does not, I still have the problem. If you want I can record the problem for you as flash video. I'm using github to authenticate. I have problem editing the page, accessing is fine. But Arran seems to fix

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread yagizozen
Thank you Alan, I couldnt find that perl file in my machine. Is there any way to see the content of db.daily with the use of any program in the windows environment so that I can copy the file to my windows and use that tool to look inside. -- View this message in context:

Re: unlang fails for some strange reason...

2012-05-09 Thread Stefan Winter
Hi, yet another subtlety I didn't know of... I'm checking with my client whether either moving it to authorize or putting the ok in front will do the trick. I'll let the list know of the outcome so that the collective list intelligence a.k.a. archive will have the answer for later. Thanks,

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread Fajar A. Nugraha
On Wed, May 9, 2012 at 3:54 PM, yagizozen yagizo...@yahoo.com wrote: Thank you Alan, I couldnt find that perl file in my machine. Is there any way to see the content of db.daily with the use of any program in the windows environment so that I can copy the file to my windows and use that tool

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread Fajar A. Nugraha
On Wed, May 9, 2012 at 3:54 PM, yagizozen yagizo...@yahoo.com wrote: Thank you Alan, I couldnt find that perl file in my machine. It's available on FR source code, as mentioned already by Alan: http://freeradius.org/download.html Or read the latest development version directly from github:

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread Alan DeKok
yagizozen wrote: I couldnt find that perl file in my machine. That's not a good response. The file is distributed with FreeRADIUS. Go look in the FreeRADIUS distribution archive for it. Is there any way to see the content of db.daily with the use of any program in the windows

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Arran Cudbard-Bell
On 9 May 2012, at 10:30, Thomas Glanzmann wrote: Hello everyone, * Thomas Glanzmann tho...@glanzmann.de [2012-05-09 09:58]: for me it does not, I still have the problem. If you want I can record the problem for you as flash video. I'm using github to authenticate. I have problem editing

Synchronous + Asynchronous proxying

2012-05-09 Thread mimir
Hello, According to proxy.conf asynchronous configuration is disabled. I want to manage the realms by setting parameter synchronous or asynchronous, means that switch the configuration each other. Asynchronous is needed to queue the accounting packages, retransmission etc. Do you have any comment

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread yagizozen
You are right Sir, I could not find it in my server because it didnt installed I guess when I install FR with yum install freeradius2 freeradius2-utils -- View this message in context: http://freeradius.1045715.n5.nabble.com/Session-Timeout-Monitoring-from-db-daily-tp5693089p5697104.html Sent

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread yagizozen
I do not have the modules folder under /usr/src. How can I install the modules folder to my machine but do not change any other file contents under /etc or /var/log/radius -- View this message in context:

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread Alan DeKok
mimir wrote: According to proxy.conf asynchronous configuration is disabled. I want to manage the realms by setting parameter synchronous or asynchronous, means that switch the configuration each other. Asynchronous is needed to queue the accounting packages, retransmission etc. Do you have

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread Alan DeKok
yagizozen wrote: I do not have the modules folder under /usr/src. How can I install the modules folder to my machine but do not change any other file contents under /etc or /var/log/radius Download the tar file from our FTP site. See http://www.freeradius.org/ Or, read the link that

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread mimir
We want radius support both modes and update realms configuration as sync/async. I think in asyncron mode we can send/proxy accounting packets in a period not instantly. Because of this, we want to use async mode. -- View this message in context:

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread John Dennis
On 05/09/2012 07:17 AM, yagizozen wrote: You are right Sir, I could not find it in my server because it didnt installed I guess when I install FR with yum install freeradius2 freeradius2-utils The reason the rad_counter.pl is only in a source distribution is because it's not installed via

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread Fajar A. Nugraha
On Wed, May 9, 2012 at 7:13 PM, mimir erdem.mimiro...@alcatel-lucent.com wrote: We want radius support both modes and update realms configuration as sync/async. I think in asyncron mode we can send/proxy accounting packets in a period not instantly. Because of this, we want to use async mode.

SNMP capabilities

2012-05-09 Thread mimir
Hello, According to the document, freeradius supports SNMP and can send snmp trap. But, when I check the MIBs, I could not find event based definitions. According to my scenario, I want to send trap, For example 1-) When one of fail-server is dead ( with clear live also) 2-) When one of

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread Alan DeKok
John Dennis wrote: The reason the rad_counter.pl is only in a source distribution is because it's not installed via the install target in the Makefile. If rad_counter.pl is meant to be a user utility it should be installed as part of make install. That's probably a good idea. I'll go add

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread Alan DeKok
mimir wrote: We want radius support both modes and update realms configuration as sync/async. You already said that. Saying it again doesn't help. I think in asyncron mode we can send/proxy accounting packets in a period not instantly. What does that mean? Because of this, we want to

Re: SNMP capabilities

2012-05-09 Thread Alan DeKok
mimir wrote: According to the document, freeradius supports SNMP and can send snmp trap. Which document? But, when I check the MIBs, I could not find event based definitions. See the mibs directory in the git master branch. According to my scenario, I want to send trap, For example

Re: unlang fails for some strange reason...

2012-05-09 Thread Stefan Winter
Hi, both methods worked: moving into authorize (but after calling the suffix module, which sets Stripped-User-Name), and also the ok hack in authenticate. We chose to move to authorize, as it's more easily understandable. Thanks for the help! Greetings, Stefan Winter On 09.05.2012 11:17,

Re: Session-Timeout Monitoring from db.daily

2012-05-09 Thread yagizozen
helloo everyone, I manage to do it finally :) THANK YOU Very much -- View this message in context: http://freeradius.1045715.n5.nabble.com/Session-Timeout-Monitoring-from-db-daily-tp5693089p5697405.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread mimir
Hello, In general I can accounting packets to multiple servers from one radius servers. I set a solution with replicate module + one by one proxy configuration. ( because I want to see some logs regarding home servers) I do not know very well how radius behaves in sync and async mode? But I

Re: SNMP capabilities

2012-05-09 Thread mimir
Sorry Alan, not document, according to web site native snmp support is supported. Am I right? I am not a developer so checking source code is diffiucult/different for me. I asked if we can send snmp traps to NMS systems if any type of failure, unsuccessful proxy message etc. Is it possible or

RE: Prob web wiki.freeradius.org

2012-05-09 Thread Steven Staples
Hello Alan, Torsten Lehmann wrote: http://wiki.freeradius.org/ (or faq) returns: Forbidden * Alan DeKok al...@deployingradius.com [2012-05-09 09:44]: It works for me. We upgraded the machine, and had a few problems with editing the wiki. But it should be OK now. for me it

Re: SNMP capabilities

2012-05-09 Thread Alan DeKok
mimir wrote: Sorry Alan, not document, according to web site native snmp support is supported. Am I right? Yes. But you asked about *traps*. Please use consistent terminology. Traps are not supported in 2.1.12. I am not a developer so checking source code is diffiucult/different for

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread Alan DeKok
mimir wrote: In general I can accounting packets to multiple servers from one radius servers. Stop repeating that. I understand it already. I set a solution with replicate module + one by one proxy configuration. ( because I want to see some logs regarding home servers) I do not know

Re: Prob web wiki.freeradius.org

2012-05-09 Thread Alan DeKok
Steven Staples wrote: I hate to jump on the me too bandwagon, but it is still also down for me, with a 403 Forbidden code. As Arran said, he's in the process of fixing it. Please hold. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: mySQL user wifi authentication error on freeradius

2012-05-09 Thread xadow20
Hi! here is de debug. FreeRADIUS Version 2.1.8, for host i486-pc-linux-gnu, built on Jan 5 2010 at 02:49:11 Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute

Re: mySQL user wifi authentication error on freeradius

2012-05-09 Thread xadow20
Hi! here is de debug. FreeRADIUS Version 2.1.8, for host i486-pc-linux-gnu, built on Jan 5 2010 at 02:49:11 Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute

Re: mySQL user wifi authentication error on freeradius

2012-05-09 Thread Alan DeKok
xadow20 wrote: Hi! here is de debug. Nope. It doesn't show the server receiving any packets. Post the debug output for THAT. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: mySQL user wifi authentication error on freeradius

2012-05-09 Thread xadow20
I can't post all debug http://freeradius.1045715.n5.nabble.com/file/n5697736/debug2.txt debug2.txt -- View this message in context: http://freeradius.1045715.n5.nabble.com/mySQL-user-wifi-authentication-error-on-freeradius-tp5693432p5697736.html Sent from the FreeRadius - User mailing list

Re: mySQL user wifi authentication error on freeradius

2012-05-09 Thread Fajar A. Nugraha
On Wed, May 9, 2012 at 10:39 PM, xadow20 joaofigueired...@gmail.com wrote: I can't post all debug http://freeradius.1045715.n5.nabble.com/file/n5697736/debug2.txt debug2.txt What do you get if you execute this query directly on your db? SELECT id, username, attribute, value, op FROM

Re: mySQL user wifi authentication error on freeradius

2012-05-09 Thread xadow20
Hi! With clear-text password it works. I Thought it work with encripted password too. Thanks -- View this message in context: http://freeradius.1045715.n5.nabble.com/mySQL-user-wifi-authentication-error-on-freeradius-tp5693432p5698103.html Sent from the FreeRadius - User mailing list archive at

Re: Accessing attribute in control list

2012-05-09 Thread Mike
Can anyone provide an answer? I have spent much time trying to make this work, trying different things so if its not possible please let me know. On 2012-05-08, at 5:05 PM, Mike lonetravel...@gmail.com wrote: Hi guys, I am setting an attribute in the auth section of my config . I am

Minor update glitch in FR 2.1.12 rpm (CentOS/RH)

2012-05-09 Thread up
Just an FYI (sorry if this has already been covered): If you update FR via yum in CentOS or RedHat, as is usual practice with RPMs, conf files that have been modified are not overwritten, so the new version is installed with an .rpmnew suffix. This works great for most of the config files, but

Re: FreeRadius 2.1.12: radclient without coa

2012-05-09 Thread Treusch Thorsten
Hi Alan, thanks for your reply but as far as i know nobody as edited our version of radclient ?! It was just a clean install done by one of my colleagues. And when he installed it the only purpose of freeradius was for authentication. We didn't even think about using CoA. When you say edited,

Re: Accessing attribute in control list

2012-05-09 Thread alan buxey
Hi, Can anyone provide an answer? I have spent much time trying to make this work, trying different things so if its not possible please let me know. we all have our day jobs to do i cant seem to find the original email regarding thishave you looked at the debug log to see what is

Re: FreeRadius 2.1.12: radclient without coa

2012-05-09 Thread alan buxey
Hi, thanks for your reply but as far as i know nobody as edited our version of radclient ?! do yoi have multiple copies ont he server - ie do you have it installed via an RPM install (for example) of an old verion of freeradius what does 'which radclient' tell you and what does eg 'locate

Re: Minor update glitch in FR 2.1.12 rpm (CentOS/RH)

2012-05-09 Thread John Dennis
On 05/09/2012 02:53 PM, u...@3.am wrote: Just an FYI (sorry if this has already been covered): Ad nauseam, check the archives which also includes suggestions to mitigate the issue. If you update FR via yum in CentOS or RedHat, as is usual practice with RPMs, conf files that have been