]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
11 years agoConvert some pairfind calls to pairfind_da calls
Arran Cudbard-Bell [Mon, 10 Nov 2014 17:44:07 +0000 (12:44 -0500)] 
Convert some pairfind calls to pairfind_da calls

11 years agoFix header file layout
Alan T. DeKok [Mon, 10 Nov 2014 17:20:32 +0000 (12:20 -0500)] 
Fix header file layout

11 years agoCompiler warning
Alan T. DeKok [Sun, 9 Nov 2014 13:59:32 +0000 (08:59 -0500)] 
Compiler warning

11 years agoGlue state into more places
Alan T. DeKok [Sun, 9 Nov 2014 13:26:07 +0000 (08:26 -0500)] 
Glue state into more places

11 years agoFix link / cleanup code
Alan T. DeKok [Sun, 9 Nov 2014 13:21:28 +0000 (08:21 -0500)] 
Fix link / cleanup code

11 years agoVerify the state, too
Alan T. DeKok [Sat, 8 Nov 2014 19:30:45 +0000 (14:30 -0500)] 
Verify the state, too

11 years agoMore debugging
Alan T. DeKok [Fri, 7 Nov 2014 21:58:17 +0000 (16:58 -0500)] 
More debugging

11 years agoDisplay CFLAGS etal with -xv
Arran Cudbard-Bell [Fri, 7 Nov 2014 04:48:07 +0000 (23:48 -0500)] 
Display CFLAGS etal with -xv

11 years agoFix evaluating IP type check items in the users file
Arran Cudbard-Bell [Thu, 6 Nov 2014 20:12:37 +0000 (15:12 -0500)] 
Fix evaluating IP type check items in the users file

11 years agoAdd not on why we return invalid if there are no cached groups
Arran Cudbard-Bell [Thu, 6 Nov 2014 19:14:33 +0000 (14:14 -0500)] 
Add not on why we return invalid if there are no cached groups

11 years agoMake cached group checks work when the user is the member of a single group
Arran Cudbard-Bell [Thu, 6 Nov 2014 16:24:15 +0000 (11:24 -0500)] 
Make cached group checks work when the user is the member of a single group

11 years agoFix initialization check
Alan T. DeKok [Thu, 6 Nov 2014 16:06:15 +0000 (11:06 -0500)] 
Fix initialization check

11 years agoUse paircmp_op for comparing cached group memberships
Arran Cudbard-Bell [Thu, 6 Nov 2014 15:43:28 +0000 (10:43 -0500)] 
Use paircmp_op for comparing cached group memberships

11 years agoSlightly better checks which include "pending"
Alan T. DeKok [Thu, 6 Nov 2014 15:38:42 +0000 (10:38 -0500)] 
Slightly better checks which include "pending"

11 years agoAllow multiple creates at the same time
Alan T. DeKok [Thu, 6 Nov 2014 14:56:28 +0000 (09:56 -0500)] 
Allow multiple creates at the same time

limited only by max

11 years agoMerge pull request #829 from pwdng/master
Alan DeKok [Thu, 6 Nov 2014 14:10:09 +0000 (09:10 -0500)] 
Merge pull request #829 from pwdng/master

Config package obsoletes main FR package.

11 years agoConfig package obsoletes main FR package. 829/head
Philippe Wooding [Thu, 6 Nov 2014 08:35:42 +0000 (09:35 +0100)] 
Config package obsoletes main FR package.
See http://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages

11 years agoAvoid strduping literal template values when doing comparisons
Arran Cudbard-Bell [Thu, 6 Nov 2014 05:07:28 +0000 (00:07 -0500)] 
Avoid strduping literal template values when doing comparisons

11 years agoSet correct type for vpt->name
Arran Cudbard-Bell [Thu, 6 Nov 2014 04:05:08 +0000 (23:05 -0500)] 
Set correct type for vpt->name

11 years agoFix expanded switch value being freed before it's done being used
Arran Cudbard-Bell [Thu, 6 Nov 2014 04:04:48 +0000 (23:04 -0500)] 
Fix expanded switch value being freed before it's done being used

11 years agoFormatting
Arran Cudbard-Bell [Thu, 6 Nov 2014 04:03:56 +0000 (23:03 -0500)] 
Formatting

