]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Thu, 17 Sep 2020 15:43:06 +0000 (10:43 -0500)]
Fixup start pointers on fr_sbuff_shift
Nick Porter [Tue, 8 Sep 2020 12:02:38 +0000 (13:02 +0100)]
Add script to read fixed leases from ISC DHCP config
Nick Porter [Tue, 8 Sep 2020 11:04:45 +0000 (12:04 +0100)]
Amend script to reflect new pool tables
Nick Porter [Tue, 8 Sep 2020 10:41:34 +0000 (11:41 +0100)]
Add DBD comment to man page
Nick Porter [Tue, 8 Sep 2020 10:36:02 +0000 (11:36 +0100)]
Man page for script
Nick Porter [Tue, 8 Sep 2020 10:29:35 +0000 (11:29 +0100)]
Add RPM prerequisites
Nick Porter [Tue, 8 Sep 2020 10:26:55 +0000 (11:26 +0100)]
deb config for rlm_sqlippool_tool
Nick Porter [Tue, 8 Sep 2020 10:20:40 +0000 (11:20 +0100)]
Add script to make file
Nick Porter [Tue, 8 Sep 2020 10:14:45 +0000 (11:14 +0100)]
New IP Pool SQL helper script
An amalgamated version of generate_pool_addresses.pl and
align_sql_pools.pl suitable for adding to packaged distributions
Alan T. DeKok [Wed, 16 Sep 2020 13:48:40 +0000 (09:48 -0400)]
don't track duplicates for TCP
Alan T. DeKok [Wed, 16 Sep 2020 12:53:44 +0000 (08:53 -0400)]
it helps to return an error
Nick Porter [Mon, 14 Sep 2020 08:18:41 +0000 (09:18 +0100)]
Add explanitory comment to update_update query
Nick Porter [Fri, 11 Sep 2020 12:51:35 +0000 (13:51 +0100)]
Add counter to DHCP ippool schema
By updating a counter every time a REQUEST is responded to successfully
we ensure that records are changed, thus all database engines return an
affected row count of 1 for successful matches. This safeguards the new
DHCP site config which uses the affected row count to determine between
ACK and NAK responses.
Nick Porter [Thu, 10 Sep 2020 16:33:48 +0000 (17:33 +0100)]
Correct stored procedure calling
Nick Porter [Thu, 10 Sep 2020 15:33:51 +0000 (16:33 +0100)]
Oracle DHCP queries
Nick Porter [Thu, 10 Sep 2020 15:11:11 +0000 (16:11 +0100)]
MySQL DHCP query updates
Nick Porter [Thu, 10 Sep 2020 14:33:27 +0000 (15:33 +0100)]
MS SQL DHCP queries
Nick Porter [Thu, 10 Sep 2020 14:12:58 +0000 (15:12 +0100)]
SQLite DHCP query updates
Nick Porter [Thu, 10 Sep 2020 13:57:53 +0000 (14:57 +0100)]
PostgreSQL DHCP query updates
Nick Porter [Thu, 10 Sep 2020 13:55:01 +0000 (14:55 +0100)]
Improve comments on dhcp_sqlippool module and add extra items
Nick Porter [Thu, 10 Sep 2020 15:34:30 +0000 (16:34 +0100)]
Update template dhcp site to use common policy
Nick Porter [Thu, 10 Sep 2020 13:30:30 +0000 (14:30 +0100)]
Move common option setting into a policy
Alan T. DeKok [Wed, 16 Sep 2020 12:29:37 +0000 (08:29 -0400)]
check for consistency at bootstrap. Fixes #3639
We should probably just delete `track_duplicates`, and switch
to using the existence of the `track` function
Alan T. DeKok [Tue, 15 Sep 2020 15:30:32 +0000 (11:30 -0400)]
add more notes
Alan T. DeKok [Fri, 11 Sep 2020 18:04:52 +0000 (14:04 -0400)]
clarify the warning about using version 4
Alan T. DeKok [Fri, 11 Sep 2020 17:56:50 +0000 (13:56 -0400)]
PROTOCOLS is used elsewhere
so we use FUZZER_PROTOCOLS here
Alan T. DeKok [Fri, 11 Sep 2020 17:03:35 +0000 (13:03 -0400)]
add rules for fuzzer.PROTOCOL
when we don't have -fsanitize=fuzzer
as a way of being nice to people
Jorge Pereira [Fri, 11 Sep 2020 16:31:34 +0000 (13:31 -0300)]
ignore the fuzzer VMPS corpus file
Alan T. DeKok [Fri, 11 Sep 2020 13:06:48 +0000 (09:06 -0400)]
update notes on clients
Jorge Pereira [Fri, 11 Sep 2020 12:43:31 +0000 (09:43 -0300)]
fuzzer: Add VMPS corpus files to git LFS
Jorge Pereira [Fri, 11 Sep 2020 00:21:12 +0000 (21:21 -0300)]
:gear: vmps: Update raddb/sites-available/vmps
Jorge Pereira [Thu, 10 Sep 2020 17:40:45 +0000 (14:40 -0300)]
tacacs: Update missing suffix for tacas_proto test
Arran Cudbard-Bell [Thu, 10 Sep 2020 23:54:12 +0000 (18:54 -0500)]
Revert "Should now be fixed"
This reverts commit
13ebcd5b1b2e299ecba600a9f84dadc4e7f253eb .
Arran Cudbard-Bell [Thu, 10 Sep 2020 23:21:36 +0000 (18:21 -0500)]
Should now be fixed
Arran Cudbard-Bell [Thu, 10 Sep 2020 23:21:16 +0000 (18:21 -0500)]
Knowing when we can remove the entry would be good...
Alan T. DeKok [Thu, 10 Sep 2020 18:59:02 +0000 (14:59 -0400)]
make it faster
`make` is too stupid to do what we want. So instead we just
check manually for the output directory. And only do git-lfs
and un-tar if the output directory isn't already there.
Alan T. DeKok [Thu, 10 Sep 2020 17:40:22 +0000 (13:40 -0400)]
remove old docs
Jorge Pereira [Thu, 3 Sep 2020 22:28:10 +0000 (19:28 -0300)]
Suppress leak warnings in perl_construct() on OSX
it is happening with Perl >= 5.32.0 only on OSX
Alan T. DeKok [Thu, 10 Sep 2020 17:37:24 +0000 (13:37 -0400)]
update comments
Alan T. DeKok [Thu, 10 Sep 2020 17:36:29 +0000 (13:36 -0400)]
Revert "fuzzer: Update how to use it"
This reverts commit
dc122ed2c16ed8d090d40c79a09ad5f0a1eaaf13 .
Jorge Pereira [Thu, 10 Sep 2020 17:31:16 +0000 (14:31 -0300)]
fuzzer: Update how to use it
Alan T. DeKok [Thu, 10 Sep 2020 17:30:16 +0000 (13:30 -0400)]
add "fuzzer.help" target
Alan T. DeKok [Thu, 10 Sep 2020 17:12:12 +0000 (13:12 -0400)]
add "fuzzer.PROTOCOL" targets. Fixes #3637
which now check out the fuzzer corpus, and then run the fuzzer
binary against the data set.
Alan T. DeKok [Thu, 10 Sep 2020 17:07:50 +0000 (13:07 -0400)]
ignore the fuzzer corpus files
Alan T. DeKok [Thu, 10 Sep 2020 17:02:27 +0000 (13:02 -0400)]
use correct beginning for loop
Alan T. DeKok [Thu, 10 Sep 2020 15:19:23 +0000 (11:19 -0400)]
we don't need to re-add -fsanitize=fuzzer
Arran Cudbard-Bell [Thu, 10 Sep 2020 15:48:55 +0000 (10:48 -0500)]
fuzzer: Add corpus files to git LFS
Jorge Pereira [Wed, 9 Sep 2020 18:00:12 +0000 (15:00 -0300)]
:gear: vmps: Add fuzzer entrypoint for VMPS
Jorge Pereira [Wed, 9 Sep 2020 15:04:19 +0000 (12:04 -0300)]
:gear: vmps: Add tests for proto_vmps
Jorge Pereira [Mon, 7 Sep 2020 21:00:59 +0000 (18:00 -0300)]
:gear: vmps: Add decode/encode tests
Jorge Pereira [Mon, 7 Sep 2020 21:00:36 +0000 (18:00 -0300)]
:gear: vmps: Add encode test entrypoint
Jorge Pereira [Mon, 7 Sep 2020 20:50:00 +0000 (17:50 -0300)]
:gear: vmps: Add decode test entrypoint
Jorge Pereira [Mon, 7 Sep 2020 20:47:56 +0000 (17:47 -0300)]
:gear: vmps: Add fr_vqp_ctx_t type
Jorge Pereira [Wed, 9 Sep 2020 20:39:22 +0000 (17:39 -0300)]
:gear: vmps: Fix heap-overflow reported by LLVM-fuzzer
Jorge Pereira [Wed, 9 Sep 2020 16:19:08 +0000 (13:19 -0300)]
:gear: vmps: Fix the encode to use 'Error-Code'
It allows the user set the 'Error-Code'.
e.g: No-Error, Shutdown, Deny, ...
Jorge Pereira [Wed, 9 Sep 2020 03:15:47 +0000 (00:15 -0300)]
:gear: vmps: Fix fr_vmps_encode() to accept Sequence and Code attributes
It allows the user to use 'Packet-Type' (code) and Sequence-Number.
Jorge Pereira [Wed, 9 Sep 2020 02:25:13 +0000 (23:25 -0300)]
:gear: vmps: Fix fr_vmps_encode() attr checks
Jorge Pereira [Wed, 9 Sep 2020 00:17:31 +0000 (21:17 -0300)]
:gear: vmps: Fix fr_vmps_decode() return value
Jorge Pereira [Wed, 9 Sep 2020 01:55:59 +0000 (22:55 -0300)]
:gear: vmps: Fix VQP protocol tabulation
Jorge Pereira [Wed, 9 Sep 2020 16:18:34 +0000 (13:18 -0300)]
:gear: vmps: that fields shouldn't be 'internal'
Jorge Pereira [Mon, 7 Sep 2020 21:50:09 +0000 (18:50 -0300)]
:book: vmps: Add VQP-spec.txt document for reference
Jorge Pereira [Wed, 9 Sep 2020 18:11:29 +0000 (15:11 -0300)]
configure: Add sanitizer fuzzer support
Terry Burton [Thu, 10 Sep 2020 12:28:23 +0000 (13:28 +0100)]
process-radacct sqlite: Fix start of period calculation with no active sessions
Terry Burton [Thu, 10 Sep 2020 12:27:59 +0000 (13:27 +0100)]
process-radacct pgsql: Fix start of period calculation with no active sessions
Terry Burton [Thu, 10 Sep 2020 12:26:26 +0000 (13:26 +0100)]
process-radacct oracle: Fix start of period calculation with no active sessions
Terry Burton [Thu, 10 Sep 2020 12:26:12 +0000 (13:26 +0100)]
process-radacct mysql: Fix start of period calculation with no active sessions
Terry Burton [Thu, 10 Sep 2020 12:25:44 +0000 (13:25 +0100)]
process-radacct mssql: Fix start of period calculation with no active sessions
Arran Cudbard-Bell [Wed, 9 Sep 2020 14:00:16 +0000 (10:00 -0400)]
perl: Minor formatting fixes
Alan T. DeKok [Wed, 9 Sep 2020 13:13:19 +0000 (09:13 -0400)]
minor cleanups
James Jones [Thu, 20 Aug 2020 18:29:48 +0000 (13:29 -0500)]
Add fr_radius_ascend_secret_dbuff()
fr_radius_ascend_secret() is now a wrapper around
fr_radius_ascend_secret_dbuff(), so the latter is exercised
and the transition to (directly) use it needn't happen all
at once.
Alan T. DeKok [Wed, 9 Sep 2020 13:08:50 +0000 (09:08 -0400)]
move TACACS checks to tests/tacacs/all.mk
and add dependencies so that we don't re-run python on every build.
Alan T. DeKok [Tue, 8 Sep 2020 16:11:32 +0000 (12:11 -0400)]
add ADD_INSTALL_RULE.bin
in order to make it easier to install binaries
Jorge Pereira [Wed, 26 Aug 2020 18:57:29 +0000 (15:57 -0300)]
:rocket: tacacs: Add tests for TACACS+
Jorge Pereira [Wed, 26 Aug 2020 19:48:28 +0000 (16:48 -0300)]
:gear: tacacs_client: Add option to don't change the exit if failed
That option '--return-0-if-failed' is useful to use with scripts
catching only real errors.
Jorge Pereira [Thu, 3 Sep 2020 18:33:43 +0000 (15:33 -0300)]
:gear: travis: Add 'tacacs_plus' pip3 installation
Jorge Pereira [Thu, 3 Sep 2020 16:45:38 +0000 (13:45 -0300)]
mod_perl: Print out the version
It's helpful to know which version was linked.
Nick Porter [Tue, 8 Sep 2020 13:35:31 +0000 (14:35 +0100)]
Add alloc_requested and update_free queries
alloc_requested is an optional query that can be used to check for
availability of a requested IP address (as can happen in DHCP Discover).
update_free is an optional query that can be used to tidy up prior to
updating leases. Primarily intended for multi-server DHCP setups
sharing a common SQL back end which could result in multiple pool
addresses being offered to a client.
Nick Porter [Fri, 4 Sep 2020 07:39:07 +0000 (08:39 +0100)]
Fix "request" queries
Initial Request packets use Requested-IP-Address, whereas renewal ones
use Client-IP-Address
Nick Porter [Wed, 26 Aug 2020 09:10:26 +0000 (10:10 +0100)]
Publish generic methods
Nick Porter [Tue, 25 Aug 2020 11:07:08 +0000 (12:07 +0100)]
Update docs to match query names
Nick Porter [Tue, 25 Aug 2020 10:01:34 +0000 (11:01 +0100)]
Amend mark_update queries
Add pool_key to the query so that declines are only processed if the IP
address was offered to the client in question.
Nick Porter [Tue, 25 Aug 2020 09:56:32 +0000 (10:56 +0100)]
Rename mod_bulkrelease to mod_bulk_release plus query names
Nick Porter [Tue, 25 Aug 2020 09:27:05 +0000 (10:27 +0100)]
Remove un-used accouting methods
Nick Porter [Tue, 25 Aug 2020 09:22:10 +0000 (10:22 +0100)]
Rename mod_extend as mod_update, plus associated queries
Nick Porter [Tue, 25 Aug 2020 09:01:06 +0000 (10:01 +0100)]
Rename mod_allocate to mod_alloc, plus matching queries
Nick Porter [Wed, 19 Aug 2020 09:55:34 +0000 (10:55 +0100)]
Update howto
Nick Porter [Wed, 19 Aug 2020 09:37:34 +0000 (10:37 +0100)]
Remove un-needed .dflt="" and tidy configs
Nick Porter [Wed, 19 Aug 2020 09:11:02 +0000 (10:11 +0100)]
Correct comment
Nick Porter [Mon, 17 Aug 2020 18:46:14 +0000 (19:46 +0100)]
Set default _begin and _commit queries to blank
Most operations are carried out by single queries, so have no need to be
wrapped as transactions. The exception is Oracle where everything is a
transaction so wrap in "commit".
Nick Porter [Mon, 17 Aug 2020 16:28:58 +0000 (17:28 +0100)]
Update ippool queries to new names
Nick Porter [Mon, 17 Aug 2020 16:08:34 +0000 (17:08 +0100)]
Update DHCP queries to reflect new names
Nick Porter [Mon, 17 Aug 2020 15:01:13 +0000 (16:01 +0100)]
Add mod_release and mod_mark
Nick Porter [Mon, 17 Aug 2020 14:12:12 +0000 (15:12 +0100)]
Add mod_extend
Nick Porter [Fri, 14 Aug 2020 11:52:20 +0000 (12:52 +0100)]
Rename mod_post_auth to mod_allocate
To head towards generic functions referenced by each protocol
Nick Porter [Fri, 14 Aug 2020 11:49:37 +0000 (12:49 +0100)]
Error handling
Add v3 error handling
Nick Porter [Fri, 14 Aug 2020 11:41:42 +0000 (12:41 +0100)]
Return affected rows from sql command
Allows for the number of affected rows from update queries to be used to
detect success or failure of an update.
Also pulled in error checking from v3
Nick Porter [Fri, 14 Aug 2020 11:10:10 +0000 (12:10 +0100)]
Amend query sequence names
Make the query sequence names generic rather than protocol specific
Jorge Pereira [Tue, 8 Sep 2020 16:20:26 +0000 (13:20 -0300)]
:gear: vqp: Rename s/fr_vqp_/vr_vmps_/g'
Jorge Pereira [Tue, 8 Sep 2020 16:18:13 +0000 (13:18 -0300)]
:gear: vqp: Rename src/protocols/vqp to src/protocols/vmps
Let's keep everything as VMPS
Arran Cudbard-Bell [Tue, 8 Sep 2020 21:02:52 +0000 (17:02 -0400)]
perl: Strip fstack clash protection here too