freeradius.git
10 years agoCreate new type PW_TYPE_TIMEVAL
Alan T. DeKok [Tue, 20 May 2014 14:33:22 +0000 (10:33 -0400)]
Create new type PW_TYPE_TIMEVAL

10 years agoOnly check if were building with libssl
Arran Cudbard-Bell [Tue, 20 May 2014 10:25:12 +0000 (11:25 +0100)]
Only check if were building with libssl

10 years agoFix potential NULL dereference found by scan
Arran Cudbard-Bell [Tue, 20 May 2014 10:21:18 +0000 (11:21 +0100)]
Fix potential NULL dereference found by scan

10 years agoWe need to initialise SSL before reading the main config Fixes #646
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

10 years agodebian: debian/compat 9 -> 7
Fajar A. Nugraha [Mon, 19 May 2014 09:39:15 +0000 (16:39 +0700)]
debian: debian/compat 9 -> 7

10 years agodebian: changed required debhelper to (>= 7.4)
Fajar A. Nugraha [Mon, 19 May 2014 09:23:50 +0000 (16:23 +0700)]
debian: changed required debhelper to (>= 7.4)

10 years agodebian: update radiusd-to-freeradius.diff
Fajar A. Nugraha [Mon, 19 May 2014 08:27:09 +0000 (15:27 +0700)]
debian: update radiusd-to-freeradius.diff

10 years agoAdd some basic indenting
Arran Cudbard-Bell [Sun, 18 May 2014 16:49:00 +0000 (17:49 +0100)]
Add some basic indenting

10 years agoRemove trailing periods in log messages
Arran Cudbard-Bell [Sun, 18 May 2014 16:35:14 +0000 (17:35 +0100)]
Remove trailing periods in log messages

10 years agoAdd RINDENT and REXDENT macros
Arran Cudbard-Bell [Sun, 18 May 2014 16:31:21 +0000 (17:31 +0100)]
Add RINDENT and REXDENT macros

10 years agoGather existing log fields in rad_request into a struct. This allows us to easily...
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.

10 years agoChange request struct name to rad_request
Arran Cudbard-Bell [Sun, 18 May 2014 15:56:36 +0000 (16:56 +0100)]
Change request struct name to rad_request

10 years agoRemove some duplicate build macros
Arran Cudbard-Bell [Sun, 18 May 2014 15:42:40 +0000 (16:42 +0100)]
Remove some duplicate build macros

10 years agoFix "weird" message
Alan T. DeKok [Sat, 17 May 2014 00:14:54 +0000 (20:14 -0400)]
Fix "weird" message

10 years agoNeeded for endian checks
Arran Cudbard-Bell [Sat, 17 May 2014 15:21:29 +0000 (16:21 +0100)]
Needed for endian checks

10 years agoMinor radclient fixes
Arran Cudbard-Bell [Sat, 17 May 2014 15:21:21 +0000 (16:21 +0100)]
Minor radclient fixes

10 years agoCorrect fix for debug quoting (now we don't get double quoting everywhere)
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)

10 years agoMore talloc_steal() . Should help with #637
Alan T. DeKok [Sat, 17 May 2014 00:11:42 +0000 (20:11 -0400)]
More talloc_steal() .  Should help with #637

10 years agoFix list'o links
Arran Cudbard-Bell [Fri, 16 May 2014 17:57:29 +0000 (18:57 +0100)]
Fix list'o links

10 years agoUpdate contributing.rst
Arran Cudbard-Bell [Fri, 16 May 2014 17:55:58 +0000 (18:55 +0100)]
Update contributing.rst

10 years agoUpdate and rename DIFFS.rst to contributing.rst
Arran Cudbard-Bell [Fri, 16 May 2014 17:54:00 +0000 (18:54 +0100)]
Update and rename DIFFS.rst to contributing.rst

10 years agoRemove duplicate tests
Arran Cudbard-Bell [Fri, 16 May 2014 16:09:51 +0000 (17:09 +0100)]
Remove duplicate tests

10 years agoAdd tests for expanded vs compiled regexes and foreach
Arran Cudbard-Bell [Fri, 16 May 2014 14:52:40 +0000 (15:52 +0100)]
Add tests for expanded vs compiled regexes and foreach

