freeradius.git
17 years ago Port fix for bug #419 from branch_1_1
aland [Thu, 15 Feb 2007 12:52:35 +0000 (12:52 +0000)]
Port fix for bug #419 from branch_1_1

17 years ago Handle Client-Error code. If the client sends us one, we stop
aland [Thu, 15 Feb 2007 12:51:37 +0000 (12:51 +0000)]
Handle Client-Error code.  If the client sends us one, we stop
talking EAP-SIM.

This closes #419

17 years ago Port OpenSSL locking mutexes from the CVS head
aland [Wed, 14 Feb 2007 15:44:22 +0000 (15:44 +0000)]
Port OpenSSL locking mutexes from the CVS head

17 years ago Free allocated memory
aland [Wed, 14 Feb 2007 15:23:27 +0000 (15:23 +0000)]
Free allocated memory

17 years ago Removed all free(inst->foo) where "foo" comes from parsing
aland [Wed, 14 Feb 2007 15:11:24 +0000 (15:11 +0000)]
Removed all free(inst->foo) where "foo" comes from parsing
PW_TYPE_STRING_PTR

17 years ago Don't free the ID, it's allocated as part of a larger array
aland [Wed, 14 Feb 2007 09:41:14 +0000 (09:41 +0000)]
Don't free the ID, it's allocated as part of a larger array

17 years ago Added call to dict_free(). valgrind now shows no leaks
aland [Wed, 14 Feb 2007 09:40:16 +0000 (09:40 +0000)]
Added call to dict_free().  valgrind now shows no leaks

17 years ago Remove diameter hack. The new radext extended attribute format
aland [Tue, 13 Feb 2007 14:17:33 +0000 (14:17 +0000)]
Remove diameter hack.  The new radext extended attribute format
is different

17 years ago Casts to quiet the compiler
aland [Tue, 13 Feb 2007 14:11:17 +0000 (14:11 +0000)]
Casts to quiet the compiler

17 years ago Minor casts to quiet the compiler
aland [Tue, 13 Feb 2007 14:09:50 +0000 (14:09 +0000)]
Minor casts to quiet the compiler

17 years ago replace strncpy strlcpy `cat filelist`
aland [Tue, 13 Feb 2007 14:07:49 +0000 (14:07 +0000)]
replace strncpy strlcpy `cat filelist`

17 years ago replace local StrnCpy with strlcpy
aland [Tue, 13 Feb 2007 14:05:06 +0000 (14:05 +0000)]
replace local StrnCpy with strlcpy

17 years ago strNcpy is no longer used. Delete it
aland [Tue, 13 Feb 2007 14:02:21 +0000 (14:02 +0000)]
strNcpy is no longer used.  Delete it

17 years ago replace strNcpy strlcpy -- `cat file_list`
aland [Tue, 13 Feb 2007 14:01:52 +0000 (14:01 +0000)]
replace strNcpy strlcpy -- `cat file_list`

17 years ago un-register things
aland [Tue, 13 Feb 2007 13:43:09 +0000 (13:43 +0000)]
un-register things

17 years ago Free allocated memory
aland [Tue, 13 Feb 2007 13:42:48 +0000 (13:42 +0000)]
Free allocated memory

17 years ago Note recent changes
aland [Tue, 13 Feb 2007 13:35:11 +0000 (13:35 +0000)]
Note recent changes

17 years ago Permissions are now 750 for directories, and 644 for files
aland [Tue, 13 Feb 2007 13:32:42 +0000 (13:32 +0000)]
Permissions are now 750 for directories, and 644 for files

17 years ago Permissions are now 750 for directories, and 644 for files
aland [Tue, 13 Feb 2007 13:31:38 +0000 (13:31 +0000)]
Permissions are now 750 for directories, and 644 for files

17 years ago Pull fixes from the head
aland [Tue, 13 Feb 2007 13:28:39 +0000 (13:28 +0000)]
Pull fixes from the head

17 years ago Use definitions for Tunnel-Medium-Type from RFC 2868, rather
aland [Tue, 13 Feb 2007 13:28:17 +0000 (13:28 +0000)]
Use definitions for Tunnel-Medium-Type from RFC 2868, rather
than the draft.  This shouldn't affect anyone...

