]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Thu, 9 Jun 2016 08:46:14 +0000 (10:46 +0200)]
[master] Merge branch 'trac3572'
Marcin Siodelski [Wed, 8 Jun 2016 16:27:40 +0000 (18:27 +0200)]
[3572] Addressed review comments.
Marcin Siodelski [Wed, 8 Jun 2016 15:07:15 +0000 (17:07 +0200)]
[master] Added ChangeLog entry for #4317.
Marcin Siodelski [Wed, 8 Jun 2016 14:44:53 +0000 (16:44 +0200)]
[master] Merge branch 'trac4317'
Francis Dupont [Wed, 8 Jun 2016 14:19:19 +0000 (16:19 +0200)]
[master] Updating git hash
Francis Dupont [Wed, 8 Jun 2016 14:18:26 +0000 (16:18 +0200)]
[master] Finished merge of trac4106 (DHCPv4-over-DHCPv6 IPC)
Francis Dupont [Wed, 8 Jun 2016 14:16:08 +0000 (16:16 +0200)]
[master] Merged trac4106 (DHCPv4-over-DHCPv6 IPC)
Francis Dupont [Wed, 8 Jun 2016 14:14:35 +0000 (16:14 +0200)]
[4106_rebase] Addressed last comments before merging
Marcin Siodelski [Wed, 8 Jun 2016 14:00:38 +0000 (16:00 +0200)]
[4317] Addressed review comments.
Wlodek Wencel [Tue, 7 Jun 2016 09:45:02 +0000 (11:45 +0200)]
[master] ChangeLog entries renumbered
Shawn Routhier [Mon, 6 Jun 2016 20:17:07 +0000 (13:17 -0700)]
[master] update change log entry
Shawn Routhier [Mon, 6 Jun 2016 20:13:37 +0000 (13:13 -0700)]
Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Conflicts:
ChangeLog
Shawn Routhier [Mon, 6 Jun 2016 20:10:26 +0000 (13:10 -0700)]
[master] Update classification document to match the debug output
The debug output was modified to output text strings using
single quotes instead of double quotes but the document missed
getting this update.
Francis Dupont [Mon, 6 Jun 2016 15:41:25 +0000 (17:41 +0200)]
[4106_rebase] Bind to ::1 too
Francis Dupont [Mon, 6 Jun 2016 15:38:54 +0000 (17:38 +0200)]
[4106_rebase] Addressed comments
Francis Dupont [Mon, 6 Jun 2016 15:14:25 +0000 (17:14 +0200)]
[4106_rebase] Updated copyright years
Marcin Siodelski [Fri, 3 Jun 2016 11:43:08 +0000 (13:43 +0200)]
[4317] DHCPv4 server may search host reservations using client-id.
Marcin Siodelski [Fri, 20 May 2016 07:45:26 +0000 (09:45 +0200)]
[4317] Extended unit tests for DHCPv4 config parser to use client-id.
Marcin Siodelski [Fri, 20 May 2016 07:27:30 +0000 (09:27 +0200)]
[4317] Updated test for HostReservationIdsParser with "client-id".
Marcin Siodelski [Thu, 19 May 2016 17:45:46 +0000 (19:45 +0200)]
[4317] Added client-id as supported host identifier.
Marcin Siodelski [Thu, 2 Jun 2016 16:30:31 +0000 (18:30 +0200)]
[master] Merge branch 'trac4318'
Marcin Siodelski [Thu, 2 Jun 2016 16:29:30 +0000 (18:29 +0200)]
[4318] Address review comments.
Better description of the DORA unit test configuration.
Tomek Mrugalski [Thu, 2 Jun 2016 13:00:04 +0000 (15:00 +0200)]
[master] Merge remote-tracking branch 'trac4510' (backslashes fix)
Marcin Siodelski [Thu, 2 Jun 2016 09:38:57 +0000 (11:38 +0200)]
[master] Added ChangeLog entry for #4281.
Marcin Siodelski [Thu, 2 Jun 2016 08:08:58 +0000 (10:08 +0200)]
[master] Merge branch 'trac4281'
Shawn Routhier [Thu, 2 Jun 2016 05:45:13 +0000 (22:45 -0700)]
[master] Add commit number to change log for 4480
Shawn Routhier [Thu, 2 Jun 2016 05:42:36 +0000 (22:42 -0700)]
[master] Merge branch 'trac4480'
Add debug statements to the classification code
Marcin Siodelski [Wed, 1 Jun 2016 16:08:52 +0000 (18:08 +0200)]
[4281] Removed unused variable.
Marcin Siodelski [Wed, 1 Jun 2016 15:37:15 +0000 (17:37 +0200)]
[4281] Removed unnecessary header.
Marcin Siodelski [Wed, 1 Jun 2016 15:35:44 +0000 (17:35 +0200)]
[4281] Fixed trivial doxygen errors.
Thomas Markwalder [Wed, 1 Jun 2016 13:31:31 +0000 (09:31 -0400)]
[master] Fixed Ubuntu build complaint
Added <stdint.h> to src/lib/dhcpsrv/pgsql_exchange.h
Thomas Markwalder [Wed, 1 Jun 2016 13:08:44 +0000 (09:08 -0400)]
[4480] Fixed a few typos
Minor corrections to doc/guide/classify.xml
Thomas Markwalder [Wed, 1 Jun 2016 11:49:37 +0000 (07:49 -0400)]
[master] Created common PgSqlConnection class from PgSqlLeaseMgr
Merged in trac 4276.
Marcin Siodelski [Tue, 31 May 2016 09:37:28 +0000 (11:37 +0200)]
[3572] Discard DHCPv4 host options container if it is empty.
This is a small performance improvement.
Marcin Siodelski [Mon, 30 May 2016 09:30:26 +0000 (11:30 +0200)]
[4281] Addressed further review comments.
- Always invoke mysql_insert_id to retrieve host_id value
- exit if connection with MySql database is lost
Shawn Routhier [Fri, 27 May 2016 04:36:36 +0000 (21:36 -0700)]
[trac4480] Update per review comments
Create a LogContentTest class and move the functions to manipulate
a test to check on the log output there. This will make it available
for other tests in the future. As part of this bundle a bit more
work into the class to minimze the calls in the test routines.
Where reasonable remove extra copys of the values being pushed
onto the stack - instead of generating a copy just for the logging
simply use the value from the top of the stack directly.
Swtich to using single quotes around text values.
Added some more description in the classify document
Marcin Siodelski [Wed, 25 May 2016 15:52:03 +0000 (17:52 +0200)]
[4281] Added scope_id to the MySQL tables holding options.
Marcin Siodelski [Wed, 25 May 2016 14:48:31 +0000 (16:48 +0200)]
[4281] Moved MySQL host data source statements to impl class.
Thomas Markwalder [Wed, 25 May 2016 13:32:13 +0000 (09:32 -0400)]
[4276] Addressed review comments #2
Moved PgSqlExchange unit tests into their own file.
Improved time testing.
Marcin Siodelski [Wed, 25 May 2016 13:28:41 +0000 (15:28 +0200)]
[4281] Addressed review comments.
Thomas Markwalder [Mon, 23 May 2016 17:59:00 +0000 (13:59 -0400)]
[4276] Addressed review comments
Minor cleanups, added some unit testing of PgSqlExchange functions.
Marcin Siodelski [Mon, 23 May 2016 14:54:37 +0000 (16:54 +0200)]
[3572] Test assignment of host specific options with DHCPINFORM.
Marcin Siodelski [Mon, 23 May 2016 12:52:14 +0000 (14:52 +0200)]
[3572] Test that vendor specific options are overriden.
In the new test the vendor specific options are defined on the
host and global levels. Host specific options should override
globally defined options.
Marcin Siodelski [Fri, 20 May 2016 17:00:00 +0000 (19:00 +0200)]
[3572] DHCPv4 server sends host specific options.
Shawn Routhier [Fri, 20 May 2016 04:56:18 +0000 (21:56 -0700)]
[4480] Add debug logging for evaluation of classification expressions
This patch adds a set of log messages to indicate what values are
being popped from or pushed to the classification value stack. This
is meant to be used by an administrator when debugging the expression
statements.
Stephen Morris [Thu, 19 May 2016 14:39:09 +0000 (15:39 +0100)]
[master] ChangeLog for trac3164
Stephen Morris [Thu, 19 May 2016 13:56:01 +0000 (14:56 +0100)]
[master] Merge branch 'trac3164'
Tomek Mrugalski [Thu, 19 May 2016 13:54:23 +0000 (15:54 +0200)]
[4510] Fix for escaped characters (e.g. backslashes) in option contents.
Stephen Morris [Thu, 19 May 2016 13:38:19 +0000 (14:38 +0100)]
[3164] Add changes suggested by review
Change the connection timeout parameter from an "int" to an "unsigned
int". Update the checks to allow for lexical_cast not throwing an
exception when converting a string representing a negative number
to an unsigned int.
Marcin Siodelski [Thu, 19 May 2016 13:20:09 +0000 (15:20 +0200)]
[4318] Added unit tests for reservations by DUID in DHCPv4.
Marcin Siodelski [Thu, 19 May 2016 13:02:42 +0000 (15:02 +0200)]
[master] Added ChangeLog entry for #4495.
Marcin Siodelski [Thu, 19 May 2016 12:44:07 +0000 (14:44 +0200)]
[master] Merge branch 'trac4495'
Marcin Siodelski [Thu, 19 May 2016 12:35:33 +0000 (14:35 +0200)]
[master] Added ChangeLog entry for #4499.
Marcin Siodelski [Thu, 19 May 2016 12:17:25 +0000 (14:17 +0200)]
[master] Merge branch 'trac4499'
Thomas Markwalder [Wed, 18 May 2016 13:32:30 +0000 (09:32 -0400)]
[4276] Replace use of PGresult with PgSqlResult throughout
Thomas Markwalder [Wed, 18 May 2016 11:32:42 +0000 (07:32 -0400)]
[4276] Created new base class, PgSqlExchange
src/lib/dhcpsrv/Makefile.am
Added pgsql_exchange.cc and pgsql_exchange.h
src/lib/dhcpsrv/pgsql_exchange.h
src/lib/dhcpsrv/pgsql_exchange.cc
New files, containng new base class PgSqlExchange from
which was distilled from PgSqlLeaseExchange
src/lib/dhcpsrv/pgsql_lease_mgr.cc
Refactored exchange classes to use new base class
Moved PsqlBindArray into pgsql_exchange.*
Tomek Mrugalski [Tue, 17 May 2016 17:28:48 +0000 (19:28 +0200)]
[4510] Added unit-test that replicates the issue of mishandling backslashes.
Marcin Siodelski [Tue, 17 May 2016 16:17:55 +0000 (18:17 +0200)]
[4499] Removed inefficient conversion of the host identifier to text.
Thomas Markwalder [Tue, 17 May 2016 15:49:07 +0000 (11:49 -0400)]
[4276] Initial impl of PgSqlConnection class
Initial refactoring of Postgresql connection logic out of
PgSqlLeaseMgr into new PgSqlConnection.
Marcin Siodelski [Tue, 17 May 2016 15:34:48 +0000 (17:34 +0200)]
[4495] Fixed inefficient creation of DHCP Message Type option.
Marcin Siodelski [Tue, 17 May 2016 14:23:51 +0000 (16:23 +0200)]
[4281] Renamed MySqlHostExchangeOpts to MySqlHostWithOptionsExchange.
Marcin Siodelski [Tue, 17 May 2016 13:23:27 +0000 (15:23 +0200)]
[4281] Updated recently modified files with proper commentary.
Also, fixed a couple of minor issues.
Marcin Siodelski [Mon, 16 May 2016 14:44:09 +0000 (16:44 +0200)]
[4281] Creation of a new host in MySQL is wrapped in transaction.
Thomas Markwalder [Fri, 13 May 2016 14:02:11 +0000 (10:02 -0400)]
[master] Added ChangeLog entry 1115 for #4481
Thomas Markwalder [Fri, 13 May 2016 13:22:40 +0000 (09:22 -0400)]
[master] Added query<x> arugment to several callouts
Merge branch 'trac4481'
Thomas Markwalder [Fri, 13 May 2016 13:20:25 +0000 (09:20 -0400)]
[4481] Changed lease6_select API doc to show query6 as "in" only
Thomas Markwalder [Fri, 13 May 2016 12:06:00 +0000 (08:06 -0400)]
[3164] Updated kea-admin copyright date
Marcin Siodelski [Fri, 13 May 2016 08:43:43 +0000 (10:43 +0200)]
[4281] It is allowed to use formatted option values in the host database.
Stephen Morris [Thu, 12 May 2016 20:00:36 +0000 (21:00 +0100)]
[4481] Add missing description of query6 argument to lease6_select
Stephen Morris [Thu, 12 May 2016 18:30:51 +0000 (19:30 +0100)]
[3164] Correct a typo in the user guide
Marcin Siodelski [Mon, 2 May 2016 08:24:30 +0000 (10:24 +0200)]
[4281] Extended MySQL host data source with DHCPv4 and DHCPv6 options.
Missing things:
- proper commentary
- formatted values for options
- rollback host insertion when failing to add reservation or option
Stephen Morris [Wed, 11 May 2016 20:50:29 +0000 (21:50 +0100)]
[master] Added ChangeLog entry for #4485
Stephen Morris [Wed, 11 May 2016 20:10:55 +0000 (21:10 +0100)]
[master]Merge branch 'trac4485'
Stephen Morris [Wed, 11 May 2016 19:40:25 +0000 (20:40 +0100)]
[3164] The database connection timeout is now a configurable parameter
In addition, the default has been changed to five seconds.
Thomas Markwalder [Wed, 11 May 2016 17:12:19 +0000 (13:12 -0400)]
[4481] Made query4 and query6 callout arguments uniformly available
The client packet is now uniformly available to all client packet driven
callouts for both v4 and v6:
Added "query4" to lease4_select and lease4_renew
src/bin/dhcp4/dhcp4_hooks.dox
Added query4 argument to lease4_select and lease4_renew documentation
src/bin/dhcp4/tests/hooks_unittest.cc
Revamped to track both query4 and response4 arguments
TEST_F(HooksDhcpv4SrvTest, lease4RenewSimple) - modified to verify
query4 set by lease4_renew callout
src/lib/dhcpsrv/alloc_engine.cc
- AllocEngine::createLease4()
- AllocEngine::reuseExpiredLease4() - modified to add query4 to
lease4_select callout arguments
- AllocEngine::renewLease4() - modified to add query4 to lease4_renew
callout arguments
src/lib/dhcpsrv/tests/alloc_engine_hooks_unittest.cc
HookAllocEngine4Test() - modified to track query4 argument
TEST_F(HookAllocEngine4Test, lease4_select) - modified to verify query4
callout argument
Added "query6" to pkt6_send and lease6_select
src/bin/dhcp6/dhcp6_hooks.dox
Added query6 argument to pkt6_send and lease6_select documentation
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processPacket(Pkt6Ptr& query, Pkt6Ptr& rsp) - modified to
add query6 to the pkt_send callout arguments
src/bin/dhcp6/tests/hooks_unittest.cc
Revamped to track both query4 and response4 arguments
TEST_F(HooksDhcpv6SrvTest, simplePkt6Send) - modified to
verify query6 set by pkt6_send callout
src/lib/dhcpsrv/alloc_engine.cc
- AllocEngine::createLease4()
- AllocEngine::reuseExpiredLease6() - modified to add query6 to
lease6_select callout arguments
callout arguments
src/lib/dhcpsrv/tests/alloc_engine_hooks_unittest.cc
HookAllocEngine6Test() - modified to track query6 argument
TEST_F(HookAllocEngine6Test, lease4_select) - modified to verify
query6 argument
Tomek Mrugalski [Wed, 11 May 2016 14:58:00 +0000 (16:58 +0200)]
[4106_rebase] Compilation fix after rebase.
Francis Dupont [Sat, 16 Jan 2016 13:22:44 +0000 (14:22 +0100)]
[4106] Fixed DHCP4o6 for compiling, Linux and OpenBSD
Francis Dupont [Sat, 31 Oct 2015 08:02:00 +0000 (09:02 +0100)]
[4106] Changed to use the private options
Francis Dupont [Sat, 31 Oct 2015 03:56:08 +0000 (04:56 +0100)]
[4106] Ported DHCPv4-over-DHCPv6 IPC code from fd4o6 private branch
Tomek Mrugalski [Wed, 11 May 2016 12:19:04 +0000 (14:19 +0200)]
[master] Corrections in the config examples.
Tomek Mrugalski [Tue, 10 May 2016 14:48:01 +0000 (16:48 +0200)]
[master] ChangeLog updated after 4112 merge.
Tomek Mrugalski [Tue, 10 May 2016 14:37:44 +0000 (16:37 +0200)]
[master] Merge branch 'trac4112' (subnet4o6 selection based on v6 info)
Tomek Mrugalski [Tue, 10 May 2016 14:04:17 +0000 (16:04 +0200)]
[4112_rebase] Compilation fix.
Stephen Morris [Tue, 10 May 2016 14:03:02 +0000 (15:03 +0100)]
[4485] Change type of variables to overcome compiler objections
One compiler was objecting to placing the address of a size_t variable
into a variable declared as "unsigned long*". Changing the
declaration from "size_t" to "unsigned long" fixes the problem.
Tomek Mrugalski [Tue, 10 May 2016 12:39:57 +0000 (14:39 +0200)]
[4112_rebase] Minor change after review
- check for address being :: updated
Thomas Markwalder [Mon, 9 May 2016 13:26:22 +0000 (09:26 -0400)]
[master] Added ChangeLog entry 1112 for #4492.
Thomas Markwalder [Mon, 9 May 2016 13:19:59 +0000 (09:19 -0400)]
[master] Fixed unit test compilation post merge
HooksManager::loadLibraries() call now requires
LibraryCollection as parameter
Thomas Markwalder [Mon, 9 May 2016 12:31:55 +0000 (08:31 -0400)]
[master] Server destructors now explicitly unload hooks libraries
Merge branch 'trac4492'
Thomas Markwalder [Mon, 9 May 2016 11:32:51 +0000 (07:32 -0400)]
[4492] Addressed review comments
src/bin/dhcp4/tests/hooks_unittest.cc
src/bin/dhcp6/tests/hooks_unittest.cc
Fixed includes, copyright, and removed unnecessary calls to
IfaceMgr::instance().deleteAllExternalSockets();
Thomas Markwalder [Fri, 6 May 2016 13:07:31 +0000 (09:07 -0400)]
[4492] Addressed review comments
src/bin/dhcp4/tests/hooks_unittest.cc
TEST_F(LoadUnloadDhcpv4SrvTest, unloadLibaries) - new test that
verifies Hooks libraries are unloaded by the Dhcpv4Srv destructor
src/bin/dhcp6/tests/hooks_unittest.cc
TEST_F(LoadUnloadDhcpv6SrvTest, unloadLibaries) - new test that
verifies Hooks libraries are unloaded by the Dhcpv4Srv destructor
Tomek Mrugalski [Thu, 5 May 2016 13:41:47 +0000 (15:41 +0200)]
[4112] 2 new unit-tests added.
Tomek Mrugalski [Thu, 5 May 2016 12:55:57 +0000 (14:55 +0200)]
[master] Minor correction in doxygen comments.
Thanks to wpk for reporting this issue.
Tomek Mrugalski [Sun, 1 Nov 2015 03:29:34 +0000 (12:29 +0900)]
[4112] selectSubnet4o6 implemented + one unit-test
Marcin Siodelski [Wed, 4 May 2016 18:06:05 +0000 (20:06 +0200)]
[master] Added ChangeLog entry for #4493.
Marcin Siodelski [Wed, 4 May 2016 17:26:01 +0000 (19:26 +0200)]
[master] Merge branch 'trac4493'
Marcin Siodelski [Wed, 4 May 2016 16:15:48 +0000 (18:15 +0200)]
[4493] Optimize lookup of timed out packets.
Marcin Siodelski [Mon, 2 May 2016 17:29:12 +0000 (19:29 +0200)]
[4493] Updated statistics calculation.
Presented rate is now the number of ACK/Reply messages,
rather than DO/SA.
Tomek Mrugalski [Mon, 2 May 2016 15:13:50 +0000 (17:13 +0200)]
[master] ChangeLog updated after #4297 merge.
Tomek Mrugalski [Mon, 2 May 2016 14:42:14 +0000 (16:42 +0200)]
[master] Merge branch 'trac4297' (hook libs can now take parameters)
Marcin Siodelski [Mon, 2 May 2016 13:26:46 +0000 (15:26 +0200)]
[4493] Extended perfdhcp test for collected packets.
The extended test verifies that the stats manager is
still usable after some packets have been collected.