freeradius.git
11 years agoDon't crash on server exit
Arran Cudbard-Bell [Tue, 26 Feb 2013 02:27:39 +0000 (21:27 -0500)]
Don't crash on server exit

11 years agoOutput last few lines of radius.log on error
Arran Cudbard-Bell [Tue, 26 Feb 2013 02:27:21 +0000 (21:27 -0500)]
Output last few lines of radius.log on error

11 years agoTest target must trigger cert creation process, else we time out waiting for the...
Arran Cudbard-Bell [Tue, 26 Feb 2013 01:44:25 +0000 (20:44 -0500)]
Test target must trigger cert creation process, else we time out waiting for the server to start on Travis builds

11 years agoAdd configure script
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:54:51 +0000 (19:54 -0500)]
Add configure script

11 years agoOverwrite digest da *after* packing the TLV
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:49:39 +0000 (19:49 -0500)]
Overwrite digest da *after* packing the TLV

11 years agoPass port to runtest.sh
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:04:04 +0000 (19:04 -0500)]
Pass port to runtest.sh

11 years agoImprove rlm_digest debug messages
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:02:50 +0000 (19:02 -0500)]
Improve rlm_digest debug messages

11 years agoFix rlm_mschap builds on OSX
Arran Cudbard-Bell [Mon, 25 Feb 2013 22:13:51 +0000 (17:13 -0500)]
Fix rlm_mschap builds on OSX

11 years agoFix test scripts [ci skip]
Arran Cudbard-Bell [Mon, 25 Feb 2013 21:36:49 +0000 (16:36 -0500)]
Fix test scripts [ci skip]

11 years agoInstall basic dependencies
Arran Cudbard-Bell [Mon, 25 Feb 2013 19:11:43 +0000 (14:11 -0500)]
Install basic dependencies

11 years agoFix formatting in README.rst and add build status
Arran Cudbard-Bell [Mon, 25 Feb 2013 19:04:53 +0000 (14:04 -0500)]
Fix formatting in README.rst and add build status

11 years agoChange README to README.rst
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:35:56 +0000 (13:35 -0500)]
Change README to README.rst

11 years agoBuild with clang and gcc
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:27:08 +0000 (13:27 -0500)]
Build with clang and gcc

11 years agoFirst attempt at integrating Travis
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:25:58 +0000 (13:25 -0500)]
First attempt at integrating Travis

11 years agoFix typo
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:05:25 +0000 (13:05 -0500)]
Fix typo

11 years agoFix eap-tnc configure script
Arran Cudbard-Bell [Mon, 25 Feb 2013 17:15:46 +0000 (12:15 -0500)]
Fix eap-tnc configure script

11 years agoFix typos
Arran Cudbard-Bell [Mon, 25 Feb 2013 17:14:56 +0000 (12:14 -0500)]
Fix typos

11 years agoOutput required libcurl version
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:43:59 +0000 (11:43 -0500)]
Output required libcurl version

11 years agoRemove reference to lvalue (when was this module last built?\!)
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:31:30 +0000 (11:31 -0500)]
Remove reference to lvalue (when was this module last built?\!)

11 years agoCheck for OpenSSL support
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:25:39 +0000 (11:25 -0500)]
Check for OpenSSL support

11 years agoUse boilermake for documentation.
Alan T. DeKok [Mon, 25 Feb 2013 16:14:48 +0000 (11:14 -0500)]
Use boilermake for documentation.

11 years agoFix typo
Alan T. DeKok [Mon, 25 Feb 2013 16:01:20 +0000 (11:01 -0500)]
Fix typo

11 years agoFix typos
Alan T. DeKok [Mon, 25 Feb 2013 02:33:53 +0000 (21:33 -0500)]
Fix typos

11 years agoMove scripts directory to boilermake
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

11 years agoDependencies need to be passed as LIBS
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:21:27 +0000 (11:21 -0500)]
Dependencies need to be passed as LIBS

11 years agoTry adding openssl libs to linkerflags when testing eap-ikev2
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:13:02 +0000 (11:13 -0500)]
Try adding openssl libs to linkerflags when testing eap-ikev2

