]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Tue, 23 Jul 2024 17:46:54 +0000 (19:46 +0200)]
[#3483] Updated RBAC doc
Francis Dupont [Tue, 23 Jul 2024 17:25:01 +0000 (19:25 +0200)]
[#3483] Renamed CA callouts
Francis Dupont [Wed, 21 Aug 2024 18:35:35 +0000 (20:35 +0200)]
[#1764] Address comments
Francis Dupont [Sun, 4 Aug 2024 14:29:59 +0000 (16:29 +0200)]
[#1764] More shared server
Francis Dupont [Sun, 4 Aug 2024 13:39:03 +0000 (15:39 +0200)]
[#1764] Shared server
Francis Dupont [Sun, 4 Aug 2024 12:02:16 +0000 (14:02 +0200)]
[#1764] Shared client
Francis Dupont [Sat, 3 Aug 2024 11:07:34 +0000 (13:07 +0200)]
[#1764] Shared http and tls
Francis Dupont [Fri, 2 Aug 2024 15:26:17 +0000 (17:26 +0200)]
[#1764] Shared common setting
Andrei Pavel [Thu, 22 Aug 2024 07:23:46 +0000 (10:23 +0300)]
[#3547] hammer.py: wait for start-stop-daemon/mysqld_safe to exit
Attempt to fix `start-stop-daemon: /usr/bin/mysqld_safe is already running`
Francis Dupont [Wed, 21 Aug 2024 15:03:15 +0000 (17:03 +0200)]
[#3502] Added a ChangeLog entry
Francis Dupont [Wed, 21 Aug 2024 13:27:40 +0000 (15:27 +0200)]
[#3502] Additional updates
Francis Dupont [Wed, 21 Aug 2024 13:12:28 +0000 (15:12 +0200)]
[#3502] Addressed comments
Francis Dupont [Thu, 8 Aug 2024 07:39:00 +0000 (09:39 +0200)]
[#3502] Updated misc UTs
Francis Dupont [Wed, 7 Aug 2024 19:49:42 +0000 (19:49 +0000)]
[#3502] Regen flex/bison
Francis Dupont [Wed, 7 Aug 2024 19:49:16 +0000 (21:49 +0200)]
[#3502] Checkpoint before final regen
Francis Dupont [Wed, 7 Aug 2024 19:33:44 +0000 (19:33 +0000)]
[#3502] Regen flex/bison
Francis Dupont [Wed, 7 Aug 2024 19:33:09 +0000 (21:33 +0200)]
[#3502] Checkpoint before regen
Francis Dupont [Wed, 7 Aug 2024 17:54:55 +0000 (17:54 +0000)]
[#3502] Regen flex/bison
Francis Dupont [Wed, 7 Aug 2024 17:54:07 +0000 (19:54 +0200)]
[#3502] Checkpoint: changed strict- by s
Francis Dupont [Wed, 7 Aug 2024 17:27:45 +0000 (19:27 +0200)]
[#3502] Checkpoint: add strict-* syntax
Francis Dupont [Wed, 7 Aug 2024 15:27:47 +0000 (17:27 +0200)]
[#3502] Checkpoint: syntax to do
Francis Dupont [Wed, 7 Aug 2024 13:38:27 +0000 (15:38 +0200)]
[#3502] Checkpoint: added branch
Francis Dupont [Wed, 7 Aug 2024 12:02:47 +0000 (14:02 +0200)]
[#3502] Checkpoint: added testEvaluate
Francis Dupont [Wed, 7 Aug 2024 10:37:30 +0000 (12:37 +0200)]
[#3502] Checkpoint: added label
Francis Dupont [Wed, 21 Aug 2024 09:17:31 +0000 (11:17 +0200)]
[#3477] Addressed comments
Francis Dupont [Sat, 10 Aug 2024 10:46:25 +0000 (12:46 +0200)]
[#3477] Updated shell.rst
Francis Dupont [Thu, 1 Aug 2024 17:35:34 +0000 (19:35 +0200)]
[#3477] Added a ChangeLog entry
Francis Dupont [Tue, 30 Jul 2024 12:38:46 +0000 (14:38 +0200)]
[#3477] First attempt
Francis Dupont [Wed, 21 Aug 2024 08:07:03 +0000 (10:07 +0200)]
[#3478] Address the comment
Francis Dupont [Fri, 2 Aug 2024 14:37:57 +0000 (16:37 +0200)]
[#3478] Finished server side
Francis Dupont [Wed, 31 Jul 2024 19:53:39 +0000 (21:53 +0200)]
[#3478] Checkpoint: added logs
Francis Dupont [Wed, 31 Jul 2024 19:22:37 +0000 (21:22 +0200)]
[#3478] Checkpoint: server connection
Francis Dupont [Wed, 31 Jul 2024 11:53:01 +0000 (13:53 +0200)]
[#3478] Checkpoint: handle acceptor
Francis Dupont [Wed, 31 Jul 2024 10:34:09 +0000 (12:34 +0200)]
[#3478] Added getNative() to HTTP listener
Andrei Pavel [Tue, 20 Aug 2024 09:13:48 +0000 (12:13 +0300)]
[#2882] print error on kea-admin db-upgrade
Andrei Pavel [Tue, 13 Aug 2024 11:06:25 +0000 (14:06 +0300)]
[#2882] add ChangeLog entry
Andrei Pavel [Tue, 13 Aug 2024 10:36:16 +0000 (13:36 +0300)]
[#2882] fix pgsql_unused_subnet_id_test
Adding `--set ON_ERROR_STOP=1` to `pgsql_upgrade` made `pgsql_unused_subnet_id` fail while attempting to upgrade a 4.0 schema with some data to the latest schema.
```
Processing src/share/database/scripts/pgsql/upgrade_003.3_to_004.0.sh file...
Schema upgraded to 4.0
NOTICE: index "key_dhcp4_ipv4_address_subnet_id" does not exist, skipping
ERROR: insert or update on table "dhcp6_options" violates foreign key constraint "fk_dhcp6_options_subnet"
DETAIL: Key (dhcp6_subnet_id)=(6) is not present in table "dhcp6_subnet".
```
The test is not trying to cover a negative scenario as far as I can tell.
It seems that in the end, the schema ended up being upgraded to the target version of the last script that worked without errors, in this case 7.0. It tried to advance to other upgrade scripts, but skipped them because of versions mismatch.
```
Processing src/share/database/scripts/pgsql/upgrade_007_to_008.sh file...
Processing src/share/database/scripts/pgsql/upgrade_008_to_009.sh file...
This script upgrades 8.0 to 9.0. Reported version is 7.0. Skipping upgrade.
[...]
Processing src/share/database/scripts/pgsql/upgrade_023_to_024.sh file...
This script upgrades 23.0 to 24.0. Reported version is 7.0. Skipping upgrade.
Schema version reported after upgrade: 7.0
```
Previously, the error was not reported by the testing framework because it was also ignored by kea-admin.
Now, it is consistent with the MySQL behavior in kea-admin and it no longer ignores upgrade errors.
You can see the same upgrade done to a prior version done in the equivalent test `mysql_unused_subnet_id_test`.
Andrei Pavel [Tue, 13 Aug 2024 08:57:00 +0000 (11:57 +0300)]
[#2882] fix -P|--port flag in kea-admin
Andrei Pavel [Tue, 13 Aug 2024 08:23:15 +0000 (11:23 +0300)]
[kea-packaging#8] hammer: stop mariadb before setup
Attempt to fix `start-stop-daemon: /usr/bin/mysqld_safe is already running`
Andrei Pavel [Mon, 12 Aug 2024 16:56:02 +0000 (19:56 +0300)]
[kea-packaging#8] show logs when _STARTED Kea not found
Also make reading of logs more pythonic.
Francis Dupont [Thu, 8 Aug 2024 18:08:30 +0000 (20:08 +0200)]
[#3490] Use a parser on response
Francis Dupont [Thu, 8 Aug 2024 14:31:13 +0000 (16:31 +0200)]
[#3490] Addressed cosmetic comments
Francis Dupont [Sun, 4 Aug 2024 13:34:26 +0000 (15:34 +0200)]
[#3490] Missing inheritance
Francis Dupont [Thu, 1 Aug 2024 08:26:03 +0000 (10:26 +0200)]
[#3490] Post rebase updates
Francis Dupont [Tue, 23 Jul 2024 15:00:32 +0000 (17:00 +0200)]
[#3490] Fixed clients for large bodies
Francis Dupont [Mon, 22 Jul 2024 08:23:30 +0000 (10:23 +0200)]
[#3490] Added testutils/Makefile.am to git
Francis Dupont [Mon, 22 Jul 2024 08:10:10 +0000 (10:10 +0200)]
[#3490] Added testutils in Makefile.am
Francis Dupont [Fri, 19 Jul 2024 17:29:33 +0000 (19:29 +0200)]
[#3490] Moved the HTTPS variant
Francis Dupont [Fri, 19 Jul 2024 17:00:49 +0000 (19:00 +0200)]
[#3490] Renamed TestHttp[s]Client
Francis Dupont [Fri, 19 Jul 2024 16:41:51 +0000 (18:41 +0200)]
[#3490] Moved to http/testutils
Andrei Pavel [Thu, 8 Aug 2024 09:15:48 +0000 (12:15 +0300)]
[#3470] unrelated: wait for "mariadb setup"/mysqld_safe to complete before restarting mariadb in alpine
Attempt to fix `start-stop-daemon: /usr/bin/mysqld_safe is already running`
Andrei Pavel [Thu, 8 Aug 2024 07:46:46 +0000 (10:46 +0300)]
[#3470] hammer: install postgresql only if not already installed
Andrei Pavel [Thu, 27 Jun 2024 12:43:30 +0000 (15:43 +0300)]
[#3470] make hammer.py work better with freebsd 14+
- Remove unnecessary `SET PASSWORD` for mysql
- Remove redundant `sysrc postgresql_enable=yes`. It is done later when
enabling the service.
- Determine `/var/db/postgres/data*` using glob.
- Add `interactive=true` to onestart command.
Thomas Markwalder [Wed, 7 Aug 2024 16:02:11 +0000 (16:02 +0000)]
[#3492] FIxed missed comments.
Thomas Markwalder [Wed, 7 Aug 2024 13:58:19 +0000 (13:58 +0000)]
[#3492] Addressed review comments
Fixed ChangeLog, UT, and minor cleanups
Thomas Markwalder [Tue, 6 Aug 2024 13:21:27 +0000 (13:21 +0000)]
[#3492] ChangeLog and cleanup
Thomas Markwalder [Mon, 5 Aug 2024 19:53:14 +0000 (19:53 +0000)]
[#3492] Extend lenient parser check to FQDN types
/src/lib/dhcp/libdhcp++.cc
LibDHCP::unpackOptions4()
LibDHCP::unpackOptions6() - split out throw so we can emit
a more helpful log on parser errors
/src/lib/dhcp/option.h
Added OptionParseError exception
/src/lib/dhcp/option_custom.cc
OptionCustom::bufferLength()
- add throw of SkipThisOptionError if lenient parsing enabled
for OPT_FQDN_TYPE errors
/src/lib/dhcp/option_definition.cc
OptionDefinition::factoryFqdnList()
- add throw of SkipThisOptionError if lenient parsing enabled
/src/lib/dhcp/tests/libdhcp++_unittest.cc
TEST_F(LibDhcpTest, unpackOptions4LenientFqdn)
TEST_F(LibDhcpTest, unpackOptions6LenientFqdn) - new tests
/src/lib/dhcp/tests/option_custom_unittest.cc
TEST_F(OptionCustomTest, fqdnData) - check lenient parsing behavior
Slawek Figiel [Thu, 1 Aug 2024 19:47:32 +0000 (21:47 +0200)]
[#3522] Simplify entry template
Slawek Figiel [Thu, 1 Aug 2024 19:15:50 +0000 (21:15 +0200)]
[#3522] Add square brackets
Slawek Figiel [Thu, 1 Aug 2024 15:28:46 +0000 (17:28 +0200)]
[#3522] Modify docs
Slawek Figiel [Mon, 29 Jul 2024 14:19:07 +0000 (16:19 +0200)]
[#3522] Fix whitespace
Slawek Figiel [Mon, 29 Jul 2024 14:08:44 +0000 (16:08 +0200)]
[#3522] Update devel docs
Slawek Figiel [Mon, 29 Jul 2024 10:52:31 +0000 (12:52 +0200)]
[#3522] Add ChangeLog entry template as gitkeep
Francis Dupont [Wed, 31 Jul 2024 07:56:18 +0000 (09:56 +0200)]
[#3477] Set DHCPv6 HTTP default addres to ::1
Francis Dupont [Wed, 31 Jul 2024 07:49:32 +0000 (09:49 +0200)]
[#3477] Changed write-config to config-write
Francis Dupont [Tue, 30 Jul 2024 16:01:25 +0000 (18:01 +0200)]
[#3477] Aligned v4 and v6 unit test files
Francis Dupont [Tue, 30 Jul 2024 13:02:08 +0000 (15:02 +0200)]
[#3477] Last fixes before 2.7.2
Francis Dupont [Tue, 30 Jul 2024 08:39:37 +0000 (10:39 +0200)]
[#3477] Addressed comments
Francis Dupont [Tue, 23 Jul 2024 14:32:08 +0000 (16:32 +0200)]
[#3477] Making socket name/address exclusive (2)
Francis Dupont [Tue, 23 Jul 2024 14:02:04 +0000 (14:02 +0000)]
[#3477] Regen bison
Francis Dupont [Tue, 23 Jul 2024 13:57:34 +0000 (15:57 +0200)]
[#3477] Making socket name/address exclusive (1)
Francis Dupont [Tue, 23 Jul 2024 13:11:02 +0000 (15:11 +0200)]
[#3477] Typos (Razvan's proposals)
Francis Dupont [Tue, 23 Jul 2024 12:55:20 +0000 (14:55 +0200)]
[#3477] Updated logs (Razvan's proposal)
Francis Dupont [Tue, 23 Jul 2024 12:45:15 +0000 (14:45 +0200)]
[#3477] Addressed comments
Francis Dupont [Tue, 23 Jul 2024 08:33:18 +0000 (10:33 +0200)]
[#3477] Fixed Botan build
Francis Dupont [Tue, 23 Jul 2024 08:06:34 +0000 (10:06 +0200)]
[#3477] Fixed checkConfigFiles
Francis Dupont [Mon, 22 Jul 2024 21:32:22 +0000 (23:32 +0200)]
[#3477] Addressed auth parsing issue
Francis Dupont [Mon, 22 Jul 2024 20:08:10 +0000 (22:08 +0200)]
[#3477] Addressed some comments
Razvan Becheriu [Mon, 22 Jul 2024 17:24:03 +0000 (20:24 +0300)]
[#3477] fixed comments and unittests
Francis Dupont [Tue, 9 Jul 2024 18:43:12 +0000 (20:43 +0200)]
[#3477] Finished unit tests
Francis Dupont [Tue, 9 Jul 2024 15:00:57 +0000 (17:00 +0200)]
[#3477] Checkpoint: finished d2 UTs
Francis Dupont [Tue, 9 Jul 2024 11:17:09 +0000 (13:17 +0200)]
[#3477] Checkpoint: added d2 UTs
Francis Dupont [Tue, 9 Jul 2024 08:17:20 +0000 (10:17 +0200)]
[#3477] Checkpoint: fixed timeouts
Francis Dupont [Mon, 8 Jul 2024 18:13:56 +0000 (20:13 +0200)]
[#3477] Checkpoint: updating servers
Francis Dupont [Mon, 8 Jul 2024 16:32:40 +0000 (18:32 +0200)]
[#3477] Checkpoint: finished libconfig
Francis Dupont [Mon, 8 Jul 2024 11:44:53 +0000 (13:44 +0200)]
[#3477] Checkpoint: added HttpCommandMgr UTs
Francis Dupont [Sun, 7 Jul 2024 22:22:20 +0000 (00:22 +0200)]
[#3477] Added some libconfig UTs
Francis Dupont [Sat, 6 Jul 2024 20:29:52 +0000 (22:29 +0200)]
[#3477] Checkpoint: did libconfig
Francis Dupont [Fri, 5 Jul 2024 17:19:46 +0000 (19:19 +0200)]
[#3477] Introduced a new config class
Francis Dupont [Thu, 4 Jul 2024 17:47:08 +0000 (19:47 +0200)]
[#3477] Updated d2 and some UTs
Francis Dupont [Thu, 4 Jul 2024 15:28:58 +0000 (15:28 +0000)]
[#3477] Regen flex/bison
Francis Dupont [Thu, 4 Jul 2024 15:28:17 +0000 (17:28 +0200)]
[#3477] Checkpoint before regen (2)
Francis Dupont [Thu, 4 Jul 2024 15:17:31 +0000 (17:17 +0200)]
[#3477] Checkpoint before regen
Francis Dupont [Thu, 4 Jul 2024 14:33:30 +0000 (16:33 +0200)]
[#3477] Moved to control-sockets
Francis Dupont [Thu, 4 Jul 2024 12:27:45 +0000 (12:27 +0000)]
[#3477] Regen flex/bison
Francis Dupont [Thu, 4 Jul 2024 12:26:51 +0000 (14:26 +0200)]
[#3477] Fixed dhcp6_parser.yy
Francis Dupont [Thu, 4 Jul 2024 12:18:01 +0000 (14:18 +0200)]
[#3477] Checkpoint before regen
Francis Dupont [Thu, 4 Jul 2024 11:39:28 +0000 (13:39 +0200)]
[#3477] Updated dhcp4 syntax
Francis Dupont [Wed, 3 Jul 2024 22:47:13 +0000 (00:47 +0200)]
[#3477] Checkpoint: todo syntax UTs
Francis Dupont [Wed, 3 Jul 2024 22:34:20 +0000 (22:34 +0000)]
[#3477] Regen flex/bison