Re: Freeradius-Users Digest, Vol 65, Issue 8

2010-09-03 Thread t.drollin...@i-motion.de
Ich bin von Freitag den 03.09.2010 bis Freitag den 24.09.2010 nicht im Haus und kann Ihre Nachricht erst am Montag den 27.09.2010 bearbeiten. In dringenden Fällen wenden Sie sich bitte an meinen Kollegen Herrn Böhm (E-Mail: r.bo...@i-motion.de). Mit freundlichen Grüßen Tobias Drollinger -

Logging ntlm authentication

2010-09-03 Thread Sion
Hi, I've got freeradius 2.1.7 setup on a CentOS system working as an AAA server for our WPA Enterprise based wireless network with clients successfully authenticating using PEAP and TTLS. Now to my question, I've configured linelog to log certain attributes but I also want it to log either the

Re: Logging ntlm authentication

2010-09-03 Thread Alan DeKok
Sion wrote: I've got freeradius 2.1.7 setup on a CentOS system working as an AAA server for our WPA Enterprise based wireless network with clients successfully authenticating using PEAP and TTLS. Now to my question, I've configured linelog to log certain attributes but I also want it to log

Re: ..::Huntgroup Issues::..

2010-09-03 Thread Carlos Eduardo Tavares Terra
Maybe the problem is here: rad_recv: Access-Request packet from host 127.0.0.1 port 6729, id=139, length=58 User-Name = steve2 User-Password = testing *NAS-IP-Address = 192.168.2.251* NAS-Port = 10 2010/9/1 Alfonso Alejandro Reyes Jiménez con...@gmail.com

Freeradius not unescaping \ and

2010-09-03 Thread Murray Long
I have the following setup: CoovaChilli accepts user login requests and sends radius packets to freeradius freeradius then proxies the requests (based on realm) onto a second freeradius server. If I attempt a login with username A\ The first freeradius server recieves packets with UserName

Re: Logging ntlm authentication

2010-09-03 Thread Sion
On Fri, Sep 3, 2010 at 11:47 AM, Alan DeKok al...@deployingradius.com wrote: Sion wrote: I've got freeradius 2.1.7 setup on a CentOS system working as an AAA server for our WPA Enterprise based wireless network with clients successfully authenticating using PEAP and TTLS. Now to my

Re: Logging ntlm authentication

2010-09-03 Thread Alan DeKok
Sion wrote: That's what I thought, but it my linelog log it shows it being empty. The MS-CHAP-Error is in the reply. I've tried putting 'linelog' in the post-auth sections of both the default and inner-tunnel virtual servers but no joy. Am I missing something obvious here? See the

Re: Freeradius not unescaping \ and

2010-09-03 Thread Alan DeKok
Murray Long wrote: If I attempt a login with username A\ The first freeradius server recieves packets with UserName atribute = A\\ and sends a packet to the sencond radius server with username attribute = A (as reported by wireshark) Upgrade to a recent version of the server. Alan

Re: Freeradius not unescaping \ and

2010-09-03 Thread Murray Long
I am running the latest version provided by Ubuntu, 2.1.8+dfsg-1ubuntu1 Is this not considered recent? I will try 2.1.9 from the freeradius site and see how that goes. -Murray On Fri, Sep 3, 2010 at 2:03 PM, Alan DeKok al...@deployingradius.comwrote: Murray Long wrote: If I attempt a login

Problem with rlm_perl

2010-09-03 Thread Nasser Heidari
Dear Folks, I'm using a perl module to record and save clients MAC address to DB. In situations that cisco-av-pair is not included in RADIUS packet, I'm replacing it with ... Everything is working just fine in test environment but when running on production servers the recorded MAC

Problem with rlm_perl

2010-09-03 Thread Nasser Heidari
Dear Folks, Apologies for previous unwanted / half complete email, We are using a perl module to record and save clients MAC address to DB. In situations that cisco-av-pair is not included in RADIUS packet, We are replacing it with ... Everything is working just fine in test

Re: Freeradius not unescaping \ and

