freeradius.git
8 years agoAdd SSL support to unittest
Philippe Wooding [Wed, 6 May 2015 16:13:12 +0000 (18:13 +0200)]
Add SSL support to unittest

8 years agoBug fix: when adding a list of VPs to and existing list, the operators weren't proces...
Philippe Wooding [Wed, 6 May 2015 16:12:19 +0000 (18:12 +0200)]
Bug fix: when adding a list of VPs to and existing list, the operators weren't processed as they should be.

8 years agoRename generic LDAP attributes to: radiusControlAttribute, radiusReplyAttribute ...
Philippe Wooding [Wed, 6 May 2015 16:05:39 +0000 (18:05 +0200)]
Rename generic LDAP attributes to: radiusControlAttribute, radiusReplyAttribute & radiusRequestAttribute
and add these new attributes the the schema definition.

8 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 2 Jun 2015 17:16:41 +0000 (11:16 -0600)]
Update ChangeLog

8 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 2 Jun 2015 17:16:14 +0000 (11:16 -0600)]
Update ChangeLog

8 years agoAdd dictionary for hotspot 2.0
Arran Cudbard-Bell [Tue, 2 Jun 2015 17:07:35 +0000 (11:07 -0600)]
Add dictionary for hotspot 2.0

8 years agonote recent changes
Alan T. DeKok [Mon, 1 Jun 2015 17:53:39 +0000 (13:53 -0400)]
note recent changes

8 years agoFix rad_suid_up / down / down_permanent for non-Linux systems
Alan T. DeKok [Mon, 1 Jun 2015 15:48:52 +0000 (11:48 -0400)]
Fix rad_suid_up / down / down_permanent for non-Linux systems

8 years agocreate radlog_dir along with run_dir.
Alan T. DeKok [Mon, 1 Jun 2015 15:36:41 +0000 (11:36 -0400)]
create radlog_dir along with run_dir.

And create the output log file AFTER changing SUID

8 years agore-arrange and document the various config blocks
Alan T. DeKok [Mon, 1 Jun 2015 15:08:25 +0000 (11:08 -0400)]
re-arrange and document the various config blocks

8 years agoParse ${logdir} and ${run_dir} as part of bootstrap
Alan T. DeKok [Mon, 1 Jun 2015 14:59:03 +0000 (10:59 -0400)]
Parse ${logdir} and ${run_dir} as part of bootstrap

8 years agoparse ${logdir} as part of the destinations
Alan T. DeKok [Mon, 1 Jun 2015 14:57:56 +0000 (10:57 -0400)]
parse ${logdir} as part of the destinations

8 years agoLoading modules is a debug message
Alan T. DeKok [Mon, 1 Jun 2015 14:29:06 +0000 (10:29 -0400)]
Loading modules is a debug message

8 years agoRemove redundant "open log files"
Alan T. DeKok [Mon, 1 Jun 2015 13:04:43 +0000 (09:04 -0400)]
Remove redundant "open log files"

8 years agoCreate run_dir in daemon mode
Alan T. DeKok [Mon, 1 Jun 2015 13:03:31 +0000 (09:03 -0400)]
Create run_dir in daemon mode

8 years agoCheck if radius is running
Sebastian Hagedorn [Fri, 29 May 2015 12:52:37 +0000 (14:52 +0200)]
Check if radius is running

post-receive checks if radius is running. If not, it will accept
changes based on the config check, without trying to restart radiusd.

8 years agoon the odd chance that fmt may be NULL...
Alan T. DeKok [Sun, 31 May 2015 22:27:37 +0000 (18:27 -0400)]
on the odd chance that fmt may be NULL...

8 years agoAssert not required and causes warnings with NDEBUG
Arran Cudbard-Bell [Fri, 29 May 2015 20:07:24 +0000 (16:07 -0400)]
Assert not required and causes warnings with NDEBUG

8 years agoTypo
Arran Cudbard-Bell [Fri, 29 May 2015 19:41:21 +0000 (15:41 -0400)]
Typo

8 years agobugfix a SIGSEGV during 'show debug condition' in radmin
Jorge Pereira [Fri, 29 May 2015 18:54:51 +0000 (15:54 -0300)]
bugfix a SIGSEGV during 'show debug condition' in radmin

