]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Tue, 20 Aug 2019 11:53:18 +0000 (13:53 +0200)]
[#845] Addressed review comments.
Added better commentary in the dhcpdb_create.mysql script and the 8.2
upgrade script.
Tomek Mrugalski [Tue, 20 Aug 2019 10:41:59 +0000 (12:41 +0200)]
[#845] Fixes in kea-admin/mysql.upgrade unit-test
Marcin Siodelski [Tue, 20 Aug 2019 05:52:41 +0000 (07:52 +0200)]
[#845] New version of MySQL CB queries which update DHCP options.
The updated queries support subnet, shared network and pool level options
unassigned to servers.
Marcin Siodelski [Tue, 20 Aug 2019 05:50:33 +0000 (07:50 +0200)]
[#845] Changes to MySQL to update parent object when option is set.
Prior to this change, when an option is set or deleted, the owning subnet,
shared network or pool would not update its modification timestamp. As a
result, the server would not fecth the updated configuration.
Michal Nowikowski [Mon, 19 Aug 2019 14:24:57 +0000 (16:24 +0200)]
added api README, _template.json, generate-templates and cmds-list to EXTRA_DIST
Michal Nowikowski [Mon, 19 Aug 2019 13:26:20 +0000 (15:26 +0200)]
added missing api files
Tomek Mrugalski [Mon, 19 Aug 2019 15:00:57 +0000 (17:00 +0200)]
Fixed error in api2doc.py
- the default response had unnecessary quotes
Tomek Mrugalski [Mon, 19 Aug 2019 15:00:35 +0000 (17:00 +0200)]
Fixed server-tag-get docs
Michal Nowikowski [Mon, 19 Aug 2019 16:15:03 +0000 (18:15 +0200)]
changed pointed docs in INSTALL file from doc/sphinx to doc/sphinx/arm/install.rst
Michal Nowikowski [Mon, 19 Aug 2019 15:39:09 +0000 (17:39 +0200)]
replaced links to old docs to https://kea.readthedocs.io/
Michal Nowikowski [Mon, 19 Aug 2019 12:47:31 +0000 (12:47 +0000)]
regenerated parsers for 1.6.0 final
Michal Nowikowski [Mon, 19 Aug 2019 07:13:14 +0000 (09:13 +0200)]
fixed release date
Michal Nowikowski [Mon, 19 Aug 2019 06:37:07 +0000 (08:37 +0200)]
update release entry in ChangeLog, updated copyright dates
Michal Nowikowski [Mon, 19 Aug 2019 04:55:18 +0000 (06:55 +0200)]
fixed errors in ChangeLog
Michal Nowikowski [Mon, 19 Aug 2019 04:48:34 +0000 (06:48 +0200)]
Merge branch 'master' into v1_6_0
Thomas Markwalder [Fri, 16 Aug 2019 22:36:23 +0000 (18:36 -0400)]
[#805,!6-p] Updated ChangeLog
Thomas Markwalder [Thu, 15 Aug 2019 14:39:12 +0000 (10:39 -0400)]
[#805,!6-p] Fixed copyright dates and whitespacing
Thomas Markwalder [Thu, 15 Aug 2019 13:08:00 +0000 (09:08 -0400)]
[#805,!6-p] added kea-dhcp6 to ChangeLog entry
Thomas Markwalder [Thu, 15 Aug 2019 13:03:15 +0000 (09:03 -0400)]
[#805,!6-p] Addressed review comment
src/lib/dhcpsrv/csv_lease_file6.cc
Added check for null duid_ ptr in lease6
Marcin Siodelski [Wed, 14 Aug 2019 16:23:36 +0000 (18:23 +0200)]
[#805,!6-p] Added missing space in the log message.
Thomas Markwalder [Wed, 14 Aug 2019 14:18:26 +0000 (10:18 -0400)]
[#805,!6-p] Addressed review comments
src/lib/dhcpsrv/csv_lease_file4.*
src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
- minor cleanup
src/lib/dhcpsrv/csv_lease_file6.*
CSVLeaseFile6::append() - now throws if DUID is empty and
state is not STATE_DECLINED
src/lib/dhcpsrv/tests/csv_lease_file6_unittest.cc
Updated tests to verify duid/state logic
Thomas Markwalder [Mon, 12 Aug 2019 19:46:36 +0000 (15:46 -0400)]
[#805,!6-p] CSVLeaseFile4 ensures either hwaddr or client id for non-declined leases
Declined leases are expected to have neither hardware address nor client
id. All others have must have at least one of them.
src/lib/dhcpsrv/csv_lease_file4.cc
CSVLeaseFile4::append() - throws if a lease has no hardware address,
no client id and is not in STATE_DECLINED
CSVLeaseFile4::next(Lease4Ptr& lease) - discards rows if they have
neither hardware addr nor client id and are not in STATE_DECLINED
src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
src/bin/lfc/tests/lfc_controller_unittests.cc
Updated tests.
Razvan Becheriu [Fri, 9 Aug 2019 15:23:47 +0000 (18:23 +0300)]
[#805, !6-p] check for null or empty hwaddr before writing to memfile (v4)
Thomas Markwalder [Fri, 16 Aug 2019 22:03:29 +0000 (18:03 -0400)]
[#805,!5-p] Updated ChangeLog and conflicted parsers
Thomas Markwalder [Fri, 16 Aug 2019 16:12:39 +0000 (12:12 -0400)]
[#805,!5-p] Addressed more review comments
More cleanup following 1.4 and 1.5 branch reviews
doc/sphinx/arm/dhcp6-srv.rst
src/lib/dhcpsrv/memfile_lease_mgr.cc
Thomas Markwalder [Fri, 16 Aug 2019 14:59:27 +0000 (10:59 -0400)]
[#805,!5-p] Updated ChangeLog to security, added CVE #
Thomas Markwalder [Tue, 13 Aug 2019 20:31:11 +0000 (16:31 -0400)]
[#805,!5-p] Addressed review comments
Minor cleanup and commentary.
Thomas Markwalder [Fri, 9 Aug 2019 19:59:40 +0000 (15:59 -0400)]
[#805,!5-p] Updated the ARM
Updated the ARM and added a ChangeLog entry.
Thomas Markwalder [Fri, 9 Aug 2019 15:45:39 +0000 (11:45 -0400)]
[#805,!5-p] Updated example confs
Thomas Markwalder [Fri, 9 Aug 2019 15:18:35 +0000 (11:18 -0400)]
[#805,!5-p] kea-dhcp6 now supports max-row-errors parameter
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
Added max-row-errors
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors6) - new unit test
to verify max-row-errors operation
Thomas Markwalder [Fri, 9 Aug 2019 14:03:07 +0000 (10:03 -0400)]
[#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
Added max-row-errors
src/lib/database/database_connection.*
src/lib/database/dbaccess_parser.*
Added max-row-errors
src/lib/database/tests/dbaccess_parser_unittest.cc
New tests for max-row-errors
src/lib/dhcpsrv/lease_file_loader.h
Changed logic value of 0 means unlimited
src/lib/dhcpsrv/memfile_lease_mgr.cc
Memfile_LeaseMgr::loadLeasesFromFiles() - now uses
connection parmater value for max-row-errors or 0
if not specified
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors4) - new unit test
to verify max-row-errors operation
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
TEST_F(MemfileLeaseMgrTest, constructor) - added tests for
max-row-errors
Thomas Markwalder [Fri, 9 Aug 2019 15:45:39 +0000 (11:45 -0400)]
[#805,!5-p] Updated example confs
Thomas Markwalder [Fri, 9 Aug 2019 15:18:35 +0000 (11:18 -0400)]
[#805,!5-p] kea-dhcp6 now supports max-row-errors parameter
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
Added max-row-errors
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors6) - new unit test
to verify max-row-errors operation
Thomas Markwalder [Fri, 9 Aug 2019 14:03:07 +0000 (10:03 -0400)]
[#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
Added max-row-errors
src/lib/database/database_connection.*
src/lib/database/dbaccess_parser.*
Added max-row-errors
src/lib/database/tests/dbaccess_parser_unittest.cc
New tests for max-row-errors
src/lib/dhcpsrv/lease_file_loader.h
Changed logic value of 0 means unlimited
src/lib/dhcpsrv/memfile_lease_mgr.cc
Memfile_LeaseMgr::loadLeasesFromFiles() - now uses
connection parmater value for max-row-errors or 0
if not specified
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors4) - new unit test
to verify max-row-errors operation
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
TEST_F(MemfileLeaseMgrTest, constructor) - added tests for
max-row-errors
Thomas Markwalder [Thu, 15 Aug 2019 21:02:29 +0000 (17:02 -0400)]
[#730,!2-p] Addressed review comments
Minor cleanup
ChangeLog
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc
src/lib/dns/tests/name_unittest.cc
Thomas Markwalder [Tue, 13 Aug 2019 18:17:10 +0000 (14:17 -0400)]
[#730,!2-p] Updated ChangeLog entry
Thomas Markwalder [Tue, 13 Aug 2019 17:46:41 +0000 (13:46 -0400)]
[#730,!2-p] Minor edit in ChangeLog entry
Thomas Markwalder [Wed, 31 Jul 2019 10:41:21 +0000 (06:41 -0400)]
[#730,!2] Reworded ChangeLog entry
Thomas Markwalder [Mon, 29 Jul 2019 11:01:25 +0000 (07:01 -0400)]
[#730,!2] Addressed review comment
src/lib/exceptions/isc_assert.h - clarified commentary
Thomas Markwalder [Wed, 24 Jul 2019 19:00:33 +0000 (15:00 -0400)]
[#730,!2] Addressed review comments
ChangeLog - added an entry
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, serverUpdateMalformedHostname) - added
commentary
src/lib/exceptions/isc_assert.h
commentary changes
src/lib/exceptions/tests/exceptions_unittest.cc
TEST(IscThrowAssert, checkMessage) - replace use of explicit line number
Thomas Markwalder [Fri, 12 Jul 2019 11:01:01 +0000 (07:01 -0400)]
[#730,!2] Corrected assertion failure on malformed hostname from kea-dhcp4
src/lib/exceptions/isc_assert.h
New file that defines isc_assert_throw()
src/lib/exceptions/Makefile.am
added isc_asssert.h
src/lib/exceptions/tests/exceptions_unittest.cc
TEST(IscThrowAssert, checkMessage) - new test
src/lib/dns/labelsequence.cc
src/lib/dns/name.cc
Replaced assert() calls with isc_throw_assert() calls
src/lib/dns/tests/name_unittest.cc
TEST_F(NameTest, unexpectedParseError) - new unit test
for hostname option content based on fuzz test failure
src/lib/dhcp_ddns/ncr_msg.cc
Removed unnecessary include of dns/name.h
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processHostnameOption() - added try catch
around OptionDataTypeUtil::getLabelCount() call
src/bin/dhcp4/dhcp4_messages.*
added new log message DHCP4_CLIENT_HOSTNAME_MALFORMED
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, serverUpdateMalformedHostname) -
renamed test and augmented it to include the packet of death
produced by fuzz testing.
Thomas Markwalder [Fri, 16 Aug 2019 20:13:22 +0000 (16:13 -0400)]
[#722,!1-p] Updated ChangeLog
Thomas Markwalder [Wed, 14 Aug 2019 17:26:41 +0000 (13:26 -0400)]
[#722,!1] Addressed review comments
revamped Dhpc6srv::sanityCheckDuid() per review comments on
1.4.0 version.
Thomas Markwalder [Fri, 12 Jul 2019 17:10:48 +0000 (13:10 -0400)]
[#722,!2] Added ChangeLog Entry
Thomas Markwalder [Tue, 9 Jul 2019 14:13:33 +0000 (10:13 -0400)]
[#722,!1] Addressed review comments
Added test to ensure DUID size constant(s) are RFC compliant
Thomas Markwalder [Mon, 8 Jul 2019 12:28:12 +0000 (08:28 -0400)]
[#722,!1] Addressed review comments
src/lib/dhcp/duid.cc - improved log message
Thomas Markwalder [Wed, 3 Jul 2019 18:24:04 +0000 (14:24 -0400)]
[#722] kea-dhcp6 sanity checking of inbound DUID options improved
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::sanityCheckDUID() - modified to attempt to construct
a DUID instance as final sanity check
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
TEST_F(Dhcpv6SrvTest, sanityCheckClientId)
TEST_F(Dhcpv6SrvTest, sanityCheckServerId) - revamped tests
to check against max and max + 1
src/bin/dhcp6/tests/dhcp6_test_utils.h
A little refactoring to ease option creation
src/lib/dhcp/duid.cc
DUID::DUID(const std::vector<uint8_t>& duid)
DUID::DUID(const uint8_t* data, size_t len) - updated
error log to show actual sizes
Marcin Siodelski [Fri, 16 Aug 2019 19:41:40 +0000 (21:41 +0200)]
[#841,!490] Added ChangeLog for #841.
Marcin Siodelski [Fri, 16 Aug 2019 19:01:39 +0000 (21:01 +0200)]
[#841,!490] Corrected library version number for dhcp_ddns.
Marcin Siodelski [Fri, 16 Aug 2019 18:46:29 +0000 (20:46 +0200)]
[#841,!490] Corrected libdhcpsrv library version number.
Marcin Siodelski [Fri, 16 Aug 2019 17:35:14 +0000 (19:35 +0200)]
[#841,!490] Bumped up libraries version numbers.
Tomek Mrugalski [Fri, 16 Aug 2019 18:01:09 +0000 (20:01 +0200)]
[#810,!471] AUTHORS, ChangeLog updated
Tomek Mrugalski [Fri, 16 Aug 2019 17:58:41 +0000 (19:58 +0200)]
[#810,!471] Changed title levels in hooks-*.rst files
- mostly --- to ~~~
Tomek Mrugalski [Fri, 16 Aug 2019 17:10:56 +0000 (19:10 +0200)]
[#810,!471] Compilation fixes in the API files
Suzanne Goldlust [Tue, 13 Aug 2019 18:11:45 +0000 (14:11 -0400)]
Edited header underlines to try to get all the hooks libraries at the same TOC level in the docs
Suzanne Goldlust [Sat, 10 Aug 2019 05:14:11 +0000 (01:14 -0400)]
Fix JSON errors
Suzanne Goldlust [Fri, 9 Aug 2019 22:02:02 +0000 (18:02 -0400)]
A few more text/formatting edits
Suzanne Goldlust [Fri, 9 Aug 2019 21:16:47 +0000 (17:16 -0400)]
Fix grammar, typos, a few JSON errors
Razvan Becheriu [Fri, 9 Aug 2019 06:59:16 +0000 (09:59 +0300)]
[#810, !471] reverted changes added by mistake
Razvan Becheriu [Fri, 9 Aug 2019 06:46:38 +0000 (09:46 +0300)]
[#810, !471] fixed sphinx docs
Razvan Becheriu [Thu, 8 Aug 2019 23:25:41 +0000 (02:25 +0300)]
[#810, !471] fixed sphinx docs
Razvan Becheriu [Thu, 8 Aug 2019 23:09:41 +0000 (02:09 +0300)]
[#810, !471] fixed sphinx docs
Suzanne Goldlust [Thu, 8 Aug 2019 21:39:51 +0000 (17:39 -0400)]
Fix JSON syntax errors, miscellaneous typos and grammatical errors in API docs
Razvan Becheriu [Thu, 8 Aug 2019 18:18:38 +0000 (21:18 +0300)]
[#810, !471] fixed sphinx docs
Tomek Mrugalski [Fri, 16 Aug 2019 16:34:13 +0000 (18:34 +0200)]
[#659,!387] ChangeLog updated.
Marcin Siodelski [Fri, 16 Aug 2019 11:19:29 +0000 (13:19 +0200)]
[#659,!387] Addressed two review comments.
- Return after finding the first pool.
- Corrected excluded prefix length stored in the db.
Marcin Siodelski [Fri, 16 Aug 2019 09:45:17 +0000 (11:45 +0200)]
[#659,!387] Update doc: excluded prefix is support for CB.
Marcin Siodelski [Tue, 13 Aug 2019 14:37:20 +0000 (16:37 +0200)]
[#659,!387] Changed "fields" to "columns" in the MySQL creation script.
As a result of review.
Francis Dupont [Tue, 13 Aug 2019 11:38:23 +0000 (13:38 +0200)]
[659-how-configure-client-class-for-pools-in-db] Reported dhcp[46] guide updates
Francis Dupont [Tue, 13 Aug 2019 09:47:36 +0000 (11:47 +0200)]
[659-how-configure-client-class-for-pools-in-db] Addressed not doc comments
Francis Dupont [Fri, 26 Jul 2019 17:25:35 +0000 (19:25 +0200)]
[659-how-configure-client-class-for-pools-in-db] Post-rebase fixes
Francis Dupont [Sun, 16 Jun 2019 22:28:54 +0000 (00:28 +0200)]
[659-how-configure-client-class-for-pools-in-db] Made getPool methods handle server selector
Francis Dupont [Sun, 16 Jun 2019 22:03:49 +0000 (00:03 +0200)]
[659-how-configure-client-class-for-pools-in-db] Added tests
Francis Dupont [Sat, 15 Jun 2019 19:07:26 +0000 (21:07 +0200)]
[659-how-configure-client-class-for-pools-in-db] Checkpoint: code done, todo new unit tests
Tomek Mrugalski [Fri, 16 Aug 2019 10:56:37 +0000 (12:56 +0200)]
[#837,!487] all-keys-{current,stable} renamed
Michal Nowikowski [Fri, 16 Aug 2019 12:28:40 +0000 (14:28 +0200)]
sphinx docs: increased recursion level limit
Wlodek Wencel [Fri, 16 Aug 2019 10:04:29 +0000 (12:04 +0200)]
[#654] extended perfdhcp output when no packets received
Tomek Mrugalski [Thu, 15 Aug 2019 19:36:15 +0000 (21:36 +0200)]
[#625,!485] Fixed detection of log4plus in non-standard location
Tomek Mrugalski [Thu, 15 Aug 2019 18:41:24 +0000 (20:41 +0200)]
[#625,!485] Fixed conditional intialization detection for log4cplus
Tomek Mrugalski [Thu, 15 Aug 2019 16:50:57 +0000 (18:50 +0200)]
[#625,!485] Conditional explicit initialization done.
Tomek Mrugalski [Thu, 15 Aug 2019 15:48:18 +0000 (17:48 +0200)]
[#625,!485] Explicit log4cplus initialization by @tcely
Imported from commit apline linux PR#8011:
https://github.com/alpinelinux/aports/pull/8011
Tomek Mrugalski [Thu, 15 Aug 2019 19:21:56 +0000 (21:21 +0200)]
[#496,!483] ChangeLog updated.
Marcin Siodelski [Tue, 13 Aug 2019 13:17:24 +0000 (15:17 +0200)]
[#496,!483] Updated ARM section about selectors usage with shared networks.
Tomek Mrugalski [Thu, 15 Aug 2019 16:12:50 +0000 (18:12 +0200)]
[#823,!477] ChangeLog updated
Francis Dupont [Mon, 12 Aug 2019 15:08:15 +0000 (17:08 +0200)]
[823-last-update-yang-models] Updated yang models & code for logger and database syntax updates to come
Thomas Markwalder [Thu, 15 Aug 2019 15:42:53 +0000 (11:42 -0400)]
[#761,!447] Updated ChangeLog
Thomas Markwalder [Thu, 15 Aug 2019 15:03:12 +0000 (11:03 -0400)]
[#761,!447] Updated doc and added ChangeLog
Thomas Markwalder [Thu, 1 Aug 2019 18:40:49 +0000 (14:40 -0400)]
[#761,!447] Binary option data parser now accepts strings
src/lib/dhcpsrv/parsers/option_data_parser.cc
OptionDataParser::createOption() - added logic to support
parsing "'text'" into binary option data
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
TEST_F(ParseConfigTest, stringOrHexBinaryData) - new unit test
Tomek Mrugalski [Thu, 15 Aug 2019 15:06:40 +0000 (17:06 +0200)]
[#721,!466] ChangeLog updated.
Tomek Mrugalski [Thu, 15 Aug 2019 15:02:52 +0000 (11:02 -0400)]
Apply suggestion to doc/sphinx/arm/dhcp6-srv.rst
Tomek Mrugalski [Thu, 15 Aug 2019 15:02:47 +0000 (11:02 -0400)]
Apply suggestion to doc/sphinx/arm/dhcp4-srv.rst
Francis Dupont [Wed, 7 Aug 2019 12:33:18 +0000 (14:33 +0200)]
[727-reservation-client-classes-too-late-later-as-documented-for-depending-classes] Amended misleading notes
Tomek Mrugalski [Thu, 15 Aug 2019 14:15:42 +0000 (16:15 +0200)]
[#721,!480] Changelog updated.
Tomek Mrugalski [Thu, 15 Aug 2019 14:15:00 +0000 (16:15 +0200)]
[#721,!480] --with-site-packages must be specified with parameters.
Tomek Mrugalski [Thu, 15 Aug 2019 14:14:21 +0000 (16:14 +0200)]
[#721,!480] Documentation updated.
Michal Nowikowski [Tue, 13 Aug 2019 14:26:14 +0000 (16:26 +0200)]
added ability to indicate site-packages dir that is different in case of deb packages
Tomek Mrugalski [Wed, 14 Aug 2019 20:56:28 +0000 (22:56 +0200)]
[#826,!479] ChangeLog updated
Tomek Mrugalski [Wed, 14 Aug 2019 20:53:50 +0000 (22:53 +0200)]
[#826,!479] Reworded the API description slightly.
Marcin Siodelski [Wed, 14 Aug 2019 13:19:48 +0000 (15:19 +0200)]
[#826,!479] Moved list of new cb_cmds out of the Makefile.am.
Marcin Siodelski [Wed, 14 Aug 2019 12:37:27 +0000 (14:37 +0200)]
[#826,!479] Removed empty section title.