]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Fri, 27 Jul 2018 11:52:14 +0000 (13:52 +0200)]
[5680] Changes after review
Thomas Markwalder [Mon, 23 Jul 2018 11:55:56 +0000 (07:55 -0400)]
[5680] Updated kea admin guide
dhcp4-srv.xml
dhcp6-srv.xml
Added sections for host-name-sanitizing
Thomas Markwalder [Fri, 20 Jul 2018 16:11:00 +0000 (12:11 -0400)]
[5680] Use raw text from dns::Name to cope with escape sequences
src/lib/dhcpsrv/d2_client_mgr.h
D2ClientMgr::adjustDomainName() - modified to start with
raw text domain name, this allows us to cope with escape
sequences
src/lib/dhcpsrv/tests/d2_client_unittest.cc
Updated unit tests
Thomas Markwalder [Fri, 20 Jul 2018 15:21:23 +0000 (11:21 -0400)]
[5680] Add ability to fetch unescaped string from dns::Name
src/lib/dns/labelsequence.cc
src/lib/dns/labelsequence.h
Added LabelSequence::toRawText()
src/lib/dns/name.cc
src/lib/dns/name.h
Added Name::toRawText() and LabelSequence::toRawText()
src/lib/dns/tests/labelsequence_unittest.cc
src/lib/dns/tests/name_unittest.cc
Added unit tests
Thomas Markwalder [Thu, 19 Jul 2018 20:06:29 +0000 (16:06 -0400)]
[5680] Added unit tests to verify kea-dhcp6 santizes FQDN values
modified: src/bin/dhcp6/tests/fqdn_unittest.cc
Thomas Markwalder [Thu, 19 Jul 2018 19:36:30 +0000 (15:36 -0400)]
[5680] kea-dhcp4 supports client FQDN name sanitizing
src/lib/dhcpsrv/d2_client_mgr.h
D2ClientMgr::adjustDomainName() - added logic to
sanitize the inbound FQDN name when configured to do so
src/lib/dhcpsrv/tests/d2_client_unittest.cc
TEST(D2ClientMgr, sanitizeFqdnV4)
TEST(D2ClientMgr, sanitizeFqdnV6) - new tests
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, sanitizeFqdn) - new test
Thomas Markwalder [Tue, 10 Jul 2018 19:32:57 +0000 (15:32 -0400)]
[5680] User guide updated with new params
doc/guide/dhcp4-srv.xml
Added discussion of new params to Dhcp4/dhcp-ddns section
src/lib/dhcpsrv/d2_client_cfg.h
fixed missing params doxygen error
Thomas Markwalder [Tue, 10 Jul 2018 17:31:49 +0000 (13:31 -0400)]
[5680] kea-dhcp4 now uses hostname sanititzer when configured for it
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processHostnameOption() - sanitizes client hostname
if configured to do so
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, sanitizeHostname) - new test to
verify hostname sanitizing works as expected
src/lib/dhcpsrv/d2_client_cfg.h
D2ClientConfig::getHostnameSanitizer() added missing getter
src/lib/dhcpsrv/tests/d2_client_unittest.cc
TEST(D2ClientConfigTest, constructorsAndAccessors) - updated to
verify hostname sanitizing stuff
src/lib/util/strutil.cc
fixed regex compilation issue
Thomas Markwalder [Tue, 10 Jul 2018 14:48:09 +0000 (10:48 -0400)]
[5680] Refactor stringSanitizer func into StringSanitizer class
modified:
src/lib/dhcpsrv/d2_client_cfg.cc
src/lib/dhcpsrv/d2_client_cfg.h
src/lib/util/strutil.cc
src/lib/util/strutil.h
src/lib/util/tests/strutil_unittest.cc
Thomas Markwalder [Mon, 9 Jul 2018 17:36:06 +0000 (13:36 -0400)]
[5680] kea-dhcp4/6 now parse hostname-char-set and hostname-char-replacment params
Added to parsing and parsing unit tests.
Servers do not yet utilize the values.
Modified:
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.
Thomas Markwalder [Mon, 9 Jul 2018 14:11:40 +0000 (10:11 -0400)]
[5680] Added support for D2 client hostname sanitizer parms to dhcpsrv lib
src/lib/dhcpsrv/d2_client_cfg.*
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
src/lib/dhcpsrv/tests/d2_client_unittest.cc
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
Added defaults and handling for new params,
hostname-char-set and hostname-char-replacement
Thomas Markwalder [Fri, 6 Jul 2018 18:48:41 +0000 (14:48 -0400)]
[5680] Added a couple more unit test cases
Thomas Markwalder [Fri, 6 Jul 2018 17:14:05 +0000 (13:14 -0400)]
[5680] Added sanitizeString() function to libutil
configure.ac
Added logic to detect usable C++11 regex
src/lib/util/strutil.*
sanitizeString() - new function that replaces all
occurances of invalid chars in a string with a
specified replacement
src/lib/util/tests/strutil_unittest.cc
TEST(StringUtilTest, sanitizeString) - new test
Marcin Siodelski [Tue, 24 Jul 2018 09:39:30 +0000 (11:39 +0200)]
[master] Added ChangeLog entry for #5675.
Marcin Siodelski [Tue, 24 Jul 2018 09:38:10 +0000 (11:38 +0200)]
[master] Merge branch 'trac5675'
Marcin Siodelski [Tue, 24 Jul 2018 09:01:43 +0000 (11:01 +0200)]
[5675] Added note to the HA users guide.
Tomek Mrugalski [Mon, 23 Jul 2018 14:07:03 +0000 (16:07 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Mon, 23 Jul 2018 14:04:55 +0000 (16:04 +0200)]
[github88] Wrapped too long lines.
Tomek Mrugalski [Mon, 23 Jul 2018 14:04:30 +0000 (16:04 +0200)]
[github88] Removed remaining instances of getLeases6(DUID)
Tomek Mrugalski [Mon, 23 Jul 2018 14:03:40 +0000 (16:03 +0200)]
[github88] CQL/SQL scripts corrected (unit-tests in src/bin/admin now pass)
Thomas Markwalder [Mon, 23 Jul 2018 13:21:40 +0000 (09:21 -0400)]
[5675] Added a "the" to admin guide
Tomek Mrugalski [Mon, 23 Jul 2018 12:36:10 +0000 (14:36 +0200)]
[github88] getLeases6(DUID) removed.
Tomek Mrugalski [Mon, 23 Jul 2018 12:35:48 +0000 (14:35 +0200)]
[github88] Schema creation scripts fixed.
mayya [Mon, 16 Jul 2018 21:55:03 +0000 (23:55 +0200)]
[extend_host_struct] Fix review comments
mayya [Mon, 16 Jul 2018 21:53:29 +0000 (23:53 +0200)]
fixed minor issues
mayya [Sun, 15 Jul 2018 13:32:33 +0000 (15:32 +0200)]
review comments 2
review comments 2
test1
fixed unit tests
fixed cassandra
fixed cassandra2
mayya [Sat, 7 Jul 2018 07:39:09 +0000 (09:39 +0200)]
[lib] Address review comments for #83
See #88 for review comments
modified upgrade files
modified tests
mayya [Sun, 10 Jun 2018 16:45:34 +0000 (18:45 +0200)]
[lib] Extend host structure to support auth keys for reconfiguration.
See issue #83
Marcin Siodelski [Thu, 19 Jul 2018 13:23:51 +0000 (15:23 +0200)]
[5675] Resolve the problem of no logging paused state in waiting state.
Marcin Siodelski [Thu, 19 Jul 2018 11:45:12 +0000 (13:45 +0200)]
[5675] Corrected documentation of the HA according to recent config change.
Marcin Siodelski [Wed, 18 Jul 2018 16:05:22 +0000 (18:05 +0200)]
[5675] Corrected unit test about the rebase to latest #5674.
Marcin Siodelski [Thu, 12 Jul 2018 15:55:27 +0000 (17:55 +0200)]
[5675] Described HA state machine pausing.
Marcin Siodelski [Wed, 11 Jul 2018 16:31:27 +0000 (18:31 +0200)]
[5675] Added ha-continue command handler.
Marcin Siodelski [Wed, 11 Jul 2018 16:13:31 +0000 (18:13 +0200)]
[5675] Implemented ha-continue command handler.
Marcin Siodelski [Wed, 18 Jul 2018 16:58:08 +0000 (18:58 +0200)]
[master] Added ChangeLog for #5674.
Marcin Siodelski [Wed, 18 Jul 2018 16:56:40 +0000 (18:56 +0200)]
[master] Merge branch 'trac5674'
Marcin Siodelski [Wed, 18 Jul 2018 14:51:13 +0000 (16:51 +0200)]
[5674] Use pausing capability of StateModel in HA library.
Marcin Siodelski [Wed, 18 Jul 2018 14:17:05 +0000 (16:17 +0200)]
[5674] Implemented state model pausing.
Marcin Siodelski [Wed, 18 Jul 2018 11:40:21 +0000 (13:40 +0200)]
[5674] Verify that heartbeat is sent when SM is paused.
Marcin Siodelski [Wed, 18 Jul 2018 11:31:10 +0000 (13:31 +0200)]
[5674] State machine pausing dealt with in transition.
Marcin Siodelski [Wed, 18 Jul 2018 10:28:42 +0000 (12:28 +0200)]
[5674] Added extra level of hierarchy in state machine configuration.
Per review comments.
Tomek Mrugalski [Thu, 12 Jul 2018 12:51:56 +0000 (14:51 +0200)]
[github93] Added changelog entry, AUTHORS updated.
Tomek Mrugalski [Thu, 12 Jul 2018 12:48:12 +0000 (14:48 +0200)]
[github93] Changes after review:
- added missing unit-tests, fixed bugs, small tweaks.
Tomek Mrugalski [Thu, 12 Jul 2018 10:07:44 +0000 (12:07 +0200)]
Merge branch 'auth_option' of https://github.com/MayyaSunil/kea into github93
Marcin Siodelski [Wed, 11 Jul 2018 12:56:23 +0000 (14:56 +0200)]
[5674] Pause in terminated and backup state.
Marcin Siodelski [Wed, 11 Jul 2018 12:37:17 +0000 (14:37 +0200)]
[5674] Added logs when state machine (un)paused.
Marcin Siodelski [Wed, 11 Jul 2018 12:13:50 +0000 (14:13 +0200)]
[5674] State machine pausing in syncing state.
Marcin Siodelski [Tue, 10 Jul 2018 15:44:49 +0000 (17:44 +0200)]
[5674] Implemented HA pause for ordinary states.
Currently it excludes terminated and syncing states.
Marcin Siodelski [Tue, 10 Jul 2018 14:39:45 +0000 (16:39 +0200)]
[5674] Implement state machine control for HA.
Francis Dupont [Tue, 10 Jul 2018 12:11:43 +0000 (14:11 +0200)]
Merged gitlab/master
Marcin Siodelski [Tue, 10 Jul 2018 09:51:54 +0000 (11:51 +0200)]
[5674] Implemented HA state machine configuration.
Marcin Siodelski [Mon, 9 Jul 2018 12:56:56 +0000 (14:56 +0200)]
[master] Added ChangeLog entry for #5651.
Marcin Siodelski [Mon, 9 Jul 2018 11:53:18 +0000 (13:53 +0200)]
[master] Merge branch 'trac5651'
# Conflicts:
# doc/guide/hooks.xml
# src/lib/dhcpsrv/cql_lease_mgr.cc
Francis Dupont [Sat, 7 Jul 2018 17:30:59 +0000 (19:30 +0200)]
[master] Updated git hash
Francis Dupont [Sat, 7 Jul 2018 17:29:44 +0000 (19:29 +0200)]
[master] Finishing merge of trac5584 (user context for leases)
Francis Dupont [Sat, 7 Jul 2018 17:23:16 +0000 (19:23 +0200)]
[master] Merged trac5584 (user context for leases)
Francis Dupont [Sat, 7 Jul 2018 17:19:15 +0000 (19:19 +0200)]
[5584] Addressed comments
Francis Dupont [Sat, 7 Jul 2018 09:52:25 +0000 (11:52 +0200)]
Changed isReady and improve tests
Francis Dupont [Fri, 6 Jul 2018 21:55:13 +0000 (23:55 +0200)]
[master] spurious spaces
Tomek Mrugalski [Fri, 6 Jul 2018 18:03:47 +0000 (20:03 +0200)]
[master] gitlab issue templates added
Tomek Mrugalski [Fri, 6 Jul 2018 14:37:39 +0000 (16:37 +0200)]
[5584] Minor changes after review.
Marcin Siodelski [Mon, 2 Jul 2018 18:12:50 +0000 (20:12 +0200)]
[master] Added ChangeLog for #5664.
Marcin Siodelski [Mon, 2 Jul 2018 18:11:04 +0000 (20:11 +0200)]
[master] Merge branch 'trac5664a'
Marcin Siodelski [Fri, 29 Jun 2018 19:16:40 +0000 (21:16 +0200)]
[5664] Bump up libraries version numbers.
Hooks and dhcpsrv after #5664 bug fix.
Marcin Siodelski [Fri, 29 Jun 2018 19:10:13 +0000 (21:10 +0200)]
[5664] Improved ScopedCalloutHandleState test.
Per review comments.
Marcin Siodelski [Fri, 29 Jun 2018 18:44:37 +0000 (20:44 +0200)]
[5664] Addressed review comments.
Added test for preserving context upon callout handle reset. Also updated
a commentary.
Francis Dupont [Fri, 29 Jun 2018 16:16:07 +0000 (18:16 +0200)]
[5664] spelling
Marcin Siodelski [Fri, 29 Jun 2018 14:37:49 +0000 (16:37 +0200)]
[5664] Fix callout status propagation in Alloc Engine.
Marcin Siodelski [Fri, 29 Jun 2018 13:33:32 +0000 (15:33 +0200)]
[5664] Test that callout handle is reset after the callouts.
Marcin Siodelski [Fri, 29 Jun 2018 11:37:30 +0000 (13:37 +0200)]
[5664] Implemented wrapper for CalloutHandle.
Francis Dupont [Fri, 29 Jun 2018 12:05:45 +0000 (14:05 +0200)]
[master] spelling
Francis Dupont [Fri, 29 Jun 2018 11:34:01 +0000 (13:34 +0200)]
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Marcin Siodelski [Thu, 28 Jun 2018 14:50:07 +0000 (16:50 +0200)]
[5651] Removed unused SQL/CQL queries.
Marcin Siodelski [Thu, 28 Jun 2018 14:27:14 +0000 (16:27 +0200)]
[master] Added ChangeLog for #5654.
Marcin Siodelski [Thu, 28 Jun 2018 13:14:01 +0000 (15:14 +0200)]
[5651] Removed wrong log message.
Marcin Siodelski [Thu, 28 Jun 2018 13:12:23 +0000 (15:12 +0200)]
[5651] Removed unused log messages.
Marcin Siodelski [Thu, 28 Jun 2018 12:23:16 +0000 (14:23 +0200)]
[5651] Updated a comment in the lease_cmds.
As a result of the review.
Marcin Siodelski [Thu, 28 Jun 2018 12:19:08 +0000 (14:19 +0200)]
[5651] Renamed count to limit for leaseX-get-page command.
Marcin Siodelski [Thu, 28 Jun 2018 12:06:00 +0000 (14:06 +0200)]
[5651] Removed total-count from leaseX-get-page command in User's Guide.
Marcin Siodelski [Thu, 28 Jun 2018 12:02:32 +0000 (14:02 +0200)]
[5651] Removed lease queries by ranges and total lease count.
Marcin Siodelski [Wed, 27 Jun 2018 12:14:05 +0000 (14:14 +0200)]
[master] Merge branch 'trac5654'
Marcin Siodelski [Wed, 27 Jun 2018 12:11:18 +0000 (14:11 +0200)]
[5654] Fix spell check issues in HA unit tests.
Marcin Siodelski [Wed, 20 Jun 2018 10:34:32 +0000 (12:34 +0200)]
[5654] Enable DHCP service for the standby server in active-passive.
This resolves the problem that 'max-unacked-clients' setting was ignored
by the standby server when the primary went down.
Marcin Siodelski [Wed, 27 Jun 2018 11:59:08 +0000 (13:59 +0200)]
[5651] Described lease4-get-page and lease6-get-page cmds.
Francis Dupont [Wed, 27 Jun 2018 07:44:51 +0000 (09:44 +0200)]
[master] spelling
Marcin Siodelski [Tue, 26 Jun 2018 19:36:43 +0000 (21:36 +0200)]
[5651] Implemented leaseX-get-page commands.
Tomek Mrugalski [Tue, 26 Jun 2018 17:49:47 +0000 (18:49 +0100)]
Added template for feature request
Tomek Mrugalski [Tue, 26 Jun 2018 17:39:40 +0000 (18:39 +0100)]
Update issue templates
Marcin Siodelski [Tue, 26 Jun 2018 12:49:36 +0000 (14:49 +0200)]
[5651] Guard against invalid address family.
Marcin Siodelski [Tue, 26 Jun 2018 11:53:01 +0000 (13:53 +0200)]
[5651] Implemented fetching IPv6 leases by address ranges.
Except Cassandra.
Marcin Siodelski [Tue, 26 Jun 2018 08:27:07 +0000 (10:27 +0200)]
[5651] Implemented fetching IPv6 leases with paging.
Marcin Siodelski [Mon, 25 Jun 2018 19:47:20 +0000 (21:47 +0200)]
[5651] Implemented LeaseMgr methods retrieving ranges/pages of IPv4 leases.
Francis Dupont [Fri, 22 Jun 2018 16:58:51 +0000 (18:58 +0200)]
[5584] Updated lease cmds hook
Francis Dupont [Fri, 22 Jun 2018 09:37:22 +0000 (11:37 +0200)]
[5584] Checkpoint: more updates
Francis Dupont [Thu, 21 Jun 2018 23:05:09 +0000 (01:05 +0200)]
[5584] Checkpoint: core code and test done
Francis Dupont [Thu, 21 Jun 2018 10:36:22 +0000 (12:36 +0200)]
[5584] Checkpoint: fixes
Francis Dupont [Thu, 21 Jun 2018 09:15:48 +0000 (11:15 +0200)]
[5584] Checkpoint: updated schema, code and partially tests
mayya [Mon, 18 Jun 2018 13:51:16 +0000 (15:51 +0200)]
minor changes
mayya [Mon, 18 Jun 2018 13:46:51 +0000 (15:46 +0200)]
lib: implements authenitication option required for reconfigure message
See #86
Marcin Siodelski [Fri, 15 Jun 2018 15:54:47 +0000 (17:54 +0200)]
[master] Corrected HA example config file.
Removed extraneous comma and corrected HA logger name.