8 years agonote recent changes
Alan T. DeKok [Fri, 29 May 2015 16:10:27 +0000 (12:10 -0400)]
note recent changes

8 years agonitgroups only when changing UIDs
Alan T. DeKok [Fri, 29 May 2015 16:09:35 +0000 (12:09 -0400)]
nitgroups only when changing UIDs

8 years agoParent may be NULL
Arran Cudbard-Bell [Fri, 29 May 2015 15:24:00 +0000 (11:24 -0400)]
Parent may be NULL

8 years agoAllow the server to start as "radiusd" with "user = radiusd"
Alan T. DeKok [Fri, 29 May 2015 14:55:25 +0000 (10:55 -0400)]
Allow the server to start as "radiusd" with "user = radiusd"

8 years agosend packet as the last thing in a thread
Alan T. DeKok [Fri, 29 May 2015 00:48:50 +0000 (20:48 -0400)]
send packet as the last thing in a thread

8 years agoBe more careful when originating CoA requests
Alan T. DeKok [Thu, 28 May 2015 16:07:46 +0000 (12:07 -0400)]
Be more careful when originating CoA requests

And document the process a bit more

8 years agoAllow sendign CoA packets from post-auth
Alan T. DeKok [Thu, 28 May 2015 15:49:46 +0000 (11:49 -0400)]
Allow sendign CoA packets from post-auth

8 years agocp filename may be NULL
Alan T. DeKok [Thu, 28 May 2015 15:28:39 +0000 (11:28 -0400)]
cp filename may be NULL

9 years agoUse correct data types for TLS fields
Alan T. DeKok [Wed, 27 May 2015 15:01:28 +0000 (11:01 -0400)]
Use correct data types for TLS fields

9 years agonote recent changes
Alan T. DeKok [Wed, 27 May 2015 14:05:48 +0000 (10:05 -0400)]
note recent changes

9 years agoUse allow_retry for expired passwords, too
Alan T. DeKok [Wed, 27 May 2015 14:04:56 +0000 (10:04 -0400)]
Use allow_retry for expired passwords, too

9 years agoMore debugging
Alan T. DeKok [Wed, 27 May 2015 12:50:30 +0000 (08:50 -0400)]
More debugging

9 years agoAlways need strvalue
Arran Cudbard-Bell [Tue, 26 May 2015 18:21:58 +0000 (14:21 -0400)]
Always need strvalue

9 years agoUpdate ldap
Arran Cudbard-Bell [Mon, 25 May 2015 18:03:46 +0000 (14:03 -0400)]
Update ldap

9 years agoAvoid strdup for filename, if at all possible
Alan T. DeKok [Fri, 22 May 2015 13:36:12 +0000 (09:36 -0400)]
Avoid strdup for filename, if at all possible

9 years agoUse the same <internal>
Alan T. DeKok [Fri, 22 May 2015 13:26:25 +0000 (09:26 -0400)]
Use the same <internal>

9 years agoRegen configure
Arran Cudbard-Bell [Thu, 21 May 2015 23:15:43 +0000 (19:15 -0400)]
Regen configure

9 years agoStrip trailing -<stuff>
Arran Cudbard-Bell [Thu, 21 May 2015 23:14:34 +0000 (19:14 -0400)]
Strip trailing -<stuff>

9 years agoRevert "Use strlcpy for strings, not memcpy"
Arran Cudbard-Bell [Wed, 20 May 2015 22:00:32 +0000 (18:00 -0400)]
Revert "Use strlcpy for strings, not memcpy"

This reverts commit 2a839bae07368948b8805231a8369102e44e26d9.

9 years agoIgnore .mk from v3.1.x
Arran Cudbard-Bell [Wed, 20 May 2015 21:36:47 +0000 (17:36 -0400)]
Ignore .mk from v3.1.x

9 years agoCommit mk files for sql modules
Arran Cudbard-Bell [Wed, 20 May 2015 16:19:06 +0000 (12:19 -0400)]
Commit mk files for sql modules

9 years agoFormatting
Arran Cudbard-Bell [Wed, 20 May 2015 16:17:24 +0000 (12:17 -0400)]
Formatting

