]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
4 years agoadd / delete incoming sockets to proxy list, if they're send_coa
Alan T. DeKok [Wed, 31 Mar 2021 17:04:34 +0000 (13:04 -0400)] 
add / delete incoming sockets to proxy list, if they're send_coa

4 years agooriginate CoA requests to the NAS, and deal with the replies
Alan T. DeKok [Wed, 31 Mar 2021 16:52:25 +0000 (12:52 -0400)] 
originate CoA requests to the NAS, and deal with the replies

4 years agoadd and parse CoA fields for incoming listeners
Alan T. DeKok [Wed, 31 Mar 2021 16:51:48 +0000 (12:51 -0400)] 
add and parse CoA fields for incoming listeners

4 years agoadd feature flag
Alan T. DeKok [Wed, 31 Mar 2021 15:53:37 +0000 (11:53 -0400)] 
add feature flag

4 years agoadd WITH_COA_TUNNEL definition
Alan T. DeKok [Wed, 31 Mar 2021 13:52:41 +0000 (09:52 -0400)] 
add WITH_COA_TUNNEL definition

along with recv_coa functionality in the home server definition.
and parse / verify the home server configuration for recv coa

4 years agoadd and use separate function for sending to a proxy listener
Alan T. DeKok [Wed, 31 Mar 2021 13:05:16 +0000 (09:05 -0400)] 
add and use separate function for sending to a proxy listener

4 years agomove encode/decode for proxies to their own fields
Alan T. DeKok [Wed, 31 Mar 2021 12:47:58 +0000 (08:47 -0400)] 
move encode/decode for proxies to their own fields

