]>
git.ipfire.org Git - thirdparty/kea.git/log
Andrei Pavel [Mon, 22 Feb 2021 11:47:30 +0000 (13:47 +0200)]
[#1719] convert DB_LOG macros to structs
Wlodek Wencel [Wed, 24 Feb 2021 10:36:11 +0000 (11:36 +0100)]
[#1728] bump up kea version
Michal Nowikowski [Fri, 19 Feb 2021 16:24:29 +0000 (17:24 +0100)]
[#1715] release changes
Andrei Pavel [Mon, 22 Feb 2021 17:05:38 +0000 (19:05 +0200)]
[#1698] add ChangeLog entry
Razvan Becheriu [Mon, 22 Feb 2021 15:53:28 +0000 (17:53 +0200)]
[#1657] added note about security regarding the executed script
Razvan Becheriu [Mon, 22 Feb 2021 15:31:57 +0000 (17:31 +0200)]
[#1657] addressed comments
Razvan Becheriu [Mon, 22 Feb 2021 15:12:45 +0000 (17:12 +0200)]
[#1657] addressed comments
Razvan Becheriu [Mon, 22 Feb 2021 15:10:45 +0000 (17:10 +0200)]
[#1657] addressed comments
Razvan Becheriu [Mon, 22 Feb 2021 14:52:26 +0000 (16:52 +0200)]
[#1657] addressed comments
Razvan Becheriu [Mon, 22 Feb 2021 14:50:15 +0000 (16:50 +0200)]
[#1657] addressed comments
Razvan Becheriu [Mon, 22 Feb 2021 14:40:40 +0000 (16:40 +0200)]
[#1657] addressed comments
Razvan Becheriu [Fri, 19 Feb 2021 12:43:22 +0000 (14:43 +0200)]
[#1657] fixed rebase
Razvan Becheriu [Mon, 1 Feb 2021 14:43:03 +0000 (16:43 +0200)]
[#1657] updated copyright
Razvan Becheriu [Mon, 1 Feb 2021 14:40:24 +0000 (16:40 +0200)]
[#1657] mask SIGCHILD when creating new threads (only main thread handles it)
Andrei Pavel [Mon, 22 Feb 2021 15:32:20 +0000 (17:32 +0200)]
[#1698] MySQL upgrade 9.6: a more simpler check
use a simpler select to check for column existence rather than
functions and procedures that may wind up in the database after the upgrade
Andrei Pavel [Fri, 19 Feb 2021 12:57:20 +0000 (14:57 +0200)]
[#1698] check cache columns in upgrade script
Andrei Pavel [Fri, 19 Feb 2021 10:55:45 +0000 (12:55 +0200)]
[#1698] move cache columns to 9.6 mysql upgrade
Razvan Becheriu [Mon, 22 Feb 2021 13:48:13 +0000 (15:48 +0200)]
[#1713] bump lib versions for 1.9.5
Razvan Becheriu [Sun, 21 Feb 2021 15:08:23 +0000 (17:08 +0200)]
[#1711] fix indentation
Razvan Becheriu [Sun, 21 Feb 2021 14:59:56 +0000 (16:59 +0200)]
[#1711] added ChangeLog
Razvan Becheriu [Sun, 21 Feb 2021 14:41:44 +0000 (16:41 +0200)]
[#1711] use isc::db::db_logger_mutex to protect isc::db::db_logger_stack
Razvan Becheriu [Fri, 19 Feb 2021 22:14:56 +0000 (00:14 +0200)]
[#899] fixed rebase
Francis Dupont [Fri, 19 Feb 2021 16:48:50 +0000 (17:48 +0100)]
[#899] Fixed dependencies (2)
Francis Dupont [Fri, 19 Feb 2021 16:19:45 +0000 (17:19 +0100)]
[#899] Fixed dependencies
Thomas Markwalder [Fri, 19 Feb 2021 18:19:05 +0000 (13:19 -0500)]
[#1635] Fixed Changelog (again)
Thomas Markwalder [Fri, 19 Feb 2021 14:29:48 +0000 (09:29 -0500)]
[#1635] More cosmetic review comments
Thomas Markwalder [Fri, 19 Feb 2021 13:42:38 +0000 (08:42 -0500)]
[#1635] Addressed review comments
Changes were cosmetic, no fucntional changes required.
Modified:
doc/sphinx/arm/dhcp4-srv.rst
src/bin/dhcp4/tests/config_parser_unittest.cc
src/lib/cc/simple_parser.h
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/client_class_def.cc
src/lib/dhcpsrv/client_class_def.h
src/lib/dhcpsrv/parsers/shared_network_parser.cc
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
Thomas Markwalder [Wed, 17 Feb 2021 19:35:32 +0000 (14:35 -0500)]
[#1635] Fixed trailing whitespace in ChangeLog
Thomas Markwalder [Wed, 17 Feb 2021 19:19:25 +0000 (14:19 -0500)]
[#1635] Use option 51 in conjunction with class triplet
Added a ChangeLog entry
doc/examples/kea4/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
Updated doc
src/lib/dhcpsrv/alloc_engine.*
AllocEngine::getValidLft() - revamped to apply use class
triplet with option 51
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
TEST_F(AllocEngine4Test, getValidLft4) - udpated
to match new logic
Thomas Markwalder [Wed, 17 Feb 2021 14:04:32 +0000 (09:04 -0500)]
[#1635] V4 Allocation now uses class values for valid lifetime
src/lib/dhcpsrv/alloc_engine.*
AllocEngine::getValidLft(ctx4) - new method which returns
the appropriate value for valid-leasetime based on the
context content
AllocEngine::createLease4
AllocEngine::updateLease4Information() - call getValidLft()
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
TEST_F(AllocEngine4Test, getValidLft4) - new test
Thomas Markwalder [Tue, 16 Feb 2021 18:56:48 +0000 (13:56 -0500)]
[#1635] Improved parsing unit tests
src/bin/dhcp4/tests/config_parser_unittest.cc
TEST_F(Dhcp4ParserTest, clientClassValidLifetime)
- new test
src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
TEST_F(ClientClassDefParserTest, validLifetimeTests)
- improved test
Thomas Markwalder [Tue, 16 Feb 2021 18:20:40 +0000 (13:20 -0500)]
[#1635] Added valid-lifetime to v4 client class
Client class definitions in kea-dhcp4 will now parse
and store valid lifetime triplet (e.g. min-valid-lifetime,
valid-lifetime, and max-valid-lifetime). Does nothing
with it yet.
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy
Added support for valid-lifetime triplet to client class
definitions
src/lib/cc/simple_parser.*
SimpleParser::const Triplet<uint32_t>SimpleParser::parseIntTriplet()
- was formerly dhcp::BaseNetworkParser::parseLifetime()
src/lib/dhcpsrv/client_class_def.*
ClientClassDef::ClientClassDef
- added Triplet<uint32_t>valid_ member
src/lib/dhcpsrv/parsers/base_network_parser.*
Extracted BaseNetworkParser::parseLifetime - relocated
to cc::SimpleParser
src/lib/dhcpsrv/parsers/client_class_def_parser.cc
ClientClassDefParser::parse - added call to parseIntTriplet
to parse valid-lifetime
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/parsers/shared_network_parser.cc
Replaced calls parseLifeTime() with parseIntTriplet()
src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
TEST_F(ClientClassDefParserTest, validLifetimeTests) - new test
Andrei Pavel [Fri, 19 Feb 2021 17:49:48 +0000 (19:49 +0200)]
[#1709] add ChangeLog entry
Andrei Pavel [Tue, 16 Feb 2021 14:46:19 +0000 (16:46 +0200)]
[#1709] add test for "ALTER TABLE logs ADD id"
Andrei Pavel [Tue, 16 Feb 2021 14:45:23 +0000 (16:45 +0200)]
[#1709] mysql 9.5 -> 9.6: ALTER TABLE logs ADD id
Andrei Pavel [Fri, 19 Feb 2021 13:37:05 +0000 (15:37 +0200)]
[#1708] add ChangeLog entry
Andrei Pavel [Fri, 19 Feb 2021 13:36:01 +0000 (15:36 +0200)]
[#1708] moved rawStatement to MySqlConnectionTest
Andrei Pavel [Mon, 15 Feb 2021 19:11:31 +0000 (21:11 +0200)]
[#1708] skip MySqlConnectionTest UTs for Percona
and introduce MySqlConnectionWithPrimaryKeyTest UTs for Percona to run
Andrei Pavel [Mon, 15 Feb 2021 19:02:22 +0000 (21:02 +0200)]
[#1708] MySqlConnection:rawStatement()
used to run any statement that has no placeholder question mark where
you would normally bind variables
Razvan Becheriu [Fri, 19 Feb 2021 10:15:30 +0000 (12:15 +0200)]
[#1712] document that ProcessSpawn used full path to executable
Razvan Becheriu [Fri, 19 Feb 2021 08:29:31 +0000 (10:29 +0200)]
[#1712] fixed compilation on freebsd
Marcin Siodelski [Thu, 18 Feb 2021 18:04:15 +0000 (19:04 +0100)]
[#1701] Modified ChangeLog
Slight modifications were needed after addressing review comments in the
allocation engine.
Marcin Siodelski [Thu, 18 Feb 2021 18:03:45 +0000 (19:03 +0100)]
[#1701] Addressed alloc engine review issues
Reduced the number of new log messages to avoid flooding the log with
warnings. For a shared network we now only log the number of subnets from
which the engine attempted to allocate a lease and the number of subnets
in which no pools were available.
Marcin Siodelski [Wed, 17 Feb 2021 12:16:23 +0000 (13:16 +0100)]
[#1701] Added ChangeLog for #1701
Marcin Siodelski [Wed, 17 Feb 2021 12:03:11 +0000 (13:03 +0100)]
[#1701] Improved v6 alloc fail messages
This is the corresponding change to the previous v4 change.
Marcin Siodelski [Wed, 17 Feb 2021 11:08:51 +0000 (12:08 +0100)]
[#1701] Improved v4 alloc failure logs
In case of lease allocation failure, the allocation engine now logs:
- which shared network the client belongs to
- which subnet (if not shared network) the client belongs to
- which subnets were tried
- for which subnets there were allocation attempts
- for which subnets there were no allocation attempts
Razvan Becheriu [Thu, 18 Feb 2021 16:34:18 +0000 (18:34 +0200)]
[#899] removed empty line
Razvan Becheriu [Thu, 18 Feb 2021 15:04:35 +0000 (17:04 +0200)]
[#899] refactored unittests to use fast timer
Razvan Becheriu [Thu, 18 Feb 2021 11:22:31 +0000 (13:22 +0200)]
[#899] added more unittests
Razvan Becheriu [Thu, 18 Feb 2021 10:04:26 +0000 (12:04 +0200)]
[#899] fixed unittests
Razvan Becheriu [Thu, 18 Feb 2021 09:40:36 +0000 (11:40 +0200)]
[#899] waitForProcess must be a static function
Razvan Becheriu [Wed, 17 Feb 2021 19:50:10 +0000 (21:50 +0200)]
[#899] clear signal handle after process has finished
Razvan Becheriu [Wed, 17 Feb 2021 15:22:42 +0000 (17:22 +0200)]
[#899] use true/false instead of 1/0 for exported boolean values
Razvan Becheriu [Wed, 17 Feb 2021 14:43:58 +0000 (16:43 +0200)]
[#899] addressed comments
Razvan Becheriu [Wed, 17 Feb 2021 06:51:50 +0000 (08:51 +0200)]
[#899] increase timeout for some unittests
Razvan Becheriu [Wed, 17 Feb 2021 06:26:07 +0000 (08:26 +0200)]
[#899] fixed log messages
Razvan Becheriu [Tue, 16 Feb 2021 20:25:12 +0000 (22:25 +0200)]
[#899] fixed rebase
Razvan Becheriu [Tue, 16 Feb 2021 19:48:32 +0000 (21:48 +0200)]
[#899] use smaller timeout in unittests
Razvan Becheriu [Tue, 16 Feb 2021 17:44:26 +0000 (19:44 +0200)]
[#899] updated documentation
Razvan Becheriu [Tue, 16 Feb 2021 17:24:59 +0000 (19:24 +0200)]
[#899] fixed and enabled unittests
Razvan Becheriu [Tue, 16 Feb 2021 17:03:45 +0000 (19:03 +0200)]
[#899] removed duplicated code
Razvan Becheriu [Tue, 16 Feb 2021 16:56:56 +0000 (18:56 +0200)]
[#899] added missing files
Razvan Becheriu [Tue, 16 Feb 2021 16:50:57 +0000 (18:50 +0200)]
[#899] addressed comments
Razvan Becheriu [Tue, 16 Feb 2021 16:44:59 +0000 (18:44 +0200)]
[#899] changed hook_libraries to hooks-libraries in json examples
Razvan Becheriu [Tue, 16 Feb 2021 15:33:41 +0000 (17:33 +0200)]
[#899] fixed unittests and addressed comments
Razvan Becheriu [Tue, 16 Feb 2021 13:08:26 +0000 (15:08 +0200)]
[#899] removed SignalSet and repalced it with IOSignalSet
Razvan Becheriu [Tue, 16 Feb 2021 09:11:58 +0000 (11:11 +0200)]
[#899] fixed CI and documentation
Razvan Becheriu [Tue, 16 Feb 2021 08:03:21 +0000 (10:03 +0200)]
[#899] use IOSignalSet to handle signals
Razvan Becheriu [Mon, 15 Feb 2021 14:29:06 +0000 (16:29 +0200)]
[#899] fixed CI
Razvan Becheriu [Mon, 15 Feb 2021 14:14:25 +0000 (16:14 +0200)]
[#899] added more documentation
Razvan Becheriu [Mon, 15 Feb 2021 13:45:33 +0000 (15:45 +0200)]
[#899] added documentation
Razvan Becheriu [Mon, 15 Feb 2021 12:09:53 +0000 (14:09 +0200)]
[#899] fixed CI
Razvan Becheriu [Mon, 15 Feb 2021 12:05:30 +0000 (14:05 +0200)]
[#899] added ChangeLog
Razvan Becheriu [Mon, 15 Feb 2021 11:57:14 +0000 (13:57 +0200)]
[#899] use only one instance of SignalSet to handle SIGCHLD signal
Razvan Becheriu [Mon, 15 Feb 2021 10:50:27 +0000 (12:50 +0200)]
[#899] addressed comments
Razvan Becheriu [Sat, 30 Jan 2021 09:40:28 +0000 (11:40 +0200)]
[#899] fixed rebase
Razvan Becheriu [Fri, 29 Jan 2021 09:43:54 +0000 (11:43 +0200)]
[#899] fixed unittests
Razvan Becheriu [Fri, 29 Jan 2021 08:19:47 +0000 (10:19 +0200)]
[#899] implemented hook points
* added convert functions from internal kea representation to
textual representation used by environment variables
* added hook points
Razvan Becheriu [Sat, 30 Jan 2021 09:11:15 +0000 (11:11 +0200)]
[#899] changed variables with ID_ID to ID
Razvan Becheriu [Sat, 30 Jan 2021 08:21:50 +0000 (10:21 +0200)]
[#899] added documentation for "not implemented" sync parameter
Razvan Becheriu [Sat, 30 Jan 2021 08:07:03 +0000 (10:07 +0200)]
[#899] removed unused script
Razvan Becheriu [Sat, 30 Jan 2021 07:52:58 +0000 (09:52 +0200)]
[#899] check all environment variable values in test script
Razvan Becheriu [Sat, 30 Jan 2021 00:28:54 +0000 (02:28 +0200)]
[#899] implemented script to test function calls
Razvan Becheriu [Fri, 29 Jan 2021 20:41:59 +0000 (22:41 +0200)]
[#899] added unittests for extract functions
Razvan Becheriu [Fri, 29 Jan 2021 16:18:01 +0000 (18:18 +0200)]
[#899] fixed CI warnings
Razvan Becheriu [Fri, 29 Jan 2021 15:48:16 +0000 (17:48 +0200)]
[#899] implemented extract data functions
Razvan Becheriu [Fri, 29 Jan 2021 09:47:11 +0000 (11:47 +0200)]
[#899] add missing unittests files
Razvan Becheriu [Fri, 29 Jan 2021 09:43:54 +0000 (11:43 +0200)]
[#899] fixed unittests
Razvan Becheriu [Fri, 29 Jan 2021 08:59:54 +0000 (10:59 +0200)]
[#899] added test script and fixed script arguments
Razvan Becheriu [Fri, 29 Jan 2021 08:34:33 +0000 (10:34 +0200)]
[#899] fixed hook point arguments
Razvan Becheriu [Fri, 29 Jan 2021 08:19:47 +0000 (10:19 +0200)]
[#899] implemented hook points
* added convert functions from internal kea representation to
textual representation used by environment variables
* added hook points
Razvan Becheriu [Thu, 28 Jan 2021 14:32:15 +0000 (16:32 +0200)]
[#899] added missing files
Razvan Becheriu [Thu, 28 Jan 2021 14:22:48 +0000 (16:22 +0200)]
[#899] create run_script hook library
* added new library to build sequence
* added support for environment variables in ProcessSpawn
* added unittests for environment variables in ProcessSpawn
Andrei Pavel [Wed, 17 Feb 2021 11:28:50 +0000 (13:28 +0200)]
[#1681] fix database scripts being installed twice
which is unnecessary, but would also result in a race condition if
make-installed on multiple threads wich might also be the default on
some systems
Francis Dupont [Wed, 17 Feb 2021 12:11:00 +0000 (13:11 +0100)]
[#1662] Fixed rebase
Francis Dupont [Tue, 16 Feb 2021 17:35:34 +0000 (18:35 +0100)]
[#1662] Fixed ChangeLog entry (last)
Francis Dupont [Tue, 16 Feb 2021 16:58:38 +0000 (17:58 +0100)]
[#1662] Updated ChangeLog entry
Francis Dupont [Fri, 12 Feb 2021 18:26:16 +0000 (19:26 +0100)]
[#1662] Addressed comments
Francis Dupont [Wed, 10 Feb 2021 08:21:24 +0000 (09:21 +0100)]
[#1662] Checkpoint: code and test, doc to do
Francis Dupont [Tue, 9 Feb 2021 21:07:12 +0000 (21:07 +0000)]
[#1662] Regen flex and bison