Re: [ANN] Version 3.0.0-rc0

2013-07-12 Thread Doug Hardie
On 11 July 2013, at 15:24, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 11 Jul 2013, at 22:39, Doug Hardie bc...@lafn.org wrote: On 11 July 2013, at 06:09, Fajar A. Nugraha l...@fajar.net wrote: On Thu, Jul 11, 2013 at 7:28 PM, Arran Cudbard-Bell a.cudba...@freeradius.org

Re: [ANN] Version 3.0.0-rc0

2013-07-11 Thread Doug Hardie
On 11 July 2013, at 06:09, Fajar A. Nugraha l...@fajar.net wrote: On Thu, Jul 11, 2013 at 7:28 PM, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: We are now in feature freeze for 3.0. The configuration format and behaviour for 3.0 will be stable between now and the final release.

Re: Wiki Links

2012-09-03 Thread Doug Hardie
On 2 September 2012, at 23:32, Alan DeKok wrote: Doug Hardie wrote: I was going to fix the modules pages, but my account no longer works. Id used to be wa6vvv. Those accounts were deleted about a year ago. The Wiki moved to a new machine, and was upgraded substantially. You'll

Re: Wiki Links

2012-09-02 Thread Doug Hardie
I was going to fix the modules pages, but my account no longer works. Id used to be wa6vvv. On 2 September 2012, at 15:05, Arran Cudbard-Bell wrote: Hi All, The gollum maintainers found a serious security issue, and informed us that we should upgrade the wikis ASAP. I've now done the

Re: Problem with crypt passwords matching

2012-08-15 Thread Doug Hardie
On 15 August 2012, at 14:23, Fajar A. Nugraha wrote: On Thu, Aug 16, 2012 at 3:40 AM, Robert Haskins robert.hask...@gmail.com wrote: I get a reject, even though the crypt'd passwords match! That's not how crypt works. You don't compare the crypted password. [pap] login attempt with

Re: Cant Start Radius Server MAC OSX (snow leopard)

2011-08-14 Thread Doug Hardie
The root user in OS-X is not easily accessible. Its there, just like in FreeBSD, but you can't login or su to it normally. You can activate the root password (there are instructions on the web) then you can su to it and start things. However, the most common approach is to use sudo. The

Re: debug only for rlm_xxx (rlm_perl)

2010-03-17 Thread Doug Hardie
computed is not used On Thu, 11 Mar 2010 11:35:24 -0800, Doug Hardie bc...@lafn.org wrote: On 11 March 2010, at 03:43, bi...@antworte.me bi...@antworte.me wrote: Hello list, is there an option in radiusd.conf how to enable debug logging only for several rlm_modules, e.g. I have

Re: debug only for rlm_xxx (rlm_perl)

2010-03-11 Thread Doug Hardie
On 11 March 2010, at 03:43, bi...@antworte.me bi...@antworte.me wrote: Hello list, is there an option in radiusd.conf how to enable debug logging only for several rlm_modules, e.g. I have rlm_perl and I only want debug messages for this. Thanks for your reply in advance. It can be

Re: Wiki

2010-03-03 Thread Doug Hardie
Works now. Update to instantiate description is now there. Thanks. On 3 March 2010, at 07:19, Peter Nixon wrote: On Sun 28 Feb 2010, Doug Hardie wrote: A week ago I tried to update the wiki to correct an interpretation error that was pointed out by one of the freeradius users. I can log

Wiki

2010-02-28 Thread Doug Hardie
A week ago I tried to update the wiki to correct an interpretation error that was pointed out by one of the freeradius users. I can log into the wiki fine, but even though the save says the update was saved, it is not. I then posted the necessary change here and nothing has happened. Has the

Re: Wiki

2010-02-28 Thread Doug Hardie
Subject: Re: Wiki Doug Hardie wrote: A week ago I tried to update the wiki to correct an interpretation error that was pointed out by one of the freeradius users. I can log into the wiki fine, but even though the save says the update was saved, it is not. I then posted the necessary change

Re: modules instantiation

2010-02-22 Thread Doug Hardie
I tried to correct the wiki's description but was not able to do so. I can log in fine and it says I can edit the file. However, after making the changes save just gives a blank screen and the changes never appear in the text. In the modules2 file change: The xxx_instantiate module is

