aland [Fri, 16 Feb 2007 09:49:23 +0000 (09:49 +0000)]
Port "use_tunneled_reply" fix for MS-CHAP from branch_1_1
aland [Fri, 16 Feb 2007 09:31:34 +0000 (09:31 +0000)]
When we have a tunneled MS-CHAP2-Success attribute, it goes
into an Access-Challenge, so for "use_tunneled_reply" to work,
we have to remember the reply, and later grab it when sending
the final EAP-Success
aland [Thu, 15 Feb 2007 12:52:35 +0000 (12:52 +0000)]
Port fix for bug #419 from branch_1_1
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
aland [Wed, 14 Feb 2007 15:44:22 +0000 (15:44 +0000)]
Port OpenSSL locking mutexes from the CVS head
aland [Wed, 14 Feb 2007 15:23:27 +0000 (15:23 +0000)]
Free allocated memory
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
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
aland [Wed, 14 Feb 2007 09:40:16 +0000 (09:40 +0000)]
Added call to dict_free(). valgrind now shows no leaks
aland [Tue, 13 Feb 2007 14:17:33 +0000 (14:17 +0000)]
Remove diameter hack. The new radext extended attribute format
is different
aland [Tue, 13 Feb 2007 14:11:17 +0000 (14:11 +0000)]
Casts to quiet the compiler
aland [Tue, 13 Feb 2007 14:09:50 +0000 (14:09 +0000)]
Minor casts to quiet the compiler
aland [Tue, 13 Feb 2007 14:07:49 +0000 (14:07 +0000)]
replace strncpy strlcpy `cat filelist`
aland [Tue, 13 Feb 2007 14:05:06 +0000 (14:05 +0000)]
replace local StrnCpy with strlcpy
aland [Tue, 13 Feb 2007 14:02:21 +0000 (14:02 +0000)]
strNcpy is no longer used. Delete it
aland [Tue, 13 Feb 2007 14:01:52 +0000 (14:01 +0000)]
replace strNcpy strlcpy -- `cat file_list`
aland [Tue, 13 Feb 2007 13:43:09 +0000 (13:43 +0000)]
un-register things
aland [Tue, 13 Feb 2007 13:42:48 +0000 (13:42 +0000)]
Free allocated memory
aland [Tue, 13 Feb 2007 13:35:11 +0000 (13:35 +0000)]
Note recent changes
aland [Tue, 13 Feb 2007 13:32:42 +0000 (13:32 +0000)]
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
aland [Tue, 13 Feb 2007 13:28:39 +0000 (13:28 +0000)]
Pull fixes from the head
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...
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
aland [Tue, 13 Feb 2007 09:37:12 +0000 (09:37 +0000)]
Port Status-Server requirements for Message-Authenticator
from CVS head
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.
aland [Tue, 13 Feb 2007 08:47:50 +0000 (08:47 +0000)]
Free all REQUEST's on exit
aland [Mon, 12 Feb 2007 16:01:10 +0000 (16:01 +0000)]
Pull 1.7 -> 1.8 patch from CVS head
aland [Mon, 12 Feb 2007 15:32:06 +0000 (15:32 +0000)]
Do a better job of freeing allocated memory
aland [Mon, 12 Feb 2007 15:07:37 +0000 (15:07 +0000)]
Pass the correct arguments to packet list walk in rl_deinit()
aland [Mon, 12 Feb 2007 14:51:52 +0000 (14:51 +0000)]
call paircompare_unregister
aland [Mon, 12 Feb 2007 14:47:07 +0000 (14:47 +0000)]
Unregister PW_TIME_OF_DAY, too
aland [Mon, 12 Feb 2007 14:45:40 +0000 (14:45 +0000)]
We register Expiration, not Current-Time.
aland [Mon, 12 Feb 2007 14:24:20 +0000 (14:24 +0000)]
Don't free strings allocated by cf_section_parse()
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
aland [Mon, 12 Feb 2007 14:01:41 +0000 (14:01 +0000)]
Don't free formatstring on instantiate, free it on detach
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()
aland [Mon, 12 Feb 2007 13:07:02 +0000 (13:07 +0000)]
Free allocated memory
aland [Mon, 12 Feb 2007 12:49:15 +0000 (12:49 +0000)]
Corrected typo
aland [Mon, 12 Feb 2007 12:37:43 +0000 (12:37 +0000)]
Free allocated memory
aland [Mon, 12 Feb 2007 12:37:27 +0000 (12:37 +0000)]
Added '-m' option from 1.1
aland [Mon, 12 Feb 2007 10:44:52 +0000 (10:44 +0000)]
Don't initialize the wait hash if we're not threaded
aland [Mon, 12 Feb 2007 10:43:35 +0000 (10:43 +0000)]
Correctly parse Base64 encoded strings
aland [Mon, 12 Feb 2007 10:39:28 +0000 (10:39 +0000)]
Include filenames, too
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
aland [Mon, 12 Feb 2007 10:36:21 +0000 (10:36 +0000)]
Free allocated memory
aland [Mon, 12 Feb 2007 10:01:19 +0000 (10:01 +0000)]
use chap->foo, not request->password->foo
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().
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
aland [Mon, 12 Feb 2007 09:22:23 +0000 (09:22 +0000)]
free another tree
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
aland [Fri, 9 Feb 2007 15:42:03 +0000 (15:42 +0000)]
Free memory on detach
aland [Fri, 9 Feb 2007 15:40:30 +0000 (15:40 +0000)]
Free memory on detach
aland [Fri, 9 Feb 2007 15:33:21 +0000 (15:33 +0000)]
Free more stuff on exit
aland [Fri, 9 Feb 2007 15:33:11 +0000 (15:33 +0000)]
Define dict_free
aland [Fri, 9 Feb 2007 15:32:24 +0000 (15:32 +0000)]
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
aland [Fri, 9 Feb 2007 15:06:01 +0000 (15:06 +0000)]
Fix lrad_hash_table_free()
aland [Fri, 9 Feb 2007 15:05:37 +0000 (15:05 +0000)]
Fix lrad_hash_table_free()
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
aland [Fri, 9 Feb 2007 13:09:10 +0000 (13:09 +0000)]
Caching request->password is probably a bad idea
aland [Fri, 9 Feb 2007 13:05:25 +0000 (13:05 +0000)]
Use pairfind() to get CHAP-Password, not request->password
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
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
aland [Fri, 9 Feb 2007 10:52:32 +0000 (10:52 +0000)]
Updated with new attributes from bug #417
aland [Fri, 9 Feb 2007 10:51:46 +0000 (10:51 +0000)]
Added new attributes from bug #417
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
aland [Fri, 9 Feb 2007 10:39:11 +0000 (10:39 +0000)]
use correct lineno
We could really use a cf_item_lineo()
aland [Fri, 9 Feb 2007 10:38:25 +0000 (10:38 +0000)]
use correct lineo.
We could really us a cf_item_lineno()
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
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)
aland [Thu, 8 Feb 2007 14:06:28 +0000 (14:06 +0000)]
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
aland [Thu, 8 Feb 2007 10:25:09 +0000 (10:25 +0000)]
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
aland [Thu, 8 Feb 2007 09:38:27 +0000 (09:38 +0000)]
Apply patch from 1.67 to accounting requests, too
pnixon [Tue, 6 Feb 2007 20:06:08 +0000 (20:06 +0000)]
Change BEGIN to SQL99 conformant START TRANSACTION
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
aland [Tue, 6 Feb 2007 14:06:55 +0000 (14:06 +0000)]
Support Status-Server on accounting ports, too
aland [Tue, 6 Feb 2007 14:06:32 +0000 (14:06 +0000)]
Don't copy too much data && crash the client
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..
aland [Tue, 6 Feb 2007 13:46:37 +0000 (13:46 +0000)]
One more check
aland [Tue, 6 Feb 2007 13:02:10 +0000 (13:02 +0000)]
Build on non-IPv6 aware systems
aland [Tue, 6 Feb 2007 12:50:14 +0000 (12:50 +0000)]
Build on systems without IPv6 addresses
aland [Tue, 6 Feb 2007 10:12:20 +0000 (10:12 +0000)]
Check for existence of c->shortname before dereferencing it
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
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.
pnixon [Mon, 5 Feb 2007 08:43:32 +0000 (08:43 +0000)]
Add configure to the tree
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
pnixon [Sun, 4 Feb 2007 17:12:06 +0000 (17:12 +0000)]
Add sqlippool and acctlog to the list of stable modules
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
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
pnixon [Sun, 4 Feb 2007 15:10:11 +0000 (15:10 +0000)]
Applied 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
pnixon [Sun, 4 Feb 2007 14:39:50 +0000 (14:39 +0000)]
Add -pie patch thanks to SUSE
pnixon [Sun, 4 Feb 2007 14:39:46 +0000 (14:39 +0000)]
Add -pie patch thanks to SUSE
pnixon [Sat, 3 Feb 2007 23:09:52 +0000 (23:09 +0000)]
Add new log type (L_ACCT) and use it in rlm_acctlog
pnixon [Sat, 3 Feb 2007 23:08:44 +0000 (23:08 +0000)]
Add Acct-Session-Time to Stop logs and adjust other queries slightly
pnixon [Sat, 3 Feb 2007 22:13:43 +0000 (22:13 +0000)]
Fix spelling in comments
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