]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Fri, 22 Sep 2017 12:09:30 +0000 (14:09 +0200)]
[5073a] Added a failing raw value case for option 43
Francis Dupont [Thu, 21 Sep 2017 21:50:48 +0000 (23:50 +0200)]
[5073a] Updated docs and made deferredUnpack more robust to hooks
Francis Dupont [Thu, 21 Sep 2017 13:44:43 +0000 (15:44 +0200)]
[5073a] Added DHCPv4 unit tests (still doc to update)
Francis Dupont [Thu, 21 Sep 2017 07:22:54 +0000 (09:22 +0200)]
[5073a] Added library unit tests
Francis Dupont [Wed, 20 Sep 2017 20:48:58 +0000 (22:48 +0200)]
[5073a] Main code finished
Francis Dupont [Wed, 20 Sep 2017 19:33:52 +0000 (21:33 +0200)]
[5073a] Code almost finished (still need tests and doc)
Francis Dupont [Wed, 20 Sep 2017 14:59:17 +0000 (16:59 +0200)]
[5073a] On the right track (still a lot of code and new tests to do)
Francis Dupont [Tue, 19 Sep 2017 18:39:17 +0000 (18:39 +0000)]
[trac5073a] regen flex/bison
Francis Dupont [Tue, 19 Sep 2017 18:37:03 +0000 (20:37 +0200)]
[5073a] Augmented syntax
Thomas Markwalder [Tue, 19 Sep 2017 11:50:22 +0000 (07:50 -0400)]
[master] Added ChangeLog entry 1296 for 5111.
Thomas Markwalder [Tue, 19 Sep 2017 11:48:09 +0000 (07:48 -0400)]
[master] Added a hook point, "command-processed", to kea-dhcp4, kea-dhcp6 servers
Merges in branch 'trac5111'
Thomas Markwalder [Mon, 18 Sep 2017 18:33:59 +0000 (14:33 -0400)]
[5111] Correct segfault in agent unit test
src/lib/config/base_command_mgr.h
src/lib/config/base_command_mgr.cc
Moved the hook point registration ouf of the
BaseCommandMgr ctor and into static module space.
Thomas Markwalder [Mon, 18 Sep 2017 14:53:36 +0000 (10:53 -0400)]
[master] Added Changelog entry 1296 for trac 5354.
Thomas Markwalder [Mon, 18 Sep 2017 14:51:12 +0000 (10:51 -0400)]
[master] Fixed sporadic segfault when using mysql backend
Merges in 5354.
Tomek Mrugalski [Mon, 18 Sep 2017 08:45:31 +0000 (08:45 +0000)]
[master] parsers regenerated
Tomek Mrugalski [Fri, 15 Sep 2017 21:33:08 +0000 (23:33 +0200)]
[5360] Lexer fixed, unit-tests added.
Tomek Mrugalski [Fri, 15 Sep 2017 18:00:40 +0000 (20:00 +0200)]
[5360] client-class and match-client-id params on shared-network level
Tomek Mrugalski [Thu, 14 Sep 2017 10:32:09 +0000 (12:32 +0200)]
[master] Parsers regenerated on docs
Tomek Mrugalski [Thu, 14 Sep 2017 10:20:33 +0000 (12:20 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 14 Sep 2017 10:02:38 +0000 (12:02 +0200)]
[master] Merge branch 'trac5357' (shared network parsers update)
# Conflicts:
# src/bin/dhcp4/dhcp4_lexer.cc
# src/bin/dhcp4/dhcp4_parser.cc
# src/bin/dhcp4/dhcp4_parser.h
# src/bin/dhcp6/dhcp6_lexer.cc
# src/bin/dhcp6/dhcp6_parser.cc
# src/bin/dhcp6/dhcp6_parser.h
Marcin Siodelski [Thu, 14 Sep 2017 09:42:46 +0000 (11:42 +0200)]
[5357] Corrected comments in examples: shared subnet => shared network.
Tomek Mrugalski [Wed, 13 Sep 2017 21:12:11 +0000 (23:12 +0200)]
[5357] Bunch of consts added
Tomek Mrugalski [Wed, 13 Sep 2017 21:09:24 +0000 (23:09 +0200)]
[5357] Config examples improved.
Tomek Mrugalski [Wed, 13 Sep 2017 20:23:57 +0000 (22:23 +0200)]
[5357] Parsers renegerated.
Tomek Mrugalski [Wed, 13 Sep 2017 19:04:25 +0000 (21:04 +0200)]
[5357] Addressed comments after review:
- many more parameters are now inherited from shared-network to subnet4
- parameters now passed as const reference
- it is no longer possible to specify echo-client-id on shared-network
level (because it's a global parameter)
- example config commented properly
Marcin Siodelski [Wed, 13 Sep 2017 12:17:37 +0000 (14:17 +0200)]
[5357] Corrected some little typos as a result of review.
Tomek Mrugalski [Wed, 13 Sep 2017 08:59:40 +0000 (10:59 +0200)]
[5357] Makefile correction
Tomek Mrugalski [Wed, 13 Sep 2017 08:58:36 +0000 (10:58 +0200)]
[5357] examples improved.
Tomek Mrugalski [Wed, 13 Sep 2017 08:54:13 +0000 (10:54 +0200)]
[5357] Bison code regenerated
Tomek Mrugalski [Wed, 13 Sep 2017 08:52:57 +0000 (10:52 +0200)]
[5357] Added test for multiple shared-networks
Tomek Mrugalski [Wed, 13 Sep 2017 08:51:29 +0000 (10:51 +0200)]
[5357] Examples added to Makefile
Tomek Mrugalski [Wed, 13 Sep 2017 08:38:27 +0000 (10:38 +0200)]
[5357] Parser for shared-networks in DHCPv6 implemented.
Tomek Mrugalski [Tue, 12 Sep 2017 22:30:32 +0000 (00:30 +0200)]
[5357] Shared-networks parser for v4 extended.
Tomek Mrugalski [Fri, 8 Sep 2017 21:44:03 +0000 (23:44 +0200)]
[5357] Stupid warning removed
Tomek Mrugalski [Fri, 8 Sep 2017 21:43:42 +0000 (23:43 +0200)]
[5357] get-config unit-tests regenerated.
Tomek Mrugalski [Fri, 8 Sep 2017 21:31:31 +0000 (23:31 +0200)]
[5357] empty shared-networks is now allowed
Tomek Mrugalski [Fri, 8 Sep 2017 21:14:24 +0000 (23:14 +0200)]
[5357] Dhcp{4,6} grammar extended, sample configs added.
Marcin Siodelski [Thu, 7 Sep 2017 18:23:55 +0000 (20:23 +0200)]
[master] Added ChangeLog for #5305.
Marcin Siodelski [Thu, 7 Sep 2017 16:08:35 +0000 (18:08 +0200)]
[master] Merge branch 'trac5305'
# Conflicts:
# src/lib/dhcpsrv/parsers/dhcp_parsers.cc
# src/lib/dhcpsrv/subnet.cc
# src/lib/dhcpsrv/subnet.h
Marcin Siodelski [Thu, 7 Sep 2017 15:43:10 +0000 (17:43 +0200)]
[5305] Migrated SharedNetwork6Parser to SimpleParser.
Tomek Mrugalski [Thu, 7 Sep 2017 14:34:54 +0000 (16:34 +0200)]
[5305] Problematic config-get unit-tests disabled temporarily.
Tomek Mrugalski [Thu, 7 Sep 2017 14:34:25 +0000 (16:34 +0200)]
[5305] v4 shared network parser now uses SimpleParser approach.
Tomek Mrugalski [Thu, 7 Sep 2017 14:33:44 +0000 (16:33 +0200)]
[5305] Minor tweaks in tests.
Tomek Mrugalski [Thu, 7 Sep 2017 13:32:38 +0000 (15:32 +0200)]
[master] ChangeLog updated after merge.
Tomek Mrugalski [Thu, 7 Sep 2017 12:17:30 +0000 (14:17 +0200)]
[master] Merge branch 'trac5345' (annoying messages removed)
Thomas Markwalder [Wed, 6 Sep 2017 19:57:38 +0000 (15:57 -0400)]
[5354] Correct auto-reconnect induced mysql client lib segfault
src/lib/dhcpsrv/mysql_connection.cc
MySqlConnection::openDatabase() -
Turns off auto_reconnect
Sets wait_timeout to 30 days
Thomas Markwalder [Tue, 5 Sep 2017 19:55:39 +0000 (15:55 -0400)]
[5111] Replaced hypen with underscore in command_processed hook name
Thomas Markwalder [Tue, 5 Sep 2017 18:42:02 +0000 (14:42 -0400)]
[5111] Updated legal-log hooks section with lease command logging
Marcin Siodelski [Tue, 5 Sep 2017 12:08:52 +0000 (14:08 +0200)]
[5305] Network4/Network6 specific params are now output by SharedNetworks
Tomek Mrugalski [Tue, 5 Sep 2017 11:25:26 +0000 (11:25 +0000)]
[master] parsers regenerated
Tomek Mrugalski [Tue, 5 Sep 2017 11:16:06 +0000 (13:16 +0200)]
[master] ChangeLog updated, parsers regenerated
Marcin Siodelski [Tue, 5 Sep 2017 11:02:42 +0000 (13:02 +0200)]
[5305] Migrated server code and tests from Subnet class to Network class.
Tomek Mrugalski [Tue, 5 Sep 2017 10:55:56 +0000 (12:55 +0200)]
[master] Merge branch 'trac5350'
Tomek Mrugalski [Tue, 5 Sep 2017 10:53:47 +0000 (12:53 +0200)]
[5350] Changes after review:
- clarified that user context must be a map
- fixed identations in kea6/advanced.json config
Marcin Siodelski [Tue, 5 Sep 2017 10:03:00 +0000 (12:03 +0200)]
[5305] Moved common parameters from Subnet to Network.
Marcin Siodelski [Tue, 5 Sep 2017 09:02:53 +0000 (11:02 +0200)]
[5305] Introduced Network4/Network6.
Marcin Siodelski [Mon, 4 Sep 2017 17:25:15 +0000 (19:25 +0200)]
[5305] Stub entry for shared-networks element in server's config added.
Marcin Siodelski [Mon, 4 Sep 2017 17:24:43 +0000 (19:24 +0200)]
[5305] Parsers for shared networks added.
Francis Dupont [Mon, 4 Sep 2017 15:32:59 +0000 (17:32 +0200)]
[5350] spelling
Tomek Mrugalski [Mon, 4 Sep 2017 14:02:27 +0000 (16:02 +0200)]
[5345] Removed DHCP{4,6}_BUFFER_WAIT{,_INTERRUPTED} messages.
Tomek Mrugalski [Mon, 4 Sep 2017 11:58:52 +0000 (13:58 +0200)]
[5350] Parsers regenerated.
Tomek Mrugalski [Mon, 4 Sep 2017 11:58:22 +0000 (13:58 +0200)]
[5350] Documentation updated.
Tomek Mrugalski [Mon, 4 Sep 2017 11:57:23 +0000 (13:57 +0200)]
[5350] User contexts implemented for subnets.
Francis Dupont [Sat, 2 Sep 2017 12:52:36 +0000 (14:52 +0200)]
[master] Updated git hash
Francis Dupont [Sat, 2 Sep 2017 12:51:58 +0000 (14:51 +0200)]
[master] Finishing merge of trac5124a (required params in grammar)
Francis Dupont [Sat, 2 Sep 2017 12:48:53 +0000 (14:48 +0200)]
[master] Merged trac5124a (required params in grammar)
Francis Dupont [Sat, 2 Sep 2017 12:38:14 +0000 (12:38 +0000)]
[trac5124a] regen flex/bison
Francis Dupont [Sat, 2 Sep 2017 12:35:47 +0000 (14:35 +0200)]
[5124a] Rebased
Marcin Siodelski [Fri, 1 Sep 2017 14:14:10 +0000 (16:14 +0200)]
[5305] Added shared-networks configuration to server config.
Marcin Siodelski [Fri, 1 Sep 2017 12:52:38 +0000 (14:52 +0200)]
[5305] Added unit test for shared network destruction.
Marcin Siodelski [Fri, 1 Sep 2017 11:05:06 +0000 (13:05 +0200)]
[5305] Implemented CfgSharedNetworks class.
Marcin Siodelski [Thu, 31 Aug 2017 15:02:17 +0000 (17:02 +0200)]
[5305] Use weak pointer to reference a network from subnet.
Marcin Siodelski [Thu, 31 Aug 2017 11:57:10 +0000 (13:57 +0200)]
[5305] Basic toElement() data dump for shared network implemented.
Marcin Siodelski [Thu, 31 Aug 2017 08:44:04 +0000 (10:44 +0200)]
[5305] Added names to shared networks.
Marcin Siodelski [Thu, 31 Aug 2017 08:25:27 +0000 (10:25 +0200)]
[5305] Added unit tests for IPv6 shared subnets.
Marcin Siodelski [Thu, 31 Aug 2017 08:16:11 +0000 (10:16 +0200)]
[5305] Introduced shared networks holding subnets.
Thomas Markwalder [Wed, 30 Aug 2017 15:19:24 +0000 (11:19 -0400)]
[5111] Updated dhcp4/6 developer's hook point doc
src/bin/dhcp4/dhcp4_hooks.dox
src/bin/dhcp6/dhcp6_hooks.dox
replace "control-command-received" with
"command-processed"
Thomas Markwalder [Wed, 30 Aug 2017 14:27:55 +0000 (10:27 -0400)]
[5111] Added "command-processed" hook point to BaseCommandMgr
src/lib/config/base_command_mgr.cc
- BaseCommandMgr::BaseCommandMgr() - registers command-processed hookpoint
- BaseCommandMgr::processCommand() - invokes command-processed callouts
src/lib/config/tests/command_mgr_unittests.cc
- Cleanup and renaming to avoid confusion
- Added new tests to verify hookpoint callout
TEST_F(CommandMgrTest, commandProcessedHook)
TEST_F(CommandMgrTest, commandProcessedHookReplaceResponse)
Marcin Siodelski [Fri, 25 Aug 2017 16:20:39 +0000 (18:20 +0200)]
[master] Added ChangeLog entry for #5340.
Marcin Siodelski [Fri, 25 Aug 2017 15:38:17 +0000 (17:38 +0200)]
[master] Merge branch 'trac5340'
Marcin Siodelski [Mon, 21 Aug 2017 18:06:29 +0000 (20:06 +0200)]
[master] Added ChangeLog entry for #5336.
Marcin Siodelski [Mon, 21 Aug 2017 17:46:12 +0000 (19:46 +0200)]
[master] Merge branch 'trac5336'
Marcin Siodelski [Mon, 21 Aug 2017 12:51:33 +0000 (14:51 +0200)]
[5340] Fixed invalid use of Pkt4::setFile and Pkt4::setSname functions.
Thomas Markwalder [Wed, 16 Aug 2017 13:10:34 +0000 (09:10 -0400)]
[master] Added ChangeLog 1288 for trac 5315.
Thomas Markwalder [Wed, 16 Aug 2017 13:05:45 +0000 (09:05 -0400)]
[5315] Documented subnet_cmds library in the Kea User's Guide
Merge branch 'trac5315_rebase'
Thomas Markwalder [Tue, 15 Aug 2017 18:57:11 +0000 (14:57 -0400)]
[5315] Wording and whitespace in guide
Replaced subnet-ids with subnets, and subnet-id with id in
subnet commands text, and removed trailing whitespace in
doc/guide/hooks.xml
Tomek Mrugalski [Tue, 15 Aug 2017 16:58:04 +0000 (18:58 +0200)]
[5315_rebase] Changes after rebase and review:
- Renamed SubnetIdIndexTag to avoid collision
- Moved OptionDataParser to option_data_parser.cc|h
- Updated hooks.xml to reflect recent changes
Thomas [Tue, 15 Aug 2017 15:40:09 +0000 (11:40 -0400)]
[5336] Fix EAGAIN/EWOULDBLOCK handling in UnixDomainSocket
Thomas Markwalder [Thu, 10 Aug 2017 18:37:19 +0000 (14:37 -0400)]
[5315] Minor wording edits in doc/guide/hooks.xml
Marcin Siodelski [Thu, 27 Jul 2017 14:44:51 +0000 (16:44 +0200)]
[5315] Updated Kea User's Guide with subnet_cmds information.
Marcin Siodelski [Thu, 27 Jul 2017 12:13:55 +0000 (14:13 +0200)]
[5315] Added functions that remove subnets from a configuration.
Marcin Siodelski [Wed, 26 Jul 2017 20:14:01 +0000 (22:14 +0200)]
[5315] Option data parser checks for runtime definitions in LibDHCP.
Previously, it checked for them in the staging configuration but this is
not going to work for control commands which bypass the staging
configuration step.
Marcin Siodelski [Wed, 26 Jul 2017 11:56:49 +0000 (13:56 +0200)]
[5315] Check for subnet prefix duplicates when subnet is added.
Marcin Siodelski [Tue, 25 Jul 2017 12:33:24 +0000 (14:33 +0200)]
[5315] Moved DHCPv4 and DHCPv6 simple parsers to libdhcpsrv.
Marcin Siodelski [Tue, 25 Jul 2017 07:55:14 +0000 (09:55 +0200)]
[5315] Moved Subnet parsers from DHCP binaries to libdhcpsrv.
Marcin Siodelski [Mon, 24 Jul 2017 11:52:27 +0000 (13:52 +0200)]
[5315] Config Manager now returns non-const pointer to current config.
Thomas Markwalder [Fri, 11 Aug 2017 15:10:59 +0000 (11:10 -0400)]
[master] Added Changelog entry 1287 for Trac 5324.
Thomas Markwalder [Fri, 11 Aug 2017 15:08:45 +0000 (11:08 -0400)]
[master] Log rotation now functions and is on by default
Merge branch 'trac5324'
Thomas Markwalder [Fri, 11 Aug 2017 14:26:58 +0000 (10:26 -0400)]
[5324] Upped the default log size to 10MB
Thomas Markwalder [Thu, 10 Aug 2017 17:57:43 +0000 (13:57 -0400)]
[master] Added Changelog entry 1286 for Trac 5314