2010-09-03 Thread Alan DeKok
Murray Long wrote: I am running the latest version provided by Ubuntu, 2.1.8+dfsg-1ubuntu1 Is this not considered recent? I will try 2.1.9 from the freeradius site and see how that goes. Well.. it works in the current 2.1.x branch. How about posting debug logs? Alan DeKok. - List

Re: Problem with rlm_perl

2010-09-03 Thread Alan DeKok
Nasser Heidari wrote: I wanted to capture users mac address, so I've added a perl module , and after parsing cisco-av-pair attribute , I save it to DB. In normal situation everything works like a charm , but in some cases, If NAS doesn't send mac-address attribute, I expect to save a

Re: Logging ntlm authentication

2010-09-03 Thread Sion
On Fri, Sep 3, 2010 at 12:58 PM, Alan DeKok al...@deployingradius.com wrote: Sion wrote: That's what I thought, but it my linelog log it shows it being empty.  The MS-CHAP-Error is in the reply. I've tried putting 'linelog' in the post-auth sections of both the default and inner-tunnel

Re: Logging ntlm authentication

2010-09-03 Thread Alan DeKok
Sion wrote: Still no luck I'm afraid. Here's the output of radiusd -X in case it helps: Reading it helps. The MS-CHAP-Error is in the inner-tunnel virtual server. You are trying to log it in the default virtual server. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: Logging ntlm authentication

2010-09-03 Thread Sion
On Fri, Sep 3, 2010 at 3:32 PM, Alan DeKok al...@deployingradius.com wrote: Sion wrote: Still no luck I'm afraid. Here's the output of radiusd -X in case it helps:  Reading it helps.  The MS-CHAP-Error is in the inner-tunnel virtual server.  You are trying to log it in the default virtual

Best Authentication Method for Various Supplicant

2010-09-03 Thread homyang cha
Hello I am running freeradius-2.17 on CentOS-5.5 box with mysql-5.0.77 as backend and daloradius-0.9-8 as the web management. I have successfully configured an tested EAP-MD5, PEAP and PAP authentication using windows 7 as supplicant with wired 802.1x authentication (no certificates used) and NAS

Freeradius Authentication

2010-09-03 Thread jorge88
Good afternoon, I wanted to make the following question to see if someone can help me. Is it possible to configure freeradius to consult users in two different tables within the same database? Otherwise, is it possible to associate a user name to a NAS so it will not be logging in from another

Re: Logging ntlm authentication

2010-09-03 Thread Alan DeKok
Sion wrote: That was one of the first things I did after reading the debug output originally - I've got 'linelog' in the post-auth section of the inner-tunnel in addition to the default virtual server. The post-auth section of inner-tunnel isn't used, unfortunately. If I take linelog

LDAP Data Mangling

2010-09-03 Thread Kevin Ehlers
Hi, Is it possible to modify attributes returned from ldap? E.g. We're trying to do wpa-enterprise with peap-mschapv2. We store our nt hash passwords as {nthash}hash instead of {nt}hash. It looks like the mschap module doesn't auto-detect the hash-type correctly, and says that it never

Re: Logging ntlm authentication

2010-09-03 Thread Sion
On Fri, Sep 3, 2010 at 4:25 PM, Alan DeKok al...@deployingradius.com wrote: Sion wrote: That was one of the first things I did after reading the debug output originally - I've got 'linelog' in the post-auth section of the inner-tunnel in addition to the default virtual server.  The post-auth

Re: Freeradius not unescaping \ and

2010-09-03 Thread Murray Long
Ok, debug logs and config files are attached. It looks like the problem could be with rlm_perl.   as the proxying happens correctly if we disable the perl module completely. However, even with no logic happening in the perl script, additional \'s are added to the attributes. Please see the

detail configuration file: how to save lines

2010-09-03 Thread Stefan A.
I have a detail configuration file, which has several sections for different files, to be handled by different listener As the NASses are GGSNs, which are sending more than 40 attributes, I will save space on HD and will remove unneeded attributes using suppress. Do I have to put every attribute

Re: ..::Huntgroup Issues::..