17 years ago New text for Status-Server, saying it's useful.
aland [Tue, 13 Feb 2007 13:26:02 +0000 (13:26 +0000)]
New text for Status-Server, saying it's useful.

Default is now to enable Status-Server

17 years ago Port Status-Server requirements for Message-Authenticator
aland [Tue, 13 Feb 2007 09:37:12 +0000 (09:37 +0000)]
Port Status-Server requirements for Message-Authenticator
from CVS head

17 years ago Message-Authenticator is required in Status-Server packets,
aland [Tue, 13 Feb 2007 09:34:26 +0000 (09:34 +0000)]
Message-Authenticator is required in Status-Server packets,
otherwise they can be trivially forged.

17 years ago Free all REQUEST's on exit
aland [Tue, 13 Feb 2007 08:47:50 +0000 (08:47 +0000)]
Free all REQUEST's on exit

17 years ago Pull 1.7 -> 1.8 patch from CVS head
aland [Mon, 12 Feb 2007 16:01:10 +0000 (16:01 +0000)]
Pull 1.7 -> 1.8 patch from CVS head

17 years ago Do a better job of freeing allocated memory
aland [Mon, 12 Feb 2007 15:32:06 +0000 (15:32 +0000)]
Do a better job of freeing allocated memory

17 years ago Pass the correct arguments to packet list walk in rl_deinit()
aland [Mon, 12 Feb 2007 15:07:37 +0000 (15:07 +0000)]
Pass the correct arguments to packet list walk in rl_deinit()

17 years ago call paircompare_unregister
aland [Mon, 12 Feb 2007 14:51:52 +0000 (14:51 +0000)]
call paircompare_unregister

17 years ago Unregister PW_TIME_OF_DAY, too
aland [Mon, 12 Feb 2007 14:47:07 +0000 (14:47 +0000)]
Unregister PW_TIME_OF_DAY, too

17 years ago We register Expiration, not Current-Time.
aland [Mon, 12 Feb 2007 14:45:40 +0000 (14:45 +0000)]
We register Expiration, not Current-Time.

17 years ago Don't free strings allocated by cf_section_parse()
aland [Mon, 12 Feb 2007 14:24:20 +0000 (14:24 +0000)]
Don't free strings allocated by cf_section_parse()

17 years ago Free the parsed data prior to calling the modules detach()
aland [Mon, 12 Feb 2007 14:07:20 +0000 (14:07 +0000)]
Free the parsed data prior to calling the modules detach()
routine.  This means that any string that gets parsed by a
module automatically gets free'd by the configuration file code,
so that the modules don't have to do it.

Next step is to remove most of the calls to free() in the
modules.  After that, if there's nothing in the modules detach
routine, the configuration file code can clean up the module
instance, too

17 years ago Don't free formatstring on instantiate, free it on detach
aland [Mon, 12 Feb 2007 14:01:41 +0000 (14:01 +0000)]
Don't free formatstring on instantiate, free it on detach

17 years ago Added code to free module configuration automagically.
aland [Mon, 12 Feb 2007 13:20:39 +0000 (13:20 +0000)]
Added code to free module configuration automagically.
It's not currently used because of conflicts with the client
code, which calls cf_section_parse(), and then client_free()

17 years ago Free allocated memory
aland [Mon, 12 Feb 2007 13:07:02 +0000 (13:07 +0000)]
Free allocated memory

17 years ago Corrected typo
aland [Mon, 12 Feb 2007 12:49:15 +0000 (12:49 +0000)]
Corrected typo

17 years ago Free allocated memory
aland [Mon, 12 Feb 2007 12:37:43 +0000 (12:37 +0000)]
Free allocated memory

17 years ago Added '-m' option from 1.1
aland [Mon, 12 Feb 2007 12:37:27 +0000 (12:37 +0000)]
Added '-m' option from 1.1

17 years ago Don't initialize the wait hash if we're not threaded
aland [Mon, 12 Feb 2007 10:44:52 +0000 (10:44 +0000)]
Don't initialize the wait hash if we're not threaded

17 years ago Correctly parse Base64 encoded strings
aland [Mon, 12 Feb 2007 10:43:35 +0000 (10:43 +0000)]
Correctly parse Base64 encoded strings

17 years ago Include filenames, too
aland [Mon, 12 Feb 2007 10:39:28 +0000 (10:39 +0000)]
Include filenames, too

