2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 21:18:02 +00:00

29268 Commits

Author SHA1 Message Date
Francis Dupont
6fce342cc4 [575-cb-cmds-unknown-fields-in-arguments-should-raise-an-error] Added keyword checks for option def, data, subnet, shared network, (pd)pools 2019-07-07 11:07:09 +02:00
Marcin Siodelski
11b99aa743 [master] Fixed tabulator in ChangeLog entry for #715.
This is trivial fix. Fixing on my own discretion.
2019-07-06 20:30:41 +02:00
Marcin Siodelski
4ccbbcfa96 [#715,!411] Added ChangeLog for #715. 2019-07-06 20:13:05 +02:00
Marcin Siodelski
ca536526c3 [#715,!411] Removed dead code from the mysql_cb_impl.cc
As a result of the review.
2019-07-06 20:11:17 +02:00
Marcin Siodelski
007bbb7ee6 [#715] Added support for associating option defs with server tags. 2019-07-04 22:25:31 +02:00
Marcin Siodelski
5511725555 [#714,!409] Added ChangeLog entry. 2019-07-04 21:50:26 +02:00
Marcin Siodelski
ce12d980d2 [#714,!409] Addressed review comments.
Removed unnecessary queries before create/update.
2019-07-04 15:48:15 -04:00
Marcin Siodelski
33e02e168b [#714,!409] Corrected a comment in the mysql_cb. 2019-07-04 15:48:15 -04:00
Marcin Siodelski
44b35d4242 [#714,!409] Only delete dangling global options when server deleted. 2019-07-04 15:48:15 -04:00
Marcin Siodelski
c8a627d0ed [#714,!409] Try to update an option followed by insert.
Previously we'd first fetch the option to check if it exists, then update
or insert but that would always trigger two queries. Now we're down to
one query if the option already exists.
2019-07-04 15:48:15 -04:00
Marcin Siodelski
ed7befb616 [#714,!409] Associate global options with the server tags. 2019-07-04 15:48:15 -04:00
Razvan Becheriu
711c1dca9d [#639,!410] updated ChangeLog 2019-07-04 19:41:46 +03:00
Razvan Becheriu
289bc24ca9 [#639,!410] check for null pointer 2019-07-04 19:40:27 +03:00
Razvan Becheriu
5cbf42b12d [#639,!410] clear cache_ptr_ before unloading library 2019-07-04 19:40:27 +03:00
Francis Dupont
d650c176c7 [419-subnet-prefix-subnet-parameter-ambiguity] Added ChangeLog entry for subnet prefix ambiguity 2019-07-04 18:17:00 +02:00
Francis Dupont
f260b51148 [419-subnet-prefix-subnet-parameter-ambiguity] Added unit tests and updated docs 2019-07-04 10:52:15 -04:00
Francis Dupont
f2fce0e42b [690-bad-ip-length-header-error-misformats-number] Added a cast for uint8_t ip_len output 2019-07-04 10:47:00 -04:00
Francis Dupont
b7fe40b11b [704-forensic-log-hook-paths-are-incorrect] Fixed forensic/legal paths 2019-07-04 07:24:47 -04:00
Francis Dupont
f66007cb8b [667-remove-obsolete-compatcheck-dir] Added ChangeLog entry for compatcheck dir removal 2019-07-04 13:20:50 +02:00
Francis Dupont
8cb113a52f [667-remove-obsolete-compatcheck-dir] Removed compatcheck more than obsolete directory 2019-07-04 07:17:08 -04:00
Marcin Siodelski
de19650f6f [#709,!407] Minor updates to the server unittests as a result of review.
- Fixed a typo in the toElement test name,
- Added missing whitespace
- Fixed a typo in getByTag test description.
2019-07-04 01:10:51 +02:00
Francis Dupont
a538049ac3 [709-cb_cmds-add-support-for-commands-to-manage-the-servers] Added a toElement method to Server 2019-07-04 01:10:51 +02:00
Francis Dupont
22c549eceb [709-cb_cmds-add-support-for-commands-to-manage-the-servers] Improved server support 2019-07-04 01:10:51 +02:00
Francis Dupont
3d618610fc [709-cb_cmds-add-support-for-commands-to-manage-the-servers] Added delServerTag 2019-07-04 01:10:51 +02:00
Francis Dupont
f693084db5 [550-authentication-key-to-text-method-miss-spelled] Added ChangeLog entry for auth key fixes 2019-07-02 18:12:34 +02:00
Francis Dupont
f45511f044 [550-authentication-key-to-text-method-miss-spelled] Addressed comments 2019-07-02 17:33:39 +02:00
Francis Dupont
d8276f1036 [550-authentication-key-to-text-method-miss-spelled] AuthKey is binary 2019-07-02 17:33:39 +02:00
Francis Dupont
1aaae966e0 [705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Revert "[705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Protected dhcp_test_lib.sh against unset ${prefix} and fixed includers"
This reverts commit 7fe457cb301772093ff7002c9a3be12b25f7d73b.

Reviewer asked this to be reverted as overkilling.
2019-07-02 11:20:41 -04:00
Francis Dupont
5b33ae7dd2 [705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Protected dhcp_test_lib.sh against unset ${prefix} and fixed includers 2019-07-02 11:20:41 -04:00
Francis Dupont
2187d76041 [705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Added prefix=@prefix@ and put shell bang at the right place 2019-07-02 11:20:41 -04:00
Francis Dupont
10ba0d4ebd [699-kea-s-v6-server-seems-to-be-missing-some-debug-logging-for-dhcp6_packet_send] Added ChangeLog entry for DHCP6_PACKET_SEND 2019-07-02 13:19:47 +02:00
Francis Dupont
ac96edbe30 [699-kea-s-v6-server-seems-to-be-missing-some-debug-logging-for-dhcp6_packet_send] Addressed comment 2019-07-02 07:16:02 -04:00
Francis Dupont
5e49502969 [699-kea-s-v6-server-seems-to-be-missing-some-debug-logging-for-dhcp6_packet_send] Added DHCP6_PACKET_SEND 2019-07-02 07:16:02 -04:00
Thomas Markwalder
e5e30d399c [#686,!403] Updated ChangeLog 2019-07-01 08:14:03 -04:00
Thomas Markwalder
68b2cb0385 [#686,!403] Addressed review comments
Fixed cosmetics. Spacing etc...
2019-07-01 08:12:24 -04:00
Francis Dupont
fc9307aed9 [686-is-it-necessary-to-run-the-sanity-checker-during-lfc-as-well-as-when-starting-kea] splling * cosmetic 2019-07-01 08:12:24 -04:00
Thomas Markwalder
e292f3a234 [#686,!403] LFC now sees sanity checking as disabled
Add CfgConsistency defaults to application level parsing

src/lib/dhcpsrv/cfg_consistency.h
    Changed constructor default mode to LEASE_CHECK_NONE

src/lib/dhcpsrv/lease_file_loader.h
    LeaseFileLoader::load() - modified to create and use a
    sanity_checker only if checking is enabled.  This avoids
    senselessly making the same decisions for every lease loaded.

src/lib/dhcpsrv/parsers/simple_parser4.*
src/lib/dhcpsrv/parsers/simple_parser6.*
    Added sanity checks defaults so they can be properly set at
    the application level.

src/lib/dhcpsrv/sanity_checker.h
    SanityChecker::leaseCheckingEnabled() - new static function
    to test if sanity checking for leases is enabled

src/lib/dhcpsrv/tests/sanity_checks_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
    updated tests for new constructor default value
2019-07-01 08:12:24 -04:00
Francis Dupont
6f71e2c6d6 [676-add-support-for-server-tags-in-the-cb_cmds-hooks-library] Better fixes... 2019-06-30 08:35:44 -04:00
Francis Dupont
06826b5e5c [676-add-support-for-server-tags-in-the-cb_cmds-hooks-library] Addressed comments 2019-06-30 08:35:44 -04:00
Francis Dupont
2840515b1f [676-add-support-for-server-tags-in-the-cb_cmds-hooks-library] spelling 2019-06-30 08:35:44 -04:00
Marcin Siodelski
835aeee9b1 [#676] Modified internal representation of the tags in ServerSelector. 2019-06-30 08:35:44 -04:00
Thomas Markwalder
29eef3fb17 [#651,!384] Updated ChangeLog entry 2019-06-28 13:57:19 -04:00
Thomas Markwalder
67e047df61 [#651,!384] Fixed unit test 2019-06-28 13:55:39 -04:00
Thomas Markwalder
586839c1f1 [#651,!384] Updated ChangeLog entry 2019-06-28 12:18:59 -04:00
Thomas Markwalder
b58541c344 [#651,!384] Added ChangeLog entry 2019-06-28 12:18:07 -04:00
Thomas Markwalder
209ac10ebe [#651,!384] Fix input IAID in postgresql lease6 fetchers
src/lib/dhcpsrv/pgsql_lease_mgr.cc
    PgSqlLease6Exchange::Uiaid - made this public and added function to
    return the int32 bit value as a string

    PgSqlLeaseMgr::getLeases6() - uses Uiaid.dbInputString() now

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.*
    GenericLeaseMgrTest::testLease6LargeIaidCheck() - new test to
    ensure large value iaids can be stored.

src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
    TEST_F(PgSqlLeaseMgrTest, leases6LargeIaidCheck) - new test

src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc
    TEST_F(CqlLeaseMgrTest, lease6InvalidHostname) - new test

src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
    TEST_F(MySqlLeaseMgrTest, leases6LargeIaidCheck) - new test
2019-06-28 12:16:02 -04:00
Marcin Siodelski
b5bef63e9f [#642] Added ChangeLog for #642. 2019-06-27 21:24:30 +02:00
Marcin Siodelski
af8d0fcfbe [#642,!373] Fixed a typo in the mysql_cb. 2019-06-27 21:10:30 +02:00
Marcin Siodelski
24e9c24f24 [#642,!373] Adjusted exceptions' text in the mysql_cb.
Per review comments.
2019-06-27 14:51:31 -04:00
Marcin Siodelski
77742cdc9d [#642,!373] Delete global parameters as a result of deleting the servers. 2019-06-27 14:51:31 -04:00