]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
17 months agoremove old-style functions %(foo:bar)
Alan T. DeKok [Tue, 26 Mar 2024 11:15:24 +0000 (07:15 -0400)] 
remove old-style functions %(foo:bar)

17 months agotypo
Alan T. DeKok [Mon, 25 Mar 2024 15:47:42 +0000 (11:47 -0400)] 
typo

17 months agodouble-quote strings
Alan T. DeKok [Mon, 25 Mar 2024 15:24:00 +0000 (11:24 -0400)] 
double-quote strings

17 months agoremove more old-style function calls
Alan T. DeKok [Mon, 25 Mar 2024 14:21:48 +0000 (10:21 -0400)] 
remove more old-style function calls

17 months agoadd test for large ints
Alan T. DeKok [Mon, 25 Mar 2024 14:20:50 +0000 (10:20 -0400)] 
add test for large ints

17 months agomove %(foo:bar) to %foo(bar)
Alan T. DeKok [Mon, 25 Mar 2024 14:11:59 +0000 (10:11 -0400)] 
move %(foo:bar) to %foo(bar)

17 months agotry to link test points at compile time
Alan T. DeKok [Mon, 25 Mar 2024 00:56:30 +0000 (20:56 -0400)] 
try to link test points at compile time

instead of using dlsym(), which seems to confuse the fuzzer
coverage tool.

Also create protocol-specific fuzzer_PROTO.c files, to make it
clear that the fuzzers are different.

17 months agoadd fr_radius_client_bio_connect()
Alan T. DeKok [Tue, 19 Mar 2024 00:40:37 +0000 (10:40 +1000)] 
add fr_radius_client_bio_connect()

which will do TCP (or eventually TLS) connected sockets

17 months agoallow for per-packet rewrite rules
Alan T. DeKok [Sun, 17 Mar 2024 04:40:47 +0000 (14:40 +1000)] 
allow for per-packet rewrite rules

17 months agoRTLD_DEFAULT for Linux
Arran Cudbard-Bell [Fri, 22 Mar 2024 17:01:11 +0000 (13:01 -0400)] 
RTLD_DEFAULT for Linux

17 months agoHave the fuzzer search in its own symbols pace first before dynamically loading the...
Arran Cudbard-Bell [Fri, 22 Mar 2024 16:07:13 +0000 (12:07 -0400)] 
Have the fuzzer search in its own symbols pace first before dynamically loading the protocol library

This allows the binary to be statically or dynamically linked to fuzzing targets, which may help producing accurate coverage stats.

17 months agoCache TTL should return a time delta
Arran Cudbard-Bell [Thu, 21 Mar 2024 20:45:04 +0000 (16:45 -0400)] 
Cache TTL should return a time delta

17 months agoWhitespace
Arran Cudbard-Bell [Thu, 21 Mar 2024 20:36:55 +0000 (16:36 -0400)] 
Whitespace

17 months agoFix ordering?
Arran Cudbard-Bell [Thu, 21 Mar 2024 20:23:36 +0000 (16:23 -0400)] 
Fix ordering?

17 months agoRevert "+= isn't a comparison operator"
Arran Cudbard-Bell [Thu, 21 Mar 2024 19:59:57 +0000 (15:59 -0400)] 
Revert "+= isn't a comparison operator"

This reverts commit 8b5188c1fe179b588ddcab35baad5deb62a9c9e3.

17 months ago+= isn't a comparison operator
Arran Cudbard-Bell [Thu, 21 Mar 2024 19:57:03 +0000 (15:57 -0400)] 
+= isn't a comparison operator

17 months agoAdd missing comparison operators
Arran Cudbard-Bell [Thu, 21 Mar 2024 19:55:27 +0000 (15:55 -0400)] 
Add missing comparison operators

17 months agoFree the cache entry when we're done...
Arran Cudbard-Bell [Thu, 21 Mar 2024 05:35:33 +0000 (01:35 -0400)] 
Free the cache entry when we're done...

17 months agoAdd ttl.get function for cache module
Arran Cudbard-Bell [Thu, 21 Mar 2024 04:24:27 +0000 (00:24 -0400)] 
Add ttl.get function for cache module

17 months agoFix stupidity in xlat registration code
Arran Cudbard-Bell [Thu, 21 Mar 2024 04:24:04 +0000 (00:24 -0400)] 
Fix stupidity in xlat registration code