Re: modules instantiation

2010-02-19 Thread Doug Hardie
On 19 February 2010, at 15:24, Latha Krishnamurthi wrote: I am using the free radius 2.1.3. I have a module rlm_xxx and have initialized it as thread safe. I have configured the start_servers as 3. The issue I am having is as follows. I see that a new instance is getting created when

Re: modules instantiation

2010-02-19 Thread Doug Hardie
was not aware of. I suspect thats the way you need to go. Thanks in advance LK --- On Fri, 2/19/10, Doug Hardie bc...@lafn.org wrote: From: Doug Hardie bc...@lafn.org Subject: Re: modules instantiation To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Date

Re: custom module not found

2009-09-18 Thread Doug Hardie
On 18 September 2009, at 13:32, James Devine wrote: I have a custom module that I am having problems getting loaded. It works fine on a freebsd machine, I just built 2.1.6 on an ubuntu machine, which appears to put the modules in /usr/local/lib, so I built the custom module and added it to

Re: invoke userdefine module

2009-08-24 Thread Doug Hardie
See http://wiki.freeradius.org/Modules2 On 23 August 2009, at 23:45, shivashankar wrote: hi, i installed freeradius2.1.6 i added one user define module .. but i need to invoke this module..to test username and password. could u plz let me know how to invoke that userdefine module

Re: freeradius2.1.6 module errors

2009-08-11 Thread Doug Hardie
On 11 August 2009, at 06:54, ramesh p wrote: Am doing it correctly? Please suggest? Obviously not since FreeRADIUS is telling you it doesn't understant the Acct-Type of Ignore. I suspect you are not getting a good answer is that I (for one) do not understand what you are trying to

Re: howto pstack running freeradius process

2009-07-24 Thread Doug Hardie
On 23 July 2009, at 22:53, George Chelidze wrote: On Thu, 2009-07-23 at 22:27 -0700, Doug Hardie wrote: On 23 July 2009, at 22:09, George Chelidze wrote: On Thu, 2009-07-23 at 16:10 +0200, Alan DeKok wrote: George Chelidze wrote: Hello, I am investigating one issue with freeradius 2.1.6

Re: howto pstack running freeradius process

2009-07-23 Thread Doug Hardie
On 23 July 2009, at 22:09, George Chelidze wrote: On Thu, 2009-07-23 at 16:10 +0200, Alan DeKok wrote: George Chelidze wrote: Hello, I am investigating one issue with freeradius 2.1.6 custom module and would like to get a stack trace of running process. This is a local OS issue. It has

Re: how to add new modules(like java) to freeradius

2009-07-19 Thread Doug Hardie
http://wiki.freeradius.org/Modules2 On 19 July 2009, at 22:25, shivashankar wrote: hi all, how to add new modules(like java) to freeradius2.1.6 with simple java module .. plz help me out. thax for advace -- View this message in context:

Re: 1.x to 2.x Upgrade Howto available?

