]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
16 months agoRemove unused var
Arran Cudbard-Bell [Fri, 10 May 2024 06:55:33 +0000 (00:55 -0600)] 
Remove unused var

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

16 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

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

16 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

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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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.

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

16 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.

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

16 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

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

16 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

16 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

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

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

16 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

16 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

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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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)

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

16 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.

16 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

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

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

16 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

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

16 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

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

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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

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

16 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

16 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)

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

16 months agoAdd notes on revised queries to upgrade.adoc
Nick Porter [Tue, 23 Apr 2024 14:29:57 +0000 (15:29 +0100)] 
Add notes on revised queries to upgrade.adoc

16 months agoUpdate other SQL queries for new structure
Nick Porter [Wed, 17 Apr 2024 18:09:59 +0000 (19:09 +0100)] 
Update other SQL queries for new structure

16 months agoUpdate SQL tests to call correct accounting section
Nick Porter [Wed, 17 Apr 2024 14:33:34 +0000 (15:33 +0100)] 
Update SQL tests to call correct accounting section

Accounting query selection is now driven by the section being processed
rather than expansion of a reference which included the Acct-Status-Type

16 months agoUpdate main SQL queries to reflect new structure
Nick Porter [Wed, 17 Apr 2024 14:32:42 +0000 (15:32 +0100)] 
Update main SQL queries to reflect new structure

Accounting queries go under

accounting {
  <accounting type> {
    query = "..."
  }
}

Post-Auth is now

send {
  <packet type> {
    query = "..."
  }
}

16 months agoRework rlm_sql to use call_env for accounting / post_auth queries
Nick Porter [Wed, 17 Apr 2024 14:30:44 +0000 (15:30 +0100)] 
Rework rlm_sql to use call_env for accounting / post_auth queries

16 months agoUse call env to expand SQL logfile filename
Nick Porter [Tue, 16 Apr 2024 09:46:48 +0000 (10:46 +0100)] 
Use call env to expand SQL logfile filename

16 months agoAdd tests of sql User-Profile processing
Nick Porter [Wed, 10 Apr 2024 14:43:29 +0000 (15:43 +0100)] 
Add tests of sql User-Profile processing

16 months agoRework rlm_sql to use call_env for autz / group membership queries
Nick Porter [Wed, 17 Apr 2024 14:21:54 +0000 (15:21 +0100)] 
Rework rlm_sql to use call_env for autz / group membership queries

16 months agoRe-introduce read_profiles config option
Nick Porter [Wed, 10 Apr 2024 14:24:42 +0000 (15:24 +0100)] 
Re-introduce read_profiles config option

16 months agoUse call_envs for evaluating SQL-User-Name
Nick Porter [Fri, 29 Mar 2024 15:49:35 +0000 (15:49 +0000)] 
Use call_envs for evaluating SQL-User-Name

16 months agolibmariadb uses a single option for server cert verification
Nick Porter [Tue, 23 Apr 2024 07:30:57 +0000 (08:30 +0100)] 
libmariadb uses a single option for server cert verification

16 months agoAllow packages to be built against libmariadb
Nick Porter [Mon, 22 Apr 2024 16:58:09 +0000 (17:58 +0100)] 
Allow packages to be built against libmariadb

Which is the default on most platforms now

16 months agoRemove references to old RHEL versions from packaging
Nick Porter [Mon, 22 Apr 2024 16:31:51 +0000 (17:31 +0100)] 
Remove references to old RHEL versions from packaging

16 months agoSome MariaDB installations use mariadb_config in place of mysql_config
Nick Porter [Mon, 22 Apr 2024 15:22:28 +0000 (16:22 +0100)] 
Some MariaDB installations use mariadb_config in place of mysql_config

16 months agoRemove call to sql_num_fields() which does nothing
Nick Porter [Mon, 22 Apr 2024 11:13:17 +0000 (12:13 +0100)] 
Remove call to sql_num_fields() which does nothing

16 months agoNothing we build FRv4 on has MySQL < 5.7
Nick Porter [Mon, 22 Apr 2024 10:49:44 +0000 (11:49 +0100)] 
Nothing we build FRv4 on has MySQL < 5.7

And the options difference for MariaDB is `MYSQL_OPT_SSL_MODE` doesn't
exist - the other MYSQL_OPT_SSL options do exist.

16 months agoMinor re-arrangement to pacify Coverity (CID #1596468)
Nick Porter [Thu, 18 Apr 2024 09:16:19 +0000 (10:16 +0100)] 
Minor re-arrangement to pacify Coverity (CID #1596468)

16 months agoUse function for conf error with marker
Nick Porter [Wed, 17 Apr 2024 10:17:02 +0000 (11:17 +0100)] 
Use function for conf error with marker

16 months agoSQL box escaping function is really a fr_value_box_escape_t
Nick Porter [Tue, 16 Apr 2024 16:58:28 +0000 (17:58 +0100)] 
SQL box escaping function is really a fr_value_box_escape_t

16 months agoPass module instance data to call env section custom parser
Nick Porter [Tue, 16 Apr 2024 16:42:10 +0000 (17:42 +0100)] 
Pass module instance data to call env section custom parser

16 months agoTidy up
Nick Porter [Tue, 16 Apr 2024 18:37:06 +0000 (19:37 +0100)] 
Tidy up