17 years ago Added 'base' and 'variables' to CONF_SECTION, so that the
aland [Mon, 12 Feb 2007 10:38:19 +0000 (10:38 +0000)]
Added 'base' and 'variables' to CONF_SECTION, so that the
allocated memory can get automatically freed.

Ported from 1.1.x

17 years ago Free allocated memory
aland [Mon, 12 Feb 2007 10:36:21 +0000 (10:36 +0000)]
Free allocated memory

17 years ago use chap->foo, not request->password->foo
aland [Mon, 12 Feb 2007 10:01:19 +0000 (10:01 +0000)]
use chap->foo, not request->password->foo

17 years ago Added 'base' and 'variables' to a CONF_SECTION, which are added
aland [Mon, 12 Feb 2007 09:59:05 +0000 (09:59 +0000)]
Added 'base' and 'variables' to a CONF_SECTION, which are added
by cf_section_parse.  Now, when someone calls cf_section_free(),
the strings allocated from cf_section_parse() are automatically
free'd, too.

For now, we only do this for the base variables in mainconfig.
If we enable this for all of the modules, we first have to
update all of the modules to NOT explicitely call free() on
the strings allocated by cf_section_parse().

17 years ago Added undocumented '-m' so that for debugging, CTRL-C does
aland [Mon, 12 Feb 2007 09:55:24 +0000 (09:55 +0000)]
Added undocumented '-m' so that for debugging, CTRL-C does
a clean exit && clears up memory

17 years ago free another tree
aland [Mon, 12 Feb 2007 09:22:23 +0000 (09:22 +0000)]
free another tree

17 years ago Be more aggressive about freeing memory on clean exit.
aland [Fri, 9 Feb 2007 15:56:11 +0000 (15:56 +0000)]
Be more aggressive about freeing memory on clean exit.

This should help track down memory leaks, if any

17 years ago Free memory on detach
aland [Fri, 9 Feb 2007 15:42:03 +0000 (15:42 +0000)]
Free memory on detach

17 years ago Free memory on detach
aland [Fri, 9 Feb 2007 15:40:30 +0000 (15:40 +0000)]
Free memory on detach

17 years ago Free more stuff on exit
aland [Fri, 9 Feb 2007 15:33:21 +0000 (15:33 +0000)]
Free more stuff on exit

17 years ago Define dict_free
aland [Fri, 9 Feb 2007 15:33:11 +0000 (15:33 +0000)]
Define dict_free

17 years ago When a duplicate attribute is found, delete the old one
aland [Fri, 9 Feb 2007 15:32:24 +0000 (15:32 +0000)]
When a duplicate attribute is found, delete the old one

17 years ago When a duplicate attribute is found, delete the old one
aland [Fri, 9 Feb 2007 15:32:13 +0000 (15:32 +0000)]
When a duplicate attribute is found, delete the old one

17 years ago Fix lrad_hash_table_free()
aland [Fri, 9 Feb 2007 15:06:01 +0000 (15:06 +0000)]
Fix lrad_hash_table_free()

17 years ago Fix lrad_hash_table_free()
aland [Fri, 9 Feb 2007 15:05:37 +0000 (15:05 +0000)]
Fix lrad_hash_table_free()

17 years ago request->password is User-Password or CHAP-Password.
aland [Fri, 9 Feb 2007 13:09:35 +0000 (13:09 +0000)]
request->password is User-Password or CHAP-Password.
That's probably a bad idea

17 years ago Caching request->password is probably a bad idea
aland [Fri, 9 Feb 2007 13:09:10 +0000 (13:09 +0000)]
Caching request->password is probably a bad idea

17 years ago Use pairfind() to get CHAP-Password, not request->password
aland [Fri, 9 Feb 2007 13:05:25 +0000 (13:05 +0000)]
Use pairfind() to get CHAP-Password, not request->password

17 years ago Don't start if radius_dir is globally writable
aland [Fri, 9 Feb 2007 13:03:18 +0000 (13:03 +0000)]
Don't start if radius_dir is globally writable

Relax the checks on readability

17 years ago Don't allow radius_dir to be globally writable
aland [Fri, 9 Feb 2007 13:01:40 +0000 (13:01 +0000)]
Don't allow radius_dir to be globally writable

