]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 21 Apr 2020 19:08:10 +0000 (15:08 -0400)]
preliminary work to make various fields configurable
Arran Cudbard-Bell [Tue, 21 Apr 2020 18:55:18 +0000 (13:55 -0500)]
Better debugging
Alan T. DeKok [Tue, 21 Apr 2020 12:53:39 +0000 (08:53 -0400)]
include src/build earlier in the process
Alan T. DeKok [Tue, 21 Apr 2020 12:51:50 +0000 (08:51 -0400)]
only build if we have gnumake.h
Alan T. DeKok [Tue, 21 Apr 2020 12:48:16 +0000 (08:48 -0400)]
hoist autoconf.mk rules higher
so that they are accessible to the entire build system
Alan T. DeKok [Tue, 21 Apr 2020 12:47:01 +0000 (08:47 -0400)]
add tests for <gnumake.h>, and regenerate
Alan T. DeKok [Tue, 21 Apr 2020 12:40:51 +0000 (08:40 -0400)]
remove old mingw / windows stuff.
we don't need it
Arran Cudbard-Bell [Tue, 21 Apr 2020 02:32:37 +0000 (21:32 -0500)]
rlm_radius: Unused
Arran Cudbard-Bell [Tue, 21 Apr 2020 01:31:23 +0000 (20:31 -0500)]
Fix call to rad_assert
Arran Cudbard-Bell [Tue, 21 Apr 2020 01:17:25 +0000 (20:17 -0500)]
rlm_radius: Do less work when replicating
Alan T. DeKok [Tue, 21 Apr 2020 00:31:41 +0000 (20:31 -0400)]
h->tt may be NULL, to match conn_close()
Alan T. DeKok [Tue, 21 Apr 2020 00:10:33 +0000 (20:10 -0400)]
comment out things we don't need
Jorge Pereira [Mon, 20 Apr 2020 22:47:41 +0000 (19:47 -0300)]
rlm_radius/test_plan: Fix typo (#3395)
Alan T. DeKok [Mon, 20 Apr 2020 20:46:35 +0000 (16:46 -0400)]
rework to cache handles
and simplify the pathname finding
Alan T. DeKok [Mon, 20 Apr 2020 20:35:56 +0000 (16:35 -0400)]
we don't need a configuration flag for use_delta
it's safe to always set it
Alan T. DeKok [Mon, 20 Apr 2020 20:32:00 +0000 (16:32 -0400)]
Revert "Add documentation for 'use_deltas'. ref #3390 (#3392)"
This reverts commit
3b7e93ac6a6f159adabda8285b1a4eaefebe5c2c .
after some investigation, this doesn't need to be a user-configurable
flag.
Alan T. DeKok [Fri, 17 Apr 2020 21:40:22 +0000 (17:40 -0400)]
typo
Alan T. DeKok [Fri, 17 Apr 2020 21:35:58 +0000 (17:35 -0400)]
add 'make doc'
because I can't remember anything more complex, and I keep
typing "make doc" which doesn't work.
So if it's the first thing I type, it should work.
James Jones [Mon, 20 Apr 2020 19:26:44 +0000 (14:26 -0500)]
Add initial code for dlopen() from within make. (#3380)
* Add code to get absolute path of dynamic library files from within make.
* Add extern declaration to make -Wmissing-variable-declarations happy.
Jorge Pereira [Mon, 20 Apr 2020 19:25:04 +0000 (16:25 -0300)]
Add documentation for 'use_deltas'. ref #3390 (#3392)
robober [Mon, 20 Apr 2020 12:46:28 +0000 (19:46 +0700)]
Enable support for delta CRLs (#3390)
Co-authored-by: Pavel Istomin <pavel.istomin@eltex.loc>
Arran Cudbard-Bell [Sun, 19 Apr 2020 02:08:31 +0000 (21:08 -0500)]
Typo
Arran Cudbard-Bell [Sun, 19 Apr 2020 01:56:08 +0000 (20:56 -0500)]
trunk: Add triggers for request state transitions in debug builds
Arran Cudbard-Bell [Sun, 19 Apr 2020 01:42:58 +0000 (20:42 -0500)]
Fix order
Arran Cudbard-Bell [Sun, 19 Apr 2020 01:33:10 +0000 (20:33 -0500)]
typo
Arran Cudbard-Bell [Sat, 18 Apr 2020 20:51:51 +0000 (15:51 -0500)]
connection: Use lookup table for connection names
Arran Cudbard-Bell [Sat, 18 Apr 2020 20:30:15 +0000 (15:30 -0500)]
trunk: fr_dlist_remove returns NULL when removing the list head
Arran Cudbard-Bell [Sat, 18 Apr 2020 20:20:55 +0000 (15:20 -0500)]
trunk: Asserts around log entry removal
Arran Cudbard-Bell [Sat, 18 Apr 2020 20:21:32 +0000 (15:21 -0500)]
table: Add table indexed by numeric value
i.e. an array lookup...
# Conflicts:
# src/lib/util/table.c
Jorge Pereira [Fri, 17 Apr 2020 18:44:12 +0000 (15:44 -0300)]
Fix typo (#3383)
Arran Cudbard-Bell [Fri, 17 Apr 2020 18:39:54 +0000 (13:39 -0500)]
trunk: Allow INIT -> CLOSED
Arran Cudbard-Bell [Fri, 17 Apr 2020 18:36:46 +0000 (13:36 -0500)]
trunk: Don't double remove log entries, reduce memory churn in log entries by re-using old entries. Re-use the oldest entry.
Arran Cudbard-Bell [Fri, 17 Apr 2020 18:34:51 +0000 (13:34 -0500)]
trunk: Correct size for trigger table
Terry Burton [Fri, 17 Apr 2020 18:19:18 +0000 (19:19 +0100)]
RPM spec dependencies for RHEL8 (#3384)
Co-authored-by: Matthew Newton <matthew-git@newtoncomputing.co.uk>
Arran Cudbard-Bell [Fri, 17 Apr 2020 17:20:25 +0000 (12:20 -0500)]
trunk: Use lookup table for trigger names
Arran Cudbard-Bell [Fri, 17 Apr 2020 17:20:07 +0000 (12:20 -0500)]
misc: Better docs for fr_high_bit_pos_uint64 and strip uint64_t.
We can just use the same function for all unsigned integers
Arran Cudbard-Bell [Fri, 17 Apr 2020 17:19:00 +0000 (12:19 -0500)]
table: Add O(1) lookups for bitfield flag to string identifiers
Terry Burton [Fri, 17 Apr 2020 16:43:29 +0000 (17:43 +0100)]
Howto for ODBC (#3381)
* Howto for ODBC
Arran Cudbard-Bell [Fri, 17 Apr 2020 14:39:03 +0000 (09:39 -0500)]
dlist: reorder checks
Arran Cudbard-Bell [Fri, 17 Apr 2020 14:10:27 +0000 (09:10 -0500)]
dlist: Try and prevent erroneous removals from a dlist
Arran Cudbard-Bell [Fri, 17 Apr 2020 02:56:23 +0000 (21:56 -0500)]
trunk: Fix bad INIT->INIT transition on init failure.
Arran Cudbard-Bell [Fri, 17 Apr 2020 02:20:33 +0000 (21:20 -0500)]
sbuff: Simplify
Arran Cudbard-Bell [Fri, 17 Apr 2020 01:53:39 +0000 (20:53 -0500)]
sbuff: Another copy function
Should be enough to be useful now...
Jorge Pereira [Fri, 17 Apr 2020 01:33:22 +0000 (22:33 -0300)]
trigger: Fix wrong return (#3382)
Arran Cudbard-Bell [Thu, 16 Apr 2020 22:11:41 +0000 (17:11 -0500)]
trunk: We can hit the trunk_request_check_enqueue limit or the alloc one depending on how the trunk is used
Arran Cudbard-Bell [Thu, 16 Apr 2020 21:56:27 +0000 (16:56 -0500)]
trunk: Enforce max requests at alloc time
Arran Cudbard-Bell [Thu, 16 Apr 2020 21:55:46 +0000 (16:55 -0500)]
rlm_radius: Remove no_connection_fail
This is already implemented by the trunk
Arran Cudbard-Bell [Thu, 16 Apr 2020 19:02:57 +0000 (14:02 -0500)]
trunk: Update copyrights
Arran Cudbard-Bell [Thu, 16 Apr 2020 18:47:49 +0000 (13:47 -0500)]
trunk: Add a hard limit on the number of state entries per request
Arran Cudbard-Bell [Thu, 16 Apr 2020 16:29:03 +0000 (11:29 -0500)]
sbuff: Quiet gcc
Arran Cudbard-Bell [Thu, 16 Apr 2020 16:14:27 +0000 (11:14 -0500)]
trunk: Add asserts to ensure log entries are freed
Arran Cudbard-Bell [Thu, 16 Apr 2020 16:13:58 +0000 (11:13 -0500)]
assert: Add fr_assert_msg
Jorge Pereira [Thu, 16 Apr 2020 14:48:18 +0000 (11:48 -0300)]
ring_buffer: Fix memory leak (#3378)
Alan T. DeKok [Thu, 16 Apr 2020 14:43:55 +0000 (10:43 -0400)]
whoops, need this, too
Alan T. DeKok [Thu, 16 Apr 2020 14:23:53 +0000 (10:23 -0400)]
add triggers for the trunk code
Jorge Pereira [Wed, 15 Apr 2020 22:32:57 +0000 (19:32 -0300)]
Fix memory leak in rlm_exec
Alan T. DeKok [Wed, 15 Apr 2020 23:57:13 +0000 (19:57 -0400)]
remove one more PRE
Arran Cudbard-Bell [Wed, 15 Apr 2020 22:50:01 +0000 (17:50 -0500)]
Add start of new tokenization API
Arran Cudbard-Bell [Wed, 15 Apr 2020 22:40:34 +0000 (17:40 -0500)]
Fix other stupidity...
Arran Cudbard-Bell [Wed, 15 Apr 2020 21:46:20 +0000 (16:46 -0500)]
Typo
Alan T. DeKok [Wed, 15 Apr 2020 21:00:44 +0000 (17:00 -0400)]
add provisions for running triggers
Arran Cudbard-Bell [Wed, 15 Apr 2020 21:43:31 +0000 (16:43 -0500)]
print: Fix fr_utf8_strchr to take a length
Arran Cudbard-Bell [Wed, 15 Apr 2020 19:50:04 +0000 (14:50 -0500)]
Use the token not the char
Alan T. DeKok [Wed, 15 Apr 2020 19:45:39 +0000 (15:45 -0400)]
nothing uses this.
all of the dynamic client code is handled in src/lib/io/master.c
Arran Cudbard-Bell [Wed, 15 Apr 2020 19:41:42 +0000 (14:41 -0500)]
Can't have non-null for REQUEST *
Arran Cudbard-Bell [Wed, 15 Apr 2020 19:31:29 +0000 (14:31 -0500)]
rest: Use common functions for parsing TLS options
Arran Cudbard-Bell [Wed, 15 Apr 2020 19:29:25 +0000 (14:29 -0500)]
curl: Minor fixes for common functions
Arran Cudbard-Bell [Wed, 15 Apr 2020 19:25:30 +0000 (14:25 -0500)]
return only for non-debug builds...
Alan T. DeKok [Wed, 15 Apr 2020 18:22:37 +0000 (14:22 -0400)]
make exec no-wait fully async
Alan T. DeKok [Wed, 15 Apr 2020 18:06:29 +0000 (14:06 -0400)]
finalize async exec
this is really just for tests, but it may be useful to have for now.
Once the whole module is async, this method should be deleted.
Alan T. DeKok [Wed, 15 Apr 2020 18:05:13 +0000 (14:05 -0400)]
show that we're running the test
Alan T. DeKok [Wed, 15 Apr 2020 16:26:34 +0000 (12:26 -0400)]
remove things which are no longer rleevant
Arran Cudbard-Bell [Wed, 15 Apr 2020 19:10:06 +0000 (14:10 -0500)]
rest: Move more calls to the libfreeradius-curl library
Arran Cudbard-Bell [Wed, 15 Apr 2020 18:59:16 +0000 (13:59 -0500)]
Formatting
Arran Cudbard-Bell [Wed, 15 Apr 2020 18:59:07 +0000 (13:59 -0500)]
radsniff: Remove pktap interfaces from the default interface list. Closes #3364
Alan T. DeKok [Wed, 15 Apr 2020 12:52:56 +0000 (08:52 -0400)]
add missing "return"
to avoid messages being printed twice.
Stephen Blackwell [Wed, 15 Apr 2020 01:36:30 +0000 (21:36 -0400)]
Added tls functionality to curl and a SET_OPTION macro (#3376)
* Added fr_curl_easy_tls_init and fr_curl_response_certinfo to src/lib/curl/base.c and FR_CURL_SET_OPTION and fr_curl_tls_config to src/lib/curl/base.h
* Fix whitespace
Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Alan T. DeKok [Wed, 15 Apr 2020 00:22:07 +0000 (20:22 -0400)]
more "fix stupid analyzer" changes
Alan T. DeKok [Wed, 15 Apr 2020 00:09:25 +0000 (20:09 -0400)]
asserts for static analyzer
Alan T. DeKok [Tue, 14 Apr 2020 23:40:08 +0000 (19:40 -0400)]
glue triggers to workers at run time
and only if we have workers. This is a bit of a hack for now,
until such time as we have a better solution.
Jorge Pereira [Tue, 14 Apr 2020 21:47:07 +0000 (18:47 -0300)]
Update misc test to use the test's API
Jorge Pereira [Tue, 14 Apr 2020 21:14:24 +0000 (18:14 -0300)]
Fix misc tests
Jorge Pereira [Tue, 14 Apr 2020 20:26:00 +0000 (17:26 -0300)]
Fix typo
Jorge Pereira [Tue, 14 Apr 2020 19:58:55 +0000 (16:58 -0300)]
Fix minor memory leak
Alan T. DeKok [Tue, 14 Apr 2020 18:55:29 +0000 (14:55 -0400)]
let's run the interpreter in order to expand the xlat string...
Alan T. DeKok [Tue, 14 Apr 2020 18:41:09 +0000 (14:41 -0400)]
debug argv for fr_exec_nowait(), too
Alan T. DeKok [Tue, 14 Apr 2020 18:32:28 +0000 (14:32 -0400)]
make asynchronous triggers which run exec no-wait
Alan T. DeKok [Tue, 14 Apr 2020 18:17:55 +0000 (14:17 -0400)]
various fixes to get fake requests to work better
Alan T. DeKok [Tue, 14 Apr 2020 17:51:37 +0000 (13:51 -0400)]
don't touch request->async->listen for fake requests
Alan T. DeKok [Tue, 14 Apr 2020 15:43:39 +0000 (11:43 -0400)]
add API to asynchronously schedule a REQUEST
using thread-local storage
Alan T. DeKok [Tue, 14 Apr 2020 15:35:42 +0000 (11:35 -0400)]
rearrange code in preparation for asynchronously adding REQUESTs
Alan T. DeKok [Tue, 14 Apr 2020 14:51:18 +0000 (10:51 -0400)]
remove ev from request_data in talloc destructor
Alan T. DeKok [Tue, 14 Apr 2020 14:26:24 +0000 (10:26 -0400)]
make TMPL_TYPE_EXEC us pass2_fixup_tmpl()
instead of pass2_fixup_xlat(), which was only a temporary hack
Alan T. DeKok [Tue, 14 Apr 2020 14:24:25 +0000 (10:24 -0400)]
correctly compile TMPL_TYPE_EXEC in pass2_fixup_tmpl()
Alan T. DeKok [Tue, 14 Apr 2020 13:41:44 +0000 (09:41 -0400)]
call tokenize_argv, not tokenize
so that the individual arguments are split into groups
Alan T. DeKok [Tue, 14 Apr 2020 13:39:34 +0000 (09:39 -0400)]
remove trailing CR / LF from output buffer
If there are intermediate ones, well, too bad.
Alan T. DeKok [Tue, 14 Apr 2020 13:39:14 +0000 (09:39 -0400)]
print out actual exit status
Alan T. DeKok [Tue, 14 Apr 2020 13:26:50 +0000 (09:26 -0400)]
print out arguments we are using for exec
Arran Cudbard-Bell [Tue, 14 Apr 2020 02:28:17 +0000 (21:28 -0500)]
_fr_exit_now removed
Arran Cudbard-Bell [Tue, 14 Apr 2020 01:53:20 +0000 (20:53 -0500)]
*sigh*