Fwd: FW: Radius server is dumping regularly

2013-02-11 Thread ramakrishna
** ** Hi I have been using FreeRadius 2.2 for a while now. Recently i have started seeing regular code dumps by RADIUS server. I have attached pstack output of three core files generated within last four days. I observed that core dump is happening consistently in rad_decode function and

freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Nandkumar Palkar
Hi freeradius not working in normal mode but working in debug mode. Please suggest. Thanks, Nand- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Dualstack NAS ignored by RADIUS server when using IPv4

2013-02-11 Thread Ondrej Famera
Hello all, I'm running freeRADIUS 2.2.0 server on dualstack machine. Some of the NAS devices that are using this server are dualstack, but they are not able to use IPv6 for communicating with RADIUS server so they use only the IPv4. Problem is that these NAS devices are rejected by RADIUS

Re: Dualstack NAS ignored by RADIUS server when using IPv4

2013-02-11 Thread Bjørn Mork
Ondrej Famera fam...@fi.muni.cz writes: freeRADIUS server: radius.example.com - IPv4: 10.0.0.1 - IPv6: 2001:a:b:c::1 NAS device: dev1.example.com - IPv4: 10.0.0.2 - IPv6: 2001:a:b:c::2 RADIUS nas table: id | nasname | shortname | type | ports |secret | community

freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Nandkumar Palkar
Hello, freeradius not working in normal mode but working in debug mode Please suggest. Thanks, Nand- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Phil Mayers
On 02/11/2013 08:57 AM, Nandkumar Palkar wrote: Hello, freeradius not working in normal mode but working in debug mode Stop that. That's the 3rd time you've posted, and this time you've hijacked someone elses thread. That's rude. - List info/subscribe/unsubscribe? See

Re: Dualstack NAS ignored by RADIUS server when using IPv4

2013-02-11 Thread Ondrej Famera
Hello Bjørn, On 02/11/2013 10:27 AM, Bjørn Mork wrote: Ondrej Famera fam...@fi.muni.cz writes: freeRADIUS server: radius.example.com - IPv4: 10.0.0.1 - IPv6: 2001:a:b:c::1 NAS device: dev1.example.com - IPv4: 10.0.0.2 - IPv6: 2001:a:b:c::2 RADIUS nas table: id | nasname

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Phil Mayers
On 02/11/2013 08:49 AM, Nandkumar Palkar wrote: Hi freeradius not working in normal mode but working in debug mode. Please suggest. Which version of FreeRADIUS? Which modules (SQL, LDAP, etc.) are you using? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread A . L . M . Buxey
Hi, freeradius not working in normal mode but working in debug mode. Please suggest. when you try running it in normal mode, what do you see in the radius log file? what permissions does the radius log file have? what happens when you try running it in non debug mode but as a

Re: Dualstack NAS ignored by RADIUS server when using IPv4

2013-02-11 Thread A . L . M . Buxey
Hi, By adding folloving to nas table it works: id | nasname | shortname | type | ports |secret | community | description |server +---+---+---++---+---+-+-- 2 | 10.0.0.2

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Nandkumar Palkar
version 2.1.10 Module - LDAP In this case debug log shows the username, but while i debug to stdout it shows no username. freeradius  -fxx -l stdout Thanks. From: Phil Mayers p.may...@imperial.ac.uk To: freeradius-users@lists.freeradius.org Sent: Monday,

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Phil Mayers
On 02/11/2013 10:11 AM, Nandkumar Palkar wrote: version 2.1.10 You should upgrade; that version has a known security bug. Module - LDAP In this case debug log shows the username, but while i debug to stdout it shows no username. freeradius -fxx -l stdout Just to be clear - when you say

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Nandkumar Palkar
Hello, Please see the debug log: (log output from command  freeradius  -fxx -l stdout) and with freeradius -X it works fine. My issue is that debug mode freeradius -X the authentication works great but once I try with normal mode it doesn't. I have checked all the permissions all are correct.

Re: FTP Error when Radius is UP

2013-02-11 Thread George Innocent
Find attached the Output. On 8 February 2013 03:44, a.l.m.bu...@lboro.ac.uk wrote: Hi, But when the Radius is DOWN ; FTP connection is successful and the plotter works too but fails when its UP. then follow the instructions. send radiusd -X output I bleieve that you've got a

Re: FW: Radius server is dumping regularly

