]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoAutoload rlm_ldap attributes
Arran Cudbard-Bell [Thu, 12 Apr 2018 02:12:46 +0000 (08:12 +0600)] 
Autoload rlm_ldap attributes

8 years agorlm_unix: remove pair_make_config
Matthew Newton [Wed, 11 Apr 2018 15:03:16 +0000 (16:03 +0100)] 
rlm_unix: remove pair_make_config

8 years agorlm_winbind: remove pair_make_config
Matthew Newton [Wed, 11 Apr 2018 14:53:38 +0000 (15:53 +0100)] 
rlm_winbind: remove pair_make_config

8 years agomore rlm_yubikey dict updates, remove pair_make
Matthew Newton [Wed, 11 Apr 2018 14:49:08 +0000 (15:49 +0100)] 
more rlm_yubikey dict updates, remove pair_make

8 years agoif replicating, always return OK
Alan T. DeKok [Wed, 11 Apr 2018 14:54:39 +0000 (10:54 -0400)] 
if replicating, always return OK

8 years agoRedundant condition
Arran Cudbard-Bell [Wed, 11 Apr 2018 10:10:21 +0000 (16:10 +0600)] 
Redundant condition

8 years agoAutoload rlm_files attributes
Arran Cudbard-Bell [Wed, 11 Apr 2018 10:09:15 +0000 (16:09 +0600)] 
Autoload rlm_files attributes

8 years agoAutoload rlm_expiration attributes
Arran Cudbard-Bell [Wed, 11 Apr 2018 10:03:32 +0000 (16:03 +0600)] 
Autoload rlm_expiration attributes

8 years agoAcct-Unique-Session-Id is internal
Matthew Newton [Wed, 11 Apr 2018 09:22:12 +0000 (10:22 +0100)] 
Acct-Unique-Session-Id is internal

8 years agoUse %pV when printing dates
Arran Cudbard-Bell [Wed, 11 Apr 2018 08:42:59 +0000 (14:42 +0600)] 
Use %pV when printing dates

8 years agoCorrect type
Arran Cudbard-Bell [Wed, 11 Apr 2018 08:41:10 +0000 (14:41 +0600)] 
Correct type

8 years agoAutoload rlm_example attributes
Arran Cudbard-Bell [Wed, 11 Apr 2018 08:34:25 +0000 (14:34 +0600)] 
Autoload rlm_example attributes

8 years agoAutoload rlm_eap attributes
Arran Cudbard-Bell [Wed, 11 Apr 2018 08:19:51 +0000 (14:19 +0600)] 
Autoload rlm_eap attributes

8 years agoLoad CA file into the RSA chain too (else we get validation errors)
Arran Cudbard-Bell [Wed, 11 Apr 2018 08:19:33 +0000 (14:19 +0600)] 
Load CA file into the RSA chain too (else we get validation errors)

8 years agoUse common field names
Arran Cudbard-Bell [Wed, 11 Apr 2018 08:19:15 +0000 (14:19 +0600)] 
Use common field names

8 years agoRemove pre-proxy from rlm_chap. This is now handled by rlm_radius.
Arran Cudbard-Bell [Wed, 11 Apr 2018 03:56:52 +0000 (09:56 +0600)] 
Remove pre-proxy from rlm_chap.  This is now handled by rlm_radius.

8 years agoSASL: Let configure SASL_SECPROPS per LDAP instance
Isaac Boukris [Tue, 10 Apr 2018 15:36:15 +0000 (18:36 +0300)] 
SASL: Let configure SASL_SECPROPS per LDAP instance

Active-Directory does not allow to use GSS-API signing / sealing when
over TLS (to avoid double encryption?).
While SASL_SECPROPS (or maxssf) coul be set globally via system's
ldap.conf, it is not enough if you want one instead to work with
TLS and the other without TLS but with signing and sealing of GSS-API.

Add a directive sasl_secprops, to allow setting it per instance.

8 years agoAutoload rlm_soh attributes
Matthew Newton [Wed, 11 Apr 2018 00:49:17 +0000 (01:49 +0100)] 
Autoload rlm_soh attributes

8 years agoAutoload rlm_sql attributes
Matthew Newton [Wed, 11 Apr 2018 00:29:01 +0000 (01:29 +0100)] 
Autoload rlm_sql attributes

8 years agoAutoload rlm_sqlcounter attributes
Matthew Newton [Tue, 10 Apr 2018 23:51:17 +0000 (00:51 +0100)] 
Autoload rlm_sqlcounter attributes

