]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
5 years agoMore updates to GitHub issues
Matthew Newton [Mon, 12 Jul 2021 18:23:45 +0000 (19:23 +0100)] 
More updates to GitHub issues

- Actions job to close invalid issues
- Add users/devel mailing lists to new issue page
- Disable blank issue link

5 years agoAdd GitHub issue trap
Matthew Newton [Mon, 12 Jul 2021 15:53:17 +0000 (16:53 +0100)] 
Add GitHub issue trap

Expectations on it working are not high...

5 years agoExtend the H3C dictionary based on public manuals (#4112)
Youfu Zhang [Mon, 12 Jul 2021 16:10:06 +0000 (00:10 +0800)] 
Extend the H3C dictionary based on public manuals (#4112)

5 years agoMove PERL_SYS_INIT3 to mod_load
Arran Cudbard-Bell [Mon, 12 Jul 2021 05:25:43 +0000 (00:25 -0500)] 
Move PERL_SYS_INIT3 to mod_load

5 years agoNetworkOnly value for APC-Service-Type. refs #4109 (#4132)
Jorge Pereira [Thu, 8 Jul 2021 19:52:10 +0000 (16:52 -0300)] 
NetworkOnly value for APC-Service-Type. refs #4109 (#4132)

5 years agoFix up rlm_perl to use thead instantiation and destruction callbacks
Arran Cudbard-Bell [Thu, 8 Jul 2021 17:14:28 +0000 (12:14 -0500)] 
Fix up rlm_perl to use thead instantiation and destruction callbacks

5 years agov4: Expand the performance tests for pair lists (#4107)
Nick Porter [Thu, 8 Jul 2021 14:17:46 +0000 (15:17 +0100)] 
v4: Expand the performance tests for pair lists (#4107)

* Replicate test pairs to form longer lists of attributes

* Use the correct length of the input pair list for the test list length

* Pass the percentage attribute replication in the test list to tests

Include in logging to identify which list is being used.

* Expand test list to use different percentage repetition lists

5 years agoIt's faster if we don't have to run configure
Matthew Newton [Wed, 7 Jul 2021 20:09:52 +0000 (21:09 +0100)] 
It's faster if we don't have to run configure

5 years agoGet the build matrix correct
Matthew Newton [Wed, 7 Jul 2021 11:04:26 +0000 (12:04 +0100)] 
Get the build matrix correct

5 years agoAll required .deb packages now in "extras" repo
Matthew Newton [Wed, 7 Jul 2021 10:05:22 +0000 (11:05 +0100)] 
All required .deb packages now in "extras" repo

5 years agoNo need to run configure before 'make rpm'
Matthew Newton [Thu, 1 Jul 2021 13:15:19 +0000 (14:15 +0100)] 
No need to run configure before 'make rpm'

Update ci-rpm accorgingly; the system openssl libs will cause it
to fail, though we do still need it for building eapol_test

5 years agoNeed to use the nwkrad packages on CentOS 7 for recent libs
Matthew Newton [Thu, 1 Jul 2021 10:29:59 +0000 (11:29 +0100)] 
Need to use the nwkrad packages on CentOS 7 for recent libs

5 years agoUse Network RADIUS 'extras' repo in RPM CI
Matthew Newton [Thu, 1 Jul 2021 10:27:15 +0000 (11:27 +0100)] 
Use Network RADIUS 'extras' repo in RPM CI

We need recent json-c and openssl in CentOS 7, and will also use
own-built libkqueue packages which saves building it every time

5 years agoremove virtual namespace compile callback
Alan T. DeKok [Mon, 5 Jul 2021 12:59:28 +0000 (08:59 -0400)] 
remove virtual namespace compile callback

now that we have src/process/ libraries for everything

5 years agowhoops
Alan T. DeKok [Thu, 1 Jul 2021 13:06:47 +0000 (09:06 -0400)] 
whoops

5 years agoadd sample load generator
Alan T. DeKok [Wed, 30 Jun 2021 12:29:11 +0000 (08:29 -0400)] 
add sample load generator

5 years agouse only one FD
Alan T. DeKok [Tue, 29 Jun 2021 21:00:56 +0000 (17:00 -0400)] 
use only one FD

and bootstrap the process, because we have to at least read from
the FD before we start the load generation

5 years agoadd proto_listen_load
Alan T. DeKok [Tue, 29 Jun 2021 19:23:15 +0000 (15:23 -0400)] 
add proto_listen_load

doesn't quite work yet for a few reasons, but that will come
next.

5 years agoadd listener to network before calling app_io
Alan T. DeKok [Tue, 29 Jun 2021 19:21:39 +0000 (15:21 -0400)] 
add listener to network before calling app_io

so that the app_io event_list_set can do some bootstrapping
of its own

5 years agomove proto_radius_load out of the way, to proto_load_step
Alan T. DeKok [Tue, 29 Jun 2021 14:21:24 +0000 (10:21 -0400)] 
move proto_radius_load out of the way, to proto_load_step

next is to add a proto_load.c, and link it all together

5 years agoAdd namesapce/hashtable validation
Arran Cudbard-Bell [Tue, 29 Jun 2021 17:17:33 +0000 (12:17 -0500)] 
Add namesapce/hashtable validation

5 years agofix links
Alan T. DeKok [Tue, 29 Jun 2021 13:00:36 +0000 (09:00 -0400)] 
fix links

5 years agoMore dictionary attribute validation
Arran Cudbard-Bell [Tue, 29 Jun 2021 03:05:33 +0000 (22:05 -0500)] 
More dictionary attribute validation

5 years agoDon't redirect stderr/stdout to stdin in CI
Arran Cudbard-Bell [Tue, 29 Jun 2021 00:24:55 +0000 (19:24 -0500)] 
Don't redirect stderr/stdout to stdin in CI

5 years agoput detail file listeners into a global tree for dedup
Alan T. DeKok [Mon, 28 Jun 2021 23:43:47 +0000 (19:43 -0400)] 
put detail file listeners into a global tree for dedup

so we forbid multiple listeners on exactly the same wildcards

5 years agotweak messages to be clearer
Alan T. DeKok [Mon, 28 Jun 2021 23:41:17 +0000 (19:41 -0400)] 
tweak messages to be clearer

5 years agowe now have to qualify the detail listener with a second name
Alan T. DeKok [Mon, 28 Jun 2021 23:08:00 +0000 (19:08 -0400)] 
we now have to qualify the detail listener with a second name

5 years agowe do optional checking on the INPUT to "integer"
Alan T. DeKok [Mon, 28 Jun 2021 23:05:42 +0000 (19:05 -0400)] 
we do optional checking on the INPUT to "integer"

not on the OUTPUT of "integer"

5 years agoRework TLS BIOs to allow bidirectional producer/consumer, and multiple heap allocated...
Arran Cudbard-Bell [Mon, 28 Jun 2021 23:18:14 +0000 (18:18 -0500)] 
Rework TLS BIOs to allow bidirectional producer/consumer, and multiple heap allocated BIOs

5 years agoPrint more useful info when we trip time tracking asserts
Arran Cudbard-Bell [Mon, 28 Jun 2021 23:17:29 +0000 (18:17 -0500)] 
Print more useful info when we trip time tracking asserts

5 years agoChange dbuff macro names to make auto-advancing the exception
Arran Cudbard-Bell [Mon, 28 Jun 2021 23:17:08 +0000 (18:17 -0500)] 
Change dbuff macro names to make auto-advancing the exception

5 years agobetter to just report if the option is not set
Matthew Newton [Mon, 28 Jun 2021 16:05:09 +0000 (17:05 +0100)] 
better to just report if the option is not set

5 years agosqlite: try to be helpful if the database couldn't be opened
Matthew Newton [Mon, 28 Jun 2021 15:33:15 +0000 (16:33 +0100)] 
sqlite: try to be helpful if the database couldn't be opened

5 years agowhitespace
Matthew Newton [Mon, 28 Jun 2021 15:32:56 +0000 (16:32 +0100)] 
whitespace

5 years agoFix ordering issue
Arran Cudbard-Bell [Fri, 25 Jun 2021 13:36:50 +0000 (08:36 -0500)] 
Fix ordering issue

5 years agoDon't need anything special for access request
Arran Cudbard-Bell [Fri, 25 Jun 2021 12:58:47 +0000 (07:58 -0500)] 
Don't need anything special for access request

5 years agoMove EAP-SIM/AKA/AKA' config into the virtual servers
Arran Cudbard-Bell [Fri, 25 Jun 2021 02:56:24 +0000 (21:56 -0500)] 
Move EAP-SIM/AKA/AKA' config into the virtual servers

5 years agodocker: make sure we are using the latest build tools in CentOS 7
Matthew Newton [Fri, 25 Jun 2021 01:31:42 +0000 (02:31 +0100)] 
docker: make sure we are using the latest build tools in CentOS 7

5 years agoUse nwkrad json-c packages on CentOS7
Matthew Newton [Fri, 25 Jun 2021 01:31:03 +0000 (02:31 +0100)] 
Use nwkrad json-c packages on CentOS7

5 years agoNot having a matching state entry is not an error!
Arran Cudbard-Bell [Thu, 24 Jun 2021 20:34:15 +0000 (15:34 -0500)] 
Not having a matching state entry is not an error!

5 years agoA more helpful error if we run out of jobs
Arran Cudbard-Bell [Thu, 24 Jun 2021 18:47:38 +0000 (13:47 -0500)] 
A more helpful error if we run out of jobs

5 years agoDeal with request cancellations when we're yielded in an OpenSSL callback
Arran Cudbard-Bell [Thu, 24 Jun 2021 18:05:45 +0000 (13:05 -0500)] 
Deal with request cancellations when we're yielded in an OpenSSL callback

5 years agoAdd unlang function signal set
Arran Cudbard-Bell [Thu, 24 Jun 2021 18:05:13 +0000 (13:05 -0500)] 
Add unlang function signal set

5 years agodocker: install some useful tools by default for debugging purposes
Matthew Newton [Thu, 24 Jun 2021 15:13:28 +0000 (16:13 +0100)] 
docker: install some useful tools by default for debugging purposes

5 years agoprint yielded count
Arran Cudbard-Bell [Thu, 24 Jun 2021 14:01:25 +0000 (09:01 -0500)] 
print yielded count

5 years agoCI: Clearer instructions on how to shell into a GH Actions session (#4121)
Terry Burton [Thu, 24 Jun 2021 13:51:23 +0000 (14:51 +0100)] 
CI: Clearer instructions on how to shell into a GH Actions session (#4121)

5 years agoinit, not clear
Alan T. DeKok [Thu, 24 Jun 2021 13:22:57 +0000 (09:22 -0400)] 
init, not clear

5 years agodelete timeout before we return
Alan T. DeKok [Thu, 24 Jun 2021 13:18:38 +0000 (09:18 -0400)] 
delete timeout before we return

5 years ago...and the SMTP tests
Arran Cudbard-Bell [Thu, 24 Jun 2021 02:13:30 +0000 (21:13 -0500)] 
...and the SMTP tests

5 years agoDisable imap tests temporarily
Arran Cudbard-Bell [Thu, 24 Jun 2021 01:22:20 +0000 (20:22 -0500)] 
Disable imap tests temporarily

5 years agoIf there's no buffer just return 0
Arran Cudbard-Bell [Thu, 24 Jun 2021 00:56:19 +0000 (19:56 -0500)] 
If there's no buffer just return 0

5 years agoRework statefull session resumption so that the session-state list is part of the...
Arran Cudbard-Bell [Thu, 24 Jun 2021 00:07:05 +0000 (19:07 -0500)] 
Rework statefull session resumption so that the session-state list is part of the application data

Invert verb order for TLS packet-types so that it matches the sections

Disable the old X509 stack based method of doing stateful revalidation, it wouldn't have worked if the peer included intermediaries, and it caused issues with newer versions of OpenSSL.

5 years agoAdd custom stack dump functions
Arran Cudbard-Bell [Wed, 23 Jun 2021 19:41:22 +0000 (14:41 -0500)] 
Add custom stack dump functions

These can print out more information about the frame state

5 years agoAdd explicit "don't cache" field to virtual_server_compile_t
Arran Cudbard-Bell [Wed, 23 Jun 2021 19:40:44 +0000 (14:40 -0500)] 
Add explicit "don't cache" field to virtual_server_compile_t

don't check that offset is 0, that's a really dumb way of determining if we want to write out the result

5 years agoCall the right underlying function
Arran Cudbard-Bell [Wed, 23 Jun 2021 19:39:58 +0000 (14:39 -0500)] 
Call the right underlying function

5 years agoRemove Debian 9 for now (OpenSSL 1.1.0)
Matthew Newton [Wed, 23 Jun 2021 17:50:24 +0000 (18:50 +0100)] 
Remove Debian 9 for now (OpenSSL 1.1.0)

5 years agoUpdate .deb CI to use NR repos where required
Matthew Newton [Wed, 23 Jun 2021 17:48:18 +0000 (18:48 +0100)] 
Update .deb CI to use NR repos where required

5 years agoCheck for OpenSSL 1.1.1
Matthew Newton [Wed, 23 Jun 2021 17:45:25 +0000 (18:45 +0100)] 
Check for OpenSSL 1.1.1

5 years agoprf_label is no longer used
Alan T. DeKok [Tue, 22 Jun 2021 19:40:48 +0000 (15:40 -0400)] 
prf_label is no longer used

5 years agoTreat all structural types as having children
Arran Cudbard-Bell [Tue, 22 Jun 2021 15:44:03 +0000 (10:44 -0500)] 
Treat all structural types as having children

5 years agothere's no reason for this to be variable
Alan T. DeKok [Tue, 22 Jun 2021 12:10:59 +0000 (08:10 -0400)] 
there's no reason for this to be variable

5 years agouse the correct length for TTLS challenges
Alan T. DeKok [Tue, 22 Jun 2021 12:10:16 +0000 (08:10 -0400)] 
use the correct length for TTLS challenges

5 years agoPut curl cert attributes into TLS-Cert TLVs
Arran Cudbard-Bell [Mon, 21 Jun 2021 21:10:05 +0000 (16:10 -0500)] 
Put curl cert attributes into TLS-Cert TLVs

5 years agomove the various PRF labels into a struct
Alan T. DeKok [Mon, 21 Jun 2021 19:44:44 +0000 (15:44 -0400)] 
move the various PRF labels into a struct

in order to allow for TLS 1.3

5 years agominor rearrangement
Alan T. DeKok [Mon, 21 Jun 2021 18:59:45 +0000 (14:59 -0400)] 
minor rearrangement

5 years agobetter way to check for parent
Alan T. DeKok [Thu, 17 Jun 2021 19:04:45 +0000 (15:04 -0400)] 
better way to check for parent

it's OK to have a common parent.  It's not OK for the referenced
attribute to be the exact parent of a ref

5 years agoupdate dockerfiles, use NR package repos
Matthew Newton [Fri, 11 Jun 2021 16:48:36 +0000 (17:48 +0100)] 
update dockerfiles, use NR package repos

5 years agoFix tests and references
Arran Cudbard-Bell [Mon, 21 Jun 2021 04:59:49 +0000 (23:59 -0500)] 
Fix tests and references

5 years agoCast len to size_t in talloc agg bio
Arran Cudbard-Bell [Mon, 21 Jun 2021 04:47:57 +0000 (23:47 -0500)] 
Cast len to size_t in talloc agg bio

5 years agoWrap OpenSSL stuff in WITH_TLS
Arran Cudbard-Bell [Mon, 21 Jun 2021 04:46:31 +0000 (23:46 -0500)] 
Wrap OpenSSL stuff in WITH_TLS

5 years agoQuiet compiler
Arran Cudbard-Bell [Mon, 21 Jun 2021 04:40:03 +0000 (23:40 -0500)] 
Quiet compiler

5 years agoMark fr_pair_count_by_da as nonnull
Arran Cudbard-Bell [Sun, 20 Jun 2021 17:15:59 +0000 (12:15 -0500)] 
Mark fr_pair_count_by_da as nonnull

5 years agoAdd finer grained control over which certificates get verified, and which certificate...
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:41:23 +0000 (11:41 -0500)] 
Add finer grained control over which certificates get verified, and which certificates get converted to pairs

Create certificate pairs in container TLVs

Fix various issues with old certificate -> pair code

5 years agoFormatting
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:39:57 +0000 (11:39 -0500)] 
Formatting

5 years agoMinor fixes in process.h
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:37:24 +0000 (11:37 -0500)] 
Minor fixes in process.h

5 years agoMove more code into nacent rlm_ocsp module
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:37:05 +0000 (11:37 -0500)] 
Move more code into nacent rlm_ocsp module

5 years agoAdd dbuff talloc trim function
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:36:22 +0000 (11:36 -0500)] 
Add dbuff talloc trim function

5 years agoFix comment
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:36:02 +0000 (11:36 -0500)] 
Fix comment