17 months agoAdd servers to cache_empty_update
Arran Cudbard-Bell [Wed, 20 Mar 2024 17:19:58 +0000 (13:19 -0400)] 
Add servers to cache_empty_update

17 months agoUnremove EAP
Arran Cudbard-Bell [Wed, 20 Mar 2024 17:18:48 +0000 (13:18 -0400)] 
Unremove EAP

17 months agoSupport empty cache sections
Arran Cudbard-Bell [Wed, 20 Mar 2024 17:07:17 +0000 (13:07 -0400)] 
Support empty cache sections

17 months agoAdd distinct store/update methods to rlm_cache
Arran Cudbard-Bell [Wed, 20 Mar 2024 16:35:56 +0000 (12:35 -0400)] 
Add distinct store/update methods to rlm_cache

17 months agoTyoi
Arran Cudbard-Bell [Tue, 19 Mar 2024 18:25:18 +0000 (14:25 -0400)] 
Tyoi

17 months agoProcess load module writes
Arran Cudbard-Bell [Tue, 19 Mar 2024 18:23:09 +0000 (14:23 -0400)] 
Process load module writes

17 months agoFix the default load test config
Arran Cudbard-Bell [Tue, 19 Mar 2024 18:22:50 +0000 (14:22 -0400)] 
Fix the default load test config

17 months agoRevert "Allow command timeout to be set"
Arran Cudbard-Bell [Tue, 19 Mar 2024 14:55:43 +0000 (10:55 -0400)] 
Revert "Allow command timeout to be set"

This only works for async I/O

17 months agoUse explicit truth values for if-skip
Arran Cudbard-Bell [Sun, 17 Mar 2024 01:22:33 +0000 (21:22 -0400)] 
Use explicit truth values for if-skip

17 months agoDocument command_timeout
Arran Cudbard-Bell [Sun, 17 Mar 2024 01:22:18 +0000 (21:22 -0400)] 
Document command_timeout

17 months agoFix some behavioural issues with logical or, and logical and
Arran Cudbard-Bell [Sun, 17 Mar 2024 01:11:15 +0000 (21:11 -0400)] 
Fix some behavioural issues with logical or, and logical and

%{0 || 0) was returning NULL, which is NOT correct (should return 0)

17 months agoQuiet clang scan
Arran Cudbard-Bell [Sat, 16 Mar 2024 20:16:02 +0000 (16:16 -0400)] 
Quiet clang scan

17 months agoAllow command timeout to be set
Arran Cudbard-Bell [Sat, 16 Mar 2024 20:02:16 +0000 (16:02 -0400)] 
Allow command timeout to be set

17 months agoCheck we actually allocated an attribute
Arran Cudbard-Bell [Sat, 16 Mar 2024 00:32:21 +0000 (20:32 -0400)] 
Check we actually allocated an attribute

17 months agoWS
Arran Cudbard-Bell [Sat, 16 Mar 2024 00:15:51 +0000 (20:15 -0400)] 
WS

17 months agoA functional DNS state machine
Arran Cudbard-Bell [Fri, 15 Mar 2024 23:35:13 +0000 (19:35 -0400)] 
A functional DNS state machine

17 months agoMake fr_pair_update_by_da_parent work as intended
Arran Cudbard-Bell [Sat, 16 Mar 2024 00:15:12 +0000 (20:15 -0400)] 
Make fr_pair_update_by_da_parent work as intended

17 months agoHack in pair_append_by_tmpl_parent to make key fields work
Arran Cudbard-Bell [Sat, 16 Mar 2024 00:14:47 +0000 (20:14 -0400)] 
Hack in pair_append_by_tmpl_parent to make key fields work

17 months agoDisable broken check for key attributes
Arran Cudbard-Bell [Sat, 16 Mar 2024 00:13:04 +0000 (20:13 -0400)] 
Disable broken check for key attributes

17 months agoWS
Arran Cudbard-Bell [Fri, 15 Mar 2024 23:34:49 +0000 (19:34 -0400)] 
WS

17 months agoAdd extra CALL macro which allows providing an initial rctx
Arran Cudbard-Bell [Fri, 15 Mar 2024 23:34:27 +0000 (19:34 -0400)] 
Add extra CALL macro which allows providing an initial rctx