2010-09-03 Thread Alfonso Alejandro Reyes Jiménez
Thanks, now its working. I was trying to authenticate with the localhost, when I tried to use the device everything works great. Thanks for your help. Regards. Alfonso. El 03/09/2010 06:18 a.m., Carlos Eduardo Tavares Terra escribió: Maybe the problem is here: rad_recv: Access-Request

..::Block username after 3 failed authentications::..

2010-09-03 Thread Alfonso Alejandro Reyes Jiménez
Hi Everyone. I was wondering if there's some way to block the brute force attack. for example block the username after 3 invalid password attempts. This could be possible? if it's possible how? Thanks in advance. Regards. Alfonso. - List info/subscribe/unsubscribe? See

Configure PEAP on FreeRadius using openssl.

2010-09-03 Thread Stephane Brodeur
Hi, I am trying to configure FreeRADIUS for the PEAP authentication method. I am using the following link to set up the FreeRADIUS server: http://wiki.freeradius.org/FreeRADIUS_Active_Directory_Integration_HOWTO This documents indicates that the file radiusd.conf should include the

Re: Best Authentication Method for Various Supplicant

2010-09-03 Thread Alexander Clouter
homyang cha homyan...@gmail.com wrote: Now my issues are: in my networks there are various kinds of OS running for supplicants. To name a few are Windows XP (SP2, SP3), Windows Vista, Windows 7, Fedora, CentOS, Ubuntu and Mac OS X. I have to configure AAA applicants systems in such a way

Re: Freeradius Authentication

2010-09-03 Thread Alan DeKok
jorge88 wrote: Is it possible to configure freeradius to consult users in two different tables within the same database? Yes. Otherwise, is it possible to associate a user name to a NAS so it will not be logging in from another NAS differently? Yes. The SQL queries are text, and

Re: LDAP Data Mangling

2010-09-03 Thread Alan DeKok
Kevin Ehlers wrote: Is it possible to modify attributes returned from ldap? E.g. We're trying to do wpa-enterprise with peap-mschapv2. We store our nt hash passwords as {nthash}hash instead of {nt}hash. It looks like the mschap module doesn't auto-detect the hash-type correctly, and says

Re: Logging ntlm authentication

2010-09-03 Thread Alan DeKok
Sion wrote: This had actually crossed my mind but I had tried testing this in the post-auth section as well. What section should I do this in? Would something like this work? update outer { MS-CHAP-Error = %{reply:MS-CHAP-Error} } You need to refer to a *list*:

Re: detail configuration file: how to save lines

2010-09-03 Thread Alan DeKok
Stefan A. wrote: I have a detail configuration file, which has several sections for different files, to be handled by different listener As the NASses are GGSNs, which are sending more than 40 attributes, I will save space on HD and will remove unneeded attributes using suppress. Do I have

Re: ..::Block username after 3 failed authentications::..

2010-09-03 Thread Alan DeKok
Alfonso Alejandro Reyes Jiménez wrote: Hi Everyone. I was wondering if there's some way to block the brute force attack. for example block the username after 3 invalid password attempts. This could be possible? if it's possible how? Store password tries in a database, and reject the

Re: ..::Block username after 3 failed authentications::..

2010-09-03 Thread Alfonso Alejandro Reyes Jiménez
Great, thanks for your advice. El 03/09/2010 04:32 p.m., Alan DeKok escribió: Alfonso Alejandro Reyes Jiménez wrote: Hi Everyone. I was wondering if there's some way to block the brute force attack. for example block the username after 3 invalid password attempts. This could be possible?

Re: Configure PEAP on FreeRadius using openssl.

2010-09-03 Thread Alan DeKok
Stephane Brodeur wrote: I am trying to configure FreeRADIUS for the PEAP authentication method. In 2.1, just install the server and start as root: radiusd -X I am using the following link to set up the FreeRADIUS server:

RE: Problem with rlm_perl

2010-09-03 Thread Nasser Heidari
I've done it in test environment , problem is that same configuration is not working in heavy load. If NAS does not send MAC address , I update request with a .. mac , but in production environment, users who does not have mac address , RADIUS request updates with a wrong MAC that