11 years agoFix eap-ikev2 configure script
Arran Cudbard-Bell [Mon, 25 Feb 2013 15:52:23 +0000 (10:52 -0500)]
Fix eap-ikev2 configure script

11 years agoMove EAP types (sub-modules) to use talloc
Alan T. DeKok [Fri, 22 Feb 2013 01:14:50 +0000 (20:14 -0500)]
Move EAP types (sub-modules) to use talloc

11 years agoMore formatting
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:33:41 +0000 (20:33 -0500)]
More formatting

11 years agoFix const free warnings
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:22:51 +0000 (20:22 -0500)]
Fix const free warnings

11 years agoMore jlibtool cleanups
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:18:36 +0000 (20:18 -0500)]
More jlibtool cleanups

11 years agoPreliminary fix for linking in DynaLoader
Arran Cudbard-Bell [Fri, 22 Feb 2013 21:41:23 +0000 (16:41 -0500)]
Preliminary fix for linking in DynaLoader

11 years agoFixup formatting
Arran Cudbard-Bell [Fri, 22 Feb 2013 21:13:27 +0000 (16:13 -0500)]
Fixup formatting

11 years agoMake rlm_perl configure script more verbose
Arran Cudbard-Bell [Fri, 22 Feb 2013 04:45:01 +0000 (23:45 -0500)]
Make rlm_perl configure script more verbose

11 years agoNot needed as were using C99 types
Arran Cudbard-Bell [Fri, 22 Feb 2013 01:29:57 +0000 (20:29 -0500)]
Not needed as were using C99 types

11 years agoReformat base64 code, use library base64 functions in rlm_pap
Arran Cudbard-Bell [Fri, 22 Feb 2013 01:27:20 +0000 (20:27 -0500)]
Reformat base64 code, use library base64 functions in rlm_pap

11 years agoFix error strings to make more sense
Alan T. DeKok [Thu, 21 Feb 2013 14:34:31 +0000 (09:34 -0500)]
Fix error strings to make more sense

11 years agoStatic declarations of structures belong in C files, not H files
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.

11 years agomark unused
Alan T. DeKok [Thu, 21 Feb 2013 00:48:29 +0000 (19:48 -0500)]
mark unused

11 years agodup may return < 0
Alan T. DeKok [Thu, 21 Feb 2013 00:48:00 +0000 (19:48 -0500)]
dup may return < 0

11 years agofix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:46:45 +0000 (19:46 -0500)]
fix for coverity

11 years agofix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:44:33 +0000 (19:44 -0500)]
fix for coverity

11 years agoFix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:42:50 +0000 (19:42 -0500)]
Fix for coverity

11 years agoSkip encrypted, tagged, etc. attrs for zero-length CUI
Alan T. DeKok [Thu, 21 Feb 2013 00:41:38 +0000 (19:41 -0500)]
Skip encrypted, tagged, etc. attrs for zero-length CUI

11 years agoCheck for !cs before expanding variables
Alan T. DeKok [Thu, 21 Feb 2013 00:37:54 +0000 (19:37 -0500)]
Check for !cs before expanding variables

11 years agoFree variables on exit
Alan T. DeKok [Thu, 21 Feb 2013 00:37:06 +0000 (19:37 -0500)]
Free variables on exit

11 years agoFix typo
Alan T. DeKok [Thu, 21 Feb 2013 00:34:59 +0000 (19:34 -0500)]
Fix typo

11 years agoForce buffer to be terminated
Alan T. DeKok [Thu, 21 Feb 2013 00:34:11 +0000 (19:34 -0500)]
Force buffer to be terminated

11 years agoFix typo
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:28:22 +0000 (18:28 -0500)]
Fix typo

11 years agoUse talloc to alloc conn memory
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:01:26 +0000 (18:01 -0500)]
Use talloc to alloc conn memory

11 years agoRemove conn
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:01:13 +0000 (18:01 -0500)]
Remove conn

11 years agoMerge pull request #203 from alanbuxey/master
Arran Cudbard-Bell [Wed, 20 Feb 2013 22:04:47 +0000 (14:04 -0800)]
Merge pull request #203 from alanbuxey/master

goodbye policy.txt