8 years agoAutoload rlm_sqlhpwippool attributes
Matthew Newton [Tue, 10 Apr 2018 23:41:03 +0000 (00:41 +0100)] 
Autoload rlm_sqlhpwippool attributes

8 years agoAutoload rlm_sqlippool attributes
Matthew Newton [Tue, 10 Apr 2018 23:08:07 +0000 (00:08 +0100)] 
Autoload rlm_sqlippool attributes

8 years agodocumentation helps
Alan T. DeKok [Mon, 9 Apr 2018 17:51:33 +0000 (13:51 -0400)] 
documentation helps

8 years agoadd rules to build only libs / programs in a subdirectory
Alan T. DeKok [Sat, 7 Apr 2018 13:49:03 +0000 (09:49 -0400)] 
add rules to build only libs / programs in a subdirectory

8 years agoAutoload rlm_test attributes
Matthew Newton [Mon, 9 Apr 2018 20:12:12 +0000 (21:12 +0100)] 
Autoload rlm_test attributes

8 years agoAutoload rlm_unix attributes
Matthew Newton [Mon, 9 Apr 2018 18:46:01 +0000 (19:46 +0100)] 
Autoload rlm_unix attributes

8 years agoAutoload rlm_winbind attributes
Matthew Newton [Mon, 9 Apr 2018 17:39:05 +0000 (18:39 +0100)] 
Autoload rlm_winbind attributes

8 years agoAutoload rlm_yubikey attributes
Matthew Newton [Mon, 9 Apr 2018 17:21:21 +0000 (18:21 +0100)] 
Autoload rlm_yubikey attributes

8 years agoBump to clang/llvm 6 (same as homebrew)
Arran Cudbard-Bell [Tue, 10 Apr 2018 06:16:00 +0000 (12:16 +0600)] 
Bump to clang/llvm 6 (same as homebrew)

8 years agoSet WITH_VERIFY_PTR during clang scan so that NULL code paths result in exit
Arran Cudbard-Bell [Tue, 10 Apr 2018 05:50:17 +0000 (11:50 +0600)] 
Set WITH_VERIFY_PTR during clang scan so that NULL code paths result in exit

8 years agos/VERIFY_DA/DA_VERIFY/
Arran Cudbard-Bell [Tue, 10 Apr 2018 05:46:08 +0000 (11:46 +0600)] 
s/VERIFY_DA/DA_VERIFY/

8 years agoFix scoping
Arran Cudbard-Bell [Tue, 10 Apr 2018 05:45:50 +0000 (11:45 +0600)] 
Fix scoping

8 years agofd not used so no need to set to -1
Arran Cudbard-Bell [Tue, 10 Apr 2018 05:03:27 +0000 (11:03 +0600)] 
fd not used so no need to set to -1

8 years agoAdd fr_pair_add_by_da
Arran Cudbard-Bell [Tue, 10 Apr 2018 04:40:39 +0000 (10:40 +0600)] 
Add fr_pair_add_by_da