4 years agoFix typo added in 8c19082935 (#4148)
Jorge Pereira [Fri, 16 Jul 2021 13:56:50 +0000 (10:56 -0300)] 
Fix typo added in 8c19082935 (#4148)

4 years agonote recent changes
Alan T. DeKok [Fri, 16 Jul 2021 13:27:59 +0000 (09:27 -0400)] 
note recent changes

4 years agoadd ref
Alan T. DeKok [Fri, 16 Jul 2021 13:27:00 +0000 (09:27 -0400)] 
add ref

4 years agoremove extra field. Fixes #4144
Alan T. DeKok [Thu, 15 Jul 2021 18:11:10 +0000 (14:11 -0400)] 
remove extra field.  Fixes #4144

4 years agoupdates from the main juniper file
Alan T. DeKok [Thu, 15 Jul 2021 13:00:08 +0000 (09:00 -0400)] 
updates from the main juniper file

4 years agotypo
Alan T. DeKok [Tue, 13 Jul 2021 17:34:30 +0000 (13:34 -0400)] 
typo

4 years agowhitespace
Alan T. DeKok [Tue, 13 Jul 2021 17:29:26 +0000 (13:29 -0400)] 
whitespace

4 years agoadd reject_unknown_intermediate_ca
Alan T. DeKok [Tue, 13 Jul 2021 15:57:01 +0000 (11:57 -0400)] 
add reject_unknown_intermediate_ca

4 years agoUpdate H3C dictionary. refs #4112 (#4134)
Jorge Pereira [Tue, 13 Jul 2021 11:43:19 +0000 (08:43 -0300)] 
Update H3C dictionary. refs #4112 (#4134)

4 years agoas per recent IANA allocation
Alan T. DeKok [Mon, 12 Jul 2021 18:03:55 +0000 (14:03 -0400)] 
as per recent IANA allocation

4 years agoNetworkOnly value for APC-Service-Type. refs #4109 (#4133)
Jorge Pereira [Thu, 8 Jul 2021 19:51:58 +0000 (16:51 -0300)] 
NetworkOnly value for APC-Service-Type. refs #4109 (#4133)

4 years agoFix chunked rlm_rest HTTP body (#4131)
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

4 years agotypo
Alan T. DeKok [Fri, 2 Jul 2021 11:18:06 +0000 (07:18 -0400)] 
typo

4 years agoSetting the resource hard limit to zero is irreversible, meaning if it
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
4 years agonote recent changes
Matthew Newton [Tue, 29 Jun 2021 11:52:13 +0000 (12:52 +0100)] 
note recent changes

4 years agodon't walk off the end of the cleanup list
Matthew Newton [Mon, 28 Jun 2021 23:27:45 +0000 (00:27 +0100)] 
don't walk off the end of the cleanup list

4 years agofix error message to make it clearer
Alan T. DeKok [Sat, 26 Jun 2021 15:29:59 +0000 (11:29 -0400)] 
fix error message to make it clearer

4 years agocatch things we know are wrong, instead of requiring SELECT
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

4 years agoprint out decrypyted SSL data at debug>3
Alan T. DeKok [Sun, 20 Jun 2021 13:33:30 +0000 (09:33 -0400)] 
print out decrypyted SSL data at debug>3

4 years agolog information needed by Wireshark to decode TLS sessions
Alan T. DeKok [Sat, 19 Jun 2021 12:48:13 +0000 (08:48 -0400)] 
log information needed by Wireshark to decode TLS sessions

4 years agodon't use RTLD_DEEPBIND with ASAN
Matthew Newton [Fri, 18 Jun 2021 19:46:06 +0000 (20:46 +0100)] 
don't use RTLD_DEEPBIND with ASAN

backport of 03a8f1d161

4 years agomore relevant for v3
Matthew Newton [Fri, 18 Jun 2021 19:02:48 +0000 (20:02 +0100)] 
more relevant for v3

4 years agocheck for postauth_client_lost sooner
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.

4 years agoRevert "unlink entry when freeing it"
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

4 years agounlink entry when freeing it
Alan T. DeKok [Fri, 18 Jun 2021 13:05:25 +0000 (09:05 -0400)] 
unlink entry when freeing it

4 years agoadd various sanitizer options from v4
Alan T. DeKok [Fri, 18 Jun 2021 12:46:55 +0000 (08:46 -0400)] 
add various sanitizer options from v4

4 years agoremove docs for v4 feature
Alan T. DeKok [Thu, 17 Jun 2021 11:06:25 +0000 (07:06 -0400)] 
remove docs for v4 feature

4 years agoremove extraneous \n
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

4 years agotls: Fix missing X509_STORE_free() (#4119)
Jorge Pereira [Thu, 17 Jun 2021 14:57:32 +0000 (11:57 -0300)] 
tls: Fix missing X509_STORE_free() (#4119)

4 years agoNULL check needs to be moved before using strchr (#4115)
Alejandro Perez [Wed, 16 Jun 2021 11:54:19 +0000 (13:54 +0200)] 
NULL check needs to be moved before using strchr (#4115)

4 years agologrotate: keep options in local scope
Matthew Newton [Wed, 16 Jun 2021 10:43:23 +0000 (11:43 +0100)] 
logrotate: keep options in local scope

make all configs more consistent

4 years agotypo
Alan T. DeKok [Mon, 14 Jun 2021 11:25:38 +0000 (07:25 -0400)] 
typo

4 years agoremove extra arguments
Alan T. DeKok [Mon, 14 Jun 2021 11:04:52 +0000 (07:04 -0400)] 
remove extra arguments

4 years agocleanups
Alan T. DeKok [Sat, 12 Jun 2021 12:25:33 +0000 (08:25 -0400)] 
cleanups

4 years agoprint errors and fail, don't abort
Alan T. DeKok [Sat, 12 Jun 2021 12:20:30 +0000 (08:20 -0400)] 
print errors and fail, don't abort

4 years agorevert to working version
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.

4 years agoadd AC_ARG_WITH([]modname, ...)
Alan T. DeKok [Fri, 11 Jun 2021 12:12:47 +0000 (08:12 -0400)] 
add AC_ARG_WITH([]modname, ...)

4 years agoBump for 3.0.24
Matthew Newton [Thu, 10 Jun 2021 21:02:48 +0000 (22:02 +0100)] 
Bump for 3.0.24

4 years agorelease 3.0.23 release_3_0_23
Matthew Newton [Thu, 10 Jun 2021 13:04:19 +0000 (14:04 +0100)] 
release 3.0.23

4 years agoinitialize variable
Alan T. DeKok [Thu, 10 Jun 2021 14:37:07 +0000 (10:37 -0400)] 
initialize variable

4 years agofr_pair_afrom_num() no longer produces unknown da's
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

4 years agouse fr_pair_afrom_da()
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.

4 years agoclean up to use fr_pair_afrom_da()
Alan T. DeKok [Thu, 10 Jun 2021 13:51:41 +0000 (09:51 -0400)] 
clean up to use fr_pair_afrom_da()

4 years agorlm_sql_map columns start from zero
Matthew Newton [Thu, 10 Jun 2021 12:52:24 +0000 (13:52 +0100)] 
rlm_sql_map columns start from zero

4 years agonote recent changes
Alan T. DeKok [Wed, 9 Jun 2021 19:22:57 +0000 (15:22 -0400)] 
note recent changes

4 years agoslightly better
Alan T. DeKok [Wed, 9 Jun 2021 19:17:52 +0000 (15:17 -0400)] 
slightly better

4 years agowarn about TLS versions and cipher_list
Alan T. DeKok [Wed, 9 Jun 2021 19:14:52 +0000 (15:14 -0400)] 
warn about TLS versions and cipher_list

4 years agoif tls_max_version isn't set, default to 1.2
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

4 years agoRevert "cannot assign list to attribute. Helps with #4103"
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.

4 years agocannot assign list to attribute. Helps with #4103
Alan T. DeKok [Tue, 8 Jun 2021 17:15:36 +0000 (13:15 -0400)] 
cannot assign list to attribute.  Helps with #4103

foo := bar[*]

4 years agoignore LEAP, too
Alan T. DeKok [Tue, 8 Jun 2021 15:40:03 +0000 (11:40 -0400)] 
ignore LEAP, too

4 years agorlm_mschap: Fix wrong 'Domain-Name' length (#4105)
Jorge Pereira [Tue, 8 Jun 2021 13:15:02 +0000 (10:15 -0300)] 
rlm_mschap: Fix wrong 'Domain-Name' length (#4105)

4 years agonote recent changes
Alan T. DeKok [Mon, 7 Jun 2021 14:52:44 +0000 (10:52 -0400)] 
note recent changes

4 years agoadd %{mschap:Domain-Name}. Fixes #3944
Alan T. DeKok [Mon, 7 Jun 2021 14:52:32 +0000 (10:52 -0400)] 
add %{mschap:Domain-Name}.  Fixes #3944

4 years agoenforce that 'query' can only be SELECT
Alan T. DeKok [Mon, 7 Jun 2021 13:15:48 +0000 (09:15 -0400)] 
enforce that 'query' can only be SELECT

4 years agoaffected_rows is only for INSERT or UPDATE
Alan T. DeKok [Mon, 7 Jun 2021 13:11:53 +0000 (09:11 -0400)] 
affected_rows is only for INSERT or UPDATE

4 years agotypo
Alan T. DeKok [Mon, 7 Jun 2021 13:09:41 +0000 (09:09 -0400)] 
typo

4 years agomore magic
Alan T. DeKok [Fri, 4 Jun 2021 14:33:10 +0000 (10:33 -0400)] 
more magic

4 years agonote recent changes
Alan T. DeKok [Thu, 3 Jun 2021 14:32:14 +0000 (10:32 -0400)] 
note recent changes

4 years agoadded simple TOTP example
Alan T. DeKok [Thu, 3 Jun 2021 14:31:48 +0000 (10:31 -0400)] 
added simple TOTP example

4 years agoenable TOTP by default
Alan T. DeKok [Thu, 3 Jun 2021 13:44:49 +0000 (09:44 -0400)] 
enable TOTP by default

4 years agocache TLS state change messages in session-state list
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

4 years agominor cleanups on debug output
Alan T. DeKok [Thu, 3 Jun 2021 13:25:13 +0000 (09:25 -0400)] 
minor cleanups on debug output

4 years agocheck for rlm_sql_sqlite in the ALL_TGTS variable
Alan T. DeKok [Thu, 3 Jun 2021 12:57:50 +0000 (08:57 -0400)] 
check for rlm_sql_sqlite in the ALL_TGTS variable

4 years agoneed rlm_sql_sqlite to be built as well
Matthew Newton [Wed, 2 Jun 2021 22:37:35 +0000 (23:37 +0100)] 
need rlm_sql_sqlite to be built as well

4 years agotypo
Alan T. DeKok [Wed, 2 Jun 2021 17:08:45 +0000 (13:08 -0400)] 
typo

4 years agomake warnings more explicit and loud
Alan T. DeKok [Wed, 2 Jun 2021 14:41:19 +0000 (10:41 -0400)] 
make warnings more explicit and loud

4 years agoupdate comments
Matthew Newton [Tue, 1 Jun 2021 13:24:19 +0000 (14:24 +0100)] 
update comments

4 years agotypo
Alan T. DeKok [Tue, 1 Jun 2021 12:57:24 +0000 (08:57 -0400)] 
typo

4 years agoremove unused functions
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.

4 years agomore cleanups and fixes
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()

4 years agoremove from rbtree on unlink
Alan T. DeKok [Tue, 1 Jun 2021 11:50:16 +0000 (07:50 -0400)] 
remove from rbtree on unlink

4 years agoadd more warnings at run-time, too
Alan T. DeKok [Mon, 31 May 2021 20:53:29 +0000 (16:53 -0400)] 
add more warnings at run-time, too

4 years agoadd lots of warnings in the probably naive hope that people will read them.
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.

4 years agominor updates to docs and examples
Alan T. DeKok [Mon, 31 May 2021 12:50:02 +0000 (08:50 -0400)] 
minor updates to docs and examples

4 years agoclient-lost: add documentation and global config (disabled by default)
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

4 years agorearrange code
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.

4 years agoAdd Post-Auth-Type "Client-Lost", called when stale state is cleaned up
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

4 years agoadd request_inject
Matthew Newton [Sat, 29 May 2021 15:20:41 +0000 (16:20 +0100)] 
add request_inject

4 years agoDon't assert state quite so soon
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.

4 years agostore virtual server with state
Matthew Newton [Fri, 28 May 2021 22:52:08 +0000 (23:52 +0100)] 
store virtual server with state

4 years agosend the whole request, not just the virtual server
Matthew Newton [Sat, 29 May 2021 14:43:21 +0000 (15:43 +0100)] 
send the whole request, not just the virtual server

4 years agoadd missing methods
Matthew Newton [Fri, 28 May 2021 13:54:10 +0000 (14:54 +0100)] 
add missing methods

4 years agoadd output for "show home_server state", too
Alan T. DeKok [Thu, 27 May 2021 14:53:46 +0000 (10:53 -0400)] 
add output for "show home_server state", too

4 years agorun the tests only if we have an sqlite3 command
Alan T. DeKok [Thu, 27 May 2021 14:29:13 +0000 (10:29 -0400)] 
run the tests only if we have an sqlite3 command

4 years agomark up the client list as parsed, just before we return it.
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.

4 years agoRevert "don't parse clients twice"
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

4 years agoconfig.h.in: Clean up PACKAGES_* definitions
Jorge Pereira [Thu, 27 May 2021 01:47:41 +0000 (22:47 -0300)] 
config.h.in: Clean up PACKAGES_* definitions

4 years agolog radclient output, too
Alan T. DeKok [Thu, 27 May 2021 13:52:02 +0000 (09:52 -0400)] 
log radclient output, too

4 years agodon't parse clients twice
Alan T. DeKok [Thu, 27 May 2021 13:41:20 +0000 (09:41 -0400)] 
don't parse clients twice

4 years agoAdd tests for clients loaded from SQL 'nas' table
Jorge Pereira [Thu, 27 May 2021 04:48:12 +0000 (01:48 -0300)] 
Add tests for clients loaded from SQL 'nas' table

4 years agoBackport boiler.mk stuff from v4
Jorge Pereira [Thu, 27 May 2021 04:47:45 +0000 (01:47 -0300)] 
Backport boiler.mk stuff from v4

4 years agoFix duplicated index names (#4095)
Jorge Pereira [Thu, 27 May 2021 09:58:35 +0000 (06:58 -0300)] 
Fix duplicated index names (#4095)