9 years agoUse strlcpy for strings, not memcpy
Alan T. DeKok [Wed, 20 May 2015 17:51:50 +0000 (13:51 -0400)]
Use strlcpy for strings, not memcpy

9 years agoWordsmithing and fixing for v3
Alan T. DeKok [Wed, 20 May 2015 14:45:21 +0000 (10:45 -0400)]
Wordsmithing and fixing for v3

9 years agoPrint out bytes we see for TLS version
Alan T. DeKok [Wed, 20 May 2015 14:06:55 +0000 (10:06 -0400)]
Print out bytes we see for TLS version

Instead of just printing "unknown"

9 years agoFormatting
Alan T. DeKok [Tue, 19 May 2015 17:49:22 +0000 (13:49 -0400)]
Formatting

9 years agoOrdering for sqlite
Alan T. DeKok [Tue, 19 May 2015 13:14:58 +0000 (09:14 -0400)]
Ordering for sqlite

to ensure that the tests don't run in parallel, and break

9 years agoTypo in comment
Arran Cudbard-Bell [Mon, 18 May 2015 00:41:19 +0000 (20:41 -0400)]
Typo in comment

9 years agoMake tmpl_expand and tmpl_aexpand work with TMPL_TYPE_DATA too
Arran Cudbard-Bell [Sun, 17 May 2015 22:45:48 +0000 (18:45 -0400)]
Make tmpl_expand and tmpl_aexpand work with TMPL_TYPE_DATA too

9 years agoFix invalid assert and error in conffile.c
Arran Cudbard-Bell [Sun, 17 May 2015 03:46:29 +0000 (23:46 -0400)]
Fix invalid assert and error in conffile.c

9 years agoAdd function to check if something is a value utf8 string
Arran Cudbard-Bell [Sun, 17 May 2015 22:47:18 +0000 (18:47 -0400)]
Add function to check if something is a value utf8 string

9 years agoDisallow TMPL_TYPE_ATTR_UNDEFINED and throw an error in pass2
Arran Cudbard-Bell [Sun, 17 May 2015 22:46:48 +0000 (18:46 -0400)]
Disallow TMPL_TYPE_ATTR_UNDEFINED and throw an error in pass2

9 years agoUse appropriate quoting in map_debug_log
Arran Cudbard-Bell [Sun, 17 May 2015 22:46:23 +0000 (18:46 -0400)]
Use appropriate quoting in map_debug_log

9 years agonode->cs can't be NULL. Closes CID #1298632
Alan T. DeKok [Sun, 17 May 2015 20:56:31 +0000 (16:56 -0400)]
node->cs can't be NULL.  Closes CID #1298632

9 years agoUse C99 initialisers for cache drivers too
Arran Cudbard-Bell [Sat, 16 May 2015 22:32:59 +0000 (18:32 -0400)]
Use C99 initialisers for cache drivers too

9 years agoRename xlat_name -> name in rlm_cache
Arran Cudbard-Bell [Sat, 16 May 2015 22:25:15 +0000 (18:25 -0400)]
Rename xlat_name -> name in rlm_cache

9 years agoPrint debug before, not after removing the attribute from the src cursor
Arran Cudbard-Bell [Sat, 16 May 2015 20:57:35 +0000 (16:57 -0400)]
Print debug before, not after removing the attribute from the src cursor

9 years agoNeed length for v3.0.x
Arran Cudbard-Bell [Sat, 16 May 2015 20:23:51 +0000 (16:23 -0400)]
Need length for v3.0.x

9 years agoFix build error
Alan T. DeKok [Sat, 16 May 2015 20:22:21 +0000 (16:22 -0400)]
Fix build error

9 years agoFix map_to_request VP parenting
Arran Cudbard-Bell [Sat, 16 May 2015 03:50:14 +0000 (23:50 -0400)]
Fix map_to_request VP parenting