8 years agoif ((typo) {}
Matthew Newton [Mon, 9 Apr 2018 13:49:27 +0000 (14:49 +0100)] 
if ((typo) {}

8 years agoIgnore missing prototype warning for __lsan_is_turned_off
Arran Cudbard-Bell [Mon, 9 Apr 2018 13:28:58 +0000 (19:28 +0600)] 
Ignore missing prototype warning for __lsan_is_turned_off

8 years agoFormatting
Arran Cudbard-Bell [Mon, 9 Apr 2018 13:25:14 +0000 (19:25 +0600)] 
Formatting

8 years agoLeave events in the rbtree if they were not removed from kevent
Arran Cudbard-Bell [Mon, 9 Apr 2018 13:24:39 +0000 (19:24 +0600)] 
Leave events in the rbtree if they were not removed from kevent

Distinguish between deferred frees and kevent errors in fr_event_fd_delete.

8 years agoMerge pull request #2210 from nchaigne/4.0.x-201804-dhcpv4-suboption-test
Alan DeKok [Mon, 9 Apr 2018 12:04:01 +0000 (08:04 -0400)] 
Merge pull request #2210 from nchaigne/4.0.x-201804-dhcpv4-suboption-test

Test DHCP encoding of two sub-options which don't fit in a single option

8 years agoTest DHCP encoding of two sub-options which don't fit in a single option 2210/head
nchaigne [Mon, 9 Apr 2018 09:54:34 +0000 (11:54 +0200)] 
Test DHCP encoding of two sub-options which don't fit in a single option

Added unit test following https://github.com/FreeRADIUS/freeradius-server/pull/2209

8 years agoMerge pull request #2209 from nchaigne/4.0.x-201804-dhcp-encode-suboption
Alan DeKok [Fri, 6 Apr 2018 18:19:50 +0000 (14:19 -0400)] 
Merge pull request #2209 from nchaigne/4.0.x-201804-dhcp-encode-suboption

Fix to DHCP encoding error when sub-option doesn't fit

8 years agoFix to DHCP encoding error when sub-option doesn't fit 2209/head
nchaigne [Fri, 6 Apr 2018 18:14:25 +0000 (20:14 +0200)] 
Fix to DHCP encoding error when sub-option doesn't fit

Ask FreeRADIUS to encode several sub-options too long to fit in one option.
Then the first option is not properly encoded. There are two octets leftover (the beginning of the second sub-option).

Here is a fix.

8 years agoadd CC_HINT nonnull
Alan T. DeKok [Fri, 6 Apr 2018 14:42:31 +0000 (10:42 -0400)] 
add CC_HINT nonnull

and remove "inline" which does nothing

8 years agoda->parent may be NULL
Alan T. DeKok [Fri, 6 Apr 2018 14:42:15 +0000 (10:42 -0400)] 
da->parent may be NULL

8 years agocheck for duplicate NAK clients
Alan T. DeKok [Thu, 5 Apr 2018 16:54:57 +0000 (12:54 -0400)] 
check for duplicate NAK clients

8 years agoIf not running under valgrind AND not running under LSAN dlclose()
Arran Cudbard-Bell [Thu, 5 Apr 2018 14:38:05 +0000 (15:38 +0100)] 
If not running under valgrind AND not running under LSAN dlclose()

8 years agoAdd features for running under valgrind, lsan and gdb/lldb
Arran Cudbard-Bell [Thu, 5 Apr 2018 14:29:43 +0000 (15:29 +0100)] 
Add features for running under valgrind, lsan and gdb/lldb

8 years agoDon't dlclose if we're running under LSAN
Arran Cudbard-Bell [Thu, 5 Apr 2018 13:59:59 +0000 (14:59 +0100)] 
Don't dlclose if we're running under LSAN

8 years agoCache fr_get_lsan_state results
Arran Cudbard-Bell [Thu, 5 Apr 2018 13:59:42 +0000 (14:59 +0100)] 
Cache fr_get_lsan_state results

8 years agoAt function to determine if we're running under LSAN
Arran Cudbard-Bell [Thu, 5 Apr 2018 13:50:41 +0000 (14:50 +0100)] 
At function to determine if we're running under LSAN

8 years agoDoxygen
Arran Cudbard-Bell [Thu, 5 Apr 2018 13:50:23 +0000 (14:50 +0100)] 
Doxygen

8 years agoDisable stupidly pedantic warnings
Arran Cudbard-Bell [Thu, 5 Apr 2018 13:49:51 +0000 (14:49 +0100)] 
Disable stupidly pedantic warnings

8 years agofix assertion
Alan T. DeKok [Thu, 5 Apr 2018 13:48:33 +0000 (09:48 -0400)] 
fix assertion

8 years agoRevert "remove unnecessary check. CID #1433563"
Arran Cudbard-Bell [Thu, 5 Apr 2018 12:43:27 +0000 (13:43 +0100)] 
Revert "remove unnecessary check.  CID #1433563"

Check is necessary.

8 years agoRevert "sizeof(struct) not sizeof(struct *). CID #1433557"
Alan T. DeKok [Thu, 5 Apr 2018 12:48:14 +0000 (08:48 -0400)] 
Revert "sizeof(struct) not sizeof(struct *).  CID #1433557"

This reverts commit 24326dff862bab6561b43bc058792780d1a335c2.

they are intended to be pointers

8 years agoRevert "sizeof(struct) not sizeof(struct *). CID #1433559"
Alan T. DeKok [Thu, 5 Apr 2018 12:47:57 +0000 (08:47 -0400)] 
Revert "sizeof(struct) not sizeof(struct *).  CID #1433559"

This reverts commit 57b3d362f4463195ccb53b1eaace37ab9bd7e528.

they are intended to be pointers

8 years agore-allow cast from uint64 to ethernet. CID #1409865
Alan T. DeKok [Thu, 5 Apr 2018 12:44:30 +0000 (08:44 -0400)] 
re-allow cast from uint64 to ethernet. CID #1409865

8 years agoUnset ASAN_OPTIONS and LSAN_OPTIONS so they're not passed to scripts called from...
Arran Cudbard-Bell [Thu, 5 Apr 2018 12:39:34 +0000 (13:39 +0100)] 
Unset ASAN_OPTIONS and LSAN_OPTIONS so they're not passed to scripts called from configure

Leaving them enabled messes with some of the tests

8 years agoFix -Weverything detection
Arran Cudbard-Bell [Thu, 5 Apr 2018 12:32:12 +0000 (13:32 +0100)] 
Fix -Weverything detection

8 years agoremove unnecessary check. CID #1433563
Alan T. DeKok [Thu, 5 Apr 2018 12:37:36 +0000 (08:37 -0400)] 
remove unnecessary check.  CID #1433563

8 years agocheck for error. CID #1433562
Alan T. DeKok [Thu, 5 Apr 2018 12:36:00 +0000 (08:36 -0400)] 
check for error.  CID #1433562

8 years agodon't close FD twice. CID #1433561
Alan T. DeKok [Thu, 5 Apr 2018 12:34:41 +0000 (08:34 -0400)] 
don't close FD twice.  CID #1433561

8 years agocheck return code. CID #1433560
Alan T. DeKok [Thu, 5 Apr 2018 12:32:11 +0000 (08:32 -0400)] 
check return code.  CID #1433560

8 years agodoxygen
Alan T. DeKok [Thu, 5 Apr 2018 12:31:52 +0000 (08:31 -0400)] 
doxygen

8 years agosizeof(struct) not sizeof(struct *). CID #1433559
Alan T. DeKok [Thu, 5 Apr 2018 12:29:57 +0000 (08:29 -0400)] 
sizeof(struct) not sizeof(struct *).  CID #1433559

8 years agosizeof(struct) not sizeof(struct *). CID #1433557
Alan T. DeKok [Thu, 5 Apr 2018 12:29:02 +0000 (08:29 -0400)] 
sizeof(struct) not sizeof(struct *).  CID #1433557

8 years agovnode_fd can't be negative. CID #1433556
Alan T. DeKok [Thu, 5 Apr 2018 12:26:59 +0000 (08:26 -0400)] 
vnode_fd can't be negative.  CID #1433556

8 years agoSet type of request_inst in rlm_radius
Arran Cudbard-Bell [Thu, 5 Apr 2018 11:56:33 +0000 (12:56 +0100)] 
Set type of request_inst in rlm_radius

8 years agoadd Mimosa dictionary
Alan T. DeKok [Wed, 4 Apr 2018 19:53:06 +0000 (15:53 -0400)] 
add Mimosa dictionary

8 years agodon't allow leading spaces
Alan T. DeKok [Wed, 4 Apr 2018 19:52:34 +0000 (15:52 -0400)] 
don't allow leading spaces

8 years agoadd unlang_signal_frames()
Alan T. DeKok [Wed, 4 Apr 2018 20:28:57 +0000 (16:28 -0400)] 
add unlang_signal_frames()

which signals a subset of frames, so that "limit" and "timeout"
can stop child subsections, but still allow the request to continue

8 years agoremove duplicate message.
Alan T. DeKok [Wed, 4 Apr 2018 17:57:36 +0000 (13:57 -0400)] 
remove duplicate message.

Only the system which generated the error should print the error

8 years agoToo verbose
Arran Cudbard-Bell [Wed, 4 Apr 2018 17:47:51 +0000 (18:47 +0100)] 
Too verbose

8 years agotrack is_dup locally
Alan T. DeKok [Wed, 4 Apr 2018 17:29:39 +0000 (13:29 -0400)] 
track is_dup locally

8 years agoFix rlm_rest autoload arrays
Arran Cudbard-Bell [Wed, 4 Apr 2018 17:04:37 +0000 (18:04 +0100)] 
Fix rlm_rest autoload arrays

8 years agoEnvironmental variables for ASAN and LSAN
Arran Cudbard-Bell [Wed, 4 Apr 2018 16:15:30 +0000 (17:15 +0100)] 
Environmental variables for ASAN and LSAN

8 years agoFix comment
Arran Cudbard-Bell [Wed, 4 Apr 2018 16:15:06 +0000 (17:15 +0100)] 
Fix comment

8 years agoDon't leak partially initialised SSL_CTXs
Arran Cudbard-Bell [Wed, 4 Apr 2018 15:37:27 +0000 (16:37 +0100)] 
Don't leak partially initialised SSL_CTXs

8 years agoActually error out if we're hard verifying the cert chain
Arran Cudbard-Bell [Wed, 4 Apr 2018 15:37:06 +0000 (16:37 +0100)] 
Actually error out if we're hard verifying the cert chain

8 years agoDo a better job of managing thread memory lifetime in unit_test_module.c
Arran Cudbard-Bell [Wed, 4 Apr 2018 15:02:02 +0000 (16:02 +0100)] 
Do a better job of managing thread memory lifetime in unit_test_module.c

8 years agoIf we're explicitly freeing the strerror buffer, don't allow it to be used later
Arran Cudbard-Bell [Wed, 4 Apr 2018 15:01:42 +0000 (16:01 +0100)] 
If we're explicitly freeing the strerror buffer, don't allow it to be used later

8 years agoParent thread instance tree from worker so it gets cleaned up at the right point
Arran Cudbard-Bell [Wed, 4 Apr 2018 14:32:46 +0000 (15:32 +0100)] 
Parent thread instance tree from worker so it gets cleaned up at the right point

8 years agoUse talloc to free thread specific data instead of pthrea destructors
Arran Cudbard-Bell [Wed, 4 Apr 2018 14:28:13 +0000 (15:28 +0100)] 
Use talloc to free thread specific data instead of pthrea destructors

8 years agoWe probably don't need to package this separately
Arran Cudbard-Bell [Wed, 4 Apr 2018 13:14:11 +0000 (14:14 +0100)] 
We probably don't need to package this separately

8 years agosupress spurious LSAN leaks in macOS
Arran Cudbard-Bell [Wed, 4 Apr 2018 12:13:18 +0000 (13:13 +0100)] 
supress spurious LSAN leaks in macOS

8 years agoMake thread local destructor init function less picky
Arran Cudbard-Bell [Wed, 4 Apr 2018 11:50:18 +0000 (12:50 +0100)] 
Make thread local destructor init function less picky

8 years agoRemove unused code
Arran Cudbard-Bell [Wed, 4 Apr 2018 11:29:36 +0000 (12:29 +0100)] 
Remove unused code

8 years ago...and another one
Arran Cudbard-Bell [Wed, 4 Apr 2018 11:09:40 +0000 (12:09 +0100)] 
...and another one

8 years agoFix linking issues
Arran Cudbard-Bell [Wed, 4 Apr 2018 10:46:20 +0000 (11:46 +0100)] 
Fix linking issues

By not calling I/O functions from the server library *sigh*

8 years agoAlways use talloc_get_type_abort when assigning from void
Arran Cudbard-Bell [Wed, 4 Apr 2018 09:54:35 +0000 (10:54 +0100)] 
Always use talloc_get_type_abort when assigning from void

It saves against fat fingers, and has no performance impact in non-debug builds

8 years agoAdd more debug messages to track thread/xlat allocations
Arran Cudbard-Bell [Wed, 4 Apr 2018 09:53:56 +0000 (10:53 +0100)] 
Add more debug messages to track thread/xlat allocations

8 years agoParent thread instance data from the thread instance tree
Arran Cudbard-Bell [Wed, 4 Apr 2018 00:02:01 +0000 (01:02 +0100)] 
Parent thread instance data from the thread instance tree

8 years agoStop address sanitizer complaining about the thread local logging buffer
Arran Cudbard-Bell [Tue, 3 Apr 2018 23:42:25 +0000 (00:42 +0100)] 
Stop address sanitizer complaining about the thread local logging buffer

8 years agoDon't leak worker heaps
Arran Cudbard-Bell [Tue, 3 Apr 2018 23:42:10 +0000 (00:42 +0100)] 
Don't leak worker heaps

8 years agotypo
Alan T. DeKok [Tue, 3 Apr 2018 21:27:15 +0000 (17:27 -0400)] 
typo

8 years agoPackage unlang library
Arran Cudbard-Bell [Tue, 3 Apr 2018 21:21:03 +0000 (22:21 +0100)] 
Package unlang library

8 years agouse P_PKTINFO or IP_SENDSRCADDR, but not both
Alan T. DeKok [Tue, 3 Apr 2018 20:51:13 +0000 (16:51 -0400)] 
use P_PKTINFO or IP_SENDSRCADDR, but not both

Manual port of commit e1a8cdf5723

8 years agoChange to doxygen @copyright
Alan T. DeKok [Tue, 3 Apr 2018 15:45:05 +0000 (11:45 -0400)] 
Change to doxygen @copyright

8 years agoupdate comments as per latest code changes
Alan T. DeKok [Tue, 3 Apr 2018 15:40:35 +0000 (11:40 -0400)] 
update comments as per latest code changes

8 years agodoxygen
Alan T. DeKok [Tue, 3 Apr 2018 15:38:49 +0000 (11:38 -0400)] 
doxygen