2013-02-11 Thread ramakrishna
Hi, The core dump seems to be at the following locations. 1) - lwp# 6255 / thread# 6255 7fb40ed0 rad_decode (0, 9f90393, 7, 1, 1, a) + 290 00034274 request_pre_handler (9da9238, 0, 0, 7f969370, 0, 60b98) + 150 00036dc0 radius_handle_request (9da9238,

Re: Degradation of service when authentication fails with Windows AD

2013-02-11 Thread Antonio Alberola
If you can describe the problem you're having, in correct terminology, people might be able to make a suggestion. Be specific, about the issues, the architecture you have, what you're trying to achieve, and so on. Sorry, I will try to explain the problem better. I have a mail server where

rlm_sql_mysql driver issue

2013-02-11 Thread QASIM RAO
Hi,i am trying to configure rlm_sql_mysql driver but it is showing radisud is not working :( mysql devel is installed. [root@localhost rlm_sql_mysql]# ./configure checking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works...

Re: Dualstack NAS ignored by RADIUS server when using IPv4

2013-02-11 Thread Ondrej Famera
Hi Alan, On 02/11/2013 11:25 AM, a.l.m.bu...@lboro.ac.uk wrote: Hi, By adding folloving to nas table it works: id | nasname | shortname | type | ports |secret | community | description |server

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Phil Mayers
On 11/02/13 10:43, Nandkumar Palkar wrote: Hello, Please see the debug log: (log output from command freeradius -fxx -l stdout) and with freeradius -X it works fine. My issue is that debug mode freeradius -X the authentication works great but once I try with normal mode it doesn't. I have

Re: freeradius not working in normal mode but working in debug mode

2013-02-11 Thread Jon Spriggs
Firstly, I'd suggest not posting the same question 3 times in 1 hour. I don't have a problem with it (personally), but it's rather rude, especially on a low volume list like this. The reason it's not working is probably to do with permissions - check what user account you are running it as in

Re: Fwd: FW: Radius server is dumping regularly

2013-02-11 Thread Alan DeKok
ramakrishna wrote: I have been using FreeRadius 2.2 for a while now. Recently i have started seeing regular code dumps by RADIUS server. I have attached pstack output of three core files generated within last four days. I observed that core dump is happening consistently in rad_decode function

Re: Dualstack NAS ignored by RADIUS server when using IPv4

2013-02-11 Thread Alan DeKok
Ondrej Famera wrote: - yes, I restart RADIUS after adding/removing record from DB, but result is that only one address is resolved per hostname (so dualstack hostname get resolved only to single IPv6 address - in context of RADIUS server, regular DNS query returns both IPv4 and IPv6

Re: rlm_sql_mysql driver issue

2013-02-11 Thread Phil Mayers
On 11/02/13 11:44, QASIM RAO wrote: checking for mysql_init in -lmysqlclient_r (using mysql_config)... no checking for mysql_init in -lmysqlclient_r... no *configure: WARNING: mysql libraries not found. Use --with-mysql-lib-dir=path.* What about this is unclear? - List

Re: Degradation of service when authentication fails with Windows AD

2013-02-11 Thread Phil Mayers
On 11/02/13 11:23, Antonio Alberola wrote: When we monitored the network and one of the Windows AD we could confirm that requests from Radius don't reach the AD, because they don't leave Radius. We believe that connectivity between Radius and AD is correct, they are on the same LAN and the AD

Re: FW: Radius server is dumping regularly

2013-02-11 Thread Alan DeKok
ramakrishna wrote: Hi, The core dump seems to be at the following locations. 1) - lwp# 6255 / thread# 6255 7fb40ed0 rad_decode (0, 9f90393, 7, 1, 1, a) + 290 ... I do not have any clue why this dumping here as it is stack code. Neither do we.

Re: Degradation of service when authentication fails with Windows AD

2013-02-11 Thread Alan DeKok
Antonio Alberola wrote: I have a mail server where users are validated with local accounts (UNIX) or against a Windows AD. For this reason we use Radius. Sometimes the Radius server fails and stops authentication for everybody. In that point the logs that I sent to you appear. I need to

Re: rlm_sql_mysql driver issue

2013-02-11 Thread A . L . M . Buxey
Hi, i am trying to configure rlm_sql_mysql driver but it is showing radisud is not working :( mysql devel is installed. what OS? are you SURE that mysql-devel or mysql-dev or whatever and the mysql client libraries are actually installed? I've NEVER had a linking problem on any