11 years agoAvoid calling fr_connection_reconnect if were in a create call
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

11 years agoMore docs, rename struct from auth_req to request
Arran Cudbard-Bell [Wed, 20 Feb 2013 19:43:25 +0000 (14:43 -0500)]
More docs, rename struct from auth_req to request

11 years agogoodbye policy.txt
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

11 years agoNo longer need LT_OBJDIR
Alan T. DeKok [Wed, 20 Feb 2013 19:39:08 +0000 (20:39 +0100)]
No longer need LT_OBJDIR

11 years agoSome documentation for the request struct
Arran Cudbard-Bell [Wed, 20 Feb 2013 19:28:22 +0000 (14:28 -0500)]
Some documentation for the request struct

11 years agoRemove --with-system-libtool/libltdl
Alan T. DeKok [Wed, 20 Feb 2013 17:27:16 +0000 (18:27 +0100)]
Remove --with-system-libtool/libltdl

They no longer work

11 years agoDisable strict aliasing.
Alan T. DeKok [Wed, 20 Feb 2013 16:57:02 +0000 (11:57 -0500)]
Disable strict aliasing.

Linus isn't wrong

11 years agoBuild raddb/, too
Alan T. DeKok [Wed, 20 Feb 2013 16:56:26 +0000 (11:56 -0500)]
Build raddb/, too

11 years agoLast fix to colourise stuff
Alan T. DeKok [Wed, 20 Feb 2013 16:56:14 +0000 (11:56 -0500)]
Last fix to colourise stuff

11 years agoreset only if we changed the colors
Alan T. DeKok [Wed, 20 Feb 2013 15:53:04 +0000 (10:53 -0500)]
reset only if we changed the colors

11 years agoColorise only if we mean to
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

11 years agoiUpdate configure to have AC_OUTPUT
Alan T. DeKok [Wed, 20 Feb 2013 15:26:23 +0000 (16:26 +0100)]
iUpdate configure to have AC_OUTPUT

apparently it's required

11 years agoFIx build errors
Alan T. DeKok [Wed, 20 Feb 2013 14:36:29 +0000 (09:36 -0500)]
FIx build errors

11 years agoRevert "Unlock mutex when we find a matching connection"
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.

11 years agoRe-run autoconf
Alan T. DeKok [Wed, 20 Feb 2013 14:34:13 +0000 (15:34 +0100)]
Re-run autoconf

11 years agoAdd missing JLIBTOOL definition
Alan T. DeKok [Wed, 20 Feb 2013 14:33:57 +0000 (15:33 +0100)]
Add missing JLIBTOOL definition

11 years agoRemove option to NOT use boilermake
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.

11 years agoRemove the old build system.
Alan T. DeKok [Wed, 20 Feb 2013 14:17:59 +0000 (09:17 -0500)]
Remove the old build system.

11 years agoMake EAP-Key-Name things work
Alan T. DeKok [Wed, 20 Feb 2013 13:40:54 +0000 (08:40 -0500)]
Make EAP-Key-Name things work

11 years agoSimplify warning message
Alan T. DeKok [Wed, 20 Feb 2013 04:40:07 +0000 (23:40 -0500)]
Simplify warning message

11 years agoFix compiler warning
Alan T. DeKok [Wed, 20 Feb 2013 04:35:10 +0000 (23:35 -0500)]
Fix compiler warning

11 years agoRemove compiler warning
Alan T. DeKok [Wed, 20 Feb 2013 04:32:39 +0000 (23:32 -0500)]
Remove compiler warning

11 years agoUnknown types in CONF_PARSER are catastrophic failures
Alan T. DeKok [Wed, 20 Feb 2013 04:32:10 +0000 (23:32 -0500)]
Unknown types in CONF_PARSER are catastrophic failures

11 years agoRemove last reference to cf_section_parse_free
Arran Cudbard-Bell [Tue, 19 Feb 2013 23:05:54 +0000 (18:05 -0500)]
Remove last reference to cf_section_parse_free

11 years agoFixup documentation
Arran Cudbard-Bell [Tue, 19 Feb 2013 22:17:24 +0000 (17:17 -0500)]
Fixup documentation