10 years agoConvert (Foreach-Variable-# ...) to (%{Foreach-Variable}...
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

10 years agoAdd entries for structs when debugging
Alan T. DeKok [Fri, 16 May 2014 14:34:53 +0000 (10:34 -0400)]
Add entries for structs when debugging

10 years agoTurn on M_CHECK_ACTION too
Arran Cudbard-Bell [Fri, 16 May 2014 13:24:23 +0000 (14:24 +0100)]
Turn on M_CHECK_ACTION too

10 years agoDon't free foreach VPs on break #639
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

10 years agoAdd fr_panic_on_free which calls fr_fault when a chunk is freed
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

10 years agoMake the foreach code slightly more sane. Reliably reproduces the issue described...
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

10 years agoUse pairstrncpy and pairmemcpy in paircopy to ensure consistency
Arran Cudbard-Bell [Fri, 16 May 2014 10:37:22 +0000 (11:37 +0100)]
Use pairstrncpy and pairmemcpy in paircopy to ensure consistency

10 years agoMake backtraces slightly cleaner
Arran Cudbard-Bell [Fri, 16 May 2014 09:41:14 +0000 (10:41 +0100)]
Make backtraces slightly cleaner

10 years agoWork around weird debian build issues
Arran Cudbard-Bell [Fri, 16 May 2014 09:39:45 +0000 (10:39 +0100)]
Work around weird debian build issues

10 years agoRemove MALLOC_PERTURB it's now handled internally with mallopt, and it might be causi...
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...

10 years agoExtra foreach tests
Arran Cudbard-Bell [Thu, 15 May 2014 22:14:23 +0000 (23:14 +0100)]
Extra foreach tests

10 years ago...and pull in malloc.h
Arran Cudbard-Bell [Thu, 15 May 2014 21:47:38 +0000 (22:47 +0100)]
...and pull in malloc.h

10 years agoScribble over alloced and freed memory on platforms using glibc malloc
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

10 years agoRegenerate autoconf.h.in
Arran Cudbard-Bell [Thu, 15 May 2014 21:16:02 +0000 (22:16 +0100)]
Regenerate autoconf.h.in

10 years agoFix uninitialised value in radclient
Arran Cudbard-Bell [Thu, 15 May 2014 21:09:37 +0000 (22:09 +0100)]
Fix uninitialised value in radclient

10 years agoFix CUI processing
Arran Cudbard-Bell [Thu, 15 May 2014 20:55:25 +0000 (21:55 +0100)]
Fix CUI processing

10 years agoUnused variable
Arran Cudbard-Bell [Thu, 15 May 2014 17:57:58 +0000 (18:57 +0100)]
Unused variable

10 years agoPrint out debug when we fail reads/writes in detail.c
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

10 years agoCUI should be octets type
Arran Cudbard-Bell [Thu, 15 May 2014 17:26:19 +0000 (18:26 +0100)]
CUI should be octets type

10 years agoExit if we can't signal ourselves
Arran Cudbard-Bell [Thu, 15 May 2014 16:43:36 +0000 (17:43 +0100)]
Exit if we can't signal ourselves

10 years agoPrint error before freeing memory
Alan T. DeKok [Thu, 15 May 2014 16:27:14 +0000 (12:27 -0400)]
Print error before freeing memory

10 years agoAdd new build to the matrix with optimisations and additional memory checking turned on
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

10 years agoUse the correct data type. Closes #634
Alan T. DeKok [Thu, 15 May 2014 14:31:23 +0000 (10:31 -0400)]
Use the correct data type.  Closes #634

10 years agoBuild without NDEBUG
Alan T. DeKok [Thu, 15 May 2014 14:02:36 +0000 (10:02 -0400)]
Build without NDEBUG

10 years agoAdded new dictionary
Alan T. DeKok [Thu, 15 May 2014 13:45:54 +0000 (09:45 -0400)]
Added new dictionary

10 years agoMerge pull request #633 from alanbuxey/patch-1
Arran Cudbard-Bell [Thu, 15 May 2014 09:46:36 +0000 (05:46 -0400)]
Merge pull request #633 from alanbuxey/patch-1

10 years agorlm_perl - don't truncate strings from perl to FreeRADIUS
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'.

10 years agoAdd postauth function to rlm_rest
Arran Cudbard-Bell [Thu, 15 May 2014 09:22:19 +0000 (10:22 +0100)]
Add postauth function to rlm_rest

10 years agoVerbosity of version should be independent of order or arguments
Arran Cudbard-Bell [Wed, 14 May 2014 21:33:26 +0000 (22:33 +0100)]
Verbosity of version should be independent of order or arguments

10 years agoDo SSL cleanups on exit
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

10 years agoFix typo. Closes #635
Alan T. DeKok [Wed, 14 May 2014 17:32:42 +0000 (13:32 -0400)]
Fix typo.  Closes #635

10 years agoUpdate process function when necessary
Alan T. DeKok [Wed, 14 May 2014 14:09:43 +0000 (10:09 -0400)]
Update process function when necessary

10 years agoShow component and module when discarding duplicate request
Alan T. DeKok [Tue, 13 May 2014 15:56:58 +0000 (11:56 -0400)]
Show component and module when discarding duplicate request

10 years agoNote recent changes
Alan T. DeKok [Tue, 13 May 2014 15:10:02 +0000 (11:10 -0400)]
Note recent changes

10 years agoThese tests use unprecompiled regexes
Arran Cudbard-Bell [Tue, 13 May 2014 12:32:34 +0000 (13:32 +0100)]
These tests use unprecompiled regexes

10 years agoFix case insensitive matching in compiled regular expressions
Arran Cudbard-Bell [Tue, 13 May 2014 10:52:21 +0000 (11:52 +0100)]
Fix case insensitive matching in compiled regular expressions

10 years agoRemove uneeded check
Arran Cudbard-Bell [Tue, 13 May 2014 07:22:15 +0000 (08:22 +0100)]
Remove uneeded check

10 years agoSet connection pool defaults to mirror the thread pool settings
Arran Cudbard-Bell [Tue, 13 May 2014 06:18:28 +0000 (07:18 +0100)]
Set connection pool defaults to mirror the thread pool settings

10 years agoMerge pull request #631 from leprechau/v3.0.x
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

10 years agoTypo in heimdal
Arran Cudbard-Bell [Tue, 13 May 2014 05:38:12 +0000 (06:38 +0100)]
Typo in heimdal

10 years agobump version number
Alan T. DeKok [Tue, 13 May 2014 02:05:16 +0000 (22:05 -0400)]
bump version number

10 years agomisc fixes
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

10 years agoSwitch to using AcctUniqueId for accounting queries in PG
Arran Cudbard-Bell [Mon, 12 May 2014 21:30:36 +0000 (22:30 +0100)]
Switch to using AcctUniqueId for accounting queries in PG

10 years agoNote recent changes release_3_0_3
Alan T. DeKok [Mon, 12 May 2014 19:21:38 +0000 (15:21 -0400)]
Note recent changes

10 years agobetter error messages for logfile. And use them in rlm_detail
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

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Mon, 12 May 2014 10:17:53 +0000 (11:17 +0100)]
Update ChangeLog

