fcusack [Wed, 21 Mar 2007 06:54:13 +0000 (06:54 +0000)]
import from branch_1_1:
update libtool and libltdl to 1.5.22, and improve the integration
by not requiring source modification (except for one change to
ltdl.c [for a bug] to follow)
Note that this reverses ltdl.c#1.8 but we will re-apply it. The
reason not to simply include it in this commit is so that all
the files here serve as a baseline of unmodified libtool/libltdl
sources, making it easier to update it in the future.
fcusack [Tue, 20 Mar 2007 07:10:30 +0000 (07:10 +0000)]
remove delete_blocked_requests option due to unsafe pthread_cancel()
fcusack [Tue, 20 Mar 2007 06:59:36 +0000 (06:59 +0000)]
lowercase URL
nbk [Mon, 19 Mar 2007 16:41:29 +0000 (16:41 +0000)]
Add libtool-ltdl-devel as a prerequisite for building.
nbk [Mon, 19 Mar 2007 16:41:05 +0000 (16:41 +0000)]
Add libtool-ltdl-devel as a prerequisite for building.
aland [Fri, 16 Mar 2007 13:22:03 +0000 (13:22 +0000)]
Use braces. This closes #429
aland [Fri, 16 Mar 2007 10:03:38 +0000 (10:03 +0000)]
be a little more forgiving about format
aland [Fri, 16 Mar 2007 09:58:11 +0000 (09:58 +0000)]
pass filenames via argv
aland [Wed, 14 Mar 2007 13:59:30 +0000 (13:59 +0000)]
Hmm.. why was this patch added?
aland [Wed, 14 Mar 2007 11:59:19 +0000 (11:59 +0000)]
With updates from the last release
aland [Wed, 14 Mar 2007 11:54:09 +0000 (11:54 +0000)]
From Chillispot's web site
aland [Mon, 12 Mar 2007 15:17:34 +0000 (15:17 +0000)]
We malloc(len + 1), so strlcpy(..., len + 1), rather than ... len
aland [Mon, 12 Mar 2007 15:15:24 +0000 (15:15 +0000)]
third argument to strlcpy is the size of the first argument, and
nevery anything else
aland [Mon, 12 Mar 2007 15:10:19 +0000 (15:10 +0000)]
strcpy doesn't need a '-1' in the sizeof
aland [Mon, 12 Mar 2007 12:40:20 +0000 (12:40 +0000)]
Initialize pd. Return 0 on error, rather than -1
aland [Mon, 12 Mar 2007 12:28:38 +0000 (12:28 +0000)]
port fix from cvs head
aland [Fri, 9 Mar 2007 14:14:57 +0000 (14:14 +0000)]
be a little more flexible in cf_section_parse_free
Print out more information when parsing sections with "name2"'s,
so that it's easier to tell what's going on.
nbk [Fri, 9 Mar 2007 13:34:37 +0000 (13:34 +0000)]
Newer version of rlm_sql_firebird, as posted to the list
by Vitaly Bodzhgua <vitaly@eastera.net>
nbk [Tue, 6 Mar 2007 23:30:33 +0000 (23:30 +0000)]
Update version number for 1.1.5 release.
aland [Mon, 5 Mar 2007 15:31:33 +0000 (15:31 +0000)]
More updates
aland [Mon, 5 Mar 2007 15:29:47 +0000 (15:29 +0000)]
In preparation for 1.1.5
aland [Mon, 5 Mar 2007 14:58:33 +0000 (14:58 +0000)]
This would be useful
aland [Mon, 5 Mar 2007 14:43:31 +0000 (14:43 +0000)]
Don't de-reference packet->vps if there's no packet.
Mostly a theoretical bug, as this is already checked elsewhere
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:38:49 +0000 (14:38 +0000)]
Free packet on successful return, too.
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:34:55 +0000 (14:34 +0000)]
Free packet if the contents are badly formatted. This looks like
it only affects radeapclient.
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:30:04 +0000 (14:30 +0000)]
Free resources when using Exec-Program && Exec-Program-Wait
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:27:47 +0000 (14:27 +0000)]
Free clients on error. Mostly a theoretical bug, as the server
is exiting anyways...
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:26:11 +0000 (14:26 +0000)]
Free packet on error.
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:24:21 +0000 (14:24 +0000)]
Free packet if there was an allocation problem.
Mostly a theoretical bug
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:22:04 +0000 (14:22 +0000)]
Catch a corner case where use of Exec-Program and Exec-Program-Wait
could cause memory leaks.
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:20:38 +0000 (14:20 +0000)]
Don't allow escapes (\\) if the input buffer is full
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:15:32 +0000 (14:15 +0000)]
Turned an assert into a run-time check, as it can happen
pnixon [Mon, 5 Mar 2007 14:15:28 +0000 (14:15 +0000)]
rewrite, using latest python C api thanks to Paul P Komkoff Jr
aland [Mon, 5 Mar 2007 14:11:55 +0000 (14:11 +0000)]
prev_eap_ds may be NULL. Don't dereference it.
Bug found by Coverity
aland [Mon, 5 Mar 2007 14:09:10 +0000 (14:09 +0000)]
"randvp", not "rand".
Bug found by Coverity.
aland [Mon, 5 Mar 2007 14:06:41 +0000 (14:06 +0000)]
updated version to 1.1.5, and re-generated configure
aland [Mon, 5 Mar 2007 13:13:43 +0000 (13:13 +0000)]
Read for 1.1.5, I think
aland [Mon, 5 Mar 2007 13:12:58 +0000 (13:12 +0000)]
We're at 1.1.5
aland [Mon, 5 Mar 2007 13:12:29 +0000 (13:12 +0000)]
Fix base64 decoding
pnixon [Thu, 1 Mar 2007 16:16:21 +0000 (16:16 +0000)]
Enable threaded mode again
aland [Thu, 1 Mar 2007 13:38:18 +0000 (13:38 +0000)]
latest updates
aland [Thu, 1 Mar 2007 13:37:49 +0000 (13:37 +0000)]
Don't retransmit accounting packets. The NAS should do this.
aland [Thu, 1 Mar 2007 12:58:01 +0000 (12:58 +0000)]
remove the old attribute from the value tree, too
pnixon [Tue, 27 Feb 2007 13:50:12 +0000 (13:50 +0000)]
Use new find_module_instance interface
pnixon [Tue, 27 Feb 2007 13:20:08 +0000 (13:20 +0000)]
Fix the includes to work with new structure
pnixon [Tue, 27 Feb 2007 11:30:24 +0000 (11:30 +0000)]
add rlm_sqlhpwippool from cvs head
aland [Mon, 26 Feb 2007 09:57:41 +0000 (09:57 +0000)]
Pulled from branch_1_1, with formatting
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file sqlhpwippool.sql was added on branch branch_1_1 on 2007-02-27 11:30:27 +0000
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file rlm_sqlhpwippool.c was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000
pnixon [Sun, 25 Feb 2007 14:49:43 +0000 (14:49 +0000)]
file configure.in was added on branch branch_1_1 on 2007-02-27 11:30:26 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
Add rlm_sqlhpwippool (hierarchical, prioritized, weighted IP Pool module) with thanks to Pawel Foremski and ASN. (Module originally called rlm_netvim_pools)
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file configure was added on branch branch_1_1 on 2007-02-27 11:30:25 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file config.h.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000
pnixon [Sun, 25 Feb 2007 14:49:42 +0000 (14:49 +0000)]
file Makefile.in was added on branch branch_1_1 on 2007-02-27 11:30:24 +0000
nbk [Sun, 25 Feb 2007 14:39:55 +0000 (14:39 +0000)]
Fix a typo in log message.
Thanks to Pawel Foremski <pjf@asn.pl>
nbk [Sun, 25 Feb 2007 14:39:19 +0000 (14:39 +0000)]
Fix a typo in log message.
Thanks to Pawel Foremski <pjf@asn.pl>
pnixon [Sat, 24 Feb 2007 18:31:43 +0000 (18:31 +0000)]
Add additional attributes from voy.com/41165/3969.html
aland [Fri, 23 Feb 2007 10:07:48 +0000 (10:07 +0000)]
If we find Cleartext-Password but not User-Password, copy
Cleartext-Password to User-Password just to be nice
aland [Fri, 23 Feb 2007 10:07:09 +0000 (10:07 +0000)]
Pull fix from branch_1_1
aland [Fri, 23 Feb 2007 10:06:48 +0000 (10:06 +0000)]
type.data is malloc'd by everyone BUT radeapclient, which
instead sets it to vp->strvalue. Fix it.
aland [Wed, 21 Feb 2007 11:09:04 +0000 (11:09 +0000)]
Cleaned up sample entries to remove most uses of Auth-Type,
and replace User-Password with Cleartext-Password
pnixon [Sat, 17 Feb 2007 08:08:37 +0000 (08:08 +0000)]
Update for 1.1.5 release
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