11 years agoAssociate client lists with a parent section.
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

11 years ago-M implies -m, too
Alan T. DeKok [Tue, 19 Feb 2013 22:12:54 +0000 (17:12 -0500)]
-M implies -m, too

11 years agoRemove compile warnings
Alan T. DeKok [Tue, 19 Feb 2013 22:10:28 +0000 (17:10 -0500)]
Remove compile warnings

11 years agoRe-add TGT_PREREQS for libfreeradius-radius
Alan T. DeKok [Tue, 19 Feb 2013 21:21:43 +0000 (16:21 -0500)]
Re-add TGT_PREREQS for libfreeradius-radius

11 years agoUse destructor
Alan T. DeKok [Tue, 19 Feb 2013 14:42:00 +0000 (09:42 -0500)]
Use destructor

11 years agoShouldn't be any config when we boot
Alan T. DeKok [Tue, 19 Feb 2013 03:27:55 +0000 (22:27 -0500)]
Shouldn't be any config when we boot

11 years agoRequire that the modules call talloc for their instance handle.
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.

11 years agoConvert rad_alloc and rad_free to use talloc
Arran Cudbard-Bell [Mon, 18 Feb 2013 22:12:38 +0000 (17:12 -0500)]
Convert rad_alloc and rad_free to use talloc

11 years agoTalloc REQUESTs
Arran Cudbard-Bell [Mon, 18 Feb 2013 22:27:18 +0000 (17:27 -0500)]
Talloc REQUESTs

11 years agoMove virtual servers to talloc
Alan T. DeKok [Tue, 19 Feb 2013 00:09:36 +0000 (19:09 -0500)]
Move virtual servers to talloc

11 years agoClean up modules, etc. before freeing mainconfig
Alan T. DeKok [Tue, 19 Feb 2013 00:09:11 +0000 (19:09 -0500)]
Clean up modules, etc. before freeing mainconfig

11 years agoUse talloc for clients.c
Alan T. DeKok [Tue, 19 Feb 2013 00:08:43 +0000 (19:08 -0500)]
Use talloc for clients.c

11 years agoMake modules use talloc
Alan T. DeKok [Mon, 18 Feb 2013 22:05:27 +0000 (17:05 -0500)]
Make modules use talloc

11 years agoMove all conf file stuff to talloc
Alan T. DeKok [Mon, 18 Feb 2013 21:48:47 +0000 (16:48 -0500)]
Move all conf file stuff to talloc

11 years agoMove all pair* to talloc
Alan T. DeKok [Mon, 18 Feb 2013 21:48:36 +0000 (16:48 -0500)]
Move all pair* to talloc

11 years agoUse talloc functions to allocate and free valuepairs
Arran Cudbard-Bell [Mon, 18 Feb 2013 20:55:18 +0000 (15:55 -0500)]
Use talloc functions to allocate and free valuepairs

11 years agoAdd context pointer to pairalloc
Arran Cudbard-Bell [Mon, 18 Feb 2013 20:47:19 +0000 (15:47 -0500)]
Add context pointer to pairalloc

11 years agoAdd talloc memory report on -M
Arran Cudbard-Bell [Tue, 19 Feb 2013 00:33:04 +0000 (19:33 -0500)]
Add talloc memory report on -M

11 years agoAdd libtalloc to version.c
Arran Cudbard-Bell [Mon, 18 Feb 2013 20:10:25 +0000 (15:10 -0500)]
Add libtalloc to version.c

11 years agoUse talloc
Alan T. DeKok [Mon, 18 Feb 2013 20:00:33 +0000 (15:00 -0500)]
Use talloc

11 years agoCleanup checkval
Arran Cudbard-Bell [Tue, 19 Feb 2013 02:32:49 +0000 (21:32 -0500)]
Cleanup checkval

11 years agoCleanup chap
Arran Cudbard-Bell [Tue, 19 Feb 2013 02:21:39 +0000 (21:21 -0500)]
Cleanup chap

11 years agoSet vp->next to NULL on copy vp data
Arran Cudbard-Bell [Tue, 19 Feb 2013 19:14:33 +0000 (14:14 -0500)]
Set vp->next to NULL on copy vp data