]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Nick Porter [Tue, 22 Dec 2020 17:16:52 +0000 (17:16 +0000)]
s/fr_cursor/fr_dcursor/ in util/pair_print.c
Nick Porter [Tue, 22 Dec 2020 17:13:00 +0000 (17:13 +0000)]
s/fr_cursor/fr_dcursor/ in server/state.c
Nick Porter [Tue, 22 Dec 2020 17:11:48 +0000 (17:11 +0000)]
s/fr_cursor/fr_dcursor/ in server/snmp.c
Nick Porter [Tue, 22 Dec 2020 17:03:22 +0000 (17:03 +0000)]
s/fr_cursor/fr_dcursor/ in server/password.c
Nick Porter [Tue, 22 Dec 2020 16:58:11 +0000 (16:58 +0000)]
s/fr_cursor/fr_dcursor/ in server/map_async.c
Nick Porter [Tue, 22 Dec 2020 16:48:44 +0000 (16:48 +0000)]
s/fr_cursor/fr_dcursor/ in server/exfile.c
Nick Porter [Tue, 22 Dec 2020 16:40:24 +0000 (16:40 +0000)]
s/fr_cursor/fr_dcursor/ in server/exec.c
Nick Porter [Tue, 22 Dec 2020 16:39:29 +0000 (16:39 +0000)]
s/fr_cursor/fr_dcursor/ in server/cond_eval.c
Nick Porter [Tue, 22 Dec 2020 16:36:49 +0000 (16:36 +0000)]
s/fr_cursor/fr_dcursor/ in io/pair.h
Nick Porter [Wed, 20 Jan 2021 12:39:36 +0000 (12:39 +0000)]
Add tests for dcursors
Nick Porter [Tue, 12 Jan 2021 10:06:02 +0000 (10:06 +0000)]
Initial implementation of dcursor
Cursors designed to work with dlists
Nick Porter [Tue, 19 Jan 2021 17:24:55 +0000 (17:24 +0000)]
Replace cusror functions with pair_list functions in rlm_sigtran/client.c
Nick Porter [Tue, 19 Jan 2021 17:23:18 +0000 (17:23 +0000)]
Replace cursor functions with pair_list functions in rlm_mruby.c
Nick Porter [Mon, 11 Jan 2021 09:22:10 +0000 (09:22 +0000)]
Replace cursor functions with pair_list functions in rlm_eap_ttls/ttls.c
Nick Porter [Sat, 9 Jan 2021 16:11:53 +0000 (16:11 +0000)]
Replace cursor functions with pair_list functions in tacacs/encode.c
Nick Porter [Sat, 9 Jan 2021 14:36:32 +0000 (14:36 +0000)]
Replace cursor functions with pair_list functions in rlm_stats.c
Nick Porter [Sat, 9 Jan 2021 14:34:25 +0000 (14:34 +0000)]
Replace cursor functions with pair_list functions in rlm_radutmp.c
Nick Porter [Sat, 9 Jan 2021 14:17:37 +0000 (14:17 +0000)]
Replace cursor functions with pair_list functions in rlm_sql.c
Nick Porter [Sat, 9 Jan 2021 14:27:00 +0000 (14:27 +0000)]
Replace cursor functions with pair_list functions in rlm_python.c
Nick Porter [Fri, 8 Jan 2021 18:02:02 +0000 (18:02 +0000)]
Replace cursor functions with pair_list functions in rlm_utf8.c
Nick Porter [Fri, 8 Jan 2021 18:01:40 +0000 (18:01 +0000)]
Replace cursor functions with pair_list functions in rlm_unix.c
Nick Porter [Fri, 8 Jan 2021 17:31:06 +0000 (17:31 +0000)]
Replace cursor functions with pair_list functions in rlm_mschap.c
Nick Porter [Fri, 8 Jan 2021 17:23:29 +0000 (17:23 +0000)]
Replace cursor functions with pair_list functions in rlm_ldap/group.c
Nick Porter [Fri, 8 Jan 2021 17:21:32 +0000 (17:21 +0000)]
Replace cursor functions with pair_list functions in rlm_json.c
Nick Porter [Fri, 8 Jan 2021 16:55:59 +0000 (16:55 +0000)]
Replace cursor functions with pair_list functions in rlm_isc_dhcp.c
Nick Porter [Fri, 8 Jan 2021 16:23:40 +0000 (16:23 +0000)]
Replace cursor functions with pair_list functions in rlm_eap_peap/peap.c
Nick Porter [Fri, 8 Jan 2021 14:56:01 +0000 (14:56 +0000)]
Replace cursor functions with pair_list functions in rlm_digest.c
Nick Porter [Fri, 8 Jan 2021 16:04:29 +0000 (16:04 +0000)]
Replace cursor functions with pair_list functions in eap_fast.c
Nick Porter [Fri, 8 Jan 2021 14:53:13 +0000 (14:53 +0000)]
Replace cursor functions with pair_list functions in rlm_dhcpv4.c
Nick Porter [Fri, 8 Jan 2021 14:45:19 +0000 (14:45 +0000)]
Replace cursor functions with pair_list functions in rlm_detail.c
Nick Porter [Fri, 8 Jan 2021 14:43:17 +0000 (14:43 +0000)]
Replace cursor functions with pair_list functions in rlm_client.c
Nick Porter [Fri, 8 Jan 2021 14:38:36 +0000 (14:38 +0000)]
Replace cursor functions with pair_list functions in rlm_attr_filter.c
Nick Porter [Fri, 8 Jan 2021 13:35:37 +0000 (13:35 +0000)]
Replace cursor functions with pair_list functions in rlm_cache.c
Nick Porter [Fri, 8 Jan 2021 12:37:45 +0000 (12:37 +0000)]
Replace cursor functions with pair_list functions in lib/server/map.c
Nick Porter [Wed, 6 Jan 2021 18:02:46 +0000 (18:02 +0000)]
Replace cursor functions with pair_list functions in proto_tacacs.c
Nick Porter [Wed, 6 Jan 2021 17:59:21 +0000 (17:59 +0000)]
Replace cursor functions with pair_list functions in proto_radius.c
Nick Porter [Wed, 6 Jan 2021 17:54:06 +0000 (17:54 +0000)]
Replace cursor functions with pair_list functions in proto_dhcpv6_process.c
Nick Porter [Wed, 6 Jan 2021 15:23:58 +0000 (15:23 +0000)]
Replace cursor functions with pair_list functions in proto_dhcpv4/dhcpclient.c
Nick Porter [Wed, 6 Jan 2021 12:36:54 +0000 (12:36 +0000)]
Replace cursor functions with pair_list functions in lib/server/map_async.c
Nick Porter [Wed, 6 Jan 2021 11:35:43 +0000 (11:35 +0000)]
Replace cursor functions with pair_list functions in lib/server/log.c
Nick Porter [Wed, 6 Jan 2021 11:33:35 +0000 (11:33 +0000)]
Replace cursor functions with pair_list functions in lib/server/paircmp.c
Nick Porter [Wed, 6 Jan 2021 11:25:40 +0000 (11:25 +0000)]
Replace cursor functions with pair_list functions in lib/server/exec.c
Nick Porter [Wed, 6 Jan 2021 11:18:14 +0000 (11:18 +0000)]
Replace cursor functions with pair_list in lib/eap_aka_sim/state_machine.c
Nick Porter [Wed, 6 Jan 2021 11:14:40 +0000 (11:14 +0000)]
Replace cursor functions with pair_list functions in lib/server/client.c
Nick Porter [Wed, 6 Jan 2021 10:59:07 +0000 (10:59 +0000)]
Replace cursor functions with pair_list functions in lib/ldap/control.c
Nick Porter [Wed, 6 Jan 2021 10:29:45 +0000 (10:29 +0000)]
Replace cursor functions with pair_list functions in lib/eap/chbind.c
Nick Porter [Wed, 6 Jan 2021 10:15:04 +0000 (10:15 +0000)]
Replace cursor functions with pair_list functions in lib/curl/base.c
Nick Porter [Wed, 6 Jan 2021 10:02:15 +0000 (10:02 +0000)]
Replace cursor functions with pair_list functions in unit_test_attribute.c
Nick Porter [Wed, 6 Jan 2021 09:37:06 +0000 (09:37 +0000)]
Replace cursor functions with pair_list functions in radsniff.c
Nick Porter [Tue, 5 Jan 2021 17:52:30 +0000 (17:52 +0000)]
Replace cursor functions with pair_list functions in radclient.c
Nick Porter [Fri, 1 Jan 2021 17:43:58 +0000 (17:43 +0000)]
Replace cursors with pair_list functions in lib/json/json.c
Nick Porter [Tue, 22 Dec 2020 18:11:42 +0000 (18:11 +0000)]
Replace cursor with pair list in fr_tls_session_pairs_from_x509_cert()
Nick Porter [Tue, 22 Dec 2020 16:59:50 +0000 (16:59 +0000)]
Swap cursor functions for list functions in map_list_mod_to_vps()
Nick Porter [Tue, 22 Dec 2020 16:35:47 +0000 (16:35 +0000)]
Use fr_pair_list_empty() to check for empty lists
Comparing list head to NULL no-longer works with dlists
Nick Porter [Tue, 29 Dec 2020 13:40:31 +0000 (13:40 +0000)]
Update pair_server_tests to work with dlist pairs lists
Nick Porter [Tue, 22 Dec 2020 17:54:47 +0000 (17:54 +0000)]
Tidy pair_legacy_tests.c
Nick Porter [Tue, 22 Dec 2020 16:16:16 +0000 (16:16 +0000)]
Add util/dpair_legacy.c and util/dpair_legacy.h
Nick Porter [Wed, 6 Jan 2021 11:27:45 +0000 (11:27 +0000)]
Add fr_pair_list_prev() and fr_pair_list_tail() functions
Nick Porter [Wed, 6 Jan 2021 11:31:32 +0000 (11:31 +0000)]
Add fr_pair_sublist_copy() function
Nick Porter [Tue, 22 Dec 2020 12:35:07 +0000 (12:35 +0000)]
Add util/dpair.c and util/dpair.h
dlist versions of util/pair.c functions
Update tests to match use of dlists.
Nick Porter [Tue, 22 Dec 2020 11:45:25 +0000 (11:45 +0000)]
Add USE_DOUBLE_LIST to make file and setup for dpair.h
Alan T. DeKok [Thu, 21 Jan 2021 22:41:38 +0000 (17:41 -0500)]
remove install.doc.man target
Alan T. DeKok [Thu, 21 Jan 2021 20:38:57 +0000 (15:38 -0500)]
check header length here, too
Alan T. DeKok [Thu, 21 Jan 2021 20:29:39 +0000 (15:29 -0500)]
header is at least 4 bytes
Alan T. DeKok [Thu, 21 Jan 2021 19:58:31 +0000 (14:58 -0500)]
try again to shut up clang scanner
which complains in CI. Not in local tests.
Alan T. DeKok [Thu, 21 Jan 2021 19:22:21 +0000 (14:22 -0500)]
free tags in test ctx
Alan T. DeKok [Thu, 21 Jan 2021 19:20:19 +0000 (14:20 -0500)]
try to shut up compiler
Alan T. DeKok [Thu, 21 Jan 2021 19:03:05 +0000 (14:03 -0500)]
if we're encoding 64-bits, make the variable 64 bits
Alan T. DeKok [Thu, 21 Jan 2021 18:58:15 +0000 (13:58 -0500)]
more "shut up compiler"
Alan T. DeKok [Thu, 21 Jan 2021 17:59:30 +0000 (12:59 -0500)]
remove unnecessary code
Alan T. DeKok [Thu, 21 Jan 2021 15:25:05 +0000 (10:25 -0500)]
move non-protocol policies into their own file
We should really have src/tests/modules do this, too
Alan T. DeKok [Thu, 21 Jan 2021 14:37:26 +0000 (09:37 -0500)]
use fr_radius_ctx_t* instead of void*
and add CC_HINT(nonnull) to the functions
Alan T. DeKok [Thu, 21 Jan 2021 15:05:18 +0000 (10:05 -0500)]
remove unnecessary FALL_THROUGH
Alan T. DeKok [Thu, 21 Jan 2021 14:18:17 +0000 (09:18 -0500)]
add packet_ctx to fr_radius_decode_pair()
Arran Cudbard-Bell [Thu, 21 Jan 2021 13:54:44 +0000 (13:54 +0000)]
Fix proto_ldap_packet_debug
Matthias Gerstner [Thu, 21 Jan 2021 13:48:20 +0000 (14:48 +0100)]
logrotate config file: don't change global logrotate options (#3829)
Global options in files in /etc/logrotate.d/ potentially influence all
other configurations parsed after the "radiusd" configuration file.
Especially the 'su radiusd radiusd' line can break things for other
packages, but also the other settings may lead to surprising behaviour,
depending on the context.
Therefore move global options into the logfile specific blocks, grouping
together equal settings to avoid a high degree of redundance.
James Jones [Thu, 21 Jan 2021 13:42:38 +0000 (07:42 -0600)]
Get rid of the only explicit use of FR_DBUFF_RESERVE() (#3844)
The sole explicit use was in internal_encode(); it's not necessary
because in the case of the length requiring more than one byte,
fr_dbuff_move() will return error if there's not enough room. Also:
* fr_dbuff_move() can take advantage of extensible dbuffs
* by the time fr_dbuff_move() is called, we really know how much
space is needed. Before, the code insisted on sizeof(uint64_t)
bytes, corresponding to lengths unlikely in practice and thus
possibly caausing a needless error return.
This change leaves FR_DBUFF_MAX() and FR_DBUFF_MAX_NO_ADVANCE()
expressed in terms of FR_DBUFF_RESERVE(), so FR_DBUFF_MAX() can
first be expressed directly and then move to a version that can
take advantage of extensibility.
James Jones [Thu, 21 Jan 2021 13:41:50 +0000 (07:41 -0600)]
Move internal decode to use dbuffs internally. (#3836)
Arran Cudbard-Bell [Thu, 21 Jan 2021 10:47:19 +0000 (10:47 +0000)]
vp2diameter takes a pair list
Arran Cudbard-Bell [Thu, 21 Jan 2021 10:43:48 +0000 (10:43 +0000)]
Fix final use of packet->vps in common_packet_debug
Nick Porter [Wed, 13 Jan 2021 11:56:25 +0000 (11:56 +0000)]
Ensure all pair lists are initialised in radclient.c
Nick Porter [Wed, 20 Jan 2021 09:12:26 +0000 (09:12 +0000)]
Ensure all pair lists are correctly initialised in radsniff.c
Nick Porter [Wed, 20 Jan 2021 12:58:03 +0000 (12:58 +0000)]
Hide clang option from gcc
Nick Porter [Thu, 21 Jan 2021 09:44:19 +0000 (09:44 +0000)]
Amend fuzzer.c to correctly call test points
Terry Burton [Wed, 20 Jan 2021 23:00:38 +0000 (23:00 +0000)]
CI: Fix fuzzer result code (#3864)
Terry Burton [Wed, 20 Jan 2021 22:17:18 +0000 (22:17 +0000)]
Integrate fuzzer run into CI (push); cleanup matrix conditionals (#3859)
* Fuzzer: Don't leak memory on exit
* Fuzzer: artifact_prefix is a path prefix rather than a directory
* CI: Cleanup matrix variables and add fuzzing target
Jorge Pereira [Wed, 20 Jan 2021 22:16:19 +0000 (19:16 -0300)]
rlm_wimax: Fix WiMAX attributes in raddb/sites-available/default (#3863)
Arran Cudbard-Bell [Wed, 20 Jan 2021 21:46:34 +0000 (21:46 +0000)]
Add first DHCPv6 keyword test
Arran Cudbard-Bell [Wed, 20 Jan 2021 21:13:14 +0000 (21:13 +0000)]
Move RADIUS specific modules into radius.conf
Arran Cudbard-Bell [Wed, 20 Jan 2021 20:58:23 +0000 (20:58 +0000)]
Last test packets
Arran Cudbard-Bell [Wed, 20 Jan 2021 19:34:03 +0000 (19:34 +0000)]
Add Packet-Type = Access-Request to more attrs files
Arran Cudbard-Bell [Wed, 20 Jan 2021 18:39:03 +0000 (18:39 +0000)]
Not used
Arran Cudbard-Bell [Wed, 20 Jan 2021 18:37:20 +0000 (18:37 +0000)]
...and another one
Arran Cudbard-Bell [Wed, 20 Jan 2021 18:31:00 +0000 (18:31 +0000)]
Add DHCPv6 test server
Arran Cudbard-Bell [Wed, 20 Jan 2021 18:30:33 +0000 (18:30 +0000)]
Take Packet-Type from the input file
We can't just default to Access-Request anymore
Arran Cudbard-Bell [Wed, 20 Jan 2021 18:04:43 +0000 (18:04 +0000)]
Slightly better way of initialising
Alan T. DeKok [Wed, 20 Jan 2021 17:17:06 +0000 (12:17 -0500)]
move RADIUS virtual servers to radius.conf
Alan T. DeKok [Wed, 20 Jan 2021 17:16:30 +0000 (12:16 -0500)]
export PROTOCOL for use in tests, if needed
Alan T. DeKok [Wed, 20 Jan 2021 16:50:47 +0000 (11:50 -0500)]
no quotes needed
Alan T. DeKok [Wed, 20 Jan 2021 16:49:05 +0000 (11:49 -0500)]
fix typo