]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
17 months agoTypo in rlm_ldap
Arran Cudbard-Bell [Sun, 12 May 2024 17:50:13 +0000 (11:50 -0600)] 
Typo in rlm_ldap

17 months agoPoper fix for dynamic instantiation of the cache module
Arran Cudbard-Bell [Sun, 12 May 2024 17:43:05 +0000 (11:43 -0600)] 
Poper fix for dynamic instantiation of the cache module

17 months agoInst not used in winbind
Arran Cudbard-Bell [Sun, 12 May 2024 17:39:41 +0000 (11:39 -0600)] 
Inst not used in winbind

17 months agoFix how we print global messages in rlm_icmp
Arran Cudbard-Bell [Sun, 12 May 2024 17:28:32 +0000 (11:28 -0600)] 
Fix how we print global messages in rlm_icmp

17 months agoFixup rlm_modules that did instantiatey things in bootstrap
Arran Cudbard-Bell [Sun, 12 May 2024 17:08:01 +0000 (11:08 -0600)] 
Fixup rlm_modules that did instantiatey things in bootstrap

17 months agoUnload the radius.secret.verify xlat
Arran Cudbard-Bell [Sun, 12 May 2024 16:56:50 +0000 (10:56 -0600)] 
Unload the radius.secret.verify xlat

17 months agoMore tests for switch
Arran Cudbard-Bell [Sun, 12 May 2024 16:56:21 +0000 (10:56 -0600)] 
More tests for switch

17 months agoRename listen to li
Arran Cudbard-Bell [Sun, 12 May 2024 16:55:43 +0000 (10:55 -0600)] 
Rename listen to li

17 months agoAdd "boot" data which can be modified in the bootstrap phase
Arran Cudbard-Bell [Sun, 12 May 2024 16:55:18 +0000 (10:55 -0600)] 
Add "boot" data which can be modified in the bootstrap phase

Add MODULE_TYPE_DYNAMIC_UNSAFE for things that shouldn't be dynamically instantiated.  This also disables the protections on the boot/data chunks.

17 months agoTweak to process virtual server sections before calling the instantiate function
Arran Cudbard-Bell [Sun, 12 May 2024 16:53:36 +0000 (10:53 -0600)] 
Tweak to process virtual server sections before calling the instantiate function

17 months agoDon't allocate xlat function memory directly in the context we were passed
Arran Cudbard-Bell [Sun, 12 May 2024 16:51:30 +0000 (10:51 -0600)] 
Don't allocate xlat function memory directly in the context we were passed

This memory can be mprotected, and when the xlat functions get balanced in the rbtree we get a SEGV

17 months agoAdd a manual unregister function to the map proc code
Arran Cudbard-Bell [Sun, 12 May 2024 16:49:43 +0000 (10:49 -0600)] 
Add a manual unregister function to the map proc code

- Constify instance data
- Take a separate ctx for map proc allocation
- Link map proc memory using a linking ctx instead of allocating it directly

17 months agoMove unlang, request, and xlat initialisation to atexit handlers
Arran Cudbard-Bell [Sun, 12 May 2024 16:48:51 +0000 (10:48 -0600)] 
Move unlang, request, and xlat initialisation to atexit handlers

The atexit handlers just run in the reverse order to which they were created, so unless the code is doing something weird and incestuous it makes cleanup much simpler

17 months agoMake page aligned pools easier to use
Arran Cudbard-Bell [Sun, 12 May 2024 16:47:19 +0000 (10:47 -0600)] 
Make page aligned pools easier to use

17 months agoRemove useless module flags
Arran Cudbard-Bell [Sat, 11 May 2024 20:37:09 +0000 (14:37 -0600)] 
Remove useless module flags

17 months agotry to satisfy clang scan, too
Alan T. DeKok [Sat, 11 May 2024 00:16:25 +0000 (20:16 -0400)] 
try to satisfy clang scan, too

