Alan T. DeKok [Tue, 20 May 2014 14:33:22 +0000 (10:33 -0400)]
Create new type PW_TYPE_TIMEVAL
Arran Cudbard-Bell [Tue, 20 May 2014 10:25:12 +0000 (11:25 +0100)]
Only check if were building with libssl
Arran Cudbard-Bell [Tue, 20 May 2014 10:21:18 +0000 (11:21 +0100)]
Fix potential NULL dereference found by scan
Arran Cudbard-Bell [Tue, 20 May 2014 09:00:29 +0000 (10:00 +0100)]
We need to initialise SSL before reading the main config Fixes #646
It was initialised before instantiating the modules, but that's probably not enough for RADSEC
Fajar A. Nugraha [Mon, 19 May 2014 09:39:15 +0000 (16:39 +0700)]
debian: debian/compat 9 -> 7
Fajar A. Nugraha [Mon, 19 May 2014 09:23:50 +0000 (16:23 +0700)]
debian: changed required debhelper to (>= 7.4)
Fajar A. Nugraha [Mon, 19 May 2014 08:27:09 +0000 (15:27 +0700)]
debian: update radiusd-to-freeradius.diff
Arran Cudbard-Bell [Sun, 18 May 2014 16:49:00 +0000 (17:49 +0100)]
Add some basic indenting
Arran Cudbard-Bell [Sun, 18 May 2014 16:35:14 +0000 (17:35 +0100)]
Remove trailing periods in log messages
Arran Cudbard-Bell [Sun, 18 May 2014 16:31:21 +0000 (17:31 +0100)]
Add RINDENT and REXDENT macros
Arran Cudbard-Bell [Sun, 18 May 2014 15:57:25 +0000 (16:57 +0100)]
Gather existing log fields in rad_request into a struct. This allows us to easily copy them all when creating fake requests, or later, spawning child requests.
Arran Cudbard-Bell [Sun, 18 May 2014 15:56:36 +0000 (16:56 +0100)]
Change request struct name to rad_request
Arran Cudbard-Bell [Sun, 18 May 2014 15:42:40 +0000 (16:42 +0100)]
Remove some duplicate build macros
Alan T. DeKok [Sat, 17 May 2014 00:14:54 +0000 (20:14 -0400)]
Fix "weird" message
Arran Cudbard-Bell [Sat, 17 May 2014 15:21:29 +0000 (16:21 +0100)]
Needed for endian checks
Arran Cudbard-Bell [Sat, 17 May 2014 15:21:21 +0000 (16:21 +0100)]
Minor radclient fixes
Arran Cudbard-Bell [Sat, 17 May 2014 08:24:47 +0000 (09:24 +0100)]
Correct fix for debug quoting (now we don't get double quoting everywhere)
Alan T. DeKok [Sat, 17 May 2014 00:11:42 +0000 (20:11 -0400)]
More talloc_steal() . Should help with #637
Arran Cudbard-Bell [Fri, 16 May 2014 17:57:29 +0000 (18:57 +0100)]
Fix list'o links
Arran Cudbard-Bell [Fri, 16 May 2014 17:55:58 +0000 (18:55 +0100)]
Update contributing.rst
Arran Cudbard-Bell [Fri, 16 May 2014 17:54:00 +0000 (18:54 +0100)]
Update and rename DIFFS.rst to contributing.rst
Arran Cudbard-Bell [Fri, 16 May 2014 16:09:51 +0000 (17:09 +0100)]
Remove duplicate tests
Arran Cudbard-Bell [Fri, 16 May 2014 14:52:40 +0000 (15:52 +0100)]
Add tests for expanded vs compiled regexes and foreach
Alan T. DeKok [Fri, 16 May 2014 14:44:35 +0000 (10:44 -0400)]
Convert (Foreach-Variable-# ...) to (%{Foreach-Variable}...
it's the same thing, and doesn't confuse the end user
Alan T. DeKok [Fri, 16 May 2014 14:34:53 +0000 (10:34 -0400)]
Add entries for structs when debugging
Arran Cudbard-Bell [Fri, 16 May 2014 13:24:23 +0000 (14:24 +0100)]
Turn on M_CHECK_ACTION too
Arran Cudbard-Bell [Fri, 16 May 2014 11:32:12 +0000 (12:32 +0100)]
Don't free foreach VPs on break #639
Wwe go back up the stack in an orderly way and don't need this hack anymore
Arran Cudbard-Bell [Fri, 16 May 2014 11:19:29 +0000 (12:19 +0100)]
Add fr_panic_on_free which calls fr_fault when a chunk is freed
Arran Cudbard-Bell [Fri, 16 May 2014 10:38:22 +0000 (11:38 +0100)]
Make the foreach code slightly more sane. Reliably reproduces the issue described by #639
Arran Cudbard-Bell [Fri, 16 May 2014 10:37:22 +0000 (11:37 +0100)]
Use pairstrncpy and pairmemcpy in paircopy to ensure consistency
Arran Cudbard-Bell [Fri, 16 May 2014 09:41:14 +0000 (10:41 +0100)]
Make backtraces slightly cleaner
Arran Cudbard-Bell [Fri, 16 May 2014 09:39:45 +0000 (10:39 +0100)]
Work around weird debian build issues
Arran Cudbard-Bell [Fri, 16 May 2014 08:16:06 +0000 (09:16 +0100)]
Remove MALLOC_PERTURB it's now handled internally with mallopt, and it might be causing GCC to die...
Arran Cudbard-Bell [Thu, 15 May 2014 22:14:23 +0000 (23:14 +0100)]
Extra foreach tests
Arran Cudbard-Bell [Thu, 15 May 2014 21:47:38 +0000 (22:47 +0100)]
...and pull in malloc.h
Arran Cudbard-Bell [Thu, 15 May 2014 21:21:00 +0000 (22:21 +0100)]
Scribble over alloced and freed memory on platforms using glibc malloc
Arran Cudbard-Bell [Thu, 15 May 2014 21:16:02 +0000 (22:16 +0100)]
Regenerate autoconf.h.in
Arran Cudbard-Bell [Thu, 15 May 2014 21:09:37 +0000 (22:09 +0100)]
Fix uninitialised value in radclient
Arran Cudbard-Bell [Thu, 15 May 2014 20:55:25 +0000 (21:55 +0100)]
Fix CUI processing
Arran Cudbard-Bell [Thu, 15 May 2014 17:57:58 +0000 (18:57 +0100)]
Unused variable
Arran Cudbard-Bell [Thu, 15 May 2014 17:47:49 +0000 (18:47 +0100)]
Print out debug when we fail reads/writes in detail.c
Arran Cudbard-Bell [Thu, 15 May 2014 17:26:19 +0000 (18:26 +0100)]
CUI should be octets type
Arran Cudbard-Bell [Thu, 15 May 2014 16:43:36 +0000 (17:43 +0100)]
Exit if we can't signal ourselves
Alan T. DeKok [Thu, 15 May 2014 16:27:14 +0000 (12:27 -0400)]
Print error before freeing memory
Arran Cudbard-Bell [Thu, 15 May 2014 14:56:54 +0000 (15:56 +0100)]
Add new build to the matrix with optimisations and additional memory checking turned on
Alan T. DeKok [Thu, 15 May 2014 14:31:23 +0000 (10:31 -0400)]
Use the correct data type. Closes #634
Alan T. DeKok [Thu, 15 May 2014 14:02:36 +0000 (10:02 -0400)]
Build without NDEBUG
Alan T. DeKok [Thu, 15 May 2014 13:45:54 +0000 (09:45 -0400)]
Added new dictionary
Arran Cudbard-Bell [Thu, 15 May 2014 09:46:36 +0000 (05:46 -0400)]
Merge pull request #633 from alanbuxey/patch-1
nchaigne [Thu, 15 May 2014 09:37:49 +0000 (11:37 +0200)]
rlm_perl - don't truncate strings from perl to FreeRADIUS
Don't truncate strings passed from perl from FreeRADIUS if they contain
a '\0'.
Arran Cudbard-Bell [Thu, 15 May 2014 09:22:19 +0000 (10:22 +0100)]
Add postauth function to rlm_rest
Arran Cudbard-Bell [Wed, 14 May 2014 21:33:26 +0000 (22:33 +0100)]
Verbosity of version should be independent of order or arguments
Alan T. DeKok [Wed, 14 May 2014 14:00:19 +0000 (10:00 -0400)]
Do SSL cleanups on exit
So that there are fewer issues with valgrind
Alan T. DeKok [Wed, 14 May 2014 17:32:42 +0000 (13:32 -0400)]
Fix typo. Closes #635
Alan T. DeKok [Wed, 14 May 2014 14:09:43 +0000 (10:09 -0400)]
Update process function when necessary
Alan T. DeKok [Tue, 13 May 2014 15:56:58 +0000 (11:56 -0400)]
Show component and module when discarding duplicate request
Alan T. DeKok [Tue, 13 May 2014 15:10:02 +0000 (11:10 -0400)]
Note recent changes
Arran Cudbard-Bell [Tue, 13 May 2014 12:32:34 +0000 (13:32 +0100)]
These tests use unprecompiled regexes
Arran Cudbard-Bell [Tue, 13 May 2014 10:52:21 +0000 (11:52 +0100)]
Fix case insensitive matching in compiled regular expressions
Arran Cudbard-Bell [Tue, 13 May 2014 07:22:15 +0000 (08:22 +0100)]
Remove uneeded check
Arran Cudbard-Bell [Tue, 13 May 2014 06:18:28 +0000 (07:18 +0100)]
Set connection pool defaults to mirror the thread pool settings
Arran Cudbard-Bell [Tue, 13 May 2014 05:39:22 +0000 (06:39 +0100)]
Merge pull request #631 from leprechau/v3.0.x
misc fixes
Arran Cudbard-Bell [Tue, 13 May 2014 05:38:12 +0000 (06:38 +0100)]
Typo in heimdal
Alan T. DeKok [Tue, 13 May 2014 02:05:16 +0000 (22:05 -0400)]
bump version number
Aaron Hurt [Tue, 13 May 2014 00:01:45 +0000 (19:01 -0500)]
misc fixes
* move couchbase.config to raddb/mods-available/couchbase and remove
install section for this file from all.mk.in
* re-work spacing in README.md to pass 'make whitespace' while still
aligning properly with github markdown rendering
* make example configuration and README documentation match
Arran Cudbard-Bell [Mon, 12 May 2014 21:30:36 +0000 (22:30 +0100)]
Switch to using AcctUniqueId for accounting queries in PG
Alan T. DeKok [Mon, 12 May 2014 19:21:38 +0000 (15:21 -0400)]
Note recent changes
Alan T. DeKok [Mon, 12 May 2014 12:27:10 +0000 (08:27 -0400)]
better error messages for logfile. And use them in rlm_detail
Arran Cudbard-Bell [Mon, 12 May 2014 10:17:53 +0000 (11:17 +0100)]
Update ChangeLog
Arran Cudbard-Bell [Mon, 12 May 2014 10:14:26 +0000 (11:14 +0100)]
Don't crash when exiting if there are EAP sessions
Arran Cudbard-Bell [Mon, 12 May 2014 05:24:35 +0000 (01:24 -0400)]
Update ChangeLog
Arran Cudbard-Bell [Sun, 11 May 2014 18:41:06 +0000 (19:41 +0100)]
Can't use main_config directly
Arran Cudbard-Bell [Sun, 11 May 2014 16:51:43 +0000 (17:51 +0100)]
Don't rate limit messages with -X so we get consistent debug output
Arran Cudbard-Bell [Sun, 11 May 2014 16:12:30 +0000 (17:12 +0100)]
Remove module specific debug messages when failing to acquire handle
Alan T. DeKok [Sun, 11 May 2014 15:42:03 +0000 (11:42 -0400)]
Use counters even if there's no parent
Alan T. DeKok [Sun, 11 May 2014 12:58:04 +0000 (08:58 -0400)]
Convert connection pool to using talloc
Alan T. DeKok [Sun, 11 May 2014 12:54:26 +0000 (08:54 -0400)]
prefix is "const"
Alan T. DeKok [Fri, 15 Feb 2013 13:36:44 +0000 (08:36 -0500)]
EAP-Key-Name is octets, not printable text
Alan T. DeKok [Sat, 10 May 2014 13:03:30 +0000 (09:03 -0400)]
pedantic: parent is structure which holds the pointer
Arran Cudbard-Bell [Sat, 10 May 2014 17:58:11 +0000 (18:58 +0100)]
Typo
Arran Cudbard-Bell [Sat, 10 May 2014 17:50:57 +0000 (18:50 +0100)]
Use the passcode char * pointer instead of request->password
Arran Cudbard-Bell [Sat, 10 May 2014 12:54:44 +0000 (13:54 +0100)]
Disable null tracking on exit else valgrind complains
Arran Cudbard-Bell [Sat, 10 May 2014 12:41:26 +0000 (13:41 +0100)]
Increment first
Arran Cudbard-Bell [Sat, 10 May 2014 12:34:04 +0000 (13:34 +0100)]
Make super sure the API key has been set
Arran Cudbard-Bell [Sat, 10 May 2014 12:03:02 +0000 (13:03 +0100)]
Return number of bytes written closes #629
Arran Cudbard-Bell [Sat, 10 May 2014 09:55:57 +0000 (10:55 +0100)]
Ifdef out unfixable warnings
Arran Cudbard-Bell [Sat, 10 May 2014 09:39:28 +0000 (10:39 +0100)]
Remove uneeded explicit frees in detail_free
Arran Cudbard-Bell [Sat, 10 May 2014 09:32:00 +0000 (10:32 +0100)]
That'd be why we used stdup...
Arran Cudbard-Bell [Sat, 10 May 2014 09:25:00 +0000 (10:25 +0100)]
Fix minor memory leak
Arran Cudbard-Bell [Sat, 10 May 2014 08:52:02 +0000 (09:52 +0100)]
Passcode needs to be a pointer into the new buffer
Arran Cudbard-Bell [Fri, 9 May 2014 23:26:51 +0000 (00:26 +0100)]
Revert "Remove more couchbase"
This reverts commit
29468bc3ecd59ccec328c9e55a56f9b0a8324a4b.
Arran Cudbard-Bell [Fri, 9 May 2014 23:26:38 +0000 (00:26 +0100)]
Revert "Remove couchbase. They're refusing packages"
This reverts commit
5317358833b1635dab0dce0b03430ad26b8073dd.
Alan T. DeKok [Fri, 9 May 2014 22:14:42 +0000 (18:14 -0400)]
Remove more couchbase
Alan T. DeKok [Fri, 9 May 2014 22:11:14 +0000 (18:11 -0400)]
Remove couchbase. They're refusing packages
Alan T. DeKok [Fri, 9 May 2014 21:50:42 +0000 (17:50 -0400)]
Parse the detail config when doing -C
Alan T. DeKok [Fri, 9 May 2014 21:50:20 +0000 (17:50 -0400)]
handle -C in detail_free
Alan T. DeKok [Fri, 9 May 2014 21:46:58 +0000 (17:46 -0400)]
We now have a warning on line 8 instead of line 21
Alan T. DeKok [Fri, 9 May 2014 21:39:46 +0000 (17:39 -0400)]
filenames should be strdup'd
Alan T. DeKok [Fri, 9 May 2014 21:37:27 +0000 (17:37 -0400)]
Initialize request
Alan T. DeKok [Fri, 9 May 2014 21:34:16 +0000 (17:34 -0400)]
Declare variable