]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 12 Jul 2021 18:03:55 +0000 (14:03 -0400)]
as per recent IANA allocation
Jorge Pereira [Thu, 8 Jul 2021 19:51:58 +0000 (16:51 -0300)]
NetworkOnly value for APC-Service-Type. refs #4109 (#4133)
Nathan Ward [Thu, 8 Jul 2021 14:15:20 +0000 (02:15 +1200)]
Fix chunked rlm_rest HTTP body (#4131)
* Fix chunked HTTP bodies in rlm_rest by passing section (configuration) around in the request object rather than to the rest_encode_* functions directly.
Fixes #4130
* Document the rlm_rest chunk configuration parameter
Alan T. DeKok [Fri, 2 Jul 2021 11:18:06 +0000 (07:18 -0400)]
typo
Antonio Torres [Fri, 2 Jul 2021 11:12:48 +0000 (07:12 -0400)]
Setting the resource hard limit to zero is irreversible, meaning if it
is set to zero then there is no way to set it higher. This means
enabling core dump is not possible, since setting a new resource limit
for RLIMIT_CORE would fail. By only setting the soft limit to zero, we
can disable and enable core dumps without failures.
Ticket in RHEL Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=
1977572
Signed-off-by: Antonio Torres antorres@redhat.com
Matthew Newton [Tue, 29 Jun 2021 11:52:13 +0000 (12:52 +0100)]
note recent changes
Matthew Newton [Mon, 28 Jun 2021 23:27:45 +0000 (00:27 +0100)]
don't walk off the end of the cleanup list
Alan T. DeKok [Sat, 26 Jun 2021 15:29:59 +0000 (11:29 -0400)]
fix error message to make it clearer
Alan T. DeKok [Wed, 23 Jun 2021 13:22:37 +0000 (09:22 -0400)]
catch things we know are wrong, instead of requiring SELECT
which allows CALL to be used
Alan T. DeKok [Sun, 20 Jun 2021 13:33:30 +0000 (09:33 -0400)]
print out decrypyted SSL data at debug>3
Alan T. DeKok [Sat, 19 Jun 2021 12:48:13 +0000 (08:48 -0400)]
log information needed by Wireshark to decode TLS sessions
Matthew Newton [Fri, 18 Jun 2021 19:46:06 +0000 (20:46 +0100)]
don't use RTLD_DEEPBIND with ASAN
backport of
03a8f1d161
Matthew Newton [Fri, 18 Jun 2021 19:02:48 +0000 (20:02 +0100)]
more relevant for v3
Alan T. DeKok [Fri, 18 Jun 2021 13:16:40 +0000 (09:16 -0400)]
check for postauth_client_lost sooner
so that we free entries immediately if the config option is not
set.
Alan T. DeKok [Fri, 18 Jun 2021 13:12:32 +0000 (09:12 -0400)]
Revert "unlink entry when freeing it"
This reverts commit
fe392379178f2288580d1a4831d271ec68111206 .
Nope... not the thing to do
Alan T. DeKok [Fri, 18 Jun 2021 13:05:25 +0000 (09:05 -0400)]
unlink entry when freeing it
Alan T. DeKok [Fri, 18 Jun 2021 12:46:55 +0000 (08:46 -0400)]
add various sanitizer options from v4
Alan T. DeKok [Thu, 17 Jun 2021 11:06:25 +0000 (07:06 -0400)]
remove docs for v4 feature
Alan T. DeKok [Wed, 16 Jun 2021 12:39:25 +0000 (08:39 -0400)]
remove extraneous \n
It's stripped from RDEBUG anyways, so it's always been useless
Jorge Pereira [Thu, 17 Jun 2021 14:57:32 +0000 (11:57 -0300)]
tls: Fix missing X509_STORE_free() (#4119)
Alejandro Perez [Wed, 16 Jun 2021 11:54:19 +0000 (13:54 +0200)]
NULL check needs to be moved before using strchr (#4115)
Matthew Newton [Wed, 16 Jun 2021 10:43:23 +0000 (11:43 +0100)]
logrotate: keep options in local scope
make all configs more consistent
Alan T. DeKok [Mon, 14 Jun 2021 11:25:38 +0000 (07:25 -0400)]
typo
Alan T. DeKok [Mon, 14 Jun 2021 11:04:52 +0000 (07:04 -0400)]
remove extra arguments
Alan T. DeKok [Sat, 12 Jun 2021 12:25:33 +0000 (08:25 -0400)]
cleanups
Alan T. DeKok [Sat, 12 Jun 2021 12:20:30 +0000 (08:20 -0400)]
print errors and fail, don't abort
Alan T. DeKok [Fri, 11 Jun 2021 12:17:46 +0000 (08:17 -0400)]
revert to working version
someone with more up-to-date autoconf will have to regenerate this
because it uses AM_... and AX_... macros which aren't in older
versions.
Alan T. DeKok [Fri, 11 Jun 2021 12:12:47 +0000 (08:12 -0400)]
add AC_ARG_WITH([]modname, ...)
Matthew Newton [Thu, 10 Jun 2021 21:02:48 +0000 (22:02 +0100)]
Bump for 3.0.24
Matthew Newton [Thu, 10 Jun 2021 13:04:19 +0000 (14:04 +0100)]
release 3.0.23
Alan T. DeKok [Thu, 10 Jun 2021 14:37:07 +0000 (10:37 -0400)]
initialize variable
Alan T. DeKok [Thu, 10 Jun 2021 14:02:46 +0000 (10:02 -0400)]
fr_pair_afrom_num() no longer produces unknown da's
It is now only called from internal code, using hard-coded numbers.
if the da does not exist, then the admin has edited the
dictionaries and broken them. Instead of failing with an
opaque error, just don't create the VP
Alan T. DeKok [Thu, 10 Jun 2021 14:02:11 +0000 (10:02 -0400)]
use fr_pair_afrom_da()
only internal code should use fr_pair_afrom_num(), and even then
it should only use hard-coded numbers.
Alan T. DeKok [Thu, 10 Jun 2021 13:51:41 +0000 (09:51 -0400)]
clean up to use fr_pair_afrom_da()
Matthew Newton [Thu, 10 Jun 2021 12:52:24 +0000 (13:52 +0100)]
rlm_sql_map columns start from zero
Alan T. DeKok [Wed, 9 Jun 2021 19:22:57 +0000 (15:22 -0400)]
note recent changes
Alan T. DeKok [Wed, 9 Jun 2021 19:17:52 +0000 (15:17 -0400)]
slightly better
Alan T. DeKok [Wed, 9 Jun 2021 19:14:52 +0000 (15:14 -0400)]
warn about TLS versions and cipher_list
Alan T. DeKok [Wed, 9 Jun 2021 19:04:06 +0000 (15:04 -0400)]
if tls_max_version isn't set, default to 1.2
even if we have 1.3. Because we should only use 1.3 if the
admin explicitly enables it
Alan T. DeKok [Tue, 8 Jun 2021 18:12:25 +0000 (14:12 -0400)]
Revert "cannot assign list to attribute. Helps with #4103"
This reverts commit
ffedcdb204143cf6c725a16a2833f6324cc22811 .
Alan T. DeKok [Tue, 8 Jun 2021 17:15:36 +0000 (13:15 -0400)]
cannot assign list to attribute. Helps with #4103
foo := bar[*]
Alan T. DeKok [Tue, 8 Jun 2021 15:40:03 +0000 (11:40 -0400)]
ignore LEAP, too
Jorge Pereira [Tue, 8 Jun 2021 13:15:02 +0000 (10:15 -0300)]
rlm_mschap: Fix wrong 'Domain-Name' length (#4105)
Alan T. DeKok [Mon, 7 Jun 2021 14:52:44 +0000 (10:52 -0400)]
note recent changes
Alan T. DeKok [Mon, 7 Jun 2021 14:52:32 +0000 (10:52 -0400)]
add %{mschap:Domain-Name}. Fixes #3944
Alan T. DeKok [Mon, 7 Jun 2021 13:15:48 +0000 (09:15 -0400)]
enforce that 'query' can only be SELECT
Alan T. DeKok [Mon, 7 Jun 2021 13:11:53 +0000 (09:11 -0400)]
affected_rows is only for INSERT or UPDATE
Alan T. DeKok [Mon, 7 Jun 2021 13:09:41 +0000 (09:09 -0400)]
typo
Alan T. DeKok [Fri, 4 Jun 2021 14:33:10 +0000 (10:33 -0400)]
more magic
Alan T. DeKok [Thu, 3 Jun 2021 14:32:14 +0000 (10:32 -0400)]
note recent changes
Alan T. DeKok [Thu, 3 Jun 2021 14:31:48 +0000 (10:31 -0400)]
added simple TOTP example
Alan T. DeKok [Thu, 3 Jun 2021 13:44:49 +0000 (09:44 -0400)]
enable TOTP by default
Alan T. DeKok [Thu, 3 Jun 2021 13:36:46 +0000 (09:36 -0400)]
cache TLS state change messages in session-state list
so that they can be accessible to debug messages
Alan T. DeKok [Thu, 3 Jun 2021 13:25:13 +0000 (09:25 -0400)]
minor cleanups on debug output
Alan T. DeKok [Thu, 3 Jun 2021 12:57:50 +0000 (08:57 -0400)]
check for rlm_sql_sqlite in the ALL_TGTS variable
Matthew Newton [Wed, 2 Jun 2021 22:37:35 +0000 (23:37 +0100)]
need rlm_sql_sqlite to be built as well
Alan T. DeKok [Wed, 2 Jun 2021 17:08:45 +0000 (13:08 -0400)]
typo
Alan T. DeKok [Wed, 2 Jun 2021 14:41:19 +0000 (10:41 -0400)]
make warnings more explicit and loud
Matthew Newton [Tue, 1 Jun 2021 13:24:19 +0000 (14:24 +0100)]
update comments
Alan T. DeKok [Tue, 1 Jun 2021 12:57:24 +0000 (08:57 -0400)]
typo
Alan T. DeKok [Tue, 1 Jun 2021 12:08:52 +0000 (08:08 -0400)]
remove unused functions
which also make it clearer what the rest of the code does.
Alan T. DeKok [Tue, 1 Jun 2021 12:04:45 +0000 (08:04 -0400)]
more cleanups and fixes
remove "expired", and lower "cleanup" to max_request_time*2
there's no reason to keep state entries for more than a minute.
do some code rearrangements to clarify what's going on.
We run "Client-Lost" only on "put_vps"
and update state_entry_create() to NOT clean up old entries,
as that is already done in cleanup_find()
Alan T. DeKok [Tue, 1 Jun 2021 11:50:16 +0000 (07:50 -0400)]
remove from rbtree on unlink
Alan T. DeKok [Mon, 31 May 2021 20:53:29 +0000 (16:53 -0400)]
add more warnings at run-time, too
Alan T. DeKok [Mon, 31 May 2021 20:38:37 +0000 (16:38 -0400)]
add lots of warnings in the probably naive hope that people will read them.
Complain loudly that TLS 1.3 is experimental, and that this version
of FreeRADIUS will likely need to be upgraded after 2021.
Alan T. DeKok [Mon, 31 May 2021 12:50:02 +0000 (08:50 -0400)]
minor updates to docs and examples
Matthew Newton [Sat, 29 May 2021 22:24:06 +0000 (23:24 +0100)]
client-lost: add documentation and global config (disabled by default)
don't alter behaviour in stable release unless requested
Alan T. DeKok [Mon, 31 May 2021 12:37:21 +0000 (08:37 -0400)]
rearrange code
to push "allocate request" to much later in the process.
Matthew Newton [Sat, 29 May 2021 16:24:26 +0000 (17:24 +0100)]
Add Post-Auth-Type "Client-Lost", called when stale state is cleaned up
Matthew Newton [Sat, 29 May 2021 15:20:41 +0000 (16:20 +0100)]
add request_inject
Matthew Newton [Sat, 29 May 2021 01:16:00 +0000 (02:16 +0100)]
Don't assert state quite so soon
If we're injecting a fake cleanup packet then state will already
be set. However there will be no State attribute, which will let
this quit early.
Matthew Newton [Fri, 28 May 2021 22:52:08 +0000 (23:52 +0100)]
store virtual server with state
Matthew Newton [Sat, 29 May 2021 14:43:21 +0000 (15:43 +0100)]
send the whole request, not just the virtual server
Matthew Newton [Fri, 28 May 2021 13:54:10 +0000 (14:54 +0100)]
add missing methods
Alan T. DeKok [Thu, 27 May 2021 14:53:46 +0000 (10:53 -0400)]
add output for "show home_server state", too
Alan T. DeKok [Thu, 27 May 2021 14:29:13 +0000 (10:29 -0400)]
run the tests only if we have an sqlite3 command
Alan T. DeKok [Thu, 27 May 2021 14:26:12 +0000 (10:26 -0400)]
mark up the client list as parsed, just before we return it.
Alan T. DeKok [Thu, 27 May 2021 14:24:43 +0000 (10:24 -0400)]
Revert "don't parse clients twice"
This reverts commit
a71ed523e1745e4fbbe1d827efee4bb395439620 .
We need a different fix
Jorge Pereira [Thu, 27 May 2021 01:47:41 +0000 (22:47 -0300)]
config.h.in: Clean up PACKAGES_* definitions
Alan T. DeKok [Thu, 27 May 2021 13:52:02 +0000 (09:52 -0400)]
log radclient output, too
Alan T. DeKok [Thu, 27 May 2021 13:41:20 +0000 (09:41 -0400)]
don't parse clients twice
Jorge Pereira [Thu, 27 May 2021 04:48:12 +0000 (01:48 -0300)]
Add tests for clients loaded from SQL 'nas' table
Jorge Pereira [Thu, 27 May 2021 04:47:45 +0000 (01:47 -0300)]
Backport boiler.mk stuff from v4
Jorge Pereira [Thu, 27 May 2021 09:58:35 +0000 (06:58 -0300)]
Fix duplicated index names (#4095)
Alan T. DeKok [Wed, 26 May 2021 21:22:00 +0000 (17:22 -0400)]
word smithing
Alan T. DeKok [Wed, 26 May 2021 18:21:56 +0000 (14:21 -0400)]
note recent changes
Alan T. DeKok [Wed, 26 May 2021 18:13:04 +0000 (14:13 -0400)]
set and check request->root
Alan T. DeKok [Tue, 25 May 2021 14:56:59 +0000 (10:56 -0400)]
Revert "hoist "set global client list" to client_list_init()"
This reverts commit
0a36ef3dafaa9b4c5415772ec43b08b34e93be8b .
Alan T. DeKok [Tue, 25 May 2021 14:56:54 +0000 (10:56 -0400)]
Revert "remove unused variable"
This reverts commit
6ecfe311143227a8955c61a74510725e9fac57fd .
Alan T. DeKok [Tue, 25 May 2021 13:42:56 +0000 (09:42 -0400)]
remove %I
packet code is a poor source of entropy
Alan T. DeKok [Tue, 25 May 2021 13:39:32 +0000 (09:39 -0400)]
update mssql for Class queries
Alan T. DeKok [Tue, 25 May 2021 13:27:49 +0000 (09:27 -0400)]
update MySQL for Class queries
Alan T. DeKok [Tue, 25 May 2021 12:58:53 +0000 (08:58 -0400)]
sql.accounting needs Acct-Status-Type
otherwise it won't work
Alan T. DeKok [Tue, 25 May 2021 12:57:17 +0000 (08:57 -0400)]
remove unused query
Alan T. DeKok [Tue, 25 May 2021 12:47:12 +0000 (08:47 -0400)]
update Oracle for Class queries
Alan T. DeKok [Tue, 25 May 2021 12:33:50 +0000 (08:33 -0400)]
update PostgreSQL for Class queries
Alan T. DeKok [Tue, 25 May 2021 12:29:40 +0000 (08:29 -0400)]
move to better location
Alan T. DeKok [Mon, 24 May 2021 17:32:21 +0000 (13:32 -0400)]
missed one
Alan T. DeKok [Mon, 24 May 2021 16:05:41 +0000 (12:05 -0400)]
word smithing
Alan T. DeKok [Mon, 24 May 2021 14:27:56 +0000 (10:27 -0400)]
add class columns / fields to queries
for both accounting and postauth