17 months agocleanups for CID #1597277 and CID #1597276
Alan T. DeKok [Sat, 11 May 2024 00:04:13 +0000 (20:04 -0400)] 
cleanups for CID #1597277 and CID #1597276

delete assert, as the loop over "mi" doesn't change "a" or "b"

make the "if" conditions for early exit a little clearer

17 months agoadd missing unlock. CID #1597275
Alan T. DeKok [Sat, 11 May 2024 00:03:52 +0000 (20:03 -0400)] 
add missing unlock.  CID #1597275

17 months agoRemove manual bootstrapping, it's not needed
Arran Cudbard-Bell [Fri, 10 May 2024 15:43:55 +0000 (09:43 -0600)] 
Remove manual bootstrapping, it's not needed

17 months agoShift control socket commands to the top
Arran Cudbard-Bell [Fri, 10 May 2024 15:35:43 +0000 (09:35 -0600)] 
Shift control socket commands to the top

17 months agoEnsure yum is installed for rpm Docker builds
Nick Porter [Fri, 10 May 2024 09:48:07 +0000 (10:48 +0100)] 
Ensure yum is installed for rpm Docker builds

17 months agoRemove unused var
Arran Cudbard-Bell [Fri, 10 May 2024 06:55:33 +0000 (00:55 -0600)] 
Remove unused var

17 months agoCorrect const issues
Arran Cudbard-Bell [Fri, 10 May 2024 06:52:43 +0000 (00:52 -0600)] 
Correct const issues

17 months agoAdd rlm module specific data lookup function
Arran Cudbard-Bell [Fri, 10 May 2024 06:45:47 +0000 (00:45 -0600)] 
Add rlm module specific data lookup function

17 months agoMissed substitution
Arran Cudbard-Bell [Fri, 10 May 2024 06:10:50 +0000 (00:10 -0600)] 
Missed substitution

17 months agoFix module instance data lookup
Arran Cudbard-Bell [Fri, 10 May 2024 06:09:32 +0000 (00:09 -0600)] 
Fix module instance data lookup

17 months agorm ;
Arran Cudbard-Bell [Fri, 10 May 2024 05:53:58 +0000 (23:53 -0600)] 
rm ;

17 months agoUse new thread-local list for client connections
Arran Cudbard-Bell [Fri, 10 May 2024 05:21:10 +0000 (23:21 -0600)] 
Use new thread-local list for client connections

17 months agoAllow variants of module lists
Arran Cudbard-Bell [Fri, 10 May 2024 04:21:14 +0000 (22:21 -0600)] 
Allow variants of module lists

For now we support global module lists and thread-local lists

17 months agoFix includes
Arran Cudbard-Bell [Fri, 10 May 2024 04:20:37 +0000 (22:20 -0600)] 
Fix includes

17 months agoUse the prefix of the deepest module when loading submodules
Arran Cudbard-Bell [Fri, 10 May 2024 04:17:42 +0000 (22:17 -0600)] 
Use the prefix of the deepest module when loading submodules

17 months agoGive virtual servers a meaningful name so it's less confusing debugging instance...
Arran Cudbard-Bell [Fri, 10 May 2024 04:16:58 +0000 (22:16 -0600)] 
Give virtual servers a meaningful name so it's less confusing debugging instance name creation

17 months agoUse correct/shallower public symbol pointer for submodules
Arran Cudbard-Bell [Thu, 9 May 2024 16:50:10 +0000 (10:50 -0600)] 
Use correct/shallower public symbol pointer for submodules

17 months agoUse mi instead of inst to refer to the module instance, instance is extremely overused
Arran Cudbard-Bell [Thu, 9 May 2024 15:33:48 +0000 (09:33 -0600)] 
Use mi instead of inst to refer to the module instance, instance is extremely overused

17 months agoMerge dl_module_instance code with module_instance
Arran Cudbard-Bell [Thu, 9 May 2024 15:22:34 +0000 (09:22 -0600)] 
Merge dl_module_instance code with module_instance

Collapsing a completely useless layer of abstraction and making everything significantly easier to understand and use.