2009-06-22 Thread Doug Hardie
On 22 June 2009, at 10:41, John Kane wrote: Is there a 'howto' on upgrade from Freeradius 1.x to 2.x, one that lists what configs were moved where, etc. that would allow a person to do the upgrade as smoothly and quickly as possible (I can't seem to find one). One place that really

Re: rlm_exec wiki

2009-06-15 Thread Doug Hardie
On 15 June 2009, at 14:41, a.l.m.bu...@lboro.ac.uk wrote: Hi, (grin), but of course, if I want to write for the wiki, I'm going to have to install the latest release, to be sure what I write is valid for the most current context. Fortunately I have a test box for stuff like this. :)

Re: PAP password

2009-05-13 Thread Doug Hardie
On 13 May 2009, at 02:10, Ivan Kalik wrote: On 12 May 2009, at 13:29, Doug Hardie wrote: V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and suffixes

Re: PAP password

2009-05-13 Thread Doug Hardie
On 13 May 2009, at 11:07, a.l.m.bu...@lboro.ac.uk wrote: Hi, DEFAULT User-Name =~ DUN[+]([...@]+)@* User-Name := %{1}, Hint = NationalSS1 DEFAULT User-Name =~ dun[+]([...@]+)@* User-Name := %{1}, Hint = NationalSS2 and so on. This works but might be a bit kludgy. At

PAP password

2009-05-12 Thread Doug Hardie
V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and suffixes e.g., DUB+user_id@lafn. PAP is trying to find the user_id DUB+user_id@lafn rather than

Re: PAP password

2009-05-12 Thread Doug Hardie
On 12 May 2009, at 13:29, Doug Hardie wrote: V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and suffixes e.g., DUB+user_id@lafn. PAP is trying

Re: PAP password

2009-05-12 Thread Doug Hardie
On 12 May 2009, at 20:28, Doug Hardie wrote: On 12 May 2009, at 13:29, Doug Hardie wrote: V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes

Re: freeradius upgrade help

2009-04-30 Thread Doug Hardie
On 30 April 2009, at 06:21, Ivan Kalik wrote: Appreciate if some one can please forward any docs/details about the upgrade from old freeradius version 1.1.6 to 2.1.4 in linux. All the information is right there - in the configuration files. If parts of radiusd.conf have been moved

Re: autostart script for FreeRADIUS

2009-03-29 Thread Doug Hardie
On Mar 29, 2009, at 18:16, Tseveendorj wrote: Hello, I was installed FreeRADIUS 2.1.3 on FreeBSD 6.4 . I want FreeRADIUS comes up when the system is rebooting. Did you add to /etc/rc.conf: radiusd_enable=YES radiusd_flags=-y I am not sure about the flags for that version. The -y is

Re: autostart script for FreeRADIUS

2009-03-29 Thread Doug Hardie
On Mar 29, 2009, at 20:10, Tseveendorj wrote: May be I got the problem why radiusd didn't come up. I found following error in the radiusd.log Fri Mar 27 20:09:43 2009 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Fri Mar 27 20:09:43 2009 : Info:

Re: Conversion to Version 2

2009-03-09 Thread Doug Hardie
I finally got a chance to try to update the Wiki again. It worked fine today. Anyway, there are now instructions for creating modules for both Version 1 and Version 2. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Conversion to Version 2

2009-03-02 Thread Doug Hardie
I am unable to update the Wiki. It says I am blocked by aland. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Conversion to Version 2

2009-02-28 Thread Doug Hardie
On Feb 27, 2009, at 21:34, Alan DeKok wrote: Doug Hardie wrote: Thanks. Those are pretty obtuse comments. I finally figured out by trial and error you have to create those two sections as they are not in the file. No. From raddb/sites-available/README: The virtual servers do

Re: Conversion to Version 2

2009-02-27 Thread Doug Hardie
I finally figured out how to compile the module. Its actually quite simple once you figure out the new structure. The problem I still have is how to incorporate that into the new conf file. There used to be authorize and accounting sections that listed the modules. I can't find where

Re: Conversion to Version 2

2009-02-27 Thread Doug Hardie
On Feb 27, 2009, at 16:05, t...@kalik.net wrote: I finally figured out how to compile the module. Its actually quite simple once you figure out the new structure. The problem I still have is how to incorporate that into the new conf file. There used to be authorize and accounting sections

Re: Conversion to Version 2

2009-02-26 Thread Doug Hardie
On Oct 6, 2008, at 02:22, Alan DeKok wrote: Doug Hardie wrote: Thats not that big a deal as for the basic stuff, the code is quite straight forward. However, the bigger issue is for modules. The wiki page is still completely oriented towards version 1 as I have never tried version 2

Re: Conversion to Version 2

2009-02-26 Thread Doug Hardie
On Feb 26, 2009, at 21:52, Alan DeKok wrote: Doug Hardie wrote: Is there still a way to compile the module away from the freeradius source structure like there was for version 1? That was difficult to do in version 1. It should be a lot easier now, as all of the include files have been

Re: Conversion to Version 2

2008-10-06 Thread Doug Hardie
On Oct 6, 2008, at 01:07, [EMAIL PROTECTED] wrote: Hi, No question about that. I read about all the new authentication features and its amazing how anyone can keep up with all that stuff. However, if converting my modules is going to be a big deal, I don't see any real advantage. it

Conversion to Version 2

2008-10-05 Thread Doug Hardie
I have been using FreeRadius 1.x for a number of years. It has worked just fine. All I am using it for is to authenticate and authorize dial-in users (its about as simple as you can get). The only unusual item is I have a couple of fairly complex modules for authorization and

Re: Conversion to Version 2

2008-10-05 Thread Doug Hardie
On Oct 5, 2008, at 13:27, [EMAIL PROTECTED] wrote: Hi, I have been using FreeRadius 1.x for a number of years. It has worked just fine. All I am using it for is to authenticate and authorize dial-in users (its about as simple as you can get). The only unusual item is I have a couple of

Re: rlm_exec use

2008-03-19 Thread Doug Hardie
On Mar 19, 2008, at 11:34, T Kid82 wrote: You have put significant effort into butchering the default configuration. Why? I got this from the comments in exec-program-wait (which has been deprecated) where it explains how to use rlm_exec. It says, An entry for the module 'rlm_exec' must be

Re: Debugging RLM modules

2008-02-02 Thread Doug Hardie
On Feb 2, 2008, at 01:14, Alan DeKok wrote: Ali Majdzadeh wrote: Is there any way to debug an RLM module using gdb? Yes. The modules are just shared libraries. See the gdb manual for how to deal with shared libraries. Some additional info may be helpful. You can attach to a running

Re: [newbie] radutmp question

2007-09-23 Thread Doug Hardie
On Sep 23, 2007, at 11:23, Cheng-Lin Yang wrote: Hi all, I have encountered a problem with radutmp. The information of my environment is a vpn service and auth with freeradius 1.1.7. The problem happened as below: 1. start up the radiusd 2. user abc connect to vpn, and I can use radwho to see

Re: Authorization in RADIUS, Authorization in freeradius

2007-09-02 Thread Doug Hardie
On Sep 2, 2007, at 08:52, George Beitis wrote: Do you know of any products that can be used with freeradius to provide such authorization facilities? Using perhaps policies? I have a number of authorization policies implemented using FreeRadius. I have a module that implements those

Re: conflict with other services?

2007-07-20 Thread Doug Hardie
On Jul 20, 2007, at 12:55, Hugh Messenger wrote: If it makes any difference, I run radiusd in –X mode, because it crashes when running as a service (valgrind showed Bad Things happening). While that may not be all of the issues, debug mode uses a lot of disk I/O. You might be getting

Re: Build a custom module

2007-07-04 Thread Doug Hardie
On Jul 4, 2007, at 00:15, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I use the makefile from the wiki, it includes -DNDEBUG. If I build freeradius and install on a fresh netinst Debian (without freeradius), my module works fine. But if I build only the module and use with a preinstalled

Re: Build a custom module

2007-07-03 Thread Doug Hardie
On Jul 3, 2007, at 07:25, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello! I am developing a custom module for Debian 4.0 with preinstalled FreeRADIUS 1.1.3, but if I build and install my module I get a segmentation fault. Is there a way to build a custom module, and use it with a

Re: Wiki

2007-05-28 Thread Doug Hardie
Done On May 28, 2007, at 03:50, Arran Cudbard-Bell wrote: I was hoping for that type of page go in the Examples section. Perhaps Cookbook might be a better name for the section. Ok , would you mind changing the section name ? Then i'll start adding a few recipes. - List

Re: Wiki

2007-05-27 Thread Doug Hardie
On May 27, 2007, at 02:49, Arran Cudbard-Bell wrote: Alan Dekok wrote: Doug Hardie wrote: I should be done with the front page. Some of the lower pages may need some tweaking. The information is all there, but perhaps it could use some more explanation. I'll need to think about

Re: FreeRadius crash

2007-05-25 Thread Doug Hardie
On May 25, 2007, at 01:24, Alan Dekok wrote: Doug Hardie wrote: I am completely unable to replicate this situation on my test system. I can run thousands of requests via multiple radclients without any problems. I can drive the test system to overload and other than responses slow down

Re: FreeRadius crash

2007-05-25 Thread Doug Hardie
On May 25, 2007, at 01:24, Alan Dekok wrote: Doug Hardie wrote: I am completely unable to replicate this situation on my test system. I can run thousands of requests via multiple radclients without any problems. I can drive the test system to overload and other than responses slow down

Re: FreeRadius crash

2007-05-25 Thread Doug Hardie
I think I may have found the cause of my crashes. One of the proxy servers or NASs is occasionally sending me an incorrectly formatted authentication request. I have not been able to capture the entire packet yet but I did manage to log part of the last one just as the crash occurred and

Wiki

2007-05-24 Thread Doug Hardie
On Sun 20 May 2007, Doug Hardie wrote: I am having problems finding the way to get from the main Wiki page to the configuration information. The pages are there. When I search for something they are found. I just can't figure out how you are supposed to link to them from the main page

Re: FreeRadius crash

2007-05-22 Thread Doug Hardie
On May 8, 2007, at 00:49, Alan DeKok wrote: Doug Hardie wrote: FreeRadius 1.1.2 on FreeBSD 6.1 using libpthread. Upgrade to 1.1.6. It has a lot of fixes that may help. It looks like it's crashing when starting a new child thread. That may be a pthread issue in the underlying

Re: Wiki

2007-05-21 Thread Doug Hardie
On May 21, 2007, at 00:23, Alan Dekok wrote: Doug Hardie wrote: I would be glad to. Is there a plan? Is there a listing of the various pages? I couldn't find either. There's no plan. There's no listing of various pages, unfortunately. Well, then I can't botch it up too bad. I

Wiki

2007-05-20 Thread Doug Hardie
I am having problems finding the way to get from the main Wiki page to the configuration information. The pages are there. When I search for something they are found. I just can't figure out how you are supposed to link to them from the main page. For example the modules page does

Re: Wiki

2007-05-20 Thread Doug Hardie
On May 20, 2007, at 16:56, Peter Nixon wrote: On Sun 20 May 2007, Doug Hardie wrote: I am having problems finding the way to get from the main Wiki page to the configuration information. The pages are there. When I search for something they are found. I just can't figure out how you

Re: FreeRadius crash

2007-05-19 Thread Doug Hardie
On May 8, 2007, at 00:49, Alan DeKok wrote: Doug Hardie wrote: FreeRadius 1.1.2 on FreeBSD 6.1 using libpthread. Upgrade to 1.1.6. It has a lot of fixes that may help. It looks like it's crashing when starting a new child thread. That may be a pthread issue in the underlying

Re: FreeRadius crash

2007-05-19 Thread Doug Hardie
On May 19, 2007, at 16:34, David Wood wrote: Hi Doug and everyone, In message [EMAIL PROTECTED], Doug Hardie [EMAIL PROTECTED] writes On May 8, 2007, at 00:49, Alan DeKok wrote: Doug Hardie wrote: FreeRadius 1.1.2 on FreeBSD 6.1 using libpthread. Upgrade to 1.1.6. It has a lot

Re: FreeRadius crash

2007-05-19 Thread Doug Hardie
On May 19, 2007, at 17:27, Doug Hardie wrote: One thing I just noticed. The following is in radiusd.conf: thread pool { start_servers = 5 max_servers = 32 min_spare_servers = 3 max_spare_servers = 10 max_requests_per_server = 0 } However

Re: FreeRadius crash

2007-05-11 Thread Doug Hardie
On May 8, 2007, at 00:49, Alan DeKok wrote: Doug Hardie wrote: FreeRadius 1.1.2 on FreeBSD 6.1 using libpthread. Upgrade to 1.1.6. It has a lot of fixes that may help. It looks like it's crashing when starting a new child thread. That may be a pthread issue in the underlying

Re: FreeRadius crash

2007-05-08 Thread Doug Hardie
On May 8, 2007, at 00:49, Alan DeKok wrote: Doug Hardie wrote: FreeRadius 1.1.2 on FreeBSD 6.1 using libpthread. Upgrade to 1.1.6. It has a lot of fixes that may help. It looks like it's crashing when starting a new child thread. That may be a pthread issue in the underlying

FreeRadius crash

2007-05-07 Thread Doug Hardie
I am encountering an infrequent problem where FreeRadius crashes about once a week on a fairly busy server. I have a primary and secondary authentication server and just a primary accounting server. Both the primary and secondary crash at the same time (well the secondary is about 30

Re: Failed to link to module rlm_name : file not found

2007-03-26 Thread Doug Hardie
On Mar 26, 2007, at 19:35, lishuai zhao wrote: Hi, everyone: I added a new module named rlm_name to FreeRADIUS and produced makefile as rlm_example, also I add rlm_name to src/modules/stable. When I do ./configure; make; make install, all the process are sucessful. If I do

Re: FreeRADIUS user Survey

2006-10-05 Thread Doug Hardie
On Oct 5, 2006, at 14:12, King, Michael wrote: Still a 404 -Original Message- From: [EMAIL PROTECTED] [mailto:freeradius-users-bounces [EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: Thursday, October 05, 2006 3:59 PM To: FreeRadius users mailing list Subject: Re: FreeRADIUS user

Multiple prefixes and suffixes in hints

2006-09-09 Thread Doug Hardie
I don't see anything in the docs, but is it possible to have hints entries that distinguish between: userid xx+userid [EMAIL PROTECTED] [EMAIL PROTECTED] Such that a different hint is given for each of the above forms. The first 3 are easy. The last one is the issue. I am guessing that

Proxy IP Address

2006-09-02 Thread Doug Hardie
I have a situation where all my authentication requests are proxied to me. I have 4 different groups of users that require unique local polieies and have been using a fairly complicated parsing of the Called ID phone number and a couple other fields to figure out which group a request is

Re: Proxy IP Address

2006-09-02 Thread Doug Hardie
On Sep 2, 2006, at 11:44, Alan DeKok wrote: Doug Hardie [EMAIL PROTECTED] wrote: It would be real easy to distinguish the group from the IP address that the proxy request is being sent from. However, I have not been able to find a variable that contains that information. Have I missed

Re: Access to wiki?

2006-08-07 Thread Doug Hardie
On Aug 7, 2006, at 14:20, Peter Nixon wrote: On Fri 04 Aug 2006 18:35, John Horne wrote: Hello, Is there a problem with the freeradius wiki (http://wiki.freeradius.org)? I am trying to sort out a problem and came across a reference to the wiki page. However my browser just sits there

Re: Regarding adding a module

2006-08-05 Thread Doug Hardie
On Aug 5, 2006, at 01:24, Ravi S M wrote: Hi I wanted to add our own module for free radius code on Solaris box. So please through some light on this. There used to be a fairly thorough writeup on that on the freeradius wiki - http://wiki.freeradius.org/. However, I can't seem to

Re: Version 1.1.1 stops responding

2006-04-09 Thread Doug Hardie
On Apr 9, 2006, at 17:46, Alan DeKok wrote: Duane Cox [EMAIL PROTECTED] wrote: I have 2 servers with identical hardware/software configs. Both servers hang at the same time. stopping/starting the daemon doesn't resolve the issue, rebooting the box does. That's fairly bad. I'm not

Re: Creating a New Module

2006-03-28 Thread Doug Hardie
On Mar 28, 2006, at 10:55, Michael Nguyen wrote: Hey guys, I'm looking at this nifty FreeRadius package and I'd like to quickly write a simple XML-RPC module for FreeRadius. I'm looking at the other modules and I'm wondering which one you guys would recommend that I mimic. I just want

Re: opening sockets in modules

2006-03-28 Thread Doug Hardie
On Mar 28, 2006, at 22:08, radhika putty wrote: Hi.. Are we allowed to open sockets inside a module and communicate with other programs. If not then how else can we communicate with other network programs.. I can't see why not. I have one module that I tested that used pipes to move

Re: dynamic module installation

2006-03-23 Thread Doug Hardie
On Mar 22, 2006, at 10:15, Alan DeKok wrote: jasonatx0001 [EMAIL PROTECTED] wrote: Is it possible to dynamically install a new module ? i.e. configure/make/install radius then compile a new module seperately and move its .so to the lib directory ? Yes. That's the intent behind the

Re: dynamic module installation

2006-03-23 Thread Doug Hardie
On Mar 23, 2006, at 08:07, jasonatx0001 wrote: yes it can. I simply built my module with gcc as a dynamic library. Just be sure to use the same compiler flags that were used to build the freeradius sever - for example I was experiencing problems until I added the NDEBUG flag. After I

Re: problems with freeradius 1.0.5

2005-12-15 Thread Doug Hardie
On Dec 15, 2005, at 05:42, Riccardo Veraldi wrote: hell oI upgraded from freeradius 1.0.2 to 1.0.5 and nothing works anymore I have this error: radiusd.conf[1682] Unknown Auth-Type Pam in authenticate section. commenting out pam thne I Got this radiusd.conf[1682] Unknown Auth-Type System

Re: Signal 10

2005-12-10 Thread Doug Hardie
On Dec 9, 2005, at 00:00, Doug Hardie wrote: Well, it finally happened again. This is the packet with the same timestamp as the signal 10 message. There is no response to it. I haven't decoded it completely yet, but it appears that the user id is corrupt. I wonder if something

Re: Signal 10

2005-12-09 Thread Doug Hardie
On Dec 5, 2005, at 14:31, Alan DeKok wrote: Doug Hardie [EMAIL PROTECTED] wrote: I have a primary and backup freeradius server running on different machines. For the last couple days they have both been receiving a signal 10 at almost the same time. Signal 10 is SIGBUS: Bus error. It's

Signal 10

2005-12-05 Thread Doug Hardie
I have a primary and backup freeradius server running on different machines. For the last couple days they have both been receiving a signal 10 at almost the same time. The secondary server gets the signal exactly 10 seconds after the primary. The time between the signals varies from a

Re: Authentication Responses during error conditions

2005-07-28 Thread Doug Hardie
I am a bit confused now. I understood that if a module returns RLM_MODULE_FAIL that radiusd would not return an authorization reject. However, it appears that it still does. rad_recv: Access-Request packet from host 127.0.0.1:53579, id=193, length=71 User-Name = visitor

Re: Authentication Responses during error conditions

2005-07-28 Thread Doug Hardie
On Jul 28, 2005, at 17:09, Alan DeKok wrote: RADIUS servers are supposed to return Access-Reject's for Access-Accepts, rather than just dropping the packets. If the server *requires* a back-end DB, and that DB is down, then arguable the server can pretend it's down, too. I am trying

Exec-Program-Wait vs rlm_exec vs rlm_your own

2005-06-30 Thread Doug Hardie
I transitioned from Cistron radius some time ago. There the only option was Exec-Program-Wait. I had developed one that suited our needs. It transitioned quite well to freeradius. However, there are notes in various places that Exec-Program-Wait will somtime go away. The indicated

Re: rlm_exec

2005-06-21 Thread Doug Hardie
I have 2 exec-prog-wait modules that I am converting to rlms. The process fork time is very significant for both because of the various startup things that have to be done. By making them rlm's that is done infrequently. One of them is for authorization and the other for accounting. i

Re: freeradius 1.0.4

2005-06-15 Thread Doug Hardie
On Jun 15, 2005, at 21:09, Andrew Thompson wrote: On Thu, Jun 16, 2005 at 01:51:04PM +1000, Paul Hampson wrote: On Thu, Jun 16, 2005 at 03:29:05PM +1200, Andrew Thompson wrote: Hi, I maintain the FreeRADIUS port for FreeBSD and am holding off upgrading from 1.0.2 due to the imminent

Hanging radiusd

2005-06-08 Thread Doug Hardie
I am encountering a problem on 1 of my radius servers (not any of the others). Every so often it hangs and quits responding to requests. FreeBSD 5.3. ps shows a status of TLs which means its waiting for a lock. There is no way to kill the process and ktrace shows absolutely nothing

Re: No detail logs # 2

2005-05-29 Thread Doug Hardie
On May 29, 2005, at 21:50, Radius wrote: Everything was working fine until we switched back haul providers. We changed all the ip address's that we could fine under the raddb/etc directory. I'm sure I missed a setting or something. We changed providers as well as our IP address's 4 days ago.

Re: restrict login based on nas

2005-05-16 Thread Doug Hardie
On May 16, 2005, at 13:34, Bartosz Jozwiak wrote: Hello, Is it possible to restrict users to login only to specific nas client? So if they use different nas their login should be rejected. I do that using a EXEC-PROG-WAIT module. a rlm_exec module will apparently also do that but I haven't had

Re: freeradius conf.

2005-03-02 Thread Doug Hardie
rad_check_password: Found Auth-Type System rlm_unix: [pradeep]: invalid password You are configured for Unix password validatation and the password you gave is not the one the system has for that user id. On Mar 2, 2005, at 23:10, Pradeep Nevatia wrote: Dear i haven't solved my problem please

Re: Source code

2004-12-01 Thread Doug Hardie
On Dec 1, 2004, at 10:17, Alan DeKok wrote: Panagiotis Mavros [EMAIL PROTECTED] wrote: we are proposing a lightweight WLAN roaming architecture. This means that we implement a roaming architecture for a small community. The scenario is Client--AP--foreign server --Home server and so on... All

Re: rlm_exec questions

2004-08-27 Thread Doug Hardie
On Aug 27, 2004, at 09:05, Kostas Zorbadelos wrote: The module returns fail but no access-reject is sent back and radtest keeps retransmitting. What am I missing? Alan responded to me on a similar issue some time ago with the response to use configurable failover. There is a very good document

Unusual pstack entry

2004-08-17 Thread Doug Hardie
pstack on radiusd (0.93) FreeBSD 4.6 shows what appears to be all threads idle except for this one: - thread 4 - 0x2820dcd8 _thread_kern_sched (0, 74756f, 73736553, 2820e652, 28254da4, 28252e24) + 4c 0x2820e6ab _thread_kern_sched_state_unlock (3, 8163f9c,

Re: rlm_exec

2004-08-15 Thread Doug Hardie
On Aug 15, 2004, at 15:43, Alan DeKok wrote: Doug Hardie [EMAIL PROTECTED] wrote: I still need some help. I have searched through the archives, google, documentation and source code. I need the program I am calling to be able to return pairs to to the NAS with the authentication request

Re: Exec-Program-Wait attributes not included in Access-Accept

2004-07-26 Thread Doug Hardie
On Jul 26, 2004, at 06:58, Thor Spruyt wrote: Hi, I have freeradius 0.9.3 running with Postgresql database backend. The only thing the radius checks is the password and then executes an external script if authentication is ok. The section in the users file is: DEFAULT Auth-Type = Local

Re: radius log

2004-06-15 Thread Doug Hardie
Those are all authentication request logging entries (the log and the config file). You will never see a disconnect in the authentication log entries. There is no authentication request when a user disconnects. You have to look at the accounting log entries. On Jun 15, 2004, at 21:07,

Re: FreeRADIUS sending Access-Reject if no response to proxied Access-Request

2004-04-26 Thread Doug Hardie
On Apr 26, 2004, at 14:19, Alan DeKok wrote: [EMAIL PROTECTED] wrote: This behavior is causing a lot of spurious access-reject packets in our configuration, with RADIUS servers behind a load-balancer. Why? What's so problematic about the Access-Rejects? Because the NAS will not switch over to

Re: exec-program-wait - scripts are not executing

2004-04-13 Thread Doug Hardie
Are you sure you are looking in the right directory? Since you didn't specify the full path, it uses whatever it has as a working path at that point. It may not be one that is obvious. Try specifying the complete path. Also run it by hand to be sure the permissions are correct. On Apr 13,

Re: Choosing Free Radius (beta?)

2004-03-01 Thread Doug Hardie
On Mar 1, 2004, at 20:05, Matt Bailey wrote: I am currently trying to choose a radius server to evaluate for use. It appears that free radius is going to replace cistron since cistron development has slowed to maintenance. Is the current Free Radius server a viable solution? When will a

Error Returns

2004-02-12 Thread Doug Hardie
I encountered an unusual situation today with freeradius 0.9.3. For some unknown reason all 32 threads locked up. radius.log shows lots of entries like: Thu Feb 12 12:53:40 2004 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request What is

User name logging in radutmp and radwtmp

2004-02-04 Thread Doug Hardie
Is there a way to configure such that prefixes and suffixes are stripped from user names when they are logged in the radutmp and radwtmp files? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Prefix and Suffix

2004-02-02 Thread Doug Hardie
I am trying to setup a users file using prefix and suffix and can't seem to get it to recognize them. Authentication requests without a prefix or suffix are handled properly. However, when I use them it just ignores those entries in the users file and goes to the last DEFAULT entry. Excpept

  1   2   >