10 years agoDon't crash when exiting if there are EAP sessions
Arran Cudbard-Bell [Mon, 12 May 2014 10:14:26 +0000 (11:14 +0100)]
Don't crash when exiting if there are EAP sessions

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Mon, 12 May 2014 05:24:35 +0000 (01:24 -0400)]
Update ChangeLog

10 years agoCan't use main_config directly
Arran Cudbard-Bell [Sun, 11 May 2014 18:41:06 +0000 (19:41 +0100)]
Can't use main_config directly

10 years agoDon't rate limit messages with -X so we get consistent debug output
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

10 years agoRemove module specific debug messages when failing to acquire handle
Arran Cudbard-Bell [Sun, 11 May 2014 16:12:30 +0000 (17:12 +0100)]
Remove module specific debug messages when failing to acquire handle

10 years agoUse counters even if there's no parent
Alan T. DeKok [Sun, 11 May 2014 15:42:03 +0000 (11:42 -0400)]
Use counters even if there's no parent

10 years agoConvert connection pool to using talloc
Alan T. DeKok [Sun, 11 May 2014 12:58:04 +0000 (08:58 -0400)]
Convert connection pool to using talloc

10 years agoprefix is "const"
Alan T. DeKok [Sun, 11 May 2014 12:54:26 +0000 (08:54 -0400)]
prefix is "const"