17 months agoEOF can terminate barewords too
Arran Cudbard-Bell [Fri, 15 Mar 2024 23:33:51 +0000 (19:33 -0400)] 
EOF can terminate barewords too

17 months agoFix the struct encoder so it doesn't miss fields
Arran Cudbard-Bell [Fri, 15 Mar 2024 22:42:12 +0000 (18:42 -0400)] 
Fix the struct encoder so it doesn't miss fields

17 months agoCopy enum values from Question.Class to Resource-Record class
Arran Cudbard-Bell [Fri, 15 Mar 2024 22:41:37 +0000 (18:41 -0400)] 
Copy enum values from Question.Class to Resource-Record class

17 months agoTypo
Nick Porter [Fri, 15 Mar 2024 08:29:40 +0000 (08:29 +0000)] 
Typo

17 months agoTypos
Arran Cudbard-Bell [Fri, 15 Mar 2024 02:29:40 +0000 (22:29 -0400)] 
Typos

17 months agoPrint useful errors when autoloaders fail
Arran Cudbard-Bell [Fri, 15 Mar 2024 02:10:23 +0000 (22:10 -0400)] 
Print useful errors when autoloaders fail

Not sure when this stopped working...

17 months agoMinor renames
Arran Cudbard-Bell [Thu, 14 Mar 2024 22:53:33 +0000 (18:53 -0400)] 
Minor renames

17 months agoFix names of DNS operations
Arran Cudbard-Bell [Thu, 14 Mar 2024 22:53:05 +0000 (18:53 -0400)] 
Fix names of DNS operations

ff

17 months agomore attempts to get the retry bio working
Alan T. DeKok [Thu, 14 Mar 2024 14:29:41 +0000 (10:29 -0400)] 
more attempts to get the retry bio working

we still have to make radclient-ng use the event loop, and do
a few other cleanups.  Hopefully after that happens, we can start
testing the bios

17 months agoFix typos
Dimitri Papadopoulos [Thu, 14 Mar 2024 12:35:12 +0000 (13:35 +0100)] 
Fix typos

Misspellings found by codespell.

17 months agoReformat DNS attribute names to match every other dictionary in the server
Arran Cudbard-Bell [Wed, 13 Mar 2024 22:01:57 +0000 (16:01 -0600)] 
Reformat DNS attribute names to match every other dictionary in the server

Expand more of the pseudo-acronyms to make it easier for the unintiated.  We can add aliases back in later if we people complain.

17 months agoRemove separate packages for librfreeradius-util and libfreeradius-radius
Arran Cudbard-Bell [Wed, 13 Mar 2024 20:11:46 +0000 (14:11 -0600)] 
Remove separate packages  for librfreeradius-util and libfreeradius-radius

Create freeradius-common that's depended on by utilities and the server

17 months agomore rework to add request_ctx for packet BIOs
Alan T. DeKok [Wed, 13 Mar 2024 21:15:57 +0000 (17:15 -0400)] 
more rework to add request_ctx for packet BIOs

so that we can not only encode a packet + pairs, but also associate
that with a larger request context

17 months agoadd docs for coa test
Alan T. DeKok [Wed, 13 Mar 2024 13:52:27 +0000 (09:52 -0400)] 
add docs for coa test

17 months agorework to make the "receive CoA" functionality behave
Alan T. DeKok [Wed, 13 Mar 2024 12:34:00 +0000 (08:34 -0400)] 
rework to make the "receive CoA" functionality behave

17 months agoit helps to decode the coa packets before looking at attributes in them
Alan T. DeKok [Wed, 13 Mar 2024 02:15:45 +0000 (22:15 -0400)] 
it helps to decode the coa packets before looking at attributes in them

17 months agodelay looking up the CoA filter name until we load the dictionaries
Alan T. DeKok [Wed, 13 Mar 2024 02:08:57 +0000 (22:08 -0400)] 
delay looking up the CoA filter name until we load the dictionaries

17 months agotypo
Alan T. DeKok [Wed, 13 Mar 2024 01:54:48 +0000 (21:54 -0400)] 
typo

17 months agoadd rules to allow the running of only one test
Alan T. DeKok [Wed, 13 Mar 2024 01:35:56 +0000 (21:35 -0400)] 
add rules to allow the running of only one test

