]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
19 months ago[#3477] Added a ChangeLog entry
Francis Dupont [Thu, 1 Aug 2024 17:35:34 +0000 (19:35 +0200)] 
[#3477] Added a ChangeLog entry

19 months ago[#3477] First attempt
Francis Dupont [Tue, 30 Jul 2024 12:38:46 +0000 (14:38 +0200)] 
[#3477] First attempt

19 months ago[#3478] Address the comment
Francis Dupont [Wed, 21 Aug 2024 08:07:03 +0000 (10:07 +0200)] 
[#3478] Address the comment

19 months ago[#3478] Finished server side
Francis Dupont [Fri, 2 Aug 2024 14:37:57 +0000 (16:37 +0200)] 
[#3478] Finished server side

19 months ago[#3478] Checkpoint: added logs
Francis Dupont [Wed, 31 Jul 2024 19:53:39 +0000 (21:53 +0200)] 
[#3478] Checkpoint: added logs

19 months ago[#3478] Checkpoint: server connection
Francis Dupont [Wed, 31 Jul 2024 19:22:37 +0000 (21:22 +0200)] 
[#3478] Checkpoint: server connection

19 months ago[#3478] Checkpoint: handle acceptor
Francis Dupont [Wed, 31 Jul 2024 11:53:01 +0000 (13:53 +0200)] 
[#3478] Checkpoint: handle acceptor

19 months ago[#3478] Added getNative() to HTTP listener
Francis Dupont [Wed, 31 Jul 2024 10:34:09 +0000 (12:34 +0200)] 
[#3478] Added getNative() to HTTP listener

19 months ago[#2882] print error on kea-admin db-upgrade
Andrei Pavel [Tue, 20 Aug 2024 09:13:48 +0000 (12:13 +0300)] 
[#2882] print error on kea-admin db-upgrade

19 months ago[#2882] add ChangeLog entry
Andrei Pavel [Tue, 13 Aug 2024 11:06:25 +0000 (14:06 +0300)] 
[#2882] add ChangeLog entry

19 months ago[#2882] fix pgsql_unused_subnet_id_test
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`.

19 months ago[#2882] fix -P|--port flag in kea-admin
Andrei Pavel [Tue, 13 Aug 2024 08:57:00 +0000 (11:57 +0300)] 
[#2882] fix -P|--port flag in kea-admin

20 months ago[kea-packaging#8] hammer: stop mariadb before setup
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`

20 months ago[kea-packaging#8] show logs when _STARTED Kea not found
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.

20 months ago[#3490] Use a parser on response
Francis Dupont [Thu, 8 Aug 2024 18:08:30 +0000 (20:08 +0200)] 
[#3490] Use a parser on response

20 months ago[#3490] Addressed cosmetic comments
Francis Dupont [Thu, 8 Aug 2024 14:31:13 +0000 (16:31 +0200)] 
[#3490] Addressed cosmetic comments

20 months ago[#3490] Missing inheritance
Francis Dupont [Sun, 4 Aug 2024 13:34:26 +0000 (15:34 +0200)] 
[#3490] Missing inheritance

20 months ago[#3490] Post rebase updates
Francis Dupont [Thu, 1 Aug 2024 08:26:03 +0000 (10:26 +0200)] 
[#3490] Post rebase updates

20 months ago[#3490] Fixed clients for large bodies
Francis Dupont [Tue, 23 Jul 2024 15:00:32 +0000 (17:00 +0200)] 
[#3490] Fixed clients for large bodies

20 months ago[#3490] Added testutils/Makefile.am to git
Francis Dupont [Mon, 22 Jul 2024 08:23:30 +0000 (10:23 +0200)] 
[#3490] Added testutils/Makefile.am to git

20 months ago[#3490] Added testutils in Makefile.am
Francis Dupont [Mon, 22 Jul 2024 08:10:10 +0000 (10:10 +0200)] 
[#3490] Added testutils in Makefile.am

20 months ago[#3490] Moved the HTTPS variant
Francis Dupont [Fri, 19 Jul 2024 17:29:33 +0000 (19:29 +0200)] 
[#3490] Moved the HTTPS variant

20 months ago[#3490] Renamed TestHttp[s]Client
Francis Dupont [Fri, 19 Jul 2024 17:00:49 +0000 (19:00 +0200)] 
[#3490] Renamed TestHttp[s]Client

20 months ago[#3490] Moved to http/testutils
Francis Dupont [Fri, 19 Jul 2024 16:41:51 +0000 (18:41 +0200)] 
[#3490] Moved to http/testutils

20 months ago[#3470] unrelated: wait for "mariadb setup"/mysqld_safe to complete before restarting...
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`

20 months ago[#3470] hammer: install postgresql only if not already installed
Andrei Pavel [Thu, 8 Aug 2024 07:46:46 +0000 (10:46 +0300)] 
[#3470] hammer: install postgresql only if not already installed

20 months ago[#3470] make hammer.py work better with freebsd 14+
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.

20 months ago[#3492] FIxed missed comments.
Thomas Markwalder [Wed, 7 Aug 2024 16:02:11 +0000 (16:02 +0000)] 
[#3492] FIxed missed comments.

20 months ago[#3492] Addressed review comments
Thomas Markwalder [Wed, 7 Aug 2024 13:58:19 +0000 (13:58 +0000)] 
[#3492] Addressed review comments

    Fixed ChangeLog, UT, and minor cleanups

20 months ago[#3492] ChangeLog and cleanup
Thomas Markwalder [Tue, 6 Aug 2024 13:21:27 +0000 (13:21 +0000)] 
[#3492] ChangeLog and cleanup

20 months ago[#3492] Extend lenient parser check to FQDN types
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

20 months ago[#3522] Simplify entry template
Slawek Figiel [Thu, 1 Aug 2024 19:47:32 +0000 (21:47 +0200)] 
[#3522] Simplify entry template

20 months ago[#3522] Add square brackets
Slawek Figiel [Thu, 1 Aug 2024 19:15:50 +0000 (21:15 +0200)] 
[#3522] Add square brackets

20 months ago[#3522] Modify docs
Slawek Figiel [Thu, 1 Aug 2024 15:28:46 +0000 (17:28 +0200)] 
[#3522] Modify docs

20 months ago[#3522] Fix whitespace
Slawek Figiel [Mon, 29 Jul 2024 14:19:07 +0000 (16:19 +0200)] 
[#3522] Fix whitespace

20 months ago[#3522] Update devel docs
Slawek Figiel [Mon, 29 Jul 2024 14:08:44 +0000 (16:08 +0200)] 
[#3522] Update devel docs

20 months ago[#3522] Add ChangeLog entry template as gitkeep
Slawek Figiel [Mon, 29 Jul 2024 10:52:31 +0000 (12:52 +0200)] 
[#3522] Add ChangeLog entry template as gitkeep

20 months ago[#3477] Set DHCPv6 HTTP default addres to ::1
Francis Dupont [Wed, 31 Jul 2024 07:56:18 +0000 (09:56 +0200)] 
[#3477] Set DHCPv6 HTTP default addres to ::1

20 months ago[#3477] Changed write-config to config-write
Francis Dupont [Wed, 31 Jul 2024 07:49:32 +0000 (09:49 +0200)] 
[#3477] Changed write-config to config-write

20 months ago[#3477] Aligned v4 and v6 unit test files
Francis Dupont [Tue, 30 Jul 2024 16:01:25 +0000 (18:01 +0200)] 
[#3477] Aligned v4 and v6 unit test files

20 months ago[#3477] Last fixes before 2.7.2
Francis Dupont [Tue, 30 Jul 2024 13:02:08 +0000 (15:02 +0200)] 
[#3477] Last fixes before 2.7.2

20 months ago[#3477] Addressed comments
Francis Dupont [Tue, 30 Jul 2024 08:39:37 +0000 (10:39 +0200)] 
[#3477] Addressed comments

20 months ago[#3477] Making socket name/address exclusive (2)
Francis Dupont [Tue, 23 Jul 2024 14:32:08 +0000 (16:32 +0200)] 
[#3477] Making socket name/address exclusive (2)

20 months ago[#3477] Regen bison
Francis Dupont [Tue, 23 Jul 2024 14:02:04 +0000 (14:02 +0000)] 
[#3477] Regen bison

20 months ago[#3477] Making socket name/address exclusive (1)
Francis Dupont [Tue, 23 Jul 2024 13:57:34 +0000 (15:57 +0200)] 
[#3477] Making socket name/address exclusive (1)

20 months ago[#3477] Typos (Razvan's proposals)
Francis Dupont [Tue, 23 Jul 2024 13:11:02 +0000 (15:11 +0200)] 
[#3477] Typos (Razvan's proposals)

20 months ago[#3477] Updated logs (Razvan's proposal)
Francis Dupont [Tue, 23 Jul 2024 12:55:20 +0000 (14:55 +0200)] 
[#3477] Updated logs (Razvan's proposal)

20 months ago[#3477] Addressed comments
Francis Dupont [Tue, 23 Jul 2024 12:45:15 +0000 (14:45 +0200)] 
[#3477] Addressed comments

20 months ago[#3477] Fixed Botan build
Francis Dupont [Tue, 23 Jul 2024 08:33:18 +0000 (10:33 +0200)] 
[#3477] Fixed Botan build

20 months ago[#3477] Fixed checkConfigFiles
Francis Dupont [Tue, 23 Jul 2024 08:06:34 +0000 (10:06 +0200)] 
[#3477] Fixed checkConfigFiles

20 months ago[#3477] Addressed auth parsing issue
Francis Dupont [Mon, 22 Jul 2024 21:32:22 +0000 (23:32 +0200)] 
[#3477] Addressed auth parsing issue

20 months ago[#3477] Addressed some comments
Francis Dupont [Mon, 22 Jul 2024 20:08:10 +0000 (22:08 +0200)] 
[#3477] Addressed some comments

20 months ago[#3477] fixed comments and unittests
Razvan Becheriu [Mon, 22 Jul 2024 17:24:03 +0000 (20:24 +0300)] 
[#3477] fixed comments and unittests

20 months ago[#3477] Finished unit tests
Francis Dupont [Tue, 9 Jul 2024 18:43:12 +0000 (20:43 +0200)] 
[#3477] Finished unit tests

20 months ago[#3477] Checkpoint: finished d2 UTs
Francis Dupont [Tue, 9 Jul 2024 15:00:57 +0000 (17:00 +0200)] 
[#3477] Checkpoint: finished d2 UTs

20 months ago[#3477] Checkpoint: added d2 UTs
Francis Dupont [Tue, 9 Jul 2024 11:17:09 +0000 (13:17 +0200)] 
[#3477] Checkpoint: added d2 UTs

20 months ago[#3477] Checkpoint: fixed timeouts
Francis Dupont [Tue, 9 Jul 2024 08:17:20 +0000 (10:17 +0200)] 
[#3477] Checkpoint: fixed timeouts

20 months ago[#3477] Checkpoint: updating servers
Francis Dupont [Mon, 8 Jul 2024 18:13:56 +0000 (20:13 +0200)] 
[#3477] Checkpoint: updating servers

20 months ago[#3477] Checkpoint: finished libconfig
Francis Dupont [Mon, 8 Jul 2024 16:32:40 +0000 (18:32 +0200)] 
[#3477] Checkpoint: finished libconfig

20 months ago[#3477] Checkpoint: added HttpCommandMgr UTs
Francis Dupont [Mon, 8 Jul 2024 11:44:53 +0000 (13:44 +0200)] 
[#3477] Checkpoint: added HttpCommandMgr UTs

20 months ago[#3477] Added some libconfig UTs
Francis Dupont [Sun, 7 Jul 2024 22:22:20 +0000 (00:22 +0200)] 
[#3477] Added some libconfig UTs

20 months ago[#3477] Checkpoint: did libconfig
Francis Dupont [Sat, 6 Jul 2024 20:29:52 +0000 (22:29 +0200)] 
[#3477] Checkpoint: did libconfig

20 months ago[#3477] Introduced a new config class
Francis Dupont [Fri, 5 Jul 2024 17:19:46 +0000 (19:19 +0200)] 
[#3477] Introduced a new config class

20 months ago[#3477] Updated d2 and some UTs
Francis Dupont [Thu, 4 Jul 2024 17:47:08 +0000 (19:47 +0200)] 
[#3477] Updated d2 and some UTs

20 months ago[#3477] Regen flex/bison
Francis Dupont [Thu, 4 Jul 2024 15:28:58 +0000 (15:28 +0000)] 
[#3477] Regen flex/bison

20 months ago[#3477] Checkpoint before regen (2)
Francis Dupont [Thu, 4 Jul 2024 15:28:17 +0000 (17:28 +0200)] 
[#3477] Checkpoint before regen (2)

20 months ago[#3477] Checkpoint before regen
Francis Dupont [Thu, 4 Jul 2024 15:17:31 +0000 (17:17 +0200)] 
[#3477] Checkpoint before regen

20 months ago[#3477] Moved to control-sockets
Francis Dupont [Thu, 4 Jul 2024 14:33:30 +0000 (16:33 +0200)] 
[#3477] Moved to control-sockets

20 months ago[#3477] Regen flex/bison
Francis Dupont [Thu, 4 Jul 2024 12:27:45 +0000 (12:27 +0000)] 
[#3477] Regen flex/bison

20 months ago[#3477] Fixed dhcp6_parser.yy
Francis Dupont [Thu, 4 Jul 2024 12:26:51 +0000 (14:26 +0200)] 
[#3477] Fixed dhcp6_parser.yy

20 months ago[#3477] Checkpoint before regen
Francis Dupont [Thu, 4 Jul 2024 12:18:01 +0000 (14:18 +0200)] 
[#3477] Checkpoint before regen

20 months ago[#3477] Updated dhcp4 syntax
Francis Dupont [Thu, 4 Jul 2024 11:39:28 +0000 (13:39 +0200)] 
[#3477] Updated dhcp4 syntax

20 months ago[#3477] Checkpoint: todo syntax UTs
Francis Dupont [Wed, 3 Jul 2024 22:47:13 +0000 (00:47 +0200)] 
[#3477] Checkpoint: todo syntax UTs

20 months ago[#3477] Regen flex/bison
Francis Dupont [Wed, 3 Jul 2024 22:34:20 +0000 (22:34 +0000)] 
[#3477] Regen flex/bison

20 months ago[#3477] Checkpoint: missing decl
Francis Dupont [Wed, 3 Jul 2024 22:33:00 +0000 (00:33 +0200)] 
[#3477] Checkpoint: missing decl

20 months ago[#3477] Checkpoint: typo
Francis Dupont [Wed, 3 Jul 2024 22:29:27 +0000 (00:29 +0200)] 
[#3477] Checkpoint: typo

20 months ago[#3477] Checkpoint: updated syntax
Francis Dupont [Wed, 3 Jul 2024 22:25:43 +0000 (00:25 +0200)] 
[#3477] Checkpoint: updated syntax

20 months ago[#3526] updated version in configure.ac
Wlodek Wencel [Wed, 31 Jul 2024 10:30:36 +0000 (12:30 +0200)] 
[#3526] updated version in configure.ac

20 months ago[#3520] release changes Kea-2.7.1
Wlodek Wencel [Mon, 29 Jul 2024 08:58:47 +0000 (10:58 +0200)] 
[#3520] release changes

20 months ago[#3515] bump up library versions for 2.7.1 release
Razvan Becheriu [Thu, 25 Jul 2024 20:45:36 +0000 (23:45 +0300)] 
[#3515] bump up library versions for 2.7.1 release

20 months ago[#3469] Corrected MySQL binding offsets for class update
Thomas Markwalder [Tue, 23 Jul 2024 13:23:20 +0000 (09:23 -0400)] 
[#3469] Corrected MySQL binding offsets for class update

/src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
    MySqlConfigBackendDHCPv6Impl::createUpdateClientClass6()
     - corrected binding offsets

/src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
    GenericConfigBackendDHCPv6Test::createUpdateClientClass6OptionsTest()
    - added lifetime member checks

20 months ago[#3469] Added missing preferred checks
Francis Dupont [Sun, 30 Jun 2024 14:33:06 +0000 (16:33 +0200)] 
[#3469] Added missing preferred checks

20 months ago[#3440] Moved to a map of pairs
Francis Dupont [Fri, 19 Jul 2024 15:54:09 +0000 (17:54 +0200)] 
[#3440] Moved to a map of pairs

20 months ago[#3440] Moved to a single vector
Francis Dupont [Fri, 19 Jul 2024 12:42:14 +0000 (14:42 +0200)] 
[#3440] Moved to a single vector

20 months ago[#3440] Added design comment
Francis Dupont [Thu, 18 Jul 2024 09:31:24 +0000 (11:31 +0200)] 
[#3440] Added design comment

20 months ago[#3440] Added an empty check
Francis Dupont [Tue, 16 Jul 2024 12:40:45 +0000 (14:40 +0200)] 
[#3440] Added an empty check

20 months ago[#3440] Removed try catch block
Francis Dupont [Tue, 16 Jul 2024 07:58:11 +0000 (09:58 +0200)] 
[#3440] Removed try catch block

20 months ago[#3440] Typo
Francis Dupont [Mon, 15 Jul 2024 17:24:24 +0000 (19:24 +0200)] 
[#3440] Typo

20 months ago[#3440] Added a ChangeLog entry
Francis Dupont [Thu, 27 Jun 2024 08:49:21 +0000 (10:49 +0200)] 
[#3440] Added a ChangeLog entry

20 months ago[#3440] Added new UT
Francis Dupont [Thu, 27 Jun 2024 08:45:00 +0000 (10:45 +0200)] 
[#3440] Added new UT

20 months ago[#3440] Checkpoint: updated all UTs
Francis Dupont [Thu, 27 Jun 2024 08:03:43 +0000 (10:03 +0200)] 
[#3440] Checkpoint: updated all UTs

20 months ago[#3440] Checkpoint: updated compatible UTs
Francis Dupont [Wed, 26 Jun 2024 19:59:13 +0000 (21:59 +0200)] 
[#3440] Checkpoint: updated compatible UTs

20 months ago[#3440] Checkpoint: added code, UT to update
Francis Dupont [Wed, 26 Jun 2024 10:39:55 +0000 (12:39 +0200)] 
[#3440] Checkpoint: added code, UT to update

20 months ago[#3479] removed parameters from database and added unittests
Razvan Becheriu [Thu, 18 Jul 2024 17:17:53 +0000 (20:17 +0300)] 
[#3479] removed parameters from database and added unittests

20 months ago[#3479] Removed control-socket from DB doc
Francis Dupont [Wed, 17 Jul 2024 07:31:54 +0000 (09:31 +0200)] 
[#3479] Removed control-socket from DB doc

20 months ago[#3479] Removed control-socket
Francis Dupont [Wed, 3 Jul 2024 20:55:12 +0000 (22:55 +0200)] 
[#3479] Removed control-socket

20 months ago[#3476] Addressed review comments
Thomas Markwalder [Thu, 18 Jul 2024 13:44:23 +0000 (09:44 -0400)] 
[#3476] Addressed review comments

modified:
    src/bin/admin/kea-admin.in
    src/lib/dhcp/option_data_types.h
    src/lib/dhcp/tests/option_definition_unittest.cc
    src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
    src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
    src/share/database/scripts/mysql/dhcpdb_create.mysql
    src/share/database/scripts/mysql/upgrade_023_to_024.sh.in
    src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    src/share/database/scripts/pgsql/upgrade_023_to_024.sh.in

20 months agoApply 1 suggestion(s) to 1 file(s)
Thomas Markwalder [Wed, 17 Jul 2024 11:34:18 +0000 (11:34 +0000)] 
Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Andrei Pavel <andrei@isc.org>
20 months ago[#3476] minor changes
Andrei Pavel [Wed, 17 Jul 2024 07:28:51 +0000 (10:28 +0300)] 
[#3476] minor changes

20 months ago[#3476] Added ChangeLog entry
Thomas Markwalder [Thu, 11 Jul 2024 18:56:00 +0000 (14:56 -0400)] 
[#3476] Added ChangeLog entry