freeradius.git
16 years ago Last set of updates before 2.0.3 release_2_0_3
aland [Mon, 17 Mar 2008 09:22:17 +0000 (09:22 +0000)]
Last set of updates before 2.0.3

16 years ago Make event system use heaps, which are simpler && faster
aland [Mon, 17 Mar 2008 06:28:54 +0000 (06:28 +0000)]
Make event system use heaps, which are simpler && faster

16 years ago Added heap functions which are better used in some situations
aland [Mon, 17 Mar 2008 06:22:39 +0000 (06:22 +0000)]
Added heap functions which are better used in some situations

16 years ago Added Module-Return-Code
aland [Sun, 16 Mar 2008 17:59:28 +0000 (17:59 +0000)]
Added Module-Return-Code

16 years ago Fix display issues. Patch from Stephen Gran
aland [Sun, 16 Mar 2008 15:39:09 +0000 (15:39 +0000)]
Fix display issues.  Patch from Stephen Gran

16 years ago If not threaded, update timers as soon as the request is done
aland [Sat, 15 Mar 2008 12:04:28 +0000 (12:04 +0000)]
If not threaded, update timers as soon as the request is done

16 years agoFix Bug#: 531 "The mysql sample configuration uses " = NULL", but it needs to be...
pnixon [Fri, 14 Mar 2008 15:13:01 +0000 (15:13 +0000)]
Fix Bug#: 531 "The mysql sample configuration uses " = NULL", but it needs to be "is NULL".  It silently ignores the error and returns nothing."

16 years ago Allow detail packets to sit in the queue forever
aland [Fri, 14 Mar 2008 10:45:42 +0000 (10:45 +0000)]
Allow detail packets to sit in the queue forever

16 years ago Cap delay at 250ms. If the other system can't handle four
aland [Fri, 14 Mar 2008 10:41:28 +0000 (10:41 +0000)]
Cap delay at 250ms.  If the other system can't handle four
packets/s, it's broken.

16 years ago Note fixes and updates
aland [Fri, 14 Mar 2008 08:44:24 +0000 (08:44 +0000)]
Note fixes and updates

16 years ago Updated for version 2.0.3
aland [Fri, 14 Mar 2008 08:44:03 +0000 (08:44 +0000)]
Updated for version 2.0.3

16 years ago Add index on session time, too
aland [Fri, 14 Mar 2008 08:29:50 +0000 (08:29 +0000)]
Add index on session time, too

16 years ago Chop attributes at 253 octets, not 254
aland [Thu, 13 Mar 2008 11:17:13 +0000 (11:17 +0000)]
Chop attributes at 253 octets, not 254

16 years ago Set Auth-Type based on name2
aland [Tue, 11 Mar 2008 08:19:41 +0000 (08:19 +0000)]
Set Auth-Type based on name2

16 years ago Ignore non-pairs when instantiating modules in "instantiate"
aland [Tue, 11 Mar 2008 01:43:48 +0000 (01:43 +0000)]
Ignore non-pairs when instantiating modules in "instantiate"
section.  Closes bug #528

16 years ago Don't use %s in a format string with no parameters.
aland [Mon, 10 Mar 2008 09:47:27 +0000 (09:47 +0000)]
Don't use %s in a format string with no parameters.
This closes bug #527

16 years ago Added "printf format" to prototypes for GCC type checking
aland [Mon, 10 Mar 2008 09:45:39 +0000 (09:45 +0000)]
Added "printf format" to prototypes for GCC type checking

16 years ago Initialize fr_log_fp
aland [Sat, 8 Mar 2008 17:23:47 +0000 (17:23 +0000)]
Initialize fr_log_fp

16 years ago Include new VALUE definitions
aland [Sat, 8 Mar 2008 16:17:44 +0000 (16:17 +0000)]
Include new VALUE definitions

16 years ago Don't over-write log_fp if fp is NULL
aland [Fri, 7 Mar 2008 11:12:09 +0000 (11:12 +0000)]
Don't over-write log_fp if fp is NULL