17 months agoName field unused
Arran Cudbard-Bell [Thu, 9 May 2024 15:01:16 +0000 (09:01 -0600)] 
Name field unused

17 months agoMake the dl_module code threadsafe in regards to loading and unloading modules
Arran Cudbard-Bell [Wed, 8 May 2024 23:43:06 +0000 (17:43 -0600)] 
Make the dl_module code threadsafe in regards to loading and unloading modules

Ugh... I hate writing this sort of code, but unless we want to have a master "load and unload" modules thread, that we signal using message passing, this is unfortunately the way we need to do it.

Note: This only protects the dl_loader, not the instances.

17 months agoUse transport parsing callback
Arran Cudbard-Bell [Tue, 7 May 2024 04:17:32 +0000 (22:17 -0600)] 
Use transport parsing callback

17 months agoExplicitly enable/disable developer in RPM builds
Arran Cudbard-Bell [Thu, 9 May 2024 17:26:59 +0000 (11:26 -0600)] 
Explicitly enable/disable developer in RPM builds

17 months agoCheck allocation
Arran Cudbard-Bell [Tue, 7 May 2024 22:39:35 +0000 (16:39 -0600)] 
Check allocation

17 months agoFix cosmetic issue where the prefix of modules wasn't being printed
Arran Cudbard-Bell [Tue, 7 May 2024 16:07:19 +0000 (10:07 -0600)] 
Fix cosmetic issue where the prefix of modules wasn't being printed

17 months agoAdd callback for parsing transports
Arran Cudbard-Bell [Tue, 7 May 2024 04:17:18 +0000 (22:17 -0600)] 
Add callback for parsing transports

17 months agoCheck allocations
Arran Cudbard-Bell [Tue, 7 May 2024 04:14:54 +0000 (22:14 -0600)] 
Check allocations

17 months agoFormatting
Arran Cudbard-Bell [Tue, 7 May 2024 04:14:45 +0000 (22:14 -0600)] 
Formatting

17 months agoAdd test for LDAP profile from multiple objects
Nick Porter [Tue, 7 May 2024 17:11:52 +0000 (18:11 +0100)] 
Add test for LDAP profile from multiple objects

17 months agoApply all returned LDAP profile objects
Nick Porter [Tue, 7 May 2024 17:11:15 +0000 (18:11 +0100)] 
Apply all returned LDAP profile objects

17 months agoMissed field
Arran Cudbard-Bell [Tue, 7 May 2024 00:55:41 +0000 (18:55 -0600)] 
Missed field

17 months agoBetter detail file reader errors
Arran Cudbard-Bell [Tue, 7 May 2024 00:51:34 +0000 (18:51 -0600)] 
Better detail file reader errors

