]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Thu, 5 Apr 2018 12:32:12 +0000 (13:32 +0100)]
Fix -Weverything detection
Alan T. DeKok [Thu, 5 Apr 2018 12:37:36 +0000 (08:37 -0400)]
remove unnecessary check. CID #
1433563
Alan T. DeKok [Thu, 5 Apr 2018 12:36:00 +0000 (08:36 -0400)]
check for error. CID #
1433562
Alan T. DeKok [Thu, 5 Apr 2018 12:34:41 +0000 (08:34 -0400)]
don't close FD twice. CID #
1433561
Alan T. DeKok [Thu, 5 Apr 2018 12:32:11 +0000 (08:32 -0400)]
check return code. CID #
1433560
Alan T. DeKok [Thu, 5 Apr 2018 12:31:52 +0000 (08:31 -0400)]
doxygen
Alan T. DeKok [Thu, 5 Apr 2018 12:29:57 +0000 (08:29 -0400)]
sizeof(struct) not sizeof(struct *). CID #
1433559
Alan T. DeKok [Thu, 5 Apr 2018 12:29:02 +0000 (08:29 -0400)]
sizeof(struct) not sizeof(struct *). CID #
1433557
Alan T. DeKok [Thu, 5 Apr 2018 12:26:59 +0000 (08:26 -0400)]
vnode_fd can't be negative. CID #
1433556
Arran Cudbard-Bell [Thu, 5 Apr 2018 11:56:33 +0000 (12:56 +0100)]
Set type of request_inst in rlm_radius
Alan T. DeKok [Wed, 4 Apr 2018 19:53:06 +0000 (15:53 -0400)]
add Mimosa dictionary
Alan T. DeKok [Wed, 4 Apr 2018 19:52:34 +0000 (15:52 -0400)]
don't allow leading spaces
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
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
Arran Cudbard-Bell [Wed, 4 Apr 2018 17:47:51 +0000 (18:47 +0100)]
Too verbose
Alan T. DeKok [Wed, 4 Apr 2018 17:29:39 +0000 (13:29 -0400)]
track is_dup locally
Arran Cudbard-Bell [Wed, 4 Apr 2018 17:04:37 +0000 (18:04 +0100)]
Fix rlm_rest autoload arrays
Arran Cudbard-Bell [Wed, 4 Apr 2018 16:15:30 +0000 (17:15 +0100)]
Environmental variables for ASAN and LSAN
Arran Cudbard-Bell [Wed, 4 Apr 2018 16:15:06 +0000 (17:15 +0100)]
Fix comment
Arran Cudbard-Bell [Wed, 4 Apr 2018 15:37:27 +0000 (16:37 +0100)]
Don't leak partially initialised SSL_CTXs
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
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
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
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
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
Arran Cudbard-Bell [Wed, 4 Apr 2018 13:14:11 +0000 (14:14 +0100)]
We probably don't need to package this separately
Arran Cudbard-Bell [Wed, 4 Apr 2018 12:13:18 +0000 (13:13 +0100)]
supress spurious LSAN leaks in macOS
Arran Cudbard-Bell [Wed, 4 Apr 2018 11:50:18 +0000 (12:50 +0100)]
Make thread local destructor init function less picky
Arran Cudbard-Bell [Wed, 4 Apr 2018 11:29:36 +0000 (12:29 +0100)]
Remove unused code
Arran Cudbard-Bell [Wed, 4 Apr 2018 11:09:40 +0000 (12:09 +0100)]
...and another one
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*
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
Arran Cudbard-Bell [Wed, 4 Apr 2018 09:53:56 +0000 (10:53 +0100)]
Add more debug messages to track thread/xlat allocations
Arran Cudbard-Bell [Wed, 4 Apr 2018 00:02:01 +0000 (01:02 +0100)]
Parent thread instance data from the thread instance tree
Arran Cudbard-Bell [Tue, 3 Apr 2018 23:42:25 +0000 (00:42 +0100)]
Stop address sanitizer complaining about the thread local logging buffer
Arran Cudbard-Bell [Tue, 3 Apr 2018 23:42:10 +0000 (00:42 +0100)]
Don't leak worker heaps
Alan T. DeKok [Tue, 3 Apr 2018 21:27:15 +0000 (17:27 -0400)]
typo
Arran Cudbard-Bell [Tue, 3 Apr 2018 21:21:03 +0000 (22:21 +0100)]
Package unlang library
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
Alan T. DeKok [Tue, 3 Apr 2018 15:45:05 +0000 (11:45 -0400)]
Change to doxygen @copyright
Alan T. DeKok [Tue, 3 Apr 2018 15:40:35 +0000 (11:40 -0400)]
update comments as per latest code changes
Alan T. DeKok [Tue, 3 Apr 2018 15:38:49 +0000 (11:38 -0400)]
doxygen
Arran Cudbard-Bell [Tue, 3 Apr 2018 14:49:24 +0000 (15:49 +0100)]
Join threads for a more orderly exit
Alan T. DeKok [Tue, 3 Apr 2018 14:28:48 +0000 (10:28 -0400)]
install unlang library too
Alan T. DeKok [Tue, 3 Apr 2018 14:19:33 +0000 (10:19 -0400)]
s/map_unlang/unlang_map/
Alan T. DeKok [Tue, 3 Apr 2018 14:15:10 +0000 (10:15 -0400)]
rename module_call and modcall to just module
There's no "module" keyword, but it's clear what the intent is.
Any reference to a module is when we *call* a module.
Alan T. DeKok [Tue, 3 Apr 2018 14:09:41 +0000 (10:09 -0400)]
s/module_unlang/unlang_module/
like the last commit
Alan T. DeKok [Tue, 3 Apr 2018 13:54:12 +0000 (09:54 -0400)]
rename xlat_unlang func/struct to unlang_xlat
While they're all xlat functions.. their main purpose is to
glue unlang to xlat. So FWIW, they should be called unlang_xlat.
Alan T. DeKok [Tue, 3 Apr 2018 13:45:55 +0000 (09:45 -0400)]
too many "unlang_foo" things. Move to src/unlang/foo
the eventual goal is to have each keyword defined in src/unlang/foo
for now, we've just moved / renamed files. Nothing else has
been changed.
Arran Cudbard-Bell [Tue, 3 Apr 2018 10:18:10 +0000 (11:18 +0100)]
Cache rad_module_t in thread instance data to fix use after free issues
Arran Cudbard-Bell [Mon, 2 Apr 2018 17:54:47 +0000 (18:54 +0100)]
Fix use after free in fr_syserror and fr_strerror
This ocurred when something called fr_strerror_printf in another thread local destructor, after the memory had been freed.
Arran Cudbard-Bell [Mon, 2 Apr 2018 17:02:46 +0000 (18:02 +0100)]
Try and fix use after free in logging buffer
Arran Cudbard-Bell [Mon, 2 Apr 2018 13:51:34 +0000 (14:51 +0100)]
Return ret
Arran Cudbard-Bell [Mon, 2 Apr 2018 10:18:06 +0000 (11:18 +0100)]
Link to util library not server
Arran Cudbard-Bell [Sun, 1 Apr 2018 22:28:19 +0000 (23:28 +0100)]
Autoload rlm_digest attributes
Arran Cudbard-Bell [Sun, 1 Apr 2018 19:15:48 +0000 (20:15 +0100)]
Add dictionary lookup utility
Only works with new directory structure
Arran Cudbard-Bell [Sun, 1 Apr 2018 19:11:13 +0000 (20:11 +0100)]
Autoload rlm_detail attributes
Arran Cudbard-Bell [Sun, 1 Apr 2018 18:47:11 +0000 (19:47 +0100)]
Remove rlm_cram dictionary
Arran Cudbard-Bell [Sun, 1 Apr 2018 18:43:56 +0000 (19:43 +0100)]
Autoload rlm_cram attributes
Arran Cudbard-Bell [Sun, 1 Apr 2018 18:22:21 +0000 (19:22 +0100)]
Autoload rlm_couchbase attributes
Arran Cudbard-Bell [Sun, 1 Apr 2018 18:21:55 +0000 (19:21 +0100)]
Typo
Arran Cudbard-Bell [Sun, 1 Apr 2018 18:05:35 +0000 (19:05 +0100)]
Rename dhcp to dhcpv4
Arran Cudbard-Bell [Sun, 1 Apr 2018 15:33:43 +0000 (16:33 +0100)]
Autoload rlm_chap attributes
Arran Cudbard-Bell [Sun, 1 Apr 2018 15:33:23 +0000 (16:33 +0100)]
Add alias auto-enumerator
Arran Cudbard-Bell [Sun, 1 Apr 2018 15:33:02 +0000 (16:33 +0100)]
Add explicit ordering to the symbol autoloader
Arran Cudbard-Bell [Sun, 1 Apr 2018 15:32:13 +0000 (16:32 +0100)]
Don't SEGV if there's no dictionary defined
Arran Cudbard-Bell [Sun, 1 Apr 2018 15:31:46 +0000 (16:31 +0100)]
Fix issues in rlm_attr_filter
Arran Cudbard-Bell [Sun, 1 Apr 2018 14:16:18 +0000 (15:16 +0100)]
Add function to safely imcrement boxes values
Alan T. DeKok [Sun, 1 Apr 2018 13:07:16 +0000 (09:07 -0400)]
take names from dictionaries, not hard-coded into header
Alan T. DeKok [Sun, 1 Apr 2018 13:01:42 +0000 (09:01 -0400)]
include new header file, and use names instead of numbers
Alan T. DeKok [Sun, 1 Apr 2018 12:56:47 +0000 (08:56 -0400)]
include dhcpv4 definitions
As these are now legion, we should probably have a separate
include directory for them. e.g. src/include/dictionary/
Alan T. DeKok [Fri, 30 Mar 2018 19:20:57 +0000 (15:20 -0400)]
remove unused enum
Alan DeKok [Sun, 1 Apr 2018 12:54:03 +0000 (08:54 -0400)]
Merge pull request #2204 from nchaigne/4.0.x-201804-dhcp-decode-overload
Decode additional DHCP options according to option Overload
nchaigne [Sun, 1 Apr 2018 11:05:28 +0000 (13:05 +0200)]
Decode additional DHCP options according to option Overload.
If option Overload is present in the 'options' field, then fields 'file' and/or 'sname' are used to hold more options. They are partitioned and must be interpreted in sequence (cf. RFC 2131 and 2132).
Arran Cudbard-Bell [Sun, 1 Apr 2018 10:32:11 +0000 (11:32 +0100)]
Remove dict argument from enum lookup functions
Arran Cudbard-Bell [Sun, 1 Apr 2018 08:27:58 +0000 (09:27 +0100)]
Remove duplicate
Arran Cudbard-Bell [Sat, 31 Mar 2018 19:33:41 +0000 (20:33 +0100)]
Autoload rlm_attr_filter
Arran Cudbard-Bell [Sat, 31 Mar 2018 18:51:15 +0000 (19:51 +0100)]
Autoload for rlm_cache
Arran Cudbard-Bell [Sat, 31 Mar 2018 17:17:52 +0000 (18:17 +0100)]
Fix stupid errors in the autoload code
Arran Cudbard-Bell [Fri, 30 Mar 2018 20:27:26 +0000 (21:27 +0100)]
Auto load dict_vmps and dict_vmps
Arran Cudbard-Bell [Fri, 30 Mar 2018 20:23:55 +0000 (21:23 +0100)]
Auto load dict_arp and dict_bfd
Arran Cudbard-Bell [Fri, 30 Mar 2018 20:15:40 +0000 (21:15 +0100)]
Fixup rlm_rest to use dynamic dictionary loader
Arran Cudbard-Bell [Fri, 30 Mar 2018 20:10:45 +0000 (21:10 +0100)]
Fixup rlm_wimax to use dynamic dictionary loader
Behold the horror *sigh*
Arran Cudbard-Bell [Fri, 30 Mar 2018 20:05:46 +0000 (21:05 +0100)]
Add additional pair functions
Arran Cudbard-Bell [Fri, 30 Mar 2018 19:37:38 +0000 (20:37 +0100)]
Disable dict autoloading so we can work with the single dictionary until everything has been converted
Arran Cudbard-Bell [Sat, 31 Mar 2018 07:30:09 +0000 (08:30 +0100)]
Update ChangeLog
Arran Cudbard-Bell [Fri, 30 Mar 2018 19:28:02 +0000 (20:28 +0100)]
Fixup heap return codes
Arran Cudbard-Bell [Fri, 30 Mar 2018 18:47:47 +0000 (19:47 +0100)]
Underscores ftw
Arran Cudbard-Bell [Fri, 30 Mar 2018 18:47:35 +0000 (19:47 +0100)]
Simplify fr_heap_pop so it doesn't confuse clang scan
Arran Cudbard-Bell [Fri, 30 Mar 2018 18:29:05 +0000 (19:29 +0100)]
Add dictionary autoloader callbacks
Arran Cudbard-Bell [Fri, 30 Mar 2018 18:28:38 +0000 (19:28 +0100)]
Make clang scan happy
Matthew Newton [Mon, 19 Mar 2018 11:54:38 +0000 (11:54 +0000)]
documentation updates
Arran Cudbard-Bell [Fri, 30 Mar 2018 08:26:55 +0000 (09:26 +0100)]
Minor fixes to OCSP code
Arran Cudbard-Bell [Fri, 30 Mar 2018 08:02:38 +0000 (09:02 +0100)]
Merge pull request #2202 from frenche/ocsp_fixes_v4
OCSP fixes v4
Arran Cudbard-Bell [Thu, 29 Mar 2018 19:01:09 +0000 (20:01 +0100)]
Stupid fat libpcap, we hates it precious
Arran Cudbard-Bell [Thu, 29 Mar 2018 18:44:17 +0000 (19:44 +0100)]
Allow .1q tagged RADIUS packets in the default radsniff filter
Isaac Boukris [Tue, 27 Mar 2018 20:34:16 +0000 (23:34 +0300)]
OCSP: Fix intermediate CA flow
It appears X509_STORE_CTX_get1_issuer() will only return
a trusted certificate, so in case of intermediate CA (not
trusted by it self) it may return null.
Use current_issuer instead, as the chain is already
validated (so we should have issuer certificate).
Also, if for some reason we still cannot get issuer, then
only allow skip if conf allows softfail.
Arran Cudbard-Bell [Wed, 28 Mar 2018 19:50:12 +0000 (20:50 +0100)]
We always store the heap id in the struct
Arran Cudbard-Bell [Wed, 28 Mar 2018 19:39:34 +0000 (20:39 +0100)]
Doxygen
Arran Cudbard-Bell [Wed, 28 Mar 2018 19:14:56 +0000 (20:14 +0100)]
Add talloc type verification to fifos