Alan T. DeKok [Sun, 24 Feb 2013 01:29:49 +0000 (20:29 -0500)]
Move scripts directory to boilermake
TODO: have "BINDIR" macro, which installs files into bindir
and for sbindir
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:21:27 +0000 (11:21 -0500)]
Dependencies need to be passed as LIBS
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:13:02 +0000 (11:13 -0500)]
Try adding openssl libs to linkerflags when testing eap-ikev2
Arran Cudbard-Bell [Mon, 25 Feb 2013 15:52:23 +0000 (10:52 -0500)]
Fix eap-ikev2 configure script
Alan T. DeKok [Fri, 22 Feb 2013 01:14:50 +0000 (20:14 -0500)]
Move EAP types (sub-modules) to use talloc
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:33:41 +0000 (20:33 -0500)]
More formatting
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:22:51 +0000 (20:22 -0500)]
Fix const free warnings
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:18:36 +0000 (20:18 -0500)]
More jlibtool cleanups
Arran Cudbard-Bell [Fri, 22 Feb 2013 21:41:23 +0000 (16:41 -0500)]
Preliminary fix for linking in DynaLoader
Arran Cudbard-Bell [Fri, 22 Feb 2013 21:13:27 +0000 (16:13 -0500)]
Fixup formatting
Arran Cudbard-Bell [Fri, 22 Feb 2013 04:45:01 +0000 (23:45 -0500)]
Make rlm_perl configure script more verbose
Arran Cudbard-Bell [Fri, 22 Feb 2013 01:29:57 +0000 (20:29 -0500)]
Not needed as were using C99 types
Arran Cudbard-Bell [Fri, 22 Feb 2013 01:27:20 +0000 (20:27 -0500)]
Reformat base64 code, use library base64 functions in rlm_pap
Alan T. DeKok [Thu, 21 Feb 2013 14:34:31 +0000 (09:34 -0500)]
Fix error strings to make more sense
Alan T. DeKok [Thu, 21 Feb 2013 03:56:17 +0000 (22:56 -0500)]
Static declarations of structures belong in C files, not H files
And set the "end of CONF_PARSER" entry, too.
Alan T. DeKok [Thu, 21 Feb 2013 00:48:29 +0000 (19:48 -0500)]
mark unused
Alan T. DeKok [Thu, 21 Feb 2013 00:48:00 +0000 (19:48 -0500)]
dup may return < 0
Alan T. DeKok [Thu, 21 Feb 2013 00:46:45 +0000 (19:46 -0500)]
fix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:44:33 +0000 (19:44 -0500)]
fix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:42:50 +0000 (19:42 -0500)]
Fix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:41:38 +0000 (19:41 -0500)]
Skip encrypted, tagged, etc. attrs for zero-length CUI
Alan T. DeKok [Thu, 21 Feb 2013 00:37:54 +0000 (19:37 -0500)]
Check for !cs before expanding variables
Alan T. DeKok [Thu, 21 Feb 2013 00:37:06 +0000 (19:37 -0500)]
Free variables on exit
Alan T. DeKok [Thu, 21 Feb 2013 00:34:59 +0000 (19:34 -0500)]
Fix typo
Alan T. DeKok [Thu, 21 Feb 2013 00:34:11 +0000 (19:34 -0500)]
Force buffer to be terminated
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:28:22 +0000 (18:28 -0500)]
Fix typo
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:01:26 +0000 (18:01 -0500)]
Use talloc to alloc conn memory
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:01:13 +0000 (18:01 -0500)]
Remove conn
Arran Cudbard-Bell [Wed, 20 Feb 2013 22:04:47 +0000 (14:04 -0800)]
Merge pull request #203 from alanbuxey/master
goodbye policy.txt
Arran Cudbard-Bell [Wed, 20 Feb 2013 22:00:34 +0000 (17:00 -0500)]
Avoid calling fr_connection_reconnect if were in a create call
Arran Cudbard-Bell [Wed, 20 Feb 2013 19:43:25 +0000 (14:43 -0500)]
More docs, rename struct from auth_req to request
Alan Buxey [Wed, 20 Feb 2013 21:55:54 +0000 (21:55 +0000)]
goodbye policy.txt
remove policy.txt to stop errors on make install etc
Alan T. DeKok [Wed, 20 Feb 2013 19:39:08 +0000 (20:39 +0100)]
No longer need LT_OBJDIR
Arran Cudbard-Bell [Wed, 20 Feb 2013 19:28:22 +0000 (14:28 -0500)]
Some documentation for the request struct
Alan T. DeKok [Wed, 20 Feb 2013 17:27:16 +0000 (18:27 +0100)]
Remove --with-system-libtool/libltdl
They no longer work
Alan T. DeKok [Wed, 20 Feb 2013 16:57:02 +0000 (11:57 -0500)]
Disable strict aliasing.
Linus isn't wrong
Alan T. DeKok [Wed, 20 Feb 2013 16:56:26 +0000 (11:56 -0500)]
Build raddb/, too
Alan T. DeKok [Wed, 20 Feb 2013 16:56:14 +0000 (11:56 -0500)]
Last fix to colourise stuff
Alan T. DeKok [Wed, 20 Feb 2013 15:53:04 +0000 (10:53 -0500)]
reset only if we changed the colors
Alan T. DeKok [Wed, 20 Feb 2013 15:51:54 +0000 (10:51 -0500)]
Colorise only if we mean to
Parse the flag into an intermediate variable, otherwise it's
enabled immediately.
Then, turn the main variable on ONLY if the intermediate is set,
AND the various preconditions are satisfied
Alan T. DeKok [Wed, 20 Feb 2013 15:26:23 +0000 (16:26 +0100)]
iUpdate configure to have AC_OUTPUT
apparently it's required
Alan T. DeKok [Wed, 20 Feb 2013 14:36:29 +0000 (09:36 -0500)]
FIx build errors
Arran Cudbard-Bell [Wed, 20 Feb 2013 14:41:39 +0000 (09:41 -0500)]
Revert "Unlock mutex when we find a matching connection"
This reverts commit
84fa208a76fc6415d4e5f4c6cb4f1101799b3c89.
Alan T. DeKok [Wed, 20 Feb 2013 14:34:13 +0000 (15:34 +0100)]
Re-run autoconf
Alan T. DeKok [Wed, 20 Feb 2013 14:33:57 +0000 (15:33 +0100)]
Add missing JLIBTOOL definition
Alan T. DeKok [Wed, 20 Feb 2013 14:19:58 +0000 (09:19 -0500)]
Remove option to NOT use boilermake
We now always use boilermake.
Alan T. DeKok [Wed, 20 Feb 2013 14:17:59 +0000 (09:17 -0500)]
Remove the old build system.
Alan T. DeKok [Wed, 20 Feb 2013 13:40:54 +0000 (08:40 -0500)]
Make EAP-Key-Name things work
Alan T. DeKok [Wed, 20 Feb 2013 04:40:07 +0000 (23:40 -0500)]
Simplify warning message
Alan T. DeKok [Wed, 20 Feb 2013 04:35:10 +0000 (23:35 -0500)]
Fix compiler warning
Alan T. DeKok [Wed, 20 Feb 2013 04:32:39 +0000 (23:32 -0500)]
Remove compiler warning
Alan T. DeKok [Wed, 20 Feb 2013 04:32:10 +0000 (23:32 -0500)]
Unknown types in CONF_PARSER are catastrophic failures
Arran Cudbard-Bell [Tue, 19 Feb 2013 23:05:54 +0000 (18:05 -0500)]
Remove last reference to cf_section_parse_free
Arran Cudbard-Bell [Tue, 19 Feb 2013 22:17:24 +0000 (17:17 -0500)]
Fixup documentation
Alan T. DeKok [Tue, 19 Feb 2013 22:17:36 +0000 (17:17 -0500)]
Associate client lists with a parent section.
We now have no talloc leaks on exit.
We still have a few listeners leaked on exit, but that's mostly
because they haven't yet been converted to talloc
Alan T. DeKok [Tue, 19 Feb 2013 22:12:54 +0000 (17:12 -0500)]
-M implies -m, too
Alan T. DeKok [Tue, 19 Feb 2013 22:10:28 +0000 (17:10 -0500)]
Remove compile warnings
Alan T. DeKok [Tue, 19 Feb 2013 21:21:43 +0000 (16:21 -0500)]
Re-add TGT_PREREQS for libfreeradius-radius
Alan T. DeKok [Tue, 19 Feb 2013 14:42:00 +0000 (09:42 -0500)]
Use destructor
Alan T. DeKok [Tue, 19 Feb 2013 03:27:55 +0000 (22:27 -0500)]
Shouldn't be any config when we boot
Alan T. DeKok [Tue, 19 Feb 2013 02:40:49 +0000 (21:40 -0500)]
Require that the modules call talloc for their instance handle.
The server builds, but it WILL have talloc/malloc conflicts, as
the modules have not been updated.
The assumption here is that the modules return an instance handle,
EVEN IF they haev an error. The server core will now take care
of calling the appropriate detach() method.
Arran Cudbard-Bell [Mon, 18 Feb 2013 22:12:38 +0000 (17:12 -0500)]
Convert rad_alloc and rad_free to use talloc
Arran Cudbard-Bell [Mon, 18 Feb 2013 22:27:18 +0000 (17:27 -0500)]
Talloc REQUESTs
Alan T. DeKok [Tue, 19 Feb 2013 00:09:36 +0000 (19:09 -0500)]
Move virtual servers to talloc
Alan T. DeKok [Tue, 19 Feb 2013 00:09:11 +0000 (19:09 -0500)]
Clean up modules, etc. before freeing mainconfig
Alan T. DeKok [Tue, 19 Feb 2013 00:08:43 +0000 (19:08 -0500)]
Use talloc for clients.c
Alan T. DeKok [Mon, 18 Feb 2013 22:05:27 +0000 (17:05 -0500)]
Make modules use talloc
Alan T. DeKok [Mon, 18 Feb 2013 21:48:47 +0000 (16:48 -0500)]
Move all conf file stuff to talloc
Alan T. DeKok [Mon, 18 Feb 2013 21:48:36 +0000 (16:48 -0500)]
Move all pair* to talloc
Arran Cudbard-Bell [Mon, 18 Feb 2013 20:55:18 +0000 (15:55 -0500)]
Use talloc functions to allocate and free valuepairs
Arran Cudbard-Bell [Mon, 18 Feb 2013 20:47:19 +0000 (15:47 -0500)]
Add context pointer to pairalloc
Arran Cudbard-Bell [Tue, 19 Feb 2013 00:33:04 +0000 (19:33 -0500)]
Add talloc memory report on -M
Arran Cudbard-Bell [Mon, 18 Feb 2013 20:10:25 +0000 (15:10 -0500)]
Add libtalloc to version.c
Alan T. DeKok [Mon, 18 Feb 2013 20:00:33 +0000 (15:00 -0500)]
Use talloc
Arran Cudbard-Bell [Tue, 19 Feb 2013 02:32:49 +0000 (21:32 -0500)]
Cleanup checkval
Arran Cudbard-Bell [Tue, 19 Feb 2013 02:21:39 +0000 (21:21 -0500)]
Cleanup chap
Arran Cudbard-Bell [Tue, 19 Feb 2013 19:14:33 +0000 (14:14 -0500)]
Set vp->next to NULL on copy vp data
Arran Cudbard-Bell [Tue, 19 Feb 2013 17:48:53 +0000 (12:48 -0500)]
Update configure script to add -ltalloc
Alan T. DeKok [Tue, 19 Feb 2013 00:41:06 +0000 (19:41 -0500)]
Don't free parsed items
Alan T. DeKok [Mon, 18 Feb 2013 22:59:10 +0000 (17:59 -0500)]
Allocate from the dict pool, not via malloc
Arran Cudbard-Bell [Tue, 19 Feb 2013 15:28:49 +0000 (10:28 -0500)]
vp_prints should check for NULL da
Alan T. DeKok [Tue, 19 Feb 2013 14:54:57 +0000 (09:54 -0500)]
Print out better message on operations error
Alan T. DeKok [Tue, 19 Feb 2013 14:56:46 +0000 (09:56 -0500)]
Make more debug messages errors
So that problems with the client are highlighted
Alan T. DeKok [Tue, 19 Feb 2013 18:13:09 +0000 (13:13 -0500)]
Removed unused definitions for LTDL
Alan T. DeKok [Mon, 18 Feb 2013 21:24:54 +0000 (16:24 -0500)]
Don't use strncpy
Arran Cudbard-Bell [Tue, 19 Feb 2013 17:17:16 +0000 (12:17 -0500)]
Change slightly confusing log message
Arran Cudbard-Bell [Tue, 19 Feb 2013 00:42:01 +0000 (19:42 -0500)]
dict_attr_free should check pointer value
Alan T. DeKok [Mon, 18 Feb 2013 21:14:07 +0000 (16:14 -0500)]
Older systems don't have strlcpy
Alan T. DeKok [Mon, 18 Feb 2013 21:12:43 +0000 (16:12 -0500)]
Don't free config data manually.
Arran Cudbard-Bell [Mon, 18 Feb 2013 19:14:39 +0000 (14:14 -0500)]
Set vp_strvalue to NULL if the pair is marked for xlat
Alan T. DeKok [Mon, 18 Feb 2013 19:02:43 +0000 (14:02 -0500)]
Call cf_section_parse_free before freeing sub-modules
Alan T. DeKok [Mon, 18 Feb 2013 19:02:15 +0000 (14:02 -0500)]
No longer need to free conf file stuff manually.
Alan T. DeKok [Mon, 18 Feb 2013 19:01:56 +0000 (14:01 -0500)]
Call cf_section_parse_free before calling the module detach
Alan T. DeKok [Mon, 18 Feb 2013 19:01:32 +0000 (14:01 -0500)]
cf_section_parse_free() recurses into sub-sections
Alan T. DeKok [Mon, 18 Feb 2013 18:29:57 +0000 (13:29 -0500)]
Fix coverity errors
Alan T. DeKok [Mon, 18 Feb 2013 18:28:12 +0000 (13:28 -0500)]
Unlock mutex when we find a matching connection
Alan T. DeKok [Mon, 18 Feb 2013 18:26:54 +0000 (13:26 -0500)]
Free newfd on error
Alan T. DeKok [Mon, 18 Feb 2013 18:26:03 +0000 (13:26 -0500)]
Free correct VP
Alan T. DeKok [Mon, 18 Feb 2013 18:23:18 +0000 (13:23 -0500)]
One more check for size > 253
Alan T. DeKok [Mon, 18 Feb 2013 18:18:06 +0000 (13:18 -0500)]
Add empty field to struct