]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Matthew Newton [Tue, 24 Mar 2020 14:23:29 +0000 (14:23 +0000)]
Prepare for 3.0.21 release
Terry Burton [Mon, 23 Mar 2020 17:39:14 +0000 (17:39 +0000)]
Note recent changes
Terry Burton [Mon, 23 Mar 2020 16:59:50 +0000 (16:59 +0000)]
SQLite: Simplify time handling using expansions
Don't use NOW() since the queries can be replayed from a file
Terry Burton [Mon, 23 Mar 2020 16:59:23 +0000 (16:59 +0000)]
PostgreSQL: Simplify time handling using expansions
Terry Burton [Mon, 23 Mar 2020 16:59:08 +0000 (16:59 +0000)]
Oracle: Simplify time handling using expansions
Terry Burton [Mon, 23 Mar 2020 16:58:58 +0000 (16:58 +0000)]
MySQL: Simplify time handling using expansions
Terry Burton [Mon, 23 Mar 2020 16:58:43 +0000 (16:58 +0000)]
MS SQL: Simplify time handling using expansions
Terry Burton [Mon, 23 Mar 2020 16:50:51 +0000 (16:50 +0000)]
MySQL: Increase post-auth logging precision
Terry Burton [Mon, 23 Mar 2020 16:47:04 +0000 (16:47 +0000)]
Oracle: Increase post-auth logging precision
Terry Burton [Mon, 23 Mar 2020 16:45:52 +0000 (16:45 +0000)]
PostgreSQL: Don't use NOW() since the queries can be replayed from a file
Terry Burton [Mon, 23 Mar 2020 16:44:16 +0000 (16:44 +0000)]
SQLite: Increase post-auth logging precision
Terry Burton [Mon, 23 Mar 2020 16:37:49 +0000 (16:37 +0000)]
MS SQL: We have a post-auth table so we should use it
Jorge Pereira [Thu, 19 Mar 2020 17:10:22 +0000 (14:10 -0300)]
Add dictionary.vasexperts ref #3328
Jorge Pereira [Thu, 19 Mar 2020 23:37:45 +0000 (20:37 -0300)]
debian: Add reload capability to systemd. ref#3315 (#3331)
Josef Vybíhal [Thu, 19 Mar 2020 17:17:47 +0000 (18:17 +0100)]
Add reload capability to systemd unit file (#3315)
Added back support for reload command.
Terry Burton [Thu, 19 Mar 2020 17:16:56 +0000 (17:16 +0000)]
v3.0.x raduat fixes (#3324)
* raduat: Use the given instance of radclient
* raduat: Use the given DICTPATH
Alan T. DeKok [Tue, 17 Mar 2020 23:00:09 +0000 (19:00 -0400)]
Acct-Terminate-Cause can't be NULL
Alan T. DeKok [Fri, 13 Mar 2020 20:27:23 +0000 (16:27 -0400)]
typo
Jorge Pereira [Thu, 12 Mar 2020 19:47:24 +0000 (16:47 -0300)]
make sure there are trailing CRs (#3320)
Alan T. DeKok [Thu, 12 Mar 2020 14:15:51 +0000 (10:15 -0400)]
Fix sigsegv in --mode=execute without parameters fixes #3319
and print out a descriptive error message
Jorge Pereira [Tue, 10 Mar 2020 17:31:31 +0000 (14:31 -0300)]
rlm_redis: Add missing 'database' parameter (#3316)
Alan T. DeKok [Mon, 9 Mar 2020 12:16:44 +0000 (08:16 -0400)]
use CS_INT for variable, as that's what the function takes
Instead of making the variable "int", and then casting it to
CS_INT when calling the function. That just won't work.
Matthew Newton [Sun, 8 Mar 2020 17:15:56 +0000 (17:15 +0000)]
Backport crossbuild
Rework so as to not affect existing Docker files
Alan T. DeKok [Sat, 7 Mar 2020 22:10:24 +0000 (17:10 -0500)]
Revert "Backport crossbuild scripts from v4 (#3011)"
This reverts commit
72d3bfdc7411cd7ea3c78582d7295c088c38f80a .
These changes break the existing docker images in v3.
Back-porting the crossbuild stuff is useful, but we might need
to just create a new `scripts/crossbuild` directory for it
Matthew Newton [Sat, 7 Mar 2020 19:00:34 +0000 (19:00 +0000)]
fix typo
Alan T. DeKok [Fri, 6 Mar 2020 14:38:07 +0000 (09:38 -0500)]
add debug message
Arran Cudbard-Bell [Wed, 4 Mar 2020 18:53:54 +0000 (12:53 -0600)]
Update dictionary.erx (#3313)
Refreshed against upstream documentation linked in the comments.
Also attribute ERX-Cos-Shaping-Rate (177) seen on the wire.
Alan T. DeKok [Tue, 3 Mar 2020 18:15:00 +0000 (13:15 -0500)]
whoops... add 'c' and 'C' to the parser, too. Fixes #3308
Jorge Pereira [Tue, 3 Mar 2020 00:39:14 +0000 (21:39 -0300)]
Fix typo, it's supposed to be PROC_TRACE_STATUS (#3302)
Jorge Pereira [Mon, 2 Mar 2020 21:17:18 +0000 (18:17 -0300)]
Backport crossbuild scripts from v4 (#3011)
* Append the prefix 'build-' to the containers
The scheme was copied from 'master' during the backport. we are just
keeping the same prefix expected by 'crossbuild.mk'
* Backport crossbuild.mk
The files were copied over verbatim.
* Backport Dockerfiles split in .deps as needed by crossbuild.mk
That scheme was copied from 'master' being necessary to create
a common container with all dependencies (Dockerfile.deps) and
the Dockerfile use for running the instance with the FreeRADIUS
service.
* Add systemd tests
It will add capability to spin a docker container running the systemd
service and build/install the respective package doing basic tests like
start/stop/restart and checking if the service has been properly
registered.
Alan T. DeKok [Fri, 28 Feb 2020 15:54:14 +0000 (10:54 -0500)]
enable / show core dumps on FreeBSD. Helps with #3279
Alan T. DeKok [Fri, 28 Feb 2020 15:52:41 +0000 (10:52 -0500)]
check for <sys/procctl.h>
Alan T. DeKok [Fri, 28 Feb 2020 13:03:49 +0000 (08:03 -0500)]
added %c and %C
Matthew Newton [Fri, 28 Feb 2020 11:29:10 +0000 (11:29 +0000)]
Merge pull request #3301 from jpereira/v3/typo1
Typo
Matthew Newton [Thu, 27 Feb 2020 13:54:59 +0000 (13:54 +0000)]
fix crash when no previous regex seen
Jorge Pereira [Fri, 28 Feb 2020 03:32:26 +0000 (00:32 -0300)]
Typo
Alan T. DeKok [Wed, 26 Feb 2020 23:16:01 +0000 (18:16 -0500)]
vsnprintf() returns length of what it WOULD have written
Alan T. DeKok [Wed, 26 Feb 2020 22:57:41 +0000 (17:57 -0500)]
better checks for end of buffer
Alan T. DeKok [Sun, 23 Feb 2020 13:57:01 +0000 (14:57 +0100)]
don't print out signed numbers for hex data
Alan T. DeKok [Fri, 14 Feb 2020 15:55:07 +0000 (10:55 -0500)]
notes for Mongo
Alan T. DeKok [Thu, 13 Feb 2020 14:41:54 +0000 (09:41 -0500)]
note recent changes
Alan T. DeKok [Thu, 13 Feb 2020 14:38:03 +0000 (09:38 -0500)]
port changes from master
Jorge Pereira [Tue, 11 Feb 2020 17:28:48 +0000 (14:28 -0300)]
Fix libpython2 cross platform load. ref #3284 (#3290)
Jorge Pereira [Tue, 11 Feb 2020 01:07:50 +0000 (22:07 -0300)]
Update Arista dictionary ref #3278 (#3287)
Jorge Pereira [Tue, 11 Feb 2020 01:07:30 +0000 (22:07 -0300)]
Added ability to rlm_python show a stacktrace from errors. (#3285)
Backport from
66e2b9935d51dba8f88b7c09bc5afc8d2c9c288e
Jorge Pereira [Mon, 10 Feb 2020 01:02:26 +0000 (22:02 -0300)]
Fix libpython3 cross platform load (#3284)
Jorge Pereira [Sun, 9 Feb 2020 00:50:11 +0000 (21:50 -0300)]
Fix rlm_python issue in the detach() callback. (#3286)
1. "if (code < 0)" is wrong. e.g: the RLM_MODULE_FAIL is 1.
2. Call python_error_log() when got error to execute the scripts.
Jorge Pereira [Fri, 7 Feb 2020 01:54:53 +0000 (22:54 -0300)]
Update dictionary.wimax attributes
It was based on the image "[0105] FIG. 9" in https://patents.google.com/patent/WO2009155120A2/en
Jorge Pereira [Thu, 6 Feb 2020 20:59:11 +0000 (17:59 -0300)]
Fix WiMAX-MSK attribute
Alan T. DeKok [Tue, 4 Feb 2020 20:35:45 +0000 (15:35 -0500)]
Revert "Fix memory leak in client_add()"
This reverts commit
5060586436c19ed86d7e2bd598d365844d866adf .
not a memory leak
Alan T. DeKok [Mon, 3 Feb 2020 20:05:00 +0000 (15:05 -0500)]
show coa stats, too
Alan T. DeKok [Mon, 3 Feb 2020 02:27:48 +0000 (21:27 -0500)]
remove text about LM-Password
Terry Burton [Fri, 24 Jan 2020 15:47:54 +0000 (15:47 +0000)]
Reference the sqlippool module by its name in the default site
The default configuraton for the sqlippool module creates the module
directly rather using a named instance so the main_pool name does not
resolve to a module.
Pools are usually differentiated using the Pool-Name control attribute
such that only a single instance is normally required. Multiple
instances are only required where multiple pool have different backend
databases or IP allocation policies (queries, etc.)
Terry Burton [Thu, 23 Jan 2020 19:22:12 +0000 (19:22 +0000)]
Oracle sqlippools: Many query fixes and align schema and SP with other drivers (#3269)
SP-based IP allocation giving of the order of 500 allocs/sec without
specific DB tuning. (Using Docker on a development laptop.)
Alan T. DeKok [Tue, 21 Jan 2020 13:02:48 +0000 (08:02 -0500)]
typo. Fixes #3268
Terry Burton [Tue, 21 Jan 2020 02:21:20 +0000 (02:21 +0000)]
SQLite schema extensions and script for processing radacct: Data usage per period (#3266)
Provides a table, indexes and SP for extracting per-user data usage within
arbitrary periods using the standard radacct table entries.
Terry Burton [Sat, 18 Jan 2020 02:56:32 +0000 (02:56 +0000)]
MSSQL schema extensions for processing radacct: Data usage per period (#3259) (#3264)
Provides a table, indexes and SP for extracting per-user data usage within
arbitrary periods using the standard radacct table entries.
Terry Burton [Fri, 17 Jan 2020 21:36:32 +0000 (21:36 +0000)]
PostgreSQL schema extensions for processing radacct: Data usage per period (#3262)
Provides a table, index and SP for extracting per-user data usage within
arbitrary periods using the standard radacct table entries.
Terry Burton [Fri, 17 Jan 2020 21:36:25 +0000 (21:36 +0000)]
Oracle schema extensions for processing radacct: Data usage per period (#3261)
Provides a table, indexes and SP for extracting per-user data usage within
arbitrary periods using the standard radacct table entries.
Terry Burton [Fri, 17 Jan 2020 21:36:19 +0000 (21:36 +0000)]
MySQL schema extensions for processing radacct: Data usage per period (#3241) (#3260)
Provides a table, index and SP for extracting per-user data usage within
arbitrary periods using the standard radacct table entries.
Terry Burton [Fri, 17 Jan 2020 17:00:50 +0000 (17:00 +0000)]
rlm_postgresql: Bound the total query time on non-Linux systems too (#3253)
* rlm_postgresql: Bound the total query time on non-Linux systems too
Non-Linux systems do not decrease the timeval passed in the timeout parameter
to select, so we keep track of the elapsed time ourselves.
* Move file static instances of tv_sub in the server into util.c
Stefan Paetow [Fri, 17 Jan 2020 02:47:32 +0000 (02:47 +0000)]
Update dictionary.fortinet (#3244)
Found an updated Fortinet dictionary. Added details to FreeRADIUS
Stefan Paetow [Fri, 17 Jan 2020 02:47:23 +0000 (02:47 +0000)]
Update dictionary.aerohive (#3245)
Updated dictionary with values from http://docs.aerohive.com/330000/docs/help/english/ng/Content/reference/docs/radius-dictionary.htm
Jorge Pereira [Thu, 16 Jan 2020 23:57:32 +0000 (20:57 -0300)]
Just call Py_DECREF() (#3199)
Jorge Pereira [Thu, 16 Jan 2020 23:53:34 +0000 (20:53 -0300)]
note recent changes for Python3 issues (#3200)
Jorge Pereira [Thu, 16 Jan 2020 23:45:59 +0000 (20:45 -0300)]
Fix typo (#3251)
Matthew Newton [Thu, 9 Jan 2020 17:28:24 +0000 (17:28 +0000)]
install RPM deps on centos6
Matthew Newton [Thu, 9 Jan 2020 17:18:56 +0000 (17:18 +0000)]
add centos6 back into the jenkins autobuild
Matthew Newton [Thu, 9 Jan 2020 16:29:55 +0000 (16:29 +0000)]
allow building RPMs for centos6 again
hiredis(-devel) isn't easily available anymore on cento6, so
just skip building redis package there
Alan T. DeKok [Thu, 9 Jan 2020 14:04:44 +0000 (09:04 -0500)]
Remove incorrect examples. Closes #3243
Alan T. DeKok [Wed, 8 Jan 2020 03:16:06 +0000 (22:16 -0500)]
allow "parent=" to be compatible with v4
since people are starting to use these attributes, it's best
to be future-proof
Alan T. DeKok [Sat, 4 Jan 2020 13:33:51 +0000 (08:33 -0500)]
add URL for reference
Terry Burton [Mon, 6 Jan 2020 16:36:26 +0000 (16:36 +0000)]
Fix swapped attribute filter parameters. (#3235)
Alan T. DeKok [Fri, 3 Jan 2020 02:03:28 +0000 (21:03 -0500)]
manual pull from master branch
Stefan Winter [Tue, 31 Dec 2019 13:44:43 +0000 (14:44 +0100)]
add policy OIDs for more secure server cert validation requirements
This is part of the Wi-Fi Alliance Technical Specification for Wi-Fi Certified WPA3 Security December 2019 release. See https://www.wi-fi.org/discover-wi-fi/security ("WPA3 Specification" - no paywall)
Alan T. DeKok [Thu, 19 Dec 2019 14:19:39 +0000 (09:19 -0500)]
fix typo in check for utf8-character. Found by PVS-Studio
Matthew Newton [Mon, 16 Dec 2019 22:03:17 +0000 (22:03 +0000)]
add missing REXDENT
RINDENT has been lonely for 5 years
Matthew Newton [Mon, 16 Dec 2019 11:50:10 +0000 (11:50 +0000)]
don't try and build rlm_python3 if we can't configure it
Jorge Pereira [Wed, 11 Dec 2019 00:21:24 +0000 (21:21 -0300)]
Clean up (#3197)
Jorge Pereira [Wed, 11 Dec 2019 00:13:45 +0000 (21:13 -0300)]
Add missing 'ifdef WITH_PROXY' checks (#3198)
Jorge Pereira [Wed, 11 Dec 2019 00:11:16 +0000 (21:11 -0300)]
Fix Py_SetProgramName() use (#3196)
As the documentation says, the use of Py_SetProgramName() with wchar_t*
should be only from Python >= 3.5.x
References:
Python <= 3.4.x https://docs.python.org/3.4/extending/embedding.html#very-high-level-embedding
Python >= 3.5.x https://docs.python.org/3.5/extending/embedding.html#very-high-level-embedding
Alan T. DeKok [Tue, 10 Dec 2019 21:44:49 +0000 (16:44 -0500)]
nope.
Alan T. DeKok [Tue, 10 Dec 2019 21:44:23 +0000 (16:44 -0500)]
note recent changes
Jorge Pereira [Tue, 10 Dec 2019 19:48:07 +0000 (16:48 -0300)]
Fix missing destroy for some statements
Jorge Pereira [Tue, 10 Dec 2019 19:40:13 +0000 (16:40 -0300)]
Don't call if 'instantiate' and 'detach' are not declared.
It's related to the discussion in #3185.
Jorge Pereira [Tue, 10 Dec 2019 14:45:47 +0000 (11:45 -0300)]
Update Pica8 dictionary
Jorge Pereira [Mon, 9 Dec 2019 19:33:52 +0000 (16:33 -0300)]
Remove unnecessary src/modules/rlm_python3/radiusd_test.py
Jorge Pereira [Thu, 5 Dec 2019 22:49:30 +0000 (19:49 -0300)]
Backport from rlm_python (#3184) changes to rlm_python3
Brief:
We should append the 'python_path' to sys.path #3180
we should append 'python_path' paths in 'sys.path', due to PySys_SetPath()
reset the entire python path causing problems to use the existing libraries
Jorge Pereira [Wed, 4 Dec 2019 23:42:57 +0000 (20:42 -0300)]
We should append the 'python_path' to sys.path #3180
The PySys_SetPath() reset the entire python path causing
problems to use the existing libraries.
Therefore, we should split the 'python_path' paths and
append into 'sys.path'. It is the correct way to keep
the default paths allowing to use existing libraries
Jorge Pereira [Thu, 5 Dec 2019 18:06:09 +0000 (15:06 -0300)]
Keep the module directory in python_path
Jorge Pereira [Thu, 5 Dec 2019 19:02:18 +0000 (16:02 -0300)]
Fix rlm_python3 build
Just backporting from the master branch.
Alan T. DeKok [Tue, 10 Dec 2019 21:37:34 +0000 (16:37 -0500)]
use Valid-Since for consistency. Minor edits to #3157
Boris Lytochkin [Sat, 23 Nov 2019 15:27:56 +0000 (18:27 +0300)]
Add TLS-Client-Cert-ValidSince attribute holding notBefore date.
Boris Lytochkin [Sat, 7 Dec 2019 20:50:19 +0000 (23:50 +0300)]
use fr_bin2hex() instead of home-breed loop
Boris Lytochkin [Sat, 23 Nov 2019 15:22:15 +0000 (18:22 +0300)]
generate OID-containing attributes for unknown to OpenSSL X509v3
extensions if user wants them explicitly.
Alan T. DeKok [Fri, 6 Dec 2019 14:12:18 +0000 (09:12 -0500)]
added dictionary. Closes #3179
Alan T. DeKok [Fri, 6 Dec 2019 13:57:24 +0000 (08:57 -0500)]
no, this shouldn't have been commited
Alan T. DeKok [Fri, 6 Dec 2019 12:19:27 +0000 (07:19 -0500)]
Revert "be more aggressive with conflicting packets."
This reverts commit
36656cc39f52dbc79f8b373d313281144eef205b .
nope, doesn't help.
Matthew Newton [Thu, 5 Dec 2019 19:12:32 +0000 (19:12 +0000)]
typo
Matthew Newton [Thu, 5 Dec 2019 19:06:42 +0000 (19:06 +0000)]
note recent changes