17 months agoUse MEM() in more places
Arran Cudbard-Bell [Tue, 12 Mar 2024 23:13:14 +0000 (17:13 -0600)] 
Use MEM() in more places

17 months agoDon't use sendto if ifindex is specified
Arran Cudbard-Bell [Tue, 12 Mar 2024 15:36:42 +0000 (09:36 -0600)] 
Don't use sendto if ifindex is specified

17 months agoBetter debug message
Nick Porter [Tue, 12 Mar 2024 14:54:48 +0000 (14:54 +0000)] 
Better debug message

17 months agoParse FreeRADIUS-Client-Src-IP-Address when creating dynamic clients
Nick Porter [Tue, 12 Mar 2024 14:54:21 +0000 (14:54 +0000)] 
Parse FreeRADIUS-Client-Src-IP-Address when creating dynamic clients

And copy the resulting field back when the client is created.

Makes dynamic clients consistent with static clients.

17 months agoReturn how many bytes we actually wrote (and errors)
Arran Cudbard-Bell [Mon, 11 Mar 2024 21:26:01 +0000 (15:26 -0600)] 
Return how many bytes we actually wrote (and errors)

17 months agoFormatting
Arran Cudbard-Bell [Mon, 11 Mar 2024 21:25:48 +0000 (15:25 -0600)] 
Formatting

17 months agoRemove DHCP package from debian packaging
Arran Cudbard-Bell [Fri, 8 Mar 2024 21:03:21 +0000 (15:03 -0600)] 
Remove DHCP package from debian packaging

it has no external dependencies, and we need the libraries to load the dictionaries

17 months agomove bio stuff to compile flag
Alan T. DeKok [Sat, 9 Mar 2024 15:43:40 +0000 (10:43 -0500)] 
move bio stuff to compile flag

until such time as we ca n figure out why it works for gcc in CI,
but doesn't work for clang in CI, but does work with clang locally

17 months agoremove unused macros
Alan T. DeKok [Sat, 9 Mar 2024 15:32:40 +0000 (10:32 -0500)] 
remove unused macros

17 months agothis isn't needed, and was never used
Alan T. DeKok [Fri, 8 Mar 2024 19:15:28 +0000 (14:15 -0500)] 
this isn't needed, and was never used

17 months agolean up structure and remove unused fields
Alan T. DeKok [Fri, 8 Mar 2024 19:15:10 +0000 (14:15 -0500)] 
lean up structure and remove unused fields

re-organize it for future needs and deletions

17 months agoupdate packet bio and start trying to use retry bio
Alan T. DeKok [Fri, 8 Mar 2024 15:43:31 +0000 (10:43 -0500)] 
update packet bio and start trying to use retry bio

17 months agodon't update packet_ctx on read connected datagram
Alan T. DeKok [Thu, 7 Mar 2024 14:01:32 +0000 (09:01 -0500)] 
don't update packet_ctx on read connected datagram

the reader already knows what the socket information is

17 months agoallocate tracking table at the start
Alan T. DeKok [Wed, 6 Mar 2024 21:22:10 +0000 (16:22 -0500)] 
allocate tracking table at the start

17 months agoBundle radict in debian packages
Arran Cudbard-Bell [Fri, 8 Mar 2024 20:19:53 +0000 (14:19 -0600)] 
Bundle radict in debian packages

17 months agoAdd doxygen comment
Nick Porter [Fri, 8 Mar 2024 18:16:32 +0000 (18:16 +0000)] 
Add doxygen comment

17 months agoUpdate sample template notes now auth logging has changed
Nick Porter [Fri, 8 Mar 2024 18:09:52 +0000 (18:09 +0000)] 
Update sample template notes now auth logging has changed

17 months agoUse linelog for auth logging in TTLS
Nick Porter [Fri, 8 Mar 2024 14:07:08 +0000 (14:07 +0000)] 
Use linelog for auth logging in TTLS

17 months agoUse linelog for auth logging in TACACS
Nick Porter [Fri, 8 Mar 2024 13:53:05 +0000 (13:53 +0000)] 
Use linelog for auth logging in TACACS

17 months agoTACACS config comment typos
Nick Porter [Fri, 8 Mar 2024 11:28:15 +0000 (11:28 +0000)] 
TACACS config comment typos

