]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Nick Porter [Tue, 17 Jun 2025 09:22:02 +0000 (10:22 +0100)]
Walk over DHCPv4 padding option rather than returning NULL
Some clients put padding in the middle of packets - so the option we're
looking for may be after the padding.
Nick Porter [Tue, 17 Jun 2025 08:55:46 +0000 (09:55 +0100)]
Look up interface packet was received on if inst->interface not set
Allows a DHCP server to be set to listen on 0.0.0.0 and not bound to a
specific interface to handle broadcast DHCP requests on multiple
interfaces.
Nick Porter [Mon, 16 Jun 2025 18:33:03 +0000 (19:33 +0100)]
Set IP_RECVIF on BSD sockets to get interface details
github-actions[bot] [Tue, 17 Jun 2025 04:34:25 +0000 (04:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/cbor.tar
github-actions[bot] [Tue, 17 Jun 2025 04:31:10 +0000 (04:31 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/der.tar
Alan T. DeKok [Mon, 16 Jun 2025 18:01:01 +0000 (14:01 -0400)]
set error only if it failed
Nick Porter [Mon, 16 Jun 2025 11:15:44 +0000 (12:15 +0100)]
Add CHAP to radclient tests
Nick Porter [Mon, 16 Jun 2025 10:35:56 +0000 (11:35 +0100)]
Create CHAP-Challenge attribute if not set
fr_packet_sign() re-calculates the request authenticator, so it can't be
used as CHAP-Challenge
Nick Porter [Mon, 16 Jun 2025 09:53:04 +0000 (10:53 +0100)]
CHAP-Challenge is not fixed to 16 octets
RFC2865 says min length is 7
Nick Porter [Mon, 16 Jun 2025 10:40:26 +0000 (11:40 +0100)]
Remove Password.Cleartext from expected radclient test output
Nick Porter [Mon, 16 Jun 2025 09:47:15 +0000 (10:47 +0100)]
No need to copy User-Password to Password.Cleartext
Nick Porter [Mon, 16 Jun 2025 08:02:05 +0000 (09:02 +0100)]
Set prefix length so address comparisons work
fr_ipaddr_cmp() uses prefix len to determine how many bits to compare
Nick Porter [Fri, 13 Jun 2025 16:08:59 +0000 (17:08 +0100)]
Associate a dictionary with %<proto>.decode xlats
And check that protocol decoders are only called in the correct
namespace.
Nick Porter [Fri, 13 Jun 2025 16:00:41 +0000 (17:00 +0100)]
Move fr_der_decode_ctx_t definition to header
So other modules can create a decode ctx when using der decoder
Nick Porter [Fri, 13 Jun 2025 15:43:29 +0000 (16:43 +0100)]
Move dict_der to attrs.h
So der.h can be included in modules with their own `dict_der` without
conflicts.
Nick Porter [Fri, 13 Jun 2025 15:35:40 +0000 (16:35 +0100)]
Remove unused variable
Nick Porter [Fri, 13 Jun 2025 15:06:23 +0000 (16:06 +0100)]
Ensure header only included once
nolade [Wed, 11 Jun 2025 14:23:55 +0000 (10:23 -0400)]
docs: v3-v4 markup with warning HIVE 3608
Alan T. DeKok [Mon, 9 Jun 2025 20:01:19 +0000 (16:01 -0400)]
if (failed expansion) --> fail
unless it's followed by an "else" or "elsif".
With documentation updates and fixed tests
Alan T. DeKok [Tue, 10 Jun 2025 01:33:05 +0000 (21:33 -0400)]
print comparisons and binary ops better
as FOO op BAR, not %cmp_lt(FOO, BAR)
Alan T. DeKok [Tue, 10 Jun 2025 01:32:44 +0000 (21:32 -0400)]
use ... for ignored data, as with other messages
Alan T. DeKok [Mon, 9 Jun 2025 19:44:56 +0000 (15:44 -0400)]
use :=, to force the assignment
Nick Porter [Fri, 13 Jun 2025 07:44:49 +0000 (08:44 +0100)]
Capture Module-Failure-Message from verify certificate subrequest
Nick Porter [Thu, 12 Jun 2025 18:26:12 +0000 (19:26 +0100)]
Report revoked certificates as errors
To populate Module-Failure-Reason
Nick Porter [Thu, 12 Jun 2025 17:03:56 +0000 (18:03 +0100)]
Remove redundant header
Nick Porter [Thu, 12 Jun 2025 17:03:21 +0000 (18:03 +0100)]
Delta CRLs can reference an older base than the current
So no need to expire the deltas when a base expires
Nick Porter [Thu, 12 Jun 2025 17:01:23 +0000 (18:01 +0100)]
Report CRL numbers when there is a mis-match error
Nick Porter [Thu, 12 Jun 2025 12:06:10 +0000 (13:06 +0100)]
Remove incorrect comment
Nick Porter [Thu, 12 Jun 2025 11:57:13 +0000 (12:57 +0100)]
Remove comment - mod_load no longer initialises libcurl
Nick Porter [Thu, 12 Jun 2025 11:56:14 +0000 (12:56 +0100)]
Remove unnecessary includes
Nick Porter [Thu, 12 Jun 2025 07:45:25 +0000 (08:45 +0100)]
Use separate CRL file for each test
To avoid conflicts when running in parallel
Nick Porter [Thu, 12 Jun 2025 07:30:08 +0000 (08:30 +0100)]
Add application/pkix-crl to known REST Content-Type values
Nick Porter [Thu, 12 Jun 2025 07:19:30 +0000 (08:19 +0100)]
%M is supposed to be microseconds, not milliseconds
Nick Porter [Wed, 11 Jun 2025 13:05:07 +0000 (14:05 +0100)]
Correct module name
Nick Porter [Wed, 11 Jun 2025 09:04:22 +0000 (10:04 +0100)]
Can't test rlm_crl if FreeRADIUS was built without SSL
Nick Porter [Wed, 11 Jun 2025 08:01:23 +0000 (09:01 +0100)]
Add basic tests of rlm_crl
Nick Porter [Tue, 10 Jun 2025 15:07:25 +0000 (16:07 +0100)]
Set allow_core_dumps to yes for developer builds
Required to allow debuggers to attach to processes.
Nick Porter [Tue, 10 Jun 2025 14:01:12 +0000 (15:01 +0100)]
Correct ZSCORE check after unassigning a static IP
Particularly when running under sanitizers, %l ends up in the past
Nick Porter [Tue, 10 Jun 2025 13:36:29 +0000 (14:36 +0100)]
Remove stray %
Nick Porter [Tue, 10 Jun 2025 09:11:41 +0000 (10:11 +0100)]
Allow reading binary data using rlm_exec
Nick Porter [Tue, 10 Jun 2025 08:20:34 +0000 (09:20 +0100)]
Update rlm_mruby docs from raddb
Nick Porter [Tue, 10 Jun 2025 08:17:35 +0000 (09:17 +0100)]
Fix RHEL packaging for rlm_mruby
Nick Porter [Tue, 10 Jun 2025 07:43:16 +0000 (08:43 +0100)]
Move sample Ruby to raddb so it gets packaged
Nick Porter [Tue, 10 Jun 2025 07:40:50 +0000 (08:40 +0100)]
Tidy sample Ruby
Nick Porter [Tue, 10 Jun 2025 07:39:07 +0000 (08:39 +0100)]
Update mruby sample config with notes on attribute access
Nick Porter [Mon, 9 Jun 2025 19:10:38 +0000 (20:10 +0100)]
Add tests of pair list access from mruby
Nick Porter [Mon, 9 Jun 2025 18:12:04 +0000 (19:12 +0100)]
Don't run instantiate module if it doesn't exist
Nick Porter [Mon, 9 Jun 2025 17:24:32 +0000 (18:24 +0100)]
Add `append` method to mruby Pair class
To add an instance of an attribute
Nick Porter [Mon, 9 Jun 2025 16:46:22 +0000 (17:46 +0100)]
Add `del` method to mruby Pair class
Nick Porter [Mon, 9 Jun 2025 16:32:35 +0000 (17:32 +0100)]
Remove redundant mruby add_vp_tuple
Nick Porter [Mon, 9 Jun 2025 16:29:26 +0000 (17:29 +0100)]
Only allow fixednum return now mruby can set pairs directly
Nick Porter [Mon, 9 Jun 2025 16:14:33 +0000 (17:14 +0100)]
Remove mruby pair list marshalling functions
Nick Porter [Mon, 9 Jun 2025 16:11:13 +0000 (17:11 +0100)]
Report what is being called
Nick Porter [Mon, 9 Jun 2025 16:10:45 +0000 (17:10 +0100)]
Use mruby PairList class for passing list roots to module method
Nick Porter [Mon, 9 Jun 2025 16:09:16 +0000 (17:09 +0100)]
Add `method_missing` method to mruby PairList class
To allow access to child attributes.
Nick Porter [Mon, 9 Jun 2025 15:51:06 +0000 (16:51 +0100)]
Add `set` method to mruby Pair class
To set pair values
Nick Porter [Mon, 9 Jun 2025 15:49:33 +0000 (16:49 +0100)]
Add `get` method to mruby Pair class
For getting the value of the pair.
Nick Porter [Mon, 9 Jun 2025 15:47:47 +0000 (16:47 +0100)]
Add `keys` method to mruby PairList
To fetch a list of child attributes
Nick Porter [Mon, 9 Jun 2025 15:40:39 +0000 (16:40 +0100)]
Add mruby Pair class
For leaf pairs
Nick Porter [Mon, 9 Jun 2025 15:35:53 +0000 (16:35 +0100)]
Define mruby PairList class and its initialize function
for holding structural pairs
Nick Porter [Mon, 9 Jun 2025 15:30:57 +0000 (16:30 +0100)]
Change default mruby module name to FreeRADIUS
Nick Porter [Mon, 9 Jun 2025 15:29:51 +0000 (16:29 +0100)]
Add Ptr class to use for passing C pointers
Nick Porter [Mon, 9 Jun 2025 15:22:52 +0000 (16:22 +0100)]
Define mruby_pair_t
For holding C data pointers associated with a pair in mruby objects
Nick Porter [Mon, 9 Jun 2025 15:14:15 +0000 (16:14 +0100)]
Define mruby data types and functions for accessing C data pointers
Nick Porter [Mon, 9 Jun 2025 15:18:10 +0000 (16:18 +0100)]
Move rlm_mruby_t definition to shared header
Nick Porter [Mon, 9 Jun 2025 07:48:48 +0000 (08:48 +0100)]
Pacify Coverity (CID #
1648478 )
It doesn't understand about required xlat args
Nick Porter [Mon, 9 Jun 2025 07:45:16 +0000 (08:45 +0100)]
Check box is allocated (CID #
1648479 )
github-actions[bot] [Mon, 9 Jun 2025 04:33:40 +0000 (04:33 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Mon, 9 Jun 2025 04:33:31 +0000 (04:33 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Mon, 9 Jun 2025 04:33:16 +0000 (04:33 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Mon, 9 Jun 2025 04:32:40 +0000 (04:32 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Mon, 9 Jun 2025 04:32:37 +0000 (04:32 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Mon, 9 Jun 2025 04:32:22 +0000 (04:32 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Mon, 9 Jun 2025 04:31:47 +0000 (04:31 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Mon, 9 Jun 2025 04:31:10 +0000 (04:31 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Mon, 9 Jun 2025 04:30:34 +0000 (04:30 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
Nick Porter [Thu, 5 Jun 2025 08:53:59 +0000 (09:53 +0100)]
Add rlm_crl docs from sample config
Nick Porter [Thu, 5 Jun 2025 08:24:17 +0000 (09:24 +0100)]
Update docs from raddb changes
Nick Porter [Thu, 5 Jun 2025 08:20:43 +0000 (09:20 +0100)]
Document %ldap.uri.attr_option
Nick Porter [Thu, 5 Jun 2025 08:17:00 +0000 (09:17 +0100)]
Add tests of %ldap.uri.attr_option
Nick Porter [Thu, 5 Jun 2025 08:16:20 +0000 (09:16 +0100)]
Add %ldap.uri.attr_option
Nick Porter [Thu, 5 Jun 2025 07:21:37 +0000 (08:21 +0100)]
Pacify Coverity (CID #
1648447 )
Nick Porter [Thu, 5 Jun 2025 07:05:12 +0000 (08:05 +0100)]
Check return value (CID #
1648446 )
Nick Porter [Wed, 4 Jun 2025 19:12:52 +0000 (20:12 +0100)]
Check return code from base CRL lookup
Nick Porter [Wed, 4 Jun 2025 19:09:42 +0000 (20:09 +0100)]
rlm_crl requires OpenSSL to build
Nick Porter [Wed, 4 Jun 2025 18:46:01 +0000 (19:46 +0100)]
Add rlm_crl to RHEL packaging
Nick Porter [Wed, 4 Jun 2025 18:31:36 +0000 (19:31 +0100)]
Allow soft failure when ldap expansion is not configured
Nick Porter [Wed, 4 Jun 2025 10:07:45 +0000 (11:07 +0100)]
When a base CRL expires, expire the deltas
Since deltas are changes from a base, they need to be re-fetched when
the base changes
Nick Porter [Wed, 4 Jun 2025 08:31:05 +0000 (09:31 +0100)]
Limit extracted CDP to those covering all reasons
We want the full picture for doing CRL checks - so no need to handle
segmented CRLs.
RFC5280 page 47:
When a conforming CA includes a cRLDistributionPoints extension in a
certificate, it MUST include at least one DistributionPoint that points
to a CRL that covers the certificate for all reasons.
Nick Porter [Wed, 4 Jun 2025 08:05:49 +0000 (09:05 +0100)]
Add crlNumber to dummy CRL
Nick Porter [Wed, 4 Jun 2025 08:03:54 +0000 (09:03 +0100)]
Add notes on CDP with ldap:/// prefix
Nick Porter [Wed, 4 Jun 2025 07:45:27 +0000 (08:45 +0100)]
Check for delta CRL in crl_check_serial
And fetch the delta if we don't already have it.
Nick Porter [Wed, 4 Jun 2025 07:40:33 +0000 (08:40 +0100)]
Return found crl entry from crl_check_serial
So base CRL can be referenced when fetching a delta
Nick Porter [Wed, 4 Jun 2025 07:33:48 +0000 (08:33 +0100)]
Having retrieved a base CRL, check the delta if the CRL has it defined
Deltas can have more than one URI for HA.
If none of the delta CRLs are available then re-use the same mechanism
to fetch one.
Nick Porter [Wed, 4 Jun 2025 07:08:59 +0000 (08:08 +0100)]
Allow different forced expiry interval for delta CRLs
Typically delta CRLs are published more frequently than base ones, so
may require a shorter forced expiry interval.
Nick Porter [Wed, 4 Jun 2025 07:05:36 +0000 (08:05 +0100)]
Use reference to base_crl to indicate we're reading data from a delta
Nick Porter [Wed, 4 Jun 2025 07:02:03 +0000 (08:02 +0100)]
Correct comment
Nick Porter [Wed, 4 Jun 2025 06:58:58 +0000 (07:58 +0100)]
Add a status to rlm_crl_ctx_t to track which type of CRL is being handled
Nick Porter [Tue, 3 Jun 2025 18:06:17 +0000 (19:06 +0100)]
CRL reason "remove from CRL" is different from not found
It is an override that occurs in delta CRLs - whereas if a serial is not
found in a delta, the base should be checked.
Nick Porter [Mon, 2 Jun 2025 15:26:35 +0000 (16:26 +0100)]
Restructure processing of multiple CRL distrubution points
When a certificate lists multiple CRL distribution points (that cover
all revokation reasons) then they are different methods to retrieve the
same CRL.
If we have one CRL downloaded, then that can be used.
If none exist then try to retrieve from each of the distribution points
until one succeeds.