10 years agoEAP-Key-Name is octets, not printable text
Alan T. DeKok [Fri, 15 Feb 2013 13:36:44 +0000 (08:36 -0500)]
EAP-Key-Name is octets, not printable text

10 years agopedantic: parent is structure which holds the pointer
Alan T. DeKok [Sat, 10 May 2014 13:03:30 +0000 (09:03 -0400)]
pedantic: parent is structure which holds the pointer

10 years agoTypo
Arran Cudbard-Bell [Sat, 10 May 2014 17:58:11 +0000 (18:58 +0100)]
Typo

10 years agoUse the passcode char * pointer instead of request->password
Arran Cudbard-Bell [Sat, 10 May 2014 17:50:57 +0000 (18:50 +0100)]
Use the passcode char * pointer instead of request->password

10 years agoDisable null tracking on exit else valgrind complains
Arran Cudbard-Bell [Sat, 10 May 2014 12:54:44 +0000 (13:54 +0100)]
Disable null tracking on exit else valgrind complains

10 years agoIncrement first
Arran Cudbard-Bell [Sat, 10 May 2014 12:41:26 +0000 (13:41 +0100)]
Increment first

10 years agoMake super sure the API key has been set
Arran Cudbard-Bell [Sat, 10 May 2014 12:34:04 +0000 (13:34 +0100)]
Make super sure the API key has been set

10 years agoReturn number of bytes written closes #629
Arran Cudbard-Bell [Sat, 10 May 2014 12:03:02 +0000 (13:03 +0100)]
Return number of bytes written closes #629

10 years agoIfdef out unfixable warnings
Arran Cudbard-Bell [Sat, 10 May 2014 09:55:57 +0000 (10:55 +0100)]
Ifdef out unfixable warnings

10 years agoRemove uneeded explicit frees in detail_free
Arran Cudbard-Bell [Sat, 10 May 2014 09:39:28 +0000 (10:39 +0100)]
Remove uneeded explicit frees in detail_free

10 years agoThat'd be why we used stdup...
Arran Cudbard-Bell [Sat, 10 May 2014 09:32:00 +0000 (10:32 +0100)]
That'd be why we used stdup...

10 years agoFix minor memory leak
Arran Cudbard-Bell [Sat, 10 May 2014 09:25:00 +0000 (10:25 +0100)]
Fix minor memory leak

10 years agoPasscode needs to be a pointer into the new buffer
Arran Cudbard-Bell [Sat, 10 May 2014 08:52:02 +0000 (09:52 +0100)]
Passcode needs to be a pointer into the new buffer

10 years agoRevert "Remove more couchbase"
Arran Cudbard-Bell [Fri, 9 May 2014 23:26:51 +0000 (00:26 +0100)]
Revert "Remove more couchbase"

This reverts commit 29468bc3ecd59ccec328c9e55a56f9b0a8324a4b.

10 years agoRevert "Remove couchbase. They're refusing packages"
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.

10 years agoRemove more couchbase
Alan T. DeKok [Fri, 9 May 2014 22:14:42 +0000 (18:14 -0400)]
Remove more couchbase

10 years agoRemove couchbase. They're refusing packages
Alan T. DeKok [Fri, 9 May 2014 22:11:14 +0000 (18:11 -0400)]
Remove couchbase.  They're refusing packages

10 years agoParse the detail config when doing -C
Alan T. DeKok [Fri, 9 May 2014 21:50:42 +0000 (17:50 -0400)]
Parse the detail config when doing -C

10 years agohandle -C in detail_free
Alan T. DeKok [Fri, 9 May 2014 21:50:20 +0000 (17:50 -0400)]
handle -C in detail_free

10 years agoWe now have a warning on line 8 instead of line 21
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

10 years agofilenames should be strdup'd
Alan T. DeKok [Fri, 9 May 2014 21:39:46 +0000 (17:39 -0400)]
filenames should be strdup'd

10 years agoInitialize request
Alan T. DeKok [Fri, 9 May 2014 21:37:27 +0000 (17:37 -0400)]
Initialize request

10 years agoDeclare variable
Alan T. DeKok [Fri, 9 May 2014 21:34:16 +0000 (17:34 -0400)]
Declare variable