Relax the checks on global readability

17 years ago Updated with new attributes from bug #417
aland [Fri, 9 Feb 2007 10:52:32 +0000 (10:52 +0000)]
Updated with new attributes from bug #417

17 years ago Added new attributes from bug #417
aland [Fri, 9 Feb 2007 10:51:46 +0000 (10:51 +0000)]
Added new attributes from bug #417

17 years ago increase size of buffer to allow longer SQL qeuries
aland [Fri, 9 Feb 2007 10:43:52 +0000 (10:43 +0000)]
increase size of buffer to allow longer SQL qeuries

Thise closes bug #405

17 years ago use correct lineno
aland [Fri, 9 Feb 2007 10:39:11 +0000 (10:39 +0000)]
use correct lineno

We could really use a cf_item_lineo()

17 years ago use correct lineo.
aland [Fri, 9 Feb 2007 10:38:25 +0000 (10:38 +0000)]
use correct lineo.

We could really us a cf_item_lineno()

17 years ago cleaned up the exec stuff again, and moved the "wait for
aland [Fri, 9 Feb 2007 10:29:21 +0000 (10:29 +0000)]
cleaned up the exec stuff again, and moved the "wait for
10 seconds or give up" code into rad_waitpid, where it's easier
to manage

17 years ago Cleaned up exec stuff, to make it more like the CVS head,
aland [Fri, 9 Feb 2007 10:27:57 +0000 (10:27 +0000)]
Cleaned up exec stuff, to make it more like the CVS head,
and to fix other errors (sigh)

17 years ago If a packet is too long, truncate at the last good attribute
aland [Thu, 8 Feb 2007 14:06:28 +0000 (14:06 +0000)]
If a packet is too long, truncate at the last good attribute

17 years ago If a packet is too long, truncate at the last good attribute
aland [Thu, 8 Feb 2007 14:05:52 +0000 (14:05 +0000)]
If a packet is too long, truncate at the last good attribute

17 years ago Don't leave 'vp' pointing to a deleted attribute
aland [Thu, 8 Feb 2007 10:25:09 +0000 (10:25 +0000)]
Don't leave 'vp' pointing to a deleted attribute

17 years ago Don't leave 'vp' pointing to a deleted attribute
aland [Thu, 8 Feb 2007 10:24:35 +0000 (10:24 +0000)]
Don't leave 'vp' pointing to a deleted attribute

17 years ago Apply patch from 1.67 to accounting requests, too
aland [Thu, 8 Feb 2007 09:38:27 +0000 (09:38 +0000)]
Apply patch from 1.67 to accounting requests, too

17 years agoChange BEGIN to SQL99 conformant START TRANSACTION
pnixon [Tue, 6 Feb 2007 20:06:08 +0000 (20:06 +0000)]
Change BEGIN to SQL99 conformant START TRANSACTION

17 years agoAdd non-mandatory pool-check statement to allow detection of whether the Pool does...
pnixon [Tue, 6 Feb 2007 16:37:12 +0000 (16:37 +0000)]
Add non-mandatory pool-check statement to allow detection of whether the Pool does not exist or rather is simply full

17 years ago Support Status-Server on accounting ports, too
aland [Tue, 6 Feb 2007 14:06:55 +0000 (14:06 +0000)]
Support Status-Server on accounting ports, too

17 years ago Don't copy too much data && crash the client
aland [Tue, 6 Feb 2007 14:06:32 +0000 (14:06 +0000)]
Don't copy too much data && crash the client

17 years ago Return -1 on error, not NULL
aland [Tue, 6 Feb 2007 13:57:09 +0000 (13:57 +0000)]
Return -1 on error, not NULL

The file permission checks here are probably too strong..

17 years ago One more check
aland [Tue, 6 Feb 2007 13:46:37 +0000 (13:46 +0000)]
One more check

17 years ago Build on non-IPv6 aware systems
aland [Tue, 6 Feb 2007 13:02:10 +0000 (13:02 +0000)]
Build on non-IPv6 aware systems

17 years ago Build on systems without IPv6 addresses
aland [Tue, 6 Feb 2007 12:50:14 +0000 (12:50 +0000)]
Build on systems without IPv6 addresses