17 months agoFix linux debugger check
Arran Cudbard-Bell [Tue, 7 May 2024 00:04:22 +0000 (18:04 -0600)] 
Fix linux debugger check

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Mon, 6 May 2024 09:35:07 +0000 (09:35 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Mon, 6 May 2024 09:34:56 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Mon, 6 May 2024 09:34:52 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Mon, 6 May 2024 09:34:49 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Mon, 6 May 2024 09:34:46 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Mon, 6 May 2024 09:34:43 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Mon, 6 May 2024 09:34:37 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Mon, 6 May 2024 09:34:35 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar

17 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Mon, 6 May 2024 09:34:31 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

18 months agoTypo
Nick Porter [Thu, 2 May 2024 11:07:37 +0000 (12:07 +0100)] 
Typo

18 months agoAdd `lookforward_steps` option to `rlm_totp`
Nick Porter [Thu, 2 May 2024 10:15:48 +0000 (11:15 +0100)] 
Add `lookforward_steps` option to `rlm_totp`

Helps with clock skew between client and server (and module test where
the OTP is calcuated using an exec call after the packet starts
processing)

18 months agocrossbuild: need oathtool now for tests
Matthew Newton [Wed, 1 May 2024 23:46:07 +0000 (00:46 +0100)] 
crossbuild: need oathtool now for tests

18 months agoCI: test crossbuild and building Docker images
Matthew Newton [Tue, 23 Apr 2024 21:40:34 +0000 (22:40 +0100)] 
CI: test crossbuild and building Docker images

18 months agoregenerate all dockerfiles (normal and crossbuild)
Matthew Newton [Wed, 1 May 2024 15:46:49 +0000 (16:46 +0100)] 
regenerate all dockerfiles (normal and crossbuild)

add:
- debian12
- ubuntu22
- ubuntu24
- rocky8
- rocky9

remove:
- centos7
- debian9
- debian10
- ubuntu18

18 months agodocker: generate dockerfiles from templates
Matthew Newton [Wed, 24 Apr 2024 16:18:41 +0000 (17:18 +0100)] 
docker: generate dockerfiles from templates

18 months agocrossbuild: generate docker files from templates
Matthew Newton [Wed, 24 Apr 2024 16:18:29 +0000 (17:18 +0100)] 
crossbuild: generate docker files from templates

18 months agocrossbuild: update makefiles for new file locations
Matthew Newton [Wed, 21 Jun 2023 09:35:22 +0000 (10:35 +0100)] 
crossbuild: update makefiles for new file locations

18 months agoCI: add label to local Docker images, too
Matthew Newton [Thu, 4 May 2023 12:57:56 +0000 (13:57 +0100)] 
CI: add label to local Docker images, too

so we know to not tidy them up

18 months agosort out indenting in main Makefile
Matthew Newton [Wed, 21 Jun 2023 10:59:42 +0000 (11:59 +0100)] 
sort out indenting in main Makefile

18 months agoSQL "safe" is now done by pointers to the driver
Nick Porter [Wed, 1 May 2024 13:10:23 +0000 (14:10 +0100)] 
SQL "safe" is now done by pointers to the driver

18 months agoPrint errors when attribute parsing fails in rlm_python
Arran Cudbard-Bell [Wed, 1 May 2024 00:33:57 +0000 (20:33 -0400)] 
Print errors when attribute parsing fails in rlm_python

18 months agoRemove spurious escapes
Nick Porter [Tue, 30 Apr 2024 12:58:56 +0000 (13:58 +0100)] 
Remove spurious escapes

18 months agoDoxygen correction
Nick Porter [Tue, 30 Apr 2024 10:03:06 +0000 (11:03 +0100)] 
Doxygen correction

18 months agoAdd Ubuntu 24 to CI deb builder tests
Nick Porter [Tue, 30 Apr 2024 07:39:46 +0000 (08:39 +0100)] 
Add Ubuntu 24 to CI deb builder tests

18 months agoBump debhelper compat level
Nick Porter [Tue, 30 Apr 2024 07:38:29 +0000 (08:38 +0100)] 
Bump debhelper compat level

9 is now deprecated in Ubuntu 24.

18 months agoOnly run rlm_totp test on linux
Nick Porter [Mon, 29 Apr 2024 18:26:31 +0000 (19:26 +0100)] 
Only run rlm_totp test on linux

18 months agoAdd test of rlm_totp
Nick Porter [Mon, 29 Apr 2024 17:10:31 +0000 (18:10 +0100)] 
Add test of rlm_totp

18 months agoFurther fixes to rlm_totp
Nick Porter [Mon, 29 Apr 2024 17:10:04 +0000 (18:10 +0100)] 
Further fixes to rlm_totp

18 months agoEnsure module instance data is created
Nick Porter [Mon, 29 Apr 2024 16:47:39 +0000 (17:47 +0100)] 
Ensure module instance data is created

18 months agoUse correct time value
Nick Porter [Mon, 29 Apr 2024 08:34:28 +0000 (09:34 +0100)] 
Use correct time value

18 months agoUse correct interval for previous TOTP time slots
Nick Porter [Mon, 29 Apr 2024 08:15:20 +0000 (09:15 +0100)] 
Use correct interval for previous TOTP time slots

18 months agoPacify coverity (CID #1596633)
Nick Porter [Sat, 27 Apr 2024 14:57:41 +0000 (15:57 +0100)] 
Pacify coverity (CID #1596633)

18 months agoFix typo in test
Nick Porter [Fri, 26 Apr 2024 14:15:39 +0000 (15:15 +0100)] 
Fix typo in test

18 months agoCorrect tests where xlats return FR_TYPE_BOOL
Nick Porter [Fri, 26 Apr 2024 11:09:17 +0000 (12:09 +0100)] 
Correct tests where xlats return FR_TYPE_BOOL

18 months agoMore refined ignoring of false negatives
Nick Porter [Thu, 25 Apr 2024 16:10:32 +0000 (17:10 +0100)] 
More refined ignoring of false negatives

18 months agoTypos
Nick Porter [Thu, 25 Apr 2024 14:49:54 +0000 (15:49 +0100)] 
Typos

18 months agoUse call_env for SMTP authentication
Nick Porter [Thu, 25 Apr 2024 14:49:35 +0000 (15:49 +0100)] 
Use call_env for SMTP authentication

Removing reference to RADIUS dictionary

18 months agoUse call_env for rlm_smtp email headers
Nick Porter [Thu, 25 Apr 2024 08:08:18 +0000 (09:08 +0100)] 
Use call_env for rlm_smtp email headers

18 months agoRemove unused routines following move to call_env
Nick Porter [Fri, 19 Apr 2024 09:31:49 +0000 (10:31 +0100)] 
Remove unused routines following move to call_env

18 months agoUse call env for rlm_smtp attachments
Nick Porter [Fri, 19 Apr 2024 09:27:23 +0000 (10:27 +0100)] 
Use call env for rlm_smtp attachments

18 months agoUse call_env for rlm_smtp cc and bcc headers
Nick Porter [Thu, 18 Apr 2024 18:47:02 +0000 (19:47 +0100)] 
Use call_env for rlm_smtp cc and bcc headers

18 months agoUse call_env for rlm_smtp to_addrs
Nick Porter [Thu, 18 Apr 2024 18:40:43 +0000 (19:40 +0100)] 
Use call_env for rlm_smtp to_addrs

18 months agos/FROM:/From:/
Nick Porter [Thu, 18 Apr 2024 18:39:22 +0000 (19:39 +0100)] 
s/FROM:/From:/

18 months agoUse call_env for rlm_smtp recipient_addrs
Nick Porter [Thu, 18 Apr 2024 17:02:39 +0000 (18:02 +0100)] 
Use call_env for rlm_smtp recipient_addrs

18 months agoUse call_env for rlm_smtp sender_address
Nick Porter [Thu, 18 Apr 2024 13:48:46 +0000 (14:48 +0100)] 
Use call_env for rlm_smtp sender_address

18 months agoIf the output is a fr_value_box_list_t * there can be multiple boxes
Nick Porter [Thu, 25 Apr 2024 16:09:32 +0000 (17:09 +0100)] 
If the output is a fr_value_box_list_t * there can be multiple boxes

18 months agoAdd a note about where to set the python path
Arran Cudbard-Bell [Fri, 26 Apr 2024 02:15:18 +0000 (22:15 -0400)] 
Add a note about where to set the python path

18 months agoFix method name
Arran Cudbard-Bell [Thu, 25 Apr 2024 04:47:39 +0000 (00:47 -0400)] 
Fix method name

18 months agoFix literal keys in cache module
Arran Cudbard-Bell [Thu, 25 Apr 2024 00:00:11 +0000 (20:00 -0400)] 
Fix literal keys in cache module

18 months agoEnsure group_reply_query exists before evaluating (CID #1596609)
Nick Porter [Wed, 24 Apr 2024 08:17:35 +0000 (09:17 +0100)] 
Ensure group_reply_query exists before evaluating (CID #1596609)

18 months agoCorrect heading level
Nick Porter [Tue, 23 Apr 2024 14:30:52 +0000 (15:30 +0100)] 
Correct heading level