17 months agoReplace builtin auth logging with calls to linelog
Nick Porter [Fri, 8 Mar 2024 11:06:44 +0000 (11:06 +0000)] 
Replace builtin auth logging with calls to linelog

Removes use of xlat_eval and adds flexibility.

17 months agoTidy up after tests
Nick Porter [Fri, 8 Mar 2024 10:43:22 +0000 (10:43 +0000)] 
Tidy up after tests

17 months agoCorrect comments
Nick Porter [Fri, 8 Mar 2024 10:38:21 +0000 (10:38 +0000)] 
Correct comments

17 months agoUse a consistent destination name for writing logs to a file
Nick Porter [Fri, 8 Mar 2024 10:37:30 +0000 (10:37 +0000)] 
Use a consistent destination name for writing logs to a file

Linelog uses `file`, logging used `files`
Make `file` the normal, but allow `files` as well to avoid breaking existing configs

17 months agoSimultaneous use checking is now done in policy so msg_denied is not used
Nick Porter [Fri, 8 Mar 2024 09:13:14 +0000 (09:13 +0000)] 
Simultaneous use checking is now done in policy so msg_denied is not used

17 months agoTypos
James Jones [Fri, 8 Mar 2024 16:47:22 +0000 (10:47 -0600)] 
Typos

17 months agor->rt MUST be set by fr_retry_init
Arran Cudbard-Bell [Fri, 8 Mar 2024 06:19:25 +0000 (00:19 -0600)] 
r->rt MUST be set by fr_retry_init

It gets used in a bunch of debug messages

17 months agoFix some more overzealous renaming
Arran Cudbard-Bell [Thu, 7 Mar 2024 15:54:12 +0000 (09:54 -0600)] 
Fix some more overzealous renaming

17 months agoRemove clang scan hack
Arran Cudbard-Bell [Wed, 6 Mar 2024 21:53:44 +0000 (15:53 -0600)] 
Remove clang scan hack

17 months agoAdd support for CoA reply and filters to raduat
Arran Cudbard-Bell [Wed, 6 Mar 2024 21:44:12 +0000 (15:44 -0600)] 
Add support for CoA reply and filters to raduat

17 months agoQuiet compiler
Arran Cudbard-Bell [Wed, 6 Mar 2024 21:12:20 +0000 (15:12 -0600)] 
Quiet compiler

17 months agoReturn nested mismatch, not parents
Arran Cudbard-Bell [Wed, 6 Mar 2024 21:02:24 +0000 (15:02 -0600)] 
Return nested mismatch, not parents

17 months agoNo need for context
Arran Cudbard-Bell [Wed, 6 Mar 2024 21:00:51 +0000 (15:00 -0600)] 
No need for context

17 months agoPrint the pairs
Arran Cudbard-Bell [Wed, 6 Mar 2024 20:59:00 +0000 (14:59 -0600)] 
Print the pairs

17 months agoFix quoting
Arran Cudbard-Bell [Wed, 6 Mar 2024 20:58:00 +0000 (14:58 -0600)] 
Fix quoting

17 months agoDon't pass dictpath from raduat
Arran Cudbard-Bell [Wed, 6 Mar 2024 20:41:53 +0000 (14:41 -0600)] 
Don't pass dictpath from raduat

17 months agoInstall raduat
Arran Cudbard-Bell [Wed, 6 Mar 2024 20:19:00 +0000 (14:19 -0600)] 
Install raduat

17 months agos/fr_packet_CODE_VALID/FR_RADIUS_PACKET_CODE_VALID/g
Arran Cudbard-Bell [Wed, 6 Mar 2024 20:15:59 +0000 (14:15 -0600)] 
s/fr_packet_CODE_VALID/FR_RADIUS_PACKET_CODE_VALID/g

17 months agos/fr_radius_packet/fr_packet/g
Arran Cudbard-Bell [Wed, 6 Mar 2024 20:12:07 +0000 (14:12 -0600)] 
s/fr_radius_packet/fr_packet/g

17 months agos/fr_radius_packet_t/fr_packet_t/g
Arran Cudbard-Bell [Wed, 6 Mar 2024 20:10:48 +0000 (14:10 -0600)] 
s/fr_radius_packet_t/fr_packet_t/g