9 years agoAllow certain special inst selectors to work with lists e.g. %{reply:[*]} and %{reply...
Arran Cudbard-Bell [Sat, 16 May 2015 17:37:16 +0000 (13:37 -0400)]
Allow certain special inst selectors to work with lists e.g. %{reply:[*]} and %{reply:[#]}. Mostly useful for tests.

9 years agoFix overwriting values at specific indexes e.g. reply:Reply-Message[1] = 'foo'
Arran Cudbard-Bell [Sat, 16 May 2015 19:50:07 +0000 (15:50 -0400)]
Fix overwriting values at specific indexes e.g. reply:Reply-Message[1] = 'foo'

9 years agoWhen RHS is a list, create a temporary vpt for the RHS which describes the source...
Arran Cudbard-Bell [Sat, 16 May 2015 17:38:19 +0000 (13:38 -0400)]
When RHS is a list, create a temporary vpt for the RHS which describes the source list, and the attribute, and use that to print debug output for the RHS

9 years agoFix tmpl_prints to print lists correctly
Arran Cudbard-Bell [Sat, 16 May 2015 17:36:39 +0000 (13:36 -0400)]
Fix tmpl_prints to print lists correctly

9 years agoPrint meaningful errors for unknown attrs with tags
Arran Cudbard-Bell [Sat, 16 May 2015 15:53:28 +0000 (11:53 -0400)]
Print meaningful errors for unknown attrs with tags

9 years agoFormatting
Arran Cudbard-Bell [Sat, 16 May 2015 15:53:14 +0000 (11:53 -0400)]
Formatting

9 years agonote recent changes
Alan T. DeKok [Fri, 15 May 2015 14:08:33 +0000 (10:08 -0400)]
note recent changes

9 years agoShorten passwords from the end. Fixes #1013
Alan T. DeKok [Fri, 15 May 2015 14:02:54 +0000 (10:02 -0400)]
Shorten passwords from the end.  Fixes #1013

9 years agounneeded cast
Arran Cudbard-Bell [Fri, 15 May 2015 03:42:55 +0000 (23:42 -0400)]
unneeded cast

9 years agoFormatting
Arran Cudbard-Bell [Fri, 15 May 2015 00:40:33 +0000 (20:40 -0400)]
Formatting

9 years agoFix const stupidity in exec function and rad_expand_xlat
Arran Cudbard-Bell [Thu, 14 May 2015 23:36:52 +0000 (19:36 -0400)]
Fix const stupidity in exec function and rad_expand_xlat

9 years agoAdd merge sort implementation for vp_map_t
Arran Cudbard-Bell [Thu, 14 May 2015 23:36:05 +0000 (19:36 -0400)]
Add merge sort implementation for vp_map_t

9 years agoFix map to vp non-null args
Arran Cudbard-Bell [Thu, 14 May 2015 23:35:19 +0000 (19:35 -0400)]
Fix map to vp non-null args

9 years agoDoxygen
Arran Cudbard-Bell [Thu, 14 May 2015 22:58:54 +0000 (18:58 -0400)]
Doxygen

9 years agoDoxygen
Arran Cudbard-Bell [Thu, 14 May 2015 22:57:33 +0000 (18:57 -0400)]
Doxygen

9 years agoRemove warning for mods-available/cache_eap
Jorge Pereira [Thu, 14 May 2015 17:11:22 +0000 (14:11 -0300)]
Remove warning for mods-available/cache_eap

9 years agoCallbacks used by map_to_request should take a TALLOC_CTX as their first argument.
Arran Cudbard-Bell [Thu, 14 May 2015 21:44:11 +0000 (17:44 -0400)]
Callbacks used by map_to_request should take a TALLOC_CTX as their first argument.

9 years agoMerge pull request #1010 from FreeRADIUS/revert-983-v3.0.x
Arran Cudbard-Bell [Thu, 14 May 2015 15:38:00 +0000 (11:38 -0400)]
Merge pull request #1010 from FreeRADIUS/revert-983-v3.0.x

Revert "make sure rlm_python does not segfault when using 2 instances…

9 years agoRevert "make sure rlm_python does not segfault when using 2 instances and second...
Arran Cudbard-Bell [Thu, 14 May 2015 15:36:55 +0000 (11:36 -0400)]
Revert "make sure rlm_python does not segfault when using 2 instances and second is called first in a Thread"

9 years agoNote EAP-PWD issues
Alan T. DeKok [Thu, 14 May 2015 15:28:44 +0000 (11:28 -0400)]
Note EAP-PWD issues

9 years agonote recent changes
Alan T. DeKok [Thu, 14 May 2015 15:15:57 +0000 (11:15 -0400)]
note recent changes

9 years agoUse pairbstrncpy()
Alan T. DeKok [Thu, 14 May 2015 14:58:12 +0000 (10:58 -0400)]
Use pairbstrncpy()

9 years agoPrint out length of passwords in debug3
Alan T. DeKok [Thu, 14 May 2015 14:58:01 +0000 (10:58 -0400)]
Print out length of passwords in debug3

9 years agoMerge pull request #983 from michael-mri/v3.0.x
Alan DeKok [Thu, 14 May 2015 15:14:13 +0000 (11:14 -0400)]
Merge pull request #983 from michael-mri/v3.0.x

make sure rlm_python does not segfault when using 2 instances and second is called first in a Thread

9 years agoSource data for pairBstrncpy is void*
Alan T. DeKok [Thu, 14 May 2015 14:30:01 +0000 (10:30 -0400)]
Source data for pairBstrncpy is void*

9 years agoSet cache_da after group_da
Arran Cudbard-Bell [Wed, 13 May 2015 17:31:07 +0000 (13:31 -0400)]
Set cache_da after group_da

9 years agoRemoving unused sql_read_naslist()
Jorge Pereira [Thu, 14 May 2015 01:15:32 +0000 (22:15 -0300)]
Removing unused sql_read_naslist()

9 years agoMerge pull request #1008 from nward/v3.0.x
Arran Cudbard-Bell [Thu, 14 May 2015 02:13:47 +0000 (22:13 -0400)]
Merge pull request #1008 from nward/v3.0.x

Fix boilerplates after valuepair.c split in 2de33b8.

9 years agoFix boilerplates after valuepair.c split in 2de33b8.
Nathan Ward [Thu, 14 May 2015 02:08:07 +0000 (14:08 +1200)]
Fix boilerplates after valuepair.c split in 2de33b8.

9 years agotypos
Alan T. DeKok [Wed, 13 May 2015 18:30:44 +0000 (14:30 -0400)]
typos

9 years agonote recent changes
Alan T. DeKok [Wed, 13 May 2015 18:05:15 +0000 (14:05 -0400)]
note recent changes

9 years agoNT-Password attribute is not required for changing the password
Alan T. DeKok [Wed, 13 May 2015 17:21:19 +0000 (13:21 -0400)]
NT-Password attribute is not required for changing the password

9 years agoformatting
Alan T. DeKok [Wed, 13 May 2015 16:38:42 +0000 (12:38 -0400)]
formatting

9 years agoAdd new port bounce attribute from Aruba
skids [Wed, 13 May 2015 16:25:14 +0000 (12:25 -0400)]
Add new port bounce attribute from Aruba

This attribute was added in ArubaOS 7.4.0.3 for the Aruba Mobility Access Switch

9 years agonote recent changes
Alan T. DeKok [Wed, 13 May 2015 17:14:22 +0000 (13:14 -0400)]
note recent changes

9 years agovalue might not be talloc'd
Alan T. DeKok [Wed, 13 May 2015 17:14:11 +0000 (13:14 -0400)]
value might not be talloc'd

9 years agoDon't do templates when they can't be put anywhere
Alan T. DeKok [Wed, 13 May 2015 14:36:09 +0000 (10:36 -0400)]
Don't do templates when they can't be put anywhere

9 years agoParse TMPL into LITERAL in pass1.
Alan T. DeKok [Wed, 13 May 2015 14:25:29 +0000 (10:25 -0400)]
Parse TMPL into LITERAL in pass1.

Then in pass2, convert it to a XLAT, etc.  This is because the
XLATs may not be registered in pass1

9 years agoBuild without proxying
Alan T. DeKok [Wed, 13 May 2015 13:10:33 +0000 (09:10 -0400)]
Build without proxying

9 years agoReturn FAIL in post-proxy no reply.
Alan T. DeKok [Wed, 13 May 2015 01:19:58 +0000 (21:19 -0400)]
Return FAIL in post-proxy no reply.