16 years ago Use new fr_log_fp
aland [Fri, 7 Mar 2008 10:06:20 +0000 (10:06 +0000)]
Use new fr_log_fp

16 years ago Use fr_log_fp
aland [Fri, 7 Mar 2008 10:05:28 +0000 (10:05 +0000)]
Use fr_log_fp

16 years ago Use new fr_log_fp variable
aland [Fri, 7 Mar 2008 10:03:35 +0000 (10:03 +0000)]
Use new fr_log_fp variable

16 years ago If we're in debug mode, we don't need to fflush(stdout),
aland [Fri, 7 Mar 2008 09:59:07 +0000 (09:59 +0000)]
If we're in debug mode, we don't need to fflush(stdout),
because we already setlinebuf(stdout)

16 years ago Use new debug_pair_list function
aland [Fri, 7 Mar 2008 09:57:15 +0000 (09:57 +0000)]
Use new debug_pair_list function

16 years ago Call printf ONLY if we're debugging, not always!
aland [Fri, 7 Mar 2008 09:56:24 +0000 (09:56 +0000)]
Call printf ONLY if we're debugging, not always!

16 years ago Remove references to stdout, and use new debug_pair functions
aland [Fri, 7 Mar 2008 09:53:26 +0000 (09:53 +0000)]
Remove references to stdout, and use new debug_pair functions

16 years ago Debug two new functions debug_pair && debug_pair_list to
aland [Fri, 7 Mar 2008 09:49:49 +0000 (09:49 +0000)]
Debug two new functions debug_pair && debug_pair_list to
simplify the rest of the code

16 years ago Close log_fp only if it's to a file
aland [Fri, 7 Mar 2008 09:48:33 +0000 (09:48 +0000)]
Close log_fp only if it's to a file

16 years ago Added '-t' command-line options. (Undocumented)
aland [Thu, 6 Mar 2008 14:39:29 +0000 (14:39 +0000)]
Added '-t' command-line options.  (Undocumented)

16 years ago Catch race conditions in log files for child threads...
aland [Thu, 6 Mar 2008 10:48:50 +0000 (10:48 +0000)]
Catch race conditions in log files for child threads...

16 years ago Print debugging messages to fr_log_fp, and not stdout
aland [Thu, 6 Mar 2008 10:29:13 +0000 (10:29 +0000)]
Print debugging messages to fr_log_fp, and not stdout