5 years agoAdd custom OpenSSL BIOs for aggregating data in extensible talloc buffers
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:35:45 +0000 (11:35 -0500)] 
Add custom OpenSSL BIOs for aggregating data in extensible talloc buffers

5 years agoPass in the instance of a pair we want to update to fr_pair_update_by_da
Arran Cudbard-Bell [Sun, 20 Jun 2021 16:33:42 +0000 (11:33 -0500)] 
Pass in the instance of a pair we want to update to fr_pair_update_by_da

Allow printing single pairs, and don't add prefix to closing brackets of nested attributes

5 years agoAdd boilerplate to allow control OpenSSL async contexts
Arran Cudbard-Bell [Fri, 18 Jun 2021 15:53:10 +0000 (10:53 -0500)] 
Add boilerplate to allow control OpenSSL async contexts

5 years agoRegenerate configure script
Arran Cudbard-Bell [Fri, 18 Jun 2021 00:27:21 +0000 (19:27 -0500)] 
Regenerate configure script

5 years agoRemove support for OpenSSL < 1.1.0
Arran Cudbard-Bell [Fri, 18 Jun 2021 00:20:05 +0000 (19:20 -0500)] 
Remove support for OpenSSL < 1.1.0

We need 1.1.0 for async support

5 years agoUpdate the TLS documentation
Arran Cudbard-Bell [Thu, 17 Jun 2021 21:50:17 +0000 (16:50 -0500)] 
Update the TLS documentation