17 years ago Check for existence of c->shortname before dereferencing it
aland [Tue, 6 Feb 2007 10:12:20 +0000 (10:12 +0000)]
Check for existence of c->shortname before dereferencing it

17 years agoAdded new option sqlippool_log_clear to log when an IP address is deallocated
pnixon [Mon, 5 Feb 2007 17:57:27 +0000 (17:57 +0000)]
Added new option sqlippool_log_clear to log when an IP address is deallocated

17 years agoOn query error, emit the failed query to the log so we can track it down.
pnixon [Mon, 5 Feb 2007 12:17:13 +0000 (12:17 +0000)]
On query error, emit the failed query to the log so we can track it down.

17 years agoAdd configure to the tree
pnixon [Mon, 5 Feb 2007 08:43:32 +0000 (08:43 +0000)]
Add configure to the tree

17 years agoChange the order back. Turns out that we get unwanted No Pool-Name defined logs even...
pnixon [Sun, 4 Feb 2007 23:04:30 +0000 (23:04 +0000)]
Change the order back. Turns out that we get unwanted No Pool-Name defined logs even with static ips. oops

17 years agoAdd sqlippool and acctlog to the list of stable modules
pnixon [Sun, 4 Feb 2007 17:12:06 +0000 (17:12 +0000)]
Add sqlippool and acctlog to the list of stable modules

17 years agoApply SUSE's edir.patch to explicitly set edir_account_policy_check=no. Wont affect...
pnixon [Sun, 4 Feb 2007 15:28:56 +0000 (15:28 +0000)]
Apply SUSE's edir.patch to explicitly set edir_account_policy_check=no. Wont affect no edir users and saves a patch for SUSE

17 years agoApply SUSE's edir.patch to explicitly set edir_account_policy_check=no. Wont affect...
pnixon [Sun, 4 Feb 2007 15:28:46 +0000 (15:28 +0000)]
Apply SUSE's edir.patch to explicitly set edir_account_policy_check=no. Wont affect no edir users and saves a patch for SUSE

17 years agoApplied radiusd-pamd.diff. thanks to SUSE
pnixon [Sun, 4 Feb 2007 15:10:11 +0000 (15:10 +0000)]
Applied radiusd-pamd.diff. thanks to SUSE

17 years agoApplied radiusd-pamd.diff. thanks to SUSE
pnixon [Sun, 4 Feb 2007 15:10:08 +0000 (15:10 +0000)]
Applied radiusd-pamd.diff. thanks to SUSE

17 years agoAdd -pie patch thanks to SUSE
pnixon [Sun, 4 Feb 2007 14:39:50 +0000 (14:39 +0000)]
Add -pie patch thanks to SUSE

17 years agoAdd -pie patch thanks to SUSE
pnixon [Sun, 4 Feb 2007 14:39:46 +0000 (14:39 +0000)]
Add -pie patch thanks to SUSE

17 years agoAdd new log type (L_ACCT) and use it in rlm_acctlog
pnixon [Sat, 3 Feb 2007 23:09:52 +0000 (23:09 +0000)]
Add new log type (L_ACCT) and use it in rlm_acctlog

17 years agoAdd Acct-Session-Time to Stop logs and adjust other queries slightly
pnixon [Sat, 3 Feb 2007 23:08:44 +0000 (23:08 +0000)]
Add Acct-Session-Time to Stop logs and adjust other queries slightly

17 years agoFix spelling in comments
pnixon [Sat, 3 Feb 2007 22:13:43 +0000 (22:13 +0000)]
Fix spelling in comments

17 years agoReturn RLM_MODULE_FAIL instead of RLM_MODULE_NOOP if there is no SQL socket
pnixon [Sat, 3 Feb 2007 19:19:04 +0000 (19:19 +0000)]
Return RLM_MODULE_FAIL instead of RLM_MODULE_NOOP if there is no SQL socket

17 years agoSwitch the order of Framed-IP-Address and Pool-Name check. May make a small speed...
pnixon [Sat, 3 Feb 2007 19:03:52 +0000 (19:03 +0000)]
Switch the order of Framed-IP-Address and Pool-Name check. May make a small speed increase for those with a mix of static and dynamic addresses

17 years ago List include files as being OK to install
aland [Tue, 30 Jan 2007 15:46:57 +0000 (15:46 +0000)]
List include files as being OK to install