16 years ago Add '-l logfile' back again (it's good for something)
aland [Thu, 6 Mar 2008 10:28:36 +0000 (10:28 +0000)]
Add '-l logfile' back again (it's good for something)
Initialize mainconfig.radlog_dest.
Keep log FP open, unless it's been deleted.  This allows
libfreeradius to log to the FP, too

16 years ago Added fr_printf_log function, to permit libfreeradius logs
aland [Thu, 6 Mar 2008 10:26:56 +0000 (10:26 +0000)]
Added fr_printf_log function, to permit libfreeradius logs
to be dumped to somewhere OTHER than stdout

16 years ago Note recent bug fixes
aland [Wed, 5 Mar 2008 15:27:26 +0000 (15:27 +0000)]
Note recent bug fixes

16 years ago Fixed compiler warnings. SQL database is based off of
aland [Wed, 5 Mar 2008 10:41:25 +0000 (10:41 +0000)]
Fixed compiler warnings.  SQL database is based off of
"radius_dir", and not hard-coded.

16 years ago Builds in 2.0
aland [Wed, 5 Mar 2008 10:37:53 +0000 (10:37 +0000)]
Builds in 2.0

16 years ago Preliminary configure/make stuff
aland [Wed, 5 Mar 2008 10:35:50 +0000 (10:35 +0000)]
Preliminary configure/make stuff

16 years ago As developed by Apple, as posted in bug #470.
aland [Wed, 5 Mar 2008 10:24:31 +0000 (10:24 +0000)]
As developed by Apple, as posted in bug #470.

Note that there is NO configure script, Makefile, and it
does NOT build in 2.0!

16 years ago Enable more than 1 match in a "hints" file using
aland [Wed, 5 Mar 2008 10:13:21 +0000 (10:13 +0000)]
Enable more than 1 match in a "hints" file using
Fall-Through = Yes.  this makes hints just like users, except it
modified request rather than reply items.

Closes bug #477

16 years ago Add deprecated flag, to let it build && run on 64-bit platforms.
aland [Wed, 5 Mar 2008 10:08:42 +0000 (10:08 +0000)]
Add deprecated flag, to let it build && run on 64-bit platforms.
Closes bug #491

16 years ago Use correct function. This closes bug #512
aland [Wed, 5 Mar 2008 10:02:47 +0000 (10:02 +0000)]
Use correct function.  This closes bug #512

16 years ago Clear all allocated memory. Closes bug #518
aland [Wed, 5 Mar 2008 09:57:56 +0000 (09:57 +0000)]
Clear all allocated memory.  Closes bug #518

16 years ago Use correct key (ca.key, not server.key)
aland [Wed, 5 Mar 2008 09:54:11 +0000 (09:54 +0000)]
Use correct key (ca.key, not server.key)

Add in v3 extensions to make it work on Nokia e51, e60, Mobile
Windows Clients, Symbian devices.  This closes bug #524

16 years ago Target to print CA cert too
aland [Wed, 5 Mar 2008 09:53:02 +0000 (09:53 +0000)]
Target to print CA cert too

16 years ago Don't make old log_foo over-ride new one. This closes bug #525
aland [Wed, 5 Mar 2008 09:48:14 +0000 (09:48 +0000)]
Don't make old log_foo over-ride new one.  This closes bug #525

16 years ago More links
aland [Tue, 4 Mar 2008 16:53:02 +0000 (16:53 +0000)]
More links

16 years ago Added notes on Novell
aland [Tue, 4 Mar 2008 13:29:34 +0000 (13:29 +0000)]
Added notes on Novell

16 years ago Update the log message to make it excruciating clear what's
aland [Tue, 4 Mar 2008 09:50:15 +0000 (09:50 +0000)]
Update the log message to make it excruciating clear what's
going on

16 years ago Move if/elsif/.... to switch
aland [Mon, 3 Mar 2008 10:54:50 +0000 (10:54 +0000)]
Move if/elsif/.... to switch

16 years ago added preliminary syslog support
aland [Wed, 27 Feb 2008 14:15:48 +0000 (14:15 +0000)]
added preliminary syslog support

16 years ago Corrected typo
aland [Wed, 27 Feb 2008 12:26:08 +0000 (12:26 +0000)]
Corrected typo

16 years ago Note that proxying of VMPS requests is not supported
aland [Wed, 27 Feb 2008 12:25:10 +0000 (12:25 +0000)]
Note that proxying of VMPS requests is not supported

16 years ago Added a few more examples
aland [Wed, 27 Feb 2008 12:24:31 +0000 (12:24 +0000)]
Added a few more examples

16 years ago Add samples of creating VMPS-Mac field, if it doesn't exist
aland [Wed, 27 Feb 2008 12:18:54 +0000 (12:18 +0000)]
Add samples of creating VMPS-Mac field, if it doesn't exist

16 years ago Obseletes RFC 3576
aland [Tue, 26 Feb 2008 16:28:58 +0000 (16:28 +0000)]
Obseletes RFC 3576

16 years ago Corrected typo
aland [Tue, 26 Feb 2008 14:06:12 +0000 (14:06 +0000)]
Corrected typo

16 years ago Clean up warning messages.
aland [Tue, 26 Feb 2008 14:04:44 +0000 (14:04 +0000)]
Clean up warning messages.

Add PW_COA_REQUEST to verification of incoming packet.
Move PW_DISCONNECT_REQUEST for verification to use the
accounting request calculation, not the auth request calculation

16 years ago Added notes on inner/outer tunnel identities being different.
aland [Tue, 26 Feb 2008 09:32:29 +0000 (09:32 +0000)]
Added notes on inner/outer tunnel identities being different.
Enable "inner-tunnel" by default, and install it.
Also by default, do NOT proxy inner tunnel sessions.

16 years ago Corrected typo. Closes bug #521
aland [Tue, 26 Feb 2008 09:11:33 +0000 (09:11 +0000)]
Corrected typo.  Closes bug #521

16 years ago Corrected typo. Close bug #522
aland [Tue, 26 Feb 2008 09:11:18 +0000 (09:11 +0000)]
Corrected typo.  Close bug #522

16 years ago use strncmp, not memcmp
aland [Mon, 25 Feb 2008 11:07:09 +0000 (11:07 +0000)]
use strncmp, not memcmp

16 years ago Clean up handling of detail files && events. It's much more
aland [Tue, 19 Feb 2008 09:44:14 +0000 (09:44 +0000)]
Clean up handling of detail files && events.  It's much more
understandable now...

Note also that SNMP appears to be broken.  Oops...

16 years ago Initialize buffer properly...
aland [Tue, 19 Feb 2008 09:36:41 +0000 (09:36 +0000)]
Initialize buffer properly...

16 years ago Set fake->request->src_ipaddr from request->packet->src_ipaddr,
aland [Mon, 18 Feb 2008 23:56:25 +0000 (23:56 +0000)]
Set fake->request->src_ipaddr from request->packet->src_ipaddr,
just like rad_alloc_fake() does.

This lets certain multi-stage proxying of inner tunnel PEAP/TTLS
sessions work.

Bug found && patch by Dmitry Sergienko

16 years ago Move offsetof into missing.h, where it really belongs
aland [Sat, 16 Feb 2008 09:20:05 +0000 (09:20 +0000)]
Move offsetof into missing.h, where it really belongs

16 years ago add #else for non-GCC and non-SUN compilers
aland [Fri, 15 Feb 2008 21:19:28 +0000 (21:19 +0000)]
add #else for non-GCC and non-SUN compilers

16 years ago Allow server[foo] references as singles.
aland [Fri, 15 Feb 2008 09:47:58 +0000 (09:47 +0000)]
Allow server[foo] references as singles.

It doesn't (yet) dynamically expand the inner name, but that
isn't too hard to add at this point.

16 years ago 2.0.2 release_2_0_2
aland [Thu, 14 Feb 2008 11:14:11 +0000 (11:14 +0000)]
2.0.2

16 years ago Notes on attr_filter
aland [Thu, 14 Feb 2008 11:13:48 +0000 (11:13 +0000)]
Notes on attr_filter

16 years ago Updated to 2.0.2
aland [Thu, 14 Feb 2008 11:13:15 +0000 (11:13 +0000)]
Updated to 2.0.2

16 years ago Added 'deb' target
aland [Thu, 14 Feb 2008 11:09:29 +0000 (11:09 +0000)]
Added 'deb' target

16 years ago Corrected behavior to match documentation.
aland [Thu, 14 Feb 2008 10:31:15 +0000 (10:31 +0000)]
Corrected behavior to match documentation.

16 years ago strncat is useless. Use strlcpy instead
aland [Thu, 14 Feb 2008 09:00:38 +0000 (09:00 +0000)]
strncat is useless.  Use strlcpy instead

16 years ago Corrected reference to schema
aland [Thu, 14 Feb 2008 07:03:42 +0000 (07:03 +0000)]
Corrected reference to schema

16 years ago Deleted code handling massaging of sockets on HUP. Version 2.0
aland [Wed, 13 Feb 2008 14:56:57 +0000 (14:56 +0000)]
Deleted code handling massaging of sockets on HUP.  Version 2.0
has never supported this, so the code is dead...

16 years ago As per recent changes
aland [Wed, 13 Feb 2008 14:35:26 +0000 (14:35 +0000)]
As per recent changes

16 years ago Added note on SSL performance
aland [Wed, 13 Feb 2008 14:34:47 +0000 (14:34 +0000)]
Added note on SSL performance

16 years ago Corrected typo
aland [Wed, 13 Feb 2008 14:21:05 +0000 (14:21 +0000)]
Corrected typo

16 years ago Use 'virtual_server' everywhere
aland [Wed, 13 Feb 2008 09:41:14 +0000 (09:41 +0000)]
Use 'virtual_server' everywhere

16 years ago Updated to make it work...
aland [Wed, 13 Feb 2008 09:27:18 +0000 (09:27 +0000)]
Updated to make it work...

16 years ago Notes on new listener "type = proxy"
aland [Tue, 12 Feb 2008 10:30:56 +0000 (10:30 +0000)]
Notes on new listener "type = proxy"

16 years ago Sanity checks for port ranges in listen sections.
aland [Tue, 12 Feb 2008 10:20:37 +0000 (10:20 +0000)]
Sanity checks for port ranges in listen sections.

Allow listen { type = proxy }, which can simplify some configs

Grab port number from getsockname(), if available

16 years ago Print out "listening on proxy", too
aland [Tue, 12 Feb 2008 10:08:32 +0000 (10:08 +0000)]
Print out "listening on proxy", too

16 years ago Print out more error messages on failure
aland [Tue, 12 Feb 2008 09:52:06 +0000 (09:52 +0000)]
Print out more error messages on failure

16 years ago Added signal self for new proxy fd's, so that we will start
aland [Mon, 11 Feb 2008 15:19:54 +0000 (15:19 +0000)]
Added signal self for new proxy fd's, so that we will start
listening on them.

16 years ago Be fail-safe on multiple inserts
aland [Mon, 11 Feb 2008 15:09:56 +0000 (15:09 +0000)]
Be fail-safe on multiple inserts

16 years ago Added a few attributes...
aland [Mon, 11 Feb 2008 13:06:42 +0000 (13:06 +0000)]
Added a few attributes...

16 years ago Fall back to using DEFAULT realm. Based on patch from
aland [Sun, 10 Feb 2008 15:23:33 +0000 (15:23 +0000)]
Fall back to using DEFAULT realm.  Based on patch from
Vincent Magnin

16 years ago Singles in authenticate{} return immediately. Sections
aland [Sun, 10 Feb 2008 11:30:05 +0000 (11:30 +0000)]
Singles in authenticate{} return immediately.  Sections
are processed just like authorize

16 years ago Note recent fixes
aland [Sun, 10 Feb 2008 09:22:13 +0000 (09:22 +0000)]
Note recent fixes

16 years ago Properly initialize random context. This solves the
aland [Sun, 10 Feb 2008 09:18:10 +0000 (09:18 +0000)]
Properly initialize random context.  This solves the
EAP handler issues seen recently on the list.

16 years ago Use name2 for debug messages, not name1
aland [Sat, 9 Feb 2008 08:00:55 +0000 (08:00 +0000)]
Use name2 for debug messages, not name1

16 years ago Corrected debug output
aland [Sat, 9 Feb 2008 07:55:21 +0000 (07:55 +0000)]
Corrected debug output

16 years ago Re-build from configure.in to add -DLDAP_DEPRECATED, which
aland [Sat, 9 Feb 2008 07:29:18 +0000 (07:29 +0000)]
Re-build from configure.in to add -DLDAP_DEPRECATED, which
allows it to work on 64-bit systems

16 years ago Print more on "failed to remember handler"
aland [Thu, 7 Feb 2008 08:51:06 +0000 (08:51 +0000)]
Print more on "failed to remember handler"

Try harder to keep a unique state.

Check return code of eaplist_add

16 years ago corrected typo
aland [Wed, 6 Feb 2008 17:06:07 +0000 (17:06 +0000)]
corrected typo

16 years ago Notes on 2.0.2
aland [Wed, 6 Feb 2008 14:01:22 +0000 (14:01 +0000)]
Notes on 2.0.2

16 years ago Notes on proxying when "proxy_as_eap = no"
aland [Wed, 6 Feb 2008 11:11:48 +0000 (11:11 +0000)]
Notes on proxying when "proxy_as_eap = no"

16 years ago Clean up detail file handling again
aland [Wed, 6 Feb 2008 11:06:40 +0000 (11:06 +0000)]
Clean up detail file handling again