5 years agoRemove check_cert_issuer and check_cert_cn
Arran Cudbard-Bell [Thu, 17 Jun 2021 23:17:31 +0000 (18:17 -0500)] 
Remove check_cert_issuer and check_cert_cn

5 years agoRemove all OCSP code from the TLS library
Arran Cudbard-Bell [Thu, 17 Jun 2021 20:46:38 +0000 (15:46 -0500)] 
Remove all OCSP code from the TLS library

This will be added back as a module at some point in the future

5 years agoRemove verify_client_cert_cmd
Arran Cudbard-Bell [Thu, 17 Jun 2021 20:36:52 +0000 (15:36 -0500)] 
Remove verify_client_cert_cmd

We don't always have the client certificate to dump out, and similar checks can be performed using unlang.

5 years agoSet buffer back to previous value?
Arran Cudbard-Bell [Thu, 17 Jun 2021 20:26:38 +0000 (15:26 -0500)] 
Set buffer back to previous value?

5 years agoJust use the old logic...
Arran Cudbard-Bell [Thu, 17 Jun 2021 19:58:35 +0000 (14:58 -0500)] 
Just use the old logic...

5 years agoFix typo
Arran Cudbard-Bell [Thu, 17 Jun 2021 19:50:04 +0000 (14:50 -0500)] 
Fix typo

