]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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)

4 years agoword smithing
Alan T. DeKok [Wed, 26 May 2021 21:22:00 +0000 (17:22 -0400)] 
word smithing

4 years agonote recent changes
Alan T. DeKok [Wed, 26 May 2021 18:21:56 +0000 (14:21 -0400)] 
note recent changes

4 years agoset and check request->root
Alan T. DeKok [Wed, 26 May 2021 18:13:04 +0000 (14:13 -0400)] 
set and check request->root

4 years agoRevert "hoist "set global client list" to client_list_init()"
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.

4 years agoRevert "remove unused variable"
Alan T. DeKok [Tue, 25 May 2021 14:56:54 +0000 (10:56 -0400)] 
Revert "remove unused variable"

This reverts commit 6ecfe311143227a8955c61a74510725e9fac57fd.

4 years agoremove %I
Alan T. DeKok [Tue, 25 May 2021 13:42:56 +0000 (09:42 -0400)] 
remove %I

packet code is a poor source of entropy

4 years agoupdate mssql for Class queries
Alan T. DeKok [Tue, 25 May 2021 13:39:32 +0000 (09:39 -0400)] 
update mssql for Class queries

4 years agoupdate MySQL for Class queries
Alan T. DeKok [Tue, 25 May 2021 13:27:49 +0000 (09:27 -0400)] 
update MySQL for Class queries

4 years agosql.accounting needs Acct-Status-Type
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

4 years agoremove unused query
Alan T. DeKok [Tue, 25 May 2021 12:57:17 +0000 (08:57 -0400)] 
remove unused query

4 years agoupdate Oracle for Class queries
Alan T. DeKok [Tue, 25 May 2021 12:47:12 +0000 (08:47 -0400)] 
update Oracle for Class queries

4 years agoupdate PostgreSQL for Class queries
Alan T. DeKok [Tue, 25 May 2021 12:33:50 +0000 (08:33 -0400)] 
update PostgreSQL for Class queries

4 years agomove to better location
Alan T. DeKok [Tue, 25 May 2021 12:29:40 +0000 (08:29 -0400)] 
move to better location

4 years agomissed one
Alan T. DeKok [Mon, 24 May 2021 17:32:21 +0000 (13:32 -0400)] 
missed one

4 years agoword smithing
Alan T. DeKok [Mon, 24 May 2021 16:05:41 +0000 (12:05 -0400)] 
word smithing

4 years agoadd class columns / fields to queries
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

4 years agominor tweaks for Class generation
Alan T. DeKok [Mon, 24 May 2021 13:28:12 +0000 (09:28 -0400)] 
minor tweaks for Class generation

4 years agominor cleanups to parser
Alan T. DeKok [Mon, 24 May 2021 13:12:15 +0000 (09:12 -0400)] 
minor cleanups to parser

allow hashes immediately after '=' in CONF_PAIR

Allow ${foo} to refer to a CONF_PAIR with no value: it's just
an empty string

4 years agoadd home server state "administratively down"
Alan T. DeKok [Fri, 21 May 2021 12:47:05 +0000 (08:47 -0400)] 
add home server state "administratively down"

4 years agoupdate docs
Alan T. DeKok [Thu, 20 May 2021 10:12:58 +0000 (06:12 -0400)] 
update docs

4 years agoUpdating Aruba dict with VSA used in Aruba C2C product. ref#4086 (#4090)
Jorge Pereira [Thu, 20 May 2021 17:45:27 +0000 (14:45 -0300)] 
Updating Aruba dict with VSA used in Aruba C2C product. ref#4086 (#4090)

4 years agoBump for 3.0.23
Matthew Newton [Mon, 17 May 2021 14:01:25 +0000 (15:01 +0100)] 
Bump for 3.0.23

4 years agorelease 3.0.22 release_3_0_22
Matthew Newton [Mon, 17 May 2021 13:01:45 +0000 (14:01 +0100)] 
release 3.0.22

4 years agotweak some of the markdown docs
Matthew Newton [Fri, 14 May 2021 13:51:01 +0000 (14:51 +0100)] 
tweak some of the markdown docs

4 years agorename it here, too
Alan T. DeKok [Fri, 14 May 2021 12:08:02 +0000 (08:08 -0400)] 
rename it here, too

4 years agoturn file into Markdown and rename
Alan T. DeKok [Fri, 14 May 2021 11:52:23 +0000 (07:52 -0400)] 
turn file into Markdown and rename

4 years agoci builds need procps
Matthew Newton [Thu, 13 May 2021 18:13:16 +0000 (19:13 +0100)] 
ci builds need procps

4 years agomore $ typos
Matthew Newton [Thu, 13 May 2021 18:07:24 +0000 (19:07 +0100)] 
more $ typos

4 years agoset SECLEVEL correcty in eapol_test config, too
Matthew Newton [Thu, 13 May 2021 17:41:14 +0000 (18:41 +0100)] 
set SECLEVEL correcty in eapol_test config, too

4 years agogithub actions checkout doesn't create a .git directory <sigh>
Matthew Newton [Thu, 13 May 2021 16:37:32 +0000 (17:37 +0100)] 
github actions checkout doesn't create a .git directory <sigh>

4 years agoci: "make test" on all platforms
Matthew Newton [Thu, 13 May 2021 15:49:51 +0000 (16:49 +0100)] 
ci: "make test" on all platforms

4 years agolook in both radiusd and eapol_test for TLS1.3 support
Matthew Newton [Thu, 13 May 2021 15:10:27 +0000 (16:10 +0100)] 
look in both radiusd and eapol_test for TLS1.3 support

eapol_test always contains the tls_disable_tlsv1_3 string, even if
it's not actually built against an openssl version that supports it

4 years agoci-deb needs binutils (for strings)
Matthew Newton [Thu, 13 May 2021 10:56:42 +0000 (11:56 +0100)] 
ci-deb needs binutils (for strings)

4 years agoensure CI tests run openssl check
Matthew Newton [Wed, 12 May 2021 23:00:29 +0000 (00:00 +0100)] 
ensure CI tests run openssl check

4 years agoget the openssl check the correct way around
Matthew Newton [Wed, 12 May 2021 22:32:43 +0000 (23:32 +0100)] 
get the openssl check the correct way around

4 years agonote recent changes
Alan T. DeKok [Thu, 13 May 2021 13:25:05 +0000 (09:25 -0400)] 
note recent changes

4 years agodocument new option
Alan T. DeKok [Thu, 13 May 2021 13:24:18 +0000 (09:24 -0400)] 
document new option

4 years agoallow EAP-TLS to not use a client certificate
Alan T. DeKok [Thu, 13 May 2021 12:56:22 +0000 (08:56 -0400)] 
allow EAP-TLS to not use a client certificate

for "walled garden" kind of access.

4 years agodebian: recommend kerberos gssapi modules in ldap package
Matthew Newton [Wed, 12 May 2021 21:18:01 +0000 (22:18 +0100)] 
debian: recommend kerberos gssapi modules in ldap package

revert some updates to Dockerfiles

4 years agonote recent changes
Matthew Newton [Wed, 12 May 2021 19:11:33 +0000 (20:11 +0100)] 
note recent changes