]>
git.ipfire.org Git - thirdparty/kea.git/log
Stephen Morris [Mon, 19 Oct 2015 17:05:01 +0000 (18:05 +0100)]
[3443] Minor changes after review.
Stephen Morris [Wed, 14 Oct 2015 17:10:09 +0000 (18:10 +0100)]
[3443] Removed some redundant length checks
Also some refomatting to better conform to Kea style guide and
added some method headers.
Stephen Morris [Tue, 13 Oct 2015 15:16:29 +0000 (16:16 +0100)]
[3443] Added additional buffer tests
Check that an empty buffer can be copied and assigned from. Also
check that a buffer copy and assignment do create copies of the
data, and the new objects do not merely point to the original data.
Stephen Morris [Tue, 13 Oct 2015 13:47:41 +0000 (14:47 +0100)]
[3443] Restructure OutputBuffer to avoid possible dereference of NULL pointer
Stephen Morris [Tue, 13 Oct 2015 10:22:29 +0000 (11:22 +0100)]
[master] ChangeLog for #3996
Stephen Morris [Mon, 12 Oct 2015 16:38:18 +0000 (17:38 +0100)]
[3996] Added missing parameter to ALLOC_ENGINE_V4_REQUEST_OUT_OF_POOL message
Tomek Mrugalski [Fri, 9 Oct 2015 21:30:20 +0000 (23:30 +0200)]
[master] ChangeLog, AUTHORS updated
Tomek Mrugalski [Fri, 9 Oct 2015 21:28:19 +0000 (23:28 +0200)]
[master] Merge branch 'trac3681_rebase' (Common MySQL Connection class)
Conflicts:
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/mysql_lease_mgr.cc
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/schema_mysql_copy.h
Tomek Mrugalski [Fri, 9 Oct 2015 20:35:14 +0000 (22:35 +0200)]
[3681_rebase] DatabaseConnection is used in MemfileLeaseMgr
Francis Dupont [Fri, 9 Oct 2015 12:58:14 +0000 (14:58 +0200)]
[master] Merged trac4062 (fixed DaemonTest.createPIDFileOverwrite in debug)
Tomek Mrugalski [Thu, 8 Oct 2015 23:59:48 +0000 (01:59 +0200)]
[3681_rebase] The latest patch sent by Adam.
Marcin Siodelski [Tue, 6 Oct 2015 17:16:47 +0000 (19:16 +0200)]
[master] Include <limits> instead of <limits.h> in cfg_expiration.
This prevents build failures on many OSes. Okayed on jabber.
Marcin Siodelski [Tue, 6 Oct 2015 15:42:18 +0000 (17:42 +0200)]
[master] Added Changelog entry for #3974.
Marcin Siodelski [Tue, 6 Oct 2015 15:04:02 +0000 (17:04 +0200)]
[master] Merge branch 'trac3974'
Marcin Siodelski [Tue, 6 Oct 2015 14:52:25 +0000 (16:52 +0200)]
[3974] Small updates to the expiration parser tests.
As a result of the review.
Marcin Siodelski [Mon, 5 Oct 2015 10:58:08 +0000 (12:58 +0200)]
[master] Fixed typo in the Makefile.am which caused distcheck failure.
Shawn Routhier [Fri, 2 Oct 2015 19:03:32 +0000 (12:03 -0700)]
[master] Add commit tag to change log entry for 3576 (PXE)
Shawn Routhier [Fri, 2 Oct 2015 19:01:32 +0000 (12:01 -0700)]
Merge branch 'trac3576' Add PXE options
Add several options PXE uses, also add the OptionOpaqueDataTuples
class to provide support for the parameter list option.
Conflicts:
ChangeLog
Shawn Routhier [Fri, 2 Oct 2015 18:18:39 +0000 (11:18 -0700)]
[trac3576] Fix typo in change log
Marcin Siodelski [Fri, 2 Oct 2015 13:36:40 +0000 (15:36 +0200)]
[3974] Attached parser for expired leases processing to global parser.
Marcin Siodelski [Fri, 2 Oct 2015 12:58:03 +0000 (14:58 +0200)]
[3974] Updated DHCPv4 and DHCPv6 spec files with expiration specific params.
Marcin Siodelski [Fri, 2 Oct 2015 09:25:44 +0000 (11:25 +0200)]
[3974] Implemented configuration parser for lease expiration config.
Marcin Siodelski [Thu, 1 Oct 2015 08:08:00 +0000 (10:08 +0200)]
[3974] Added class holding configuration for lease expiation.
Shawn Routhier [Fri, 2 Oct 2015 02:33:54 +0000 (19:33 -0700)]
[trac3576] Updates per review comments
Typo level changes per review comments.
Thomas Markwalder [Thu, 1 Oct 2015 18:30:07 +0000 (14:30 -0400)]
[master] Added ChangeLog entry 1017 for Trac #3916
Shawn Routhier [Thu, 1 Oct 2015 18:17:18 +0000 (11:17 -0700)]
[trac3576] Restore line accidently removed from DHCPv4 guide, fix typo in comment
Thomas Markwalder [Thu, 1 Oct 2015 18:14:34 +0000 (14:14 -0400)]
[master] Replace lease-dump scripts with stored procedures for MySQL/Postgres
Merges in branch 'trac3916'
Francis Dupont [Thu, 1 Oct 2015 16:17:23 +0000 (18:17 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 1 Oct 2015 16:16:35 +0000 (18:16 +0200)]
[master] Finished merge of trac4004 (enable-static and unit tests)
Francis Dupont [Thu, 1 Oct 2015 16:10:15 +0000 (18:10 +0200)]
[master] Merged trac4004 (enable-static and unit tests)
Francis Dupont [Thu, 1 Oct 2015 15:59:55 +0000 (17:59 +0200)]
[4062] Finished previous change
Francis Dupont [Thu, 1 Oct 2015 15:55:53 +0000 (17:55 +0200)]
[4062] Moved to Stephen's style for restore
Francis Dupont [Thu, 1 Oct 2015 15:48:30 +0000 (17:48 +0200)]
[master] Merged trac4061 (use isc::asiolink::IOAddress predicates)
Francis Dupont [Thu, 1 Oct 2015 15:47:03 +0000 (17:47 +0200)]
[4061] Fixed typo
Thomas Markwalder [Thu, 1 Oct 2015 12:46:18 +0000 (08:46 -0400)]
[3916] Use stored procedures for MySQL lease dumps
src/bin/admin/kea-admin.in
src/bin/admin/kea-admin.in
get_dump_query() - modified SQL text returned for MySQL backend
which calls stored procedures to produce lease dumps rather than
SQL text from lease_dump_<version>.sh
src/bin/admin/scripts/mysql/Makefile.am
removed entries for leave_dump_<version>.sh files
src/bin/admin/scripts/mysql/dhcpdb_create.mysql
Added sql to create stored procedures for lease dumps:
lease4DumpHeader
lease4DumpData
lease6DumpHeader
lease6DumpData
src/bin/admin/scripts/pgsql/dhcpdb_create.pgsql
Changes table references in lease6DumpData() to match
convention used in MySQL lease6DumpData()
src/bin/admin/tests/mysql_tests.sh.in
mysql_lease4_dump_test() - change lease4 test leases to have differing
values for lease4.state
mysql_lease6_dump_test() - change lease4 test leases to have differing
values for lease6.state
mysql.lease4_dump_test.reference.csv
mysql.lease6_dump_test.reference.csv
Changed reference files to use lease_state.name values rather than
lease.state to match dump query output and new test data
src/bin/admin/scripts/mysql
deleted the following files as they are now obsolete
leave_dump_1.0.sh
leave_dump_2.0.sh
leave_dump_3.0.sh
leave_dump_4.0.sh
Makefile.am - removed entries for deleted lease dump scripts
Tomek Mrugalski [Thu, 1 Oct 2015 12:24:51 +0000 (14:24 +0200)]
[master] ChangeLog updated after #3984 merge.
Tomek Mrugalski [Thu, 1 Oct 2015 12:23:35 +0000 (14:23 +0200)]
[master] Merge branch 'trac3984' (v4 declined lease recovery)
Conflicts:
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc
Tomek Mrugalski [Thu, 1 Oct 2015 12:04:07 +0000 (14:04 +0200)]
[3984] Changes after review:
- Added comments in AllocEngine
- decline message clarified
- counters are now unsigned
- several asserts added in unit-tests
- missing doxygen entry added
Shawn Routhier [Thu, 1 Oct 2015 01:44:18 +0000 (18:44 -0700)]
[trac3576] Correct some strings, remvoe some extra whitespace
Shawn Routhier [Thu, 1 Oct 2015 00:49:22 +0000 (17:49 -0700)]
[trac3576] Clean up white space and add new files
Shawn Routhier [Thu, 1 Oct 2015 00:15:00 +0000 (17:15 -0700)]
[trac3576] Correct minimal length for v6 vendor class option
Thomas Markwalder [Wed, 30 Sep 2015 19:10:13 +0000 (15:10 -0400)]
[3916] Use stored functions for Postgres lease dumps
lease_dump_1.0.sh - deleted, now obsolete
src/bin/admin/scripts/pgsql/Makefile.am
removed entries for lease_dump_1.0.sh
src/bin/admin/kea-admin.in
get_dump_query() - modified SQL text returned for Postgres backend
which calls stored functions to produce lease dumps rather than
SQL texti from lease_dump_<version>.sh
src/bin/admin/scripts/pgsql/dhcpdb_create.pgsql
added statments to create lease dump functions:
lease4DumpHeader
lease4DumpData
lease6DumpHeader
lease6DumpData
src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
Booleans were expected be 't' or 'f', changed to int 1 or 0
Marcin Siodelski [Wed, 30 Sep 2015 13:37:14 +0000 (15:37 +0200)]
[master] Added ChangeLog entry for #3972.
Marcin Siodelski [Wed, 30 Sep 2015 12:50:04 +0000 (14:50 +0200)]
[master] Merge branch 'trac3972'
Marcin Siodelski [Wed, 30 Sep 2015 12:48:23 +0000 (14:48 +0200)]
[3972] Renamed recycle-timer-wait-time to flush-reclaimed-timer-wait-time.
Marcin Siodelski [Wed, 30 Sep 2015 12:43:32 +0000 (14:43 +0200)]
[master] Added Changelog entry for #3971.
Marcin Siodelski [Wed, 30 Sep 2015 11:20:50 +0000 (13:20 +0200)]
[master] Merge branch 'trac3971'
Marcin Siodelski [Wed, 30 Sep 2015 08:57:43 +0000 (10:57 +0200)]
[3972] Addressed review comments - minor nits.
Shawn Routhier [Wed, 30 Sep 2015 06:23:12 +0000 (23:23 -0700)]
[trac3576] Add PXE options
Add the options used by PXE
rfc4578 (dhcpv4)
93 Client_System (arch type)
94 Client NDI (network Interface id)
97 UUID/GUID client machine option def
rfc5970 (dhcpv6)
59 BOOTFILE_URL
60 BOOTFILE_PARAM
61 CLIENT_ARCH_TYPE
62 NII
Option 60 requires a special class in order to process the length & string tuples
As some unreleated tests used option 59 as an undefined option they needed to be
updated to use another option.
Marcin Siodelski [Tue, 29 Sep 2015 17:57:08 +0000 (19:57 +0200)]
[3971] Improved commentary in the Thread test.
Marcin Siodelski [Tue, 29 Sep 2015 17:55:27 +0000 (19:55 +0200)]
[3971] Addressed other review comments.
Marcin Siodelski [Tue, 29 Sep 2015 17:35:01 +0000 (19:35 +0200)]
[3971] Implemented test for graceful Thread destruction in child process.
Marcin Siodelski [Mon, 28 Sep 2015 18:23:31 +0000 (20:23 +0200)]
[3972] Lease reclamation routine executes the callouts.
Stephen Morris [Tue, 29 Sep 2015 10:34:55 +0000 (11:34 +0100)]
[master] ChangeLog for #4046
Stephen Morris [Tue, 29 Sep 2015 10:02:41 +0000 (11:02 +0100)]
[master] Merge branch 'trac4046'
Marcin Siodelski [Mon, 28 Sep 2015 13:02:17 +0000 (15:02 +0200)]
[3971] Catch exceptions in the CtrlDhcp{4,6}Srv destructors.
Marcin Siodelski [Mon, 28 Sep 2015 12:45:46 +0000 (14:45 +0200)]
[3971] Remove products of the LFC run in the shell based tests.
Marcin Siodelski [Mon, 28 Sep 2015 11:21:09 +0000 (13:21 +0200)]
[3971] DHCPv6 server uses TimerMgr to run LFC timers.
Marcin Siodelski [Mon, 28 Sep 2015 11:01:30 +0000 (13:01 +0200)]
[3971] Better handling errors when thread is stopped/started.
Also, improved some LFC unit tests.
Marcin Siodelski [Mon, 28 Sep 2015 09:24:25 +0000 (11:24 +0200)]
[3971] TimerMgr returns the number of registered timers.
Marcin Siodelski [Mon, 28 Sep 2015 09:10:15 +0000 (11:10 +0200)]
[3971] Memfile_LeaseMgr test holds instance of TimerMgr.
Francis Dupont [Fri, 25 Sep 2015 21:14:59 +0000 (23:14 +0200)]
[master] Merged trac4045 (cppcheck warnings)
Francis Dupont [Fri, 25 Sep 2015 16:51:00 +0000 (18:51 +0200)]
[4062] copy_ -> env_copy_
Francis Dupont [Fri, 25 Sep 2015 16:32:17 +0000 (18:32 +0200)]
[4004] Put again hooks.h as a dependency
Marcin Siodelski [Wed, 23 Sep 2015 11:58:54 +0000 (13:58 +0200)]
[3971] Resolved issues with fork/exec while spawning LFC.
Marcin Siodelski [Wed, 23 Sep 2015 10:10:18 +0000 (12:10 +0200)]
[3971] Using TimerMgrPtr returned by the TimerMgr.
Marcin Siodelski [Mon, 14 Sep 2015 12:07:22 +0000 (14:07 +0200)]
[3971] Added test for LFC scheduling in DHCPv4 server.
Marcin Siodelski [Tue, 15 Sep 2015 21:08:14 +0000 (23:08 +0200)]
[3971] Fixed logic of the MemfileLeaseMgrTest timeout.
Marcin Siodelski [Fri, 11 Sep 2015 12:30:51 +0000 (14:30 +0200)]
[3971] Using TimerMgr in the Memfile backend.
Marcin Siodelski [Fri, 25 Sep 2015 13:53:07 +0000 (15:53 +0200)]
[master] Link perfdhcp with pthread to prevent build issues.
Francis Dupont [Fri, 25 Sep 2015 07:16:26 +0000 (09:16 +0200)]
[master] Updated git hash
Francis Dupont [Fri, 25 Sep 2015 07:15:06 +0000 (09:15 +0200)]
[master] Merged trac4015 supplement (DHCPv4 missing definitions)
Francis Dupont [Thu, 24 Sep 2015 23:29:09 +0000 (01:29 +0200)]
[4015] Tentative dhcp4.h
Francis Dupont [Thu, 24 Sep 2015 22:35:18 +0000 (00:35 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 22:33:49 +0000 (00:33 +0200)]
[master] Finished merge of trac4015 (secure DHCPv6 definitions)
Francis Dupont [Thu, 24 Sep 2015 22:31:16 +0000 (00:31 +0200)]
[master] Merged trac4015 (secure DHCPv6 definitions)
Shawn Routhier [Thu, 24 Sep 2015 21:43:54 +0000 (14:43 -0700)]
[4015] Update the comments a bit to make the clearer.
Francis Dupont [Thu, 24 Sep 2015 20:18:25 +0000 (22:18 +0200)]
[4015] Added an experimental options table in user doc
Francis Dupont [Thu, 24 Sep 2015 19:51:53 +0000 (21:51 +0200)]
[4015] Added a IANA / standard option leading note and some EXPERIMENTAL labels
Francis Dupont [Thu, 24 Sep 2015 19:32:50 +0000 (21:32 +0200)]
[4062] Added environment protection in test ctor/dtor
Marcin Siodelski [Thu, 24 Sep 2015 18:55:40 +0000 (20:55 +0200)]
[master] Merge branch 'trac4039'
Stephen Morris [Thu, 24 Sep 2015 18:00:40 +0000 (19:00 +0100)]
[master] Merge branch 'trac3952'
Thomas Markwalder [Thu, 24 Sep 2015 16:08:02 +0000 (12:08 -0400)]
[master] Added ChangeLog entry 1010 for #4067.
Thomas Markwalder [Thu, 24 Sep 2015 15:43:01 +0000 (11:43 -0400)]
[master] Fixed fd/0 unit test issue
Merged branch 'trac4067'
Marcin Siodelski [Thu, 24 Sep 2015 15:41:16 +0000 (17:41 +0200)]
[4039] Longer intervals in the TimerMgr test to avoid timing issues.
Thomas Markwalder [Thu, 24 Sep 2015 15:33:14 +0000 (11:33 -0400)]
[4067] Addressed review comments
Updated commentary in pkt_filter_test_stub.h as requested.
Francis Dupont [Thu, 24 Sep 2015 14:53:16 +0000 (16:53 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 14:48:54 +0000 (16:48 +0200)]
[master] Merged trac4065 (block all signals in child threads)
Francis Dupont [Thu, 24 Sep 2015 14:37:36 +0000 (16:37 +0200)]
[master] Fixed old asio.hpp include in new code (bis)
Francis Dupont [Thu, 24 Sep 2015 14:32:57 +0000 (16:32 +0200)]
[master] Fixed old asio.hpp include in new code
Francis Dupont [Thu, 24 Sep 2015 14:11:36 +0000 (16:11 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 14:09:57 +0000 (16:09 +0200)]
[master] Cleanup merge of trac4009 (use Boost Asio vs. ext/asio)
Francis Dupont [Thu, 24 Sep 2015 13:53:10 +0000 (15:53 +0200)]
[master] Finished merge of trac4009 (use Boost Asio vs. ext/asio)
Marcin Siodelski [Thu, 24 Sep 2015 13:38:03 +0000 (15:38 +0200)]
[4065] Added test description in the thread.cc
Francis Dupont [Thu, 24 Sep 2015 13:22:05 +0000 (15:22 +0200)]
[4009] Improved new boost options doc
Francis Dupont [Thu, 24 Sep 2015 13:18:35 +0000 (15:18 +0200)]
[4009] Improved --with-boost-libs help
Thomas Markwalder [Thu, 24 Sep 2015 13:01:49 +0000 (09:01 -0400)]
[4067] PktFilterTestStub no longer used fd 0
src/lib/dhcp/tests/pkt_filter_test_stub.cc
- PktFilterTestStub::openSocket() - the filter's SocketInfo::sock_fd_ is
now set with value returend by opening "/dev/null" as read_only. This
provides a valid, consumed fd that the filter retains until its socket
is closed.
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
CtrlChannelDhcp4SrvTest removed the fd/0 work-around as it is no
longer needed
~
Francis Dupont [Thu, 24 Sep 2015 10:20:22 +0000 (12:20 +0200)]
[4015] Fixed D60_MIP6_VDINF spelling
Francis Dupont [Wed, 23 Sep 2015 20:46:03 +0000 (22:46 +0200)]
[4065] Added a signal safe comment
Francis Dupont [Wed, 23 Sep 2015 20:44:18 +0000 (22:44 +0200)]
[4065] Added unit test