5 years agoFix tests now we add Packet-Type to requests
Arran Cudbard-Bell [Thu, 17 Jun 2021 19:44:22 +0000 (14:44 -0500)] 
Fix tests now we add Packet-Type to requests

5 years agoReduce required pop rate
Arran Cudbard-Bell [Thu, 17 Jun 2021 19:33:00 +0000 (14:33 -0500)] 
Reduce required pop rate

5 years agoAutomatically re-validate certificates when resuming from a session-ticket
Arran Cudbard-Bell [Thu, 17 Jun 2021 17:57:08 +0000 (12:57 -0500)] 
Automatically re-validate certificates when resuming from a session-ticket

5 years agoDocument process.h and make more elements of it optional
Arran Cudbard-Bell [Thu, 17 Jun 2021 17:55:44 +0000 (12:55 -0500)] 
Document process.h and make more elements of it optional

5 years agoRemove small amounts of duplicate code
Arran Cudbard-Bell [Thu, 17 Jun 2021 17:55:16 +0000 (12:55 -0500)] 
Remove small amounts of duplicate code

5 years agoAdd the ability to have child requests clean themselves up gracefully
Arran Cudbard-Bell [Thu, 17 Jun 2021 17:53:55 +0000 (12:53 -0500)] 
Add the ability to have child requests clean themselves up gracefully

This is useful when the resumption actions are done in the context of the child and so the parent never needs to deal with its contents directly.

5 years agoAdd yes more shitty code to deal with request->packet->code and request->reply->code
Arran Cudbard-Bell [Thu, 17 Jun 2021 17:52:23 +0000 (12:52 -0500)] 
Add yes more shitty code to deal with request->packet->code and request->reply->code

5 years agoRemove old/redundant declarations
Arran Cudbard-Bell [Wed, 16 Jun 2021 15:53:37 +0000 (10:53 -0500)] 
Remove old/redundant declarations

5 years agoRevert "check if the clone ref exists before loading it"
Alan T. DeKok [Thu, 17 Jun 2021 18:55:52 +0000 (14:55 -0400)] 
Revert "check if the clone ref exists before loading it"

This reverts commit 32c755606817e34ed148a54b1990cb77acbcd439.

it turns out that this breaks too much.  Reverted until we have
a better fix.

5 years agotls: Fix missing X509_STORE_free() (#4120)
Jorge Pereira [Thu, 17 Jun 2021 18:29:07 +0000 (15:29 -0300)] 
tls: Fix missing X509_STORE_free() (#4120)