11 years agoAdd support for DEBUG environmental variable
Arran Cudbard-Bell [Thu, 6 Nov 2014 03:47:52 +0000 (22:47 -0500)] 
Add support for DEBUG environmental variable

yes - don't install fault_action signal handlers
no - don't install fault_action signal handlers
auto - if the server is running under a debugger, don't install fault_action signal handlers

11 years agoParent vpt->name correctly
Arran Cudbard-Bell [Thu, 6 Nov 2014 03:46:44 +0000 (22:46 -0500)] 
Parent vpt->name correctly

11 years agoBuild on travis WITH_EVAL_DEBUG
Arran Cudbard-Bell [Thu, 6 Nov 2014 02:24:25 +0000 (21:24 -0500)] 
Build on travis WITH_EVAL_DEBUG

11 years agoFix for if ("%{Tmp-Integer-0}" =~ /"%{Tmp-Integer-0}"/
Arran Cudbard-Bell [Wed, 5 Nov 2014 22:36:29 +0000 (17:36 -0500)] 
Fix for if ("%{Tmp-Integer-0}" =~ /"%{Tmp-Integer-0}"/

and other minor issues

11 years agoCheck number strings fed into dynamic regular expressions work
Arran Cudbard-Bell [Wed, 5 Nov 2014 22:35:53 +0000 (17:35 -0500)] 
Check number strings fed into dynamic regular expressions work

11 years agoAdd support for multivalued attribute comparison
Arran Cudbard-Bell [Wed, 5 Nov 2014 21:08:35 +0000 (16:08 -0500)] 
Add support for multivalued attribute comparison

11 years agoAdd test for paircmp
Arran Cudbard-Bell [Wed, 5 Nov 2014 21:07:02 +0000 (16:07 -0500)] 
Add test for paircmp

11 years agoReturn string 0 for &Attr[#] where no attributes exist
Arran Cudbard-Bell [Wed, 5 Nov 2014 18:18:22 +0000 (13:18 -0500)] 
Return string 0 for &Attr[#] where no attributes exist

11 years agoSplit apart some integer tests
Arran Cudbard-Bell [Wed, 5 Nov 2014 18:17:22 +0000 (13:17 -0500)] 
Split apart some integer tests

11 years agoFix printing of tmpl_num in tmpl_prints
Arran Cudbard-Bell [Wed, 5 Nov 2014 05:49:14 +0000 (00:49 -0500)] 
Fix printing of tmpl_num in tmpl_prints

11 years agoMerge pull request #828 from herwinw/cppcheck_possible_null_pointer_dereferences
Alan DeKok [Wed, 5 Nov 2014 13:07:53 +0000 (08:07 -0500)] 
Merge pull request #828 from herwinw/cppcheck_possible_null_pointer_dereferences

Cppcheck possible null pointer dereferences

11 years agoRemove old example
Alan T. DeKok [Tue, 4 Nov 2014 21:12:55 +0000 (16:12 -0500)] 
Remove old example

11 years agoUpdated a check in cbtls_msg 828/head
Herwin Weststrate [Tue, 4 Nov 2014 19:28:45 +0000 (20:28 +0100)] 
Updated a check in cbtls_msg

The check does exactly the same thing as before, but this silences a cppcheck warning.

11 years agoRemoved some redundant not-null checks
Herwin Weststrate [Tue, 4 Nov 2014 19:24:30 +0000 (20:24 +0100)] 
Removed some redundant not-null checks

11 years agoFixed potential null pointer dereferences
Herwin Weststrate [Tue, 4 Nov 2014 19:20:52 +0000 (20:20 +0100)] 
Fixed potential null pointer dereferences

11 years agoTie "originate coa" into the session-state handler
Alan T. DeKok [Tue, 4 Nov 2014 17:05:30 +0000 (12:05 -0500)] 
Tie "originate coa" into the session-state handler

any state added by originate-coa will be available to the next
Access-Request.

11 years agoCleanup formatting in radiusd.c
Arran Cudbard-Bell [Tue, 4 Nov 2014 16:34:27 +0000 (11:34 -0500)] 
Cleanup formatting in radiusd.c

11 years agoFormatting
Arran Cudbard-Bell [Tue, 4 Nov 2014 06:23:35 +0000 (01:23 -0500)] 
Formatting

11 years agoFix assumption in radius_compare_vps that the check item is always a string (oops)
Arran Cudbard-Bell [Tue, 4 Nov 2014 06:01:02 +0000 (01:01 -0500)] 
Fix assumption in radius_compare_vps that the check item is always a string (oops)

11 years agoProcess the *expanded* check items for rlm_files
Arran Cudbard-Bell [Tue, 4 Nov 2014 06:00:29 +0000 (01:00 -0500)] 
Process the *expanded* check items for rlm_files

11 years agoFixup mysql driver script to work with libmysqlclient >= 5.6
Arran Cudbard-Bell [Tue, 4 Nov 2014 05:08:38 +0000 (00:08 -0500)] 
Fixup mysql driver script to work with libmysqlclient >= 5.6

11 years agoFormatting in mysql driver
Arran Cudbard-Bell [Tue, 4 Nov 2014 05:08:16 +0000 (00:08 -0500)] 
Formatting in mysql driver

11 years agoHelpful if it's info so it shows up in the main log
Arran Cudbard-Bell [Tue, 4 Nov 2014 03:27:01 +0000 (22:27 -0500)] 
Helpful if it's info so it shows up in the main log

11 years ago* use the same json token parsing function everywhere
Aaron Hurt [Mon, 3 Nov 2014 21:24:16 +0000 (15:24 -0600)] 
* use the same json token parsing function everywhere
* cleanup now un-used functions in jsonc_missing
* minor function naming cleanup in mod.c
* add missing prototype to mod.h

11 years agoLink to libcap to determine process capabilities
Arran Cudbard-Bell [Mon, 3 Nov 2014 20:00:04 +0000 (15:00 -0500)] 
Link to libcap to determine process capabilities

This lets us know whether the debugger attach check is failing because
we don't have CAP_SYS_PTRACE or because there really is another
debugger attached already.

11 years agoAdd libcap-dev dependency for travis and debian packages
Arran Cudbard-Bell [Mon, 3 Nov 2014 22:08:46 +0000 (17:08 -0500)] 
Add libcap-dev dependency for travis and debian packages

11 years agoFix fr_utf8_strchar() and tests
Alan T. DeKok [Mon, 3 Nov 2014 20:35:58 +0000 (15:35 -0500)] 
Fix fr_utf8_strchar() and tests

allowed characters shouldn't be escaped in the test.

the function returns const

it checks for fr_utf8_char() of str, not char the second time
around

11 years agoAllow TLS 1.1 and 1.2
Alan T. DeKok [Mon, 3 Nov 2014 19:37:59 +0000 (14:37 -0500)] 
Allow TLS 1.1 and 1.2

11 years agoAnother typo
Arran Cudbard-Bell [Mon, 3 Nov 2014 16:46:59 +0000 (11:46 -0500)] 
Another typo

11 years agoFix compile error
Alan T. DeKok [Mon, 3 Nov 2014 16:45:58 +0000 (11:45 -0500)] 
Fix compile error

11 years agoAllow all UTF-8 characters
Alan T. DeKok [Mon, 3 Nov 2014 16:45:27 +0000 (11:45 -0500)] 
Allow all UTF-8 characters

11 years agoTypo
Arran Cudbard-Bell [Mon, 3 Nov 2014 16:16:46 +0000 (11:16 -0500)] 
Typo

11 years agoAdd reply attributes, not over-write them
Alan T. DeKok [Mon, 3 Nov 2014 15:37:05 +0000 (10:37 -0500)] 
Add reply attributes, not over-write them

11 years agoQuiet GCC
Arran Cudbard-Bell [Mon, 3 Nov 2014 15:14:24 +0000 (10:14 -0500)] 
Quiet GCC

11 years agoMore fixes for fr_debugger_attached
Arran Cudbard-Bell [Mon, 3 Nov 2014 15:14:16 +0000 (10:14 -0500)] 
More fixes for fr_debugger_attached

11 years agoBetter checks for duplicates.
Alan T. DeKok [Mon, 3 Nov 2014 13:47:47 +0000 (08:47 -0500)] 
Better checks for duplicates.

If the old packet is in RESPONSE_DELAY or CLEANUP_DELAY,
we can delete the old packet.  This is really only for DHCP.

11 years agoDebugging info to help find out why the ptrace attach failed
Arran Cudbard-Bell [Mon, 3 Nov 2014 05:52:28 +0000 (00:52 -0500)] 
Debugging info to help find out why the ptrace attach failed

11 years agoFix infinite loop in fr_fault if initial pattach fails (indicating process is running...
Arran Cudbard-Bell [Mon, 3 Nov 2014 05:40:19 +0000 (00:40 -0500)] 
Fix infinite loop in fr_fault if initial pattach fails (indicating process is running under debugger), and process receives either SIGUSR1 or SIGUSR2

11 years agoQuiet GCC
Arran Cudbard-Bell [Sun, 2 Nov 2014 21:52:13 +0000 (16:52 -0500)] 
Quiet GCC

11 years agoFix %{escape:} and %{unecape:} to work correctly with UTF8 safe characters
Arran Cudbard-Bell [Sun, 2 Nov 2014 21:37:35 +0000 (16:37 -0500)] 
Fix %{escape:} and %{unecape:} to work correctly with UTF8 safe characters

11 years agoIDs are signed for DHCP. Closes #797.
Alan T. DeKok [Sun, 2 Nov 2014 20:34:53 +0000 (15:34 -0500)] 
IDs are signed for DHCP.  Closes #797.

We don't want integer overflow.

11 years agoLoad internal dictionary, for Packet-Src-IP-Address, etc.
Alan T. DeKok [Sun, 2 Nov 2014 19:44:43 +0000 (14:44 -0500)] 
Load internal dictionary, for Packet-Src-IP-Address, etc.

11 years agoAdded -D option to mirror radclient
Alan T. DeKok [Sun, 2 Nov 2014 19:44:32 +0000 (14:44 -0500)] 
Added -D option to mirror radclient

11 years agoDocument session-state some more
Alan T. DeKok [Sun, 2 Nov 2014 19:30:31 +0000 (14:30 -0500)] 
Document session-state some more

11 years agoFix log messages
Arran Cudbard-Bell [Fri, 31 Oct 2014 18:05:47 +0000 (14:05 -0400)] 
Fix log messages

11 years agoConvert one cast call to value_data_cast
Arran Cudbard-Bell [Fri, 31 Oct 2014 00:45:40 +0000 (20:45 -0400)] 
Convert one cast call to value_data_cast

11 years agoMake arguments consistent between value_data functions
Arran Cudbard-Bell [Fri, 31 Oct 2014 00:39:40 +0000 (20:39 -0400)] 
Make arguments consistent between value_data functions

11 years agoFix assertions
Alan T. DeKok [Fri, 31 Oct 2014 14:29:28 +0000 (10:29 -0400)] 
Fix assertions

11 years agoTie session state into the rest of the server.
Alan T. DeKok [Fri, 31 Oct 2014 15:05:27 +0000 (11:05 -0400)] 
Tie session state into the rest of the server.

11 years agoAPI to get / put session state
Alan T. DeKok [Fri, 31 Oct 2014 15:05:06 +0000 (11:05 -0400)] 
API to get / put session state

11 years agoFix const casts
Arran Cudbard-Bell [Thu, 30 Oct 2014 22:34:31 +0000 (18:34 -0400)] 
Fix const casts

11 years agoConvert xlat_debug_attr to use more library functions
Arran Cudbard-Bell [Thu, 30 Oct 2014 22:31:50 +0000 (18:31 -0400)] 
Convert xlat_debug_attr to use more library functions

11 years agoFix SEGV when parsing 64bit integer fails
Arran Cudbard-Bell [Thu, 30 Oct 2014 22:31:23 +0000 (18:31 -0400)] 
Fix SEGV when parsing 64bit integer fails

11 years agoIndentation
Arran Cudbard-Bell [Thu, 30 Oct 2014 22:31:04 +0000 (18:31 -0400)] 
Indentation

11 years agoPrint booleans
Arran Cudbard-Bell [Thu, 30 Oct 2014 22:30:53 +0000 (18:30 -0400)] 
Print booleans

11 years agoAdd value_data_cast and use it to perform casts for hex xlat
Arran Cudbard-Bell [Thu, 30 Oct 2014 21:17:30 +0000 (17:17 -0400)] 
Add value_data_cast and use it to perform casts for hex xlat

Eventual plan is to use it everywhere we need to perform casts

11 years agoQuiet GCC
Arran Cudbard-Bell [Thu, 30 Oct 2014 21:16:51 +0000 (17:16 -0400)] 
Quiet GCC

11 years agoFix a fixme
Arran Cudbard-Bell [Thu, 30 Oct 2014 19:05:11 +0000 (15:05 -0400)] 
Fix a fixme

11 years agoSame for prefix
Arran Cudbard-Bell [Thu, 30 Oct 2014 19:03:43 +0000 (15:03 -0400)] 
Same for prefix

11 years agoChange PW_TYPE_IP_ADDR to PW_TYPE_COMBO_IP_ADDR
Arran Cudbard-Bell [Thu, 30 Oct 2014 19:02:51 +0000 (15:02 -0400)] 
Change PW_TYPE_IP_ADDR to PW_TYPE_COMBO_IP_ADDR

11 years agoanother missed cast
Arran Cudbard-Bell [Thu, 30 Oct 2014 18:47:45 +0000 (14:47 -0400)] 
another missed cast

11 years agorename vp_aprint_value to vp_aprints_value
Arran Cudbard-Bell [Thu, 30 Oct 2014 18:46:00 +0000 (14:46 -0400)] 
rename vp_aprint_value to vp_aprints_value

11 years agoconvert vp_aprint_value to vp_data_aprints_value
Arran Cudbard-Bell [Thu, 30 Oct 2014 18:44:29 +0000 (14:44 -0400)] 
convert vp_aprint_value to vp_data_aprints_value

11 years agoIndent
Arran Cudbard-Bell [Thu, 30 Oct 2014 18:01:36 +0000 (14:01 -0400)] 
Indent

11 years agoFix typo
Alan T. DeKok [Thu, 30 Oct 2014 18:08:21 +0000 (14:08 -0400)] 
Fix typo

11 years agoMissed cast
Arran Cudbard-Bell [Thu, 30 Oct 2014 17:58:58 +0000 (13:58 -0400)] 
Missed cast

11 years agoFixup validation functions to deal with polymorphic attributes
Arran Cudbard-Bell [Thu, 30 Oct 2014 17:49:29 +0000 (13:49 -0400)] 
Fixup validation functions to deal with polymorphic attributes

11 years agoFixup dict_attr on LHS of tmpl for polymorphic attributes
Arran Cudbard-Bell [Thu, 30 Oct 2014 17:49:12 +0000 (13:49 -0400)] 
Fixup dict_attr on LHS of tmpl for polymorphic attributes

11 years agoCopy the name field of polymorphic attributes correctly
Arran Cudbard-Bell [Thu, 30 Oct 2014 17:48:54 +0000 (13:48 -0400)] 
Copy the name field of polymorphic attributes correctly

11 years agoAlloc value_data_t as part of tmpls
Arran Cudbard-Bell [Thu, 30 Oct 2014 16:12:46 +0000 (12:12 -0400)] 
Alloc value_data_t as part of tmpls

11 years agoCopy to octets is not a strdup
Arran Cudbard-Bell [Thu, 30 Oct 2014 15:06:22 +0000 (11:06 -0400)] 
Copy to octets is not a strdup

11 years agoRun authentication tests, too
Alan T. DeKok [Thu, 30 Oct 2014 14:56:20 +0000 (10:56 -0400)] 
Run authentication tests, too

11 years agowhitespace
Alan T. DeKok [Thu, 30 Oct 2014 14:52:53 +0000 (10:52 -0400)] 
whitespace

11 years agoGrammar
Alan T. DeKok [Thu, 30 Oct 2014 14:43:52 +0000 (10:43 -0400)] 
Grammar

11 years agoRemove unused variable
Alan T. DeKok [Thu, 30 Oct 2014 14:42:53 +0000 (10:42 -0400)] 
Remove unused variable

11 years agoInstall example config file
Alan T. DeKok [Thu, 30 Oct 2014 14:41:43 +0000 (10:41 -0400)] 
Install example config file

11 years agoStop compiler complaints
Arran Cudbard-Bell [Thu, 30 Oct 2014 14:38:43 +0000 (10:38 -0400)] 
Stop compiler complaints

11 years agoFixup support for polymorphic attributes (maybe)
Arran Cudbard-Bell [Thu, 30 Oct 2014 14:35:54 +0000 (10:35 -0400)] 
Fixup support for polymorphic attributes (maybe)

11 years agoSet buffer type in value_data_from_str when allocing octets types buffers
Arran Cudbard-Bell [Thu, 30 Oct 2014 14:35:37 +0000 (10:35 -0400)] 
Set buffer type in value_data_from_str when allocing octets types buffers