]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Wed, 2 Apr 2014 19:42:59 +0000 (15:42 -0400)]
[master] Added ccpcheck suppression to pgsql_lease_mgr.cc
Suppressed an unused structure member complaint in dhcpsrv/psql_lease_mgr.cc
This code is going to get a makeover under 3382 and it will be more properly
addressed then.
Jeremy C. Reed [Wed, 2 Apr 2014 17:58:47 +0000 (12:58 -0500)]
[master] fix typo
Thomas Markwalder [Wed, 2 Apr 2014 17:28:15 +0000 (13:28 -0400)]
[master] Fixed a typo in 777
Thomas Markwalder [Wed, 2 Apr 2014 17:26:50 +0000 (13:26 -0400)]
[master] Added entry 778 for Trac #3383.
Also revised entry 777 to properly thank David Carlier.
Thomas Markwalder [Wed, 2 Apr 2014 17:19:22 +0000 (13:19 -0400)]
[master] Merge branch 'trac3383'
Warning message added to D2 about listening outside loopback
Thomas Markwalder [Wed, 2 Apr 2014 17:15:47 +0000 (13:15 -0400)]
[3383] Addressed review comments
Fixed some typos in D2 log messages.
Marcin Siodelski [Wed, 2 Apr 2014 16:43:18 +0000 (18:43 +0200)]
[master] Removed typo from the Changelog entry #776.
Marcin Siodelski [Wed, 2 Apr 2014 16:29:06 +0000 (18:29 +0200)]
[master] Fixed commit hash in the 776.
Thomas Markwalder [Wed, 2 Apr 2014 14:54:33 +0000 (10:54 -0400)]
[3383] Log when D2 is listening on non-loopback address
Added a check in D2Process to detect when D2 is using an
address other than loopback on which to listen and issue
a log warning.
Added simple unit tests that permit visual log inspection
barring a simple, automated way to do it.
Marcin Siodelski [Wed, 2 Apr 2014 13:51:03 +0000 (15:51 +0200)]
[3360] Addressed review comments.
Thomas Markwalder [Wed, 2 Apr 2014 12:48:12 +0000 (08:48 -0400)]
[master] Added ChangeLog entry 777 for #3080
Adding Postgresql backend to Kea
Thomas Markwalder [Wed, 2 Apr 2014 11:48:33 +0000 (07:48 -0400)]
[master] Merge branch 'trac3080'
Adds support for Postgresql backend to Kea
Thomas Markwalder [Wed, 2 Apr 2014 11:23:16 +0000 (07:23 -0400)]
[3080] A few additional minor review corrections.
PgSqlLeaseMgr::openDatabase now sets conn_ to NULL after calling PQfinish.
PgSqlLeaseMgr constructor, moved member inits to the initializer list
Fixed exception text.
Marcin Siodelski [Tue, 1 Apr 2014 19:28:22 +0000 (21:28 +0200)]
[3080] Fixed a couple of typos and errors in doxygen.
Thomas Markwalder [Tue, 1 Apr 2014 13:17:20 +0000 (09:17 -0400)]
[3080] Updated bind10-guide, corrected minor logging issues
The procedure for configuring Postgresql backend in bind10-guide
was updated such that database tables are created and thus owned
by the Kea user rather than the postgres user.
Cleaned up some logging issues and minor cosmetics.
Stephen Morris [Tue, 1 Apr 2014 11:15:45 +0000 (12:15 +0100)]
[3360] Minor changes to comments and documentation made during review
Marcin Siodelski [Mon, 31 Mar 2014 19:55:51 +0000 (21:55 +0200)]
[master] Added ChangeLog entry for #3281.
Marcin Siodelski [Mon, 31 Mar 2014 18:59:26 +0000 (20:59 +0200)]
[master] Merge branch 'trac3281'
Conflicts:
doc/guide/bind10-guide.xml
Marcin Siodelski [Mon, 31 Mar 2014 18:56:54 +0000 (20:56 +0200)]
[3281] Addressed review comments.
Thomas Markwalder [Sat, 29 Mar 2014 14:50:50 +0000 (10:50 -0400)]
[3080] Replaced use of CURSORs with single step selects
Changed the SQL statements used to retrieve data to be simple selects
rather than declared as cursors. This allows the selects to be executed
with a single statemen execution, eliminating the need for BEGIN and END
blocks.
Other minor clean up.
Marcin Siodelski [Fri, 28 Mar 2014 15:10:14 +0000 (16:10 +0100)]
[3080] Use the correct header name schema_mysql_copy.h in MySQL unit test.
Marcin Siodelski [Fri, 28 Mar 2014 14:09:03 +0000 (15:09 +0100)]
[master] Added ChangeLog entry for #3258.
Marcin Siodelski [Fri, 28 Mar 2014 14:01:51 +0000 (15:01 +0100)]
[master] Merge branch 'trac3258'
Marcin Siodelski [Fri, 28 Mar 2014 13:47:41 +0000 (14:47 +0100)]
[3258] Updated bind10-guide css to highlight the new warning in 19.2.1.
Also, corrected one typo.
Stephen Morris [Fri, 28 Mar 2014 13:18:57 +0000 (13:18 +0000)]
[3258] Miscellaneous changes to user guide as part of review
Thomas Markwalder [Fri, 28 Mar 2014 12:31:58 +0000 (08:31 -0400)]
[3080] Fix build and unit test errors
Initial review and testing revealed build issues, unit test failures,
and memory leaks. With these changes it should build and pass unit testing.
There are still runtime issues to address.
Changed expire column type in lease tables to be "TIMESTAMP WITH TIME ZONE",
and added methods to convert to and from such fields to LeaseExchange. This
corrects mismatched time conversion to and from database which was causing unit tests to fail.
Added constructors to PgSqlParam to eliminate use of ".value" initializers and
to provide a safe, uniform way to create parameters for binary data. Prior to
this valgrind was reporting invalid reads when vectors were statically cast
to char*.
Removed superflous BOOST_STATIC_ASSERT and corrected values tested in remaining
check.
Removed use of "SET AUTOCOMMIT TO" as it is no longer supported in PostgreSQL.
Altered failure logic in PgSqlLeaseMgr::openDatabase() to release connection
if it is not NULL. This was causing memory leak in unit tests.
Added PQfinish call to createSchema() function to release the connection to fix
memory leaks during unit testing.
Cleaned most cppcheck complaints.
Thomas Markwalder [Fri, 28 Mar 2014 11:17:51 +0000 (07:17 -0400)]
[3080] Fixed link flags for Kea postgresSQL backend build
Changed the definition of PGSQL_LIBS for building Kea with PostgreSQL
backend to use pg_config value for LIBDIR rather than LDFLAGS. The latter
did not build with PostgreSQL 9.3.4 on OS-X or Centos.
Added OS-X version numbers 10.9.1 and 10.9.2 to the test for setting the value
of bind10_undefined_pthread_behavior. Without this the death test for
conditional variables fails as the problem introduced in 10.9 is still there
as of 10.9.2. This is unrelated to PostgreSQL.
Marcin Siodelski [Thu, 27 Mar 2014 14:11:33 +0000 (15:11 +0100)]
[3258] Updated DHCP-DDNS related sections with current limitations.
Marcin Siodelski [Thu, 27 Mar 2014 12:22:54 +0000 (13:22 +0100)]
[3258] Updated bind10-guide: limitations and supported standards.
Marcin Siodelski [Thu, 27 Mar 2014 11:22:39 +0000 (12:22 +0100)]
[3281] Corrected bind10-guide DHCP server limitation sections.
Marcin Siodelski [Thu, 27 Mar 2014 11:09:02 +0000 (12:09 +0100)]
[3258] Trivial: fixed a todo statement in DHCPv6 server class.
Marcin Siodelski [Wed, 26 Mar 2014 12:55:51 +0000 (13:55 +0100)]
[3281] Updated bind10-guide with the description of subnet identifiers.
Marcin Siodelski [Wed, 26 Mar 2014 12:12:46 +0000 (13:12 +0100)]
[3281] Fixed comments in the unit tests checking subnet ids.
Marcin Siodelski [Wed, 26 Mar 2014 12:10:22 +0000 (13:10 +0100)]
[3281] DHCPv6 configuration parser sets the subnet id specified by user.
Marcin Siodelski [Wed, 26 Mar 2014 11:40:34 +0000 (12:40 +0100)]
[3281] DHCPv4 configuration parser sets the subnet id specified by user.
Marcin Siodelski [Wed, 26 Mar 2014 11:01:17 +0000 (12:01 +0100)]
[3281] Config manager checks for subnet id duplications.
Marcin Siodelski [Wed, 26 Mar 2014 09:56:45 +0000 (10:56 +0100)]
[3281] Allow assigning arbitrary subnet id.
Marcin Siodelski [Wed, 26 Mar 2014 08:19:44 +0000 (09:19 +0100)]
[3360] Fix Memfile config string for Dhcp4 srv unit tests.
Marcin Siodelski [Tue, 25 Mar 2014 23:10:08 +0000 (00:10 +0100)]
[3360] Dynamically create the lease file parsed by unit tests.
Marcin Siodelski [Tue, 25 Mar 2014 16:50:08 +0000 (17:50 +0100)]
[3360] Added missing file to the Makefile.am
Marcin Siodelski [Tue, 25 Mar 2014 16:39:46 +0000 (17:39 +0100)]
[3360] Use string object to compare the text in dbaccess_parser unit test.
Marcin Siodelski [Tue, 25 Mar 2014 16:17:31 +0000 (17:17 +0100)]
[3360] Updated bind10 guide with the instructions to configure Memfile.
Marcin Siodelski [Tue, 25 Mar 2014 16:16:07 +0000 (17:16 +0100)]
[3360] Fix dbaccess parser to use "persist" value as boolean.
Marcin Siodelski [Tue, 25 Mar 2014 15:38:56 +0000 (16:38 +0100)]
[3360] Initialize universe when using Memfile backend.
Marcin Siodelski [Tue, 25 Mar 2014 14:53:02 +0000 (15:53 +0100)]
[3360] Memfile now opens v4 or v6 lease file, not both.
Marcin Siodelski [Tue, 25 Mar 2014 10:25:24 +0000 (11:25 +0100)]
[3360] Cleanup in the Memfile backend code.
Marcin Siodelski [Mon, 24 Mar 2014 22:42:30 +0000 (23:42 +0100)]
[3360] Updated description of the Memfile backend class.
Marcin Siodelski [Mon, 24 Mar 2014 20:43:03 +0000 (21:43 +0100)]
[3360] Memfile db access string uses persist parameter to disable writes.
Marcin Siodelski [Mon, 24 Mar 2014 19:40:12 +0000 (20:40 +0100)]
[3360] Memfile stores and reads leases from disk for v4 and v6.
Marcin Siodelski [Mon, 24 Mar 2014 13:32:10 +0000 (14:32 +0100)]
[3360] Implemented the CSV lease file parser for DHCPv4.
Marcin Siodelski [Mon, 24 Mar 2014 09:08:33 +0000 (10:08 +0100)]
[3360] Cleanup the CSV file parser for DHCPv6 leases.
Marcin Siodelski [Mon, 24 Mar 2014 06:44:55 +0000 (07:44 +0100)]
[3360] Implemented CSV parser for DHCPv6 leases.
Marcin Siodelski [Sat, 15 Mar 2014 21:00:19 +0000 (22:00 +0100)]
[3360] Implemented class for writing/reading DHCPv6 leases from CSV.
Tomek Mrugalski [Fri, 14 Mar 2014 18:44:40 +0000 (19:44 +0100)]
[3080] Many comments added for PostgreSQL backend
Marcin Siodelski [Fri, 14 Mar 2014 14:37:57 +0000 (15:37 +0100)]
[3360] Added CSV file validation.
Tomek Mrugalski [Thu, 13 Mar 2014 21:10:29 +0000 (22:10 +0100)]
[master] distcheck fix after recent commits.
Tomek Mrugalski [Thu, 13 Mar 2014 20:41:36 +0000 (21:41 +0100)]
[3080] BIND10 Guide updated with Postgres support.
Thomas Markwalder [Thu, 13 Mar 2014 18:14:27 +0000 (14:14 -0400)]
[master] Bumped AC_INIT version date to
20140313
Kea engineering drop is being constructed. Version number was bumped
accordingly.
Thomas Markwalder [Thu, 13 Mar 2014 17:50:16 +0000 (13:50 -0400)]
[master] Added entry 774 for Trac #3283.
Marcin Siodelski [Thu, 13 Mar 2014 17:41:08 +0000 (18:41 +0100)]
[3360] Implemented base class for read/write in CSV file.
Thomas Markwalder [Thu, 13 Mar 2014 17:40:00 +0000 (13:40 -0400)]
[master] Merge branch 'trac3283'
Adds DHCP-DDNS to the BIND10 Guide.
Thomas Markwalder [Thu, 13 Mar 2014 17:38:02 +0000 (13:38 -0400)]
[master] Added ChangeLog entry 773 for Trac #3352
Thomas Markwalder [Thu, 13 Mar 2014 17:33:15 +0000 (13:33 -0400)]
[master] Merge branch 'trac3352'
Resolved Conflicts:
src/bin/dhcp6/dhcp6_srv.cc
Stephen Morris [Thu, 13 Mar 2014 16:49:16 +0000 (16:49 +0000)]
[3283] Fixed a minor typo in the BIND 10 guide during second review
Thomas Markwalder [Thu, 13 Mar 2014 15:59:24 +0000 (11:59 -0400)]
[3352] Addressed review comments.
Added use of boolean structs for fdqn unit tests for clarity.
Minor cosmetics.
Thomas Markwalder [Thu, 13 Mar 2014 15:32:35 +0000 (11:32 -0400)]
[master] Added ChangeLog entry 772 for Trac #3374.
Thomas Markwalder [Thu, 13 Mar 2014 15:22:54 +0000 (11:22 -0400)]
[master] Merge branch 'trac3374'
Merges in reversion of 3339 and 3373.
Thomas Markwalder [Thu, 13 Mar 2014 15:00:49 +0000 (11:00 -0400)]
[3282] Addressed review comments.
Added discussion of reverse DNS udpates to tables 17.4 and 18.4.
Fixed other minor typos.
Stephen Morris [Thu, 13 Mar 2014 12:48:05 +0000 (12:48 +0000)]
[3283] Miscellaneous modification to guide as a result of review
Thomas Markwalder [Thu, 13 Mar 2014 12:07:56 +0000 (08:07 -0400)]
[master] Added entry 771 for Trac #3358
Thomas Markwalder [Thu, 13 Mar 2014 11:47:10 +0000 (07:47 -0400)]
[master] Merge branch 'trac3358'
Thomas Markwalder [Thu, 13 Mar 2014 11:08:35 +0000 (07:08 -0400)]
[3358] Addressed review comments.
Added the constant D2ClientConfig::DFT_ALWAYS_INCLUDE_FQDN
Thomas Markwalder [Wed, 12 Mar 2014 19:38:35 +0000 (15:38 -0400)]
[3358] D2ConfigParser supplies its own default values
Added a method to ValueType<> template, getOptionalParam.
Defined constants for dhcp-ddns default values in D2ClientConfig.
D2ClientConfigParser uses these in conjuction with calls to
ValueType<>getOptionalParam() to ensure all the parameters needed
have values.
Modifed unit tests accordingly.
Tomek Mrugalski [Wed, 12 Mar 2014 19:29:35 +0000 (20:29 +0100)]
[3080] Several queries fixed (now use lease_type parameter)
Thomas Markwalder [Wed, 12 Mar 2014 18:42:37 +0000 (14:42 -0400)]
[3374] Reverted the changes made in 3339 and 3373
Files reverted:
Tomek Mrugalski [Wed, 12 Mar 2014 17:58:18 +0000 (18:58 +0100)]
[3080] MySQL unit-tests reordered (grouped in v4 and v6 sections)
Tomek Mrugalski [Wed, 12 Mar 2014 17:57:35 +0000 (18:57 +0100)]
[3080] PgSql improvements:
- UPDATE_LEASE6 query is now working
- Added bunch of new unit-tests
Marcin Siodelski [Wed, 12 Mar 2014 17:44:29 +0000 (18:44 +0100)]
[master] Added Changelog entry for #3232.
Marcin Siodelski [Wed, 12 Mar 2014 17:37:03 +0000 (18:37 +0100)]
[master] Merge branch 'trac3232'
Marcin Siodelski [Wed, 12 Mar 2014 17:35:35 +0000 (18:35 +0100)]
[3232] Initialize all values in Lease6 in the default constructor.
Failing to initialize all values causes valgrind errors.
Tomek Mrugalski [Wed, 12 Mar 2014 14:46:22 +0000 (15:46 +0100)]
[3080] Support for fqdn_fwd, fqdn_rev, hostname fields + fixes
- Added support for 3 new fields, altered schema
- Fixed bug where empty HWADDR was throwing exception
- Several clean-ups
Marcin Siodelski [Mon, 10 Mar 2014 18:45:51 +0000 (19:45 +0100)]
[3360] Set the lease file location for the Memfile backend.
Marcin Siodelski [Wed, 12 Mar 2014 08:41:05 +0000 (09:41 +0100)]
[3232] Merge branch 'master' into trac3232
Conflicts:
src/bin/dhcp6/dhcp6_messages.mes
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/tests/dhcp6_test_utils.cc
Marcin Siodelski [Tue, 11 Mar 2014 20:16:01 +0000 (21:16 +0100)]
[3232] Open fake interfaces for Rebind tests.
Marcin Siodelski [Tue, 11 Mar 2014 18:42:06 +0000 (19:42 +0100)]
[3232] Addressed review comments.
Tomek Mrugalski [Tue, 11 Mar 2014 15:08:01 +0000 (16:08 +0100)]
[3080] IPv4 addresses are now properly stored in integer fields
Tomek Mrugalski [Tue, 11 Mar 2014 14:42:26 +0000 (15:42 +0100)]
[3080] Initial PostgreSQL patch
- patch contributed by David Carlier (thanks!)
- updated to current master
- fixed compliation issues
- written developer's guide (pgsql setup steps)
- many smaller changes
- still WIP
Thomas Markwalder [Tue, 11 Mar 2014 12:34:08 +0000 (08:34 -0400)]
[master] Added ChangeLog entry 769 for trac #3362
Thomas Markwalder [Tue, 11 Mar 2014 12:23:36 +0000 (08:23 -0400)]
[master Merge branch 'trac3362'
b10-dhcp-ddns now checks for NXRRSET on DNS removal, rather than NXDOMAIN
Thomas Markwalder [Tue, 11 Mar 2014 12:19:58 +0000 (08:19 -0400)]
[master] Added entry 768 for Trac #3373
Also moved entry 767 above the beta release line.
Thomas Markwalder [Tue, 11 Mar 2014 12:10:01 +0000 (08:10 -0400)]
[master] Merge branch 'trac3373'
Python data.merge function now does "deep" merges
Thomas Markwalder [Tue, 11 Mar 2014 12:07:00 +0000 (08:07 -0400)]
[3373] Typo on comment.
Thomas Markwalder [Tue, 11 Mar 2014 11:56:22 +0000 (07:56 -0400)]
[3373] Addressed review comments.
The merge logic was simplified a bit and the commentary was improved.
Thomas Markwalder [Tue, 11 Mar 2014 11:23:19 +0000 (07:23 -0400)]
[3362] Added additional commentary regarding use of NXRRSET in NameChangeRemove
Tomek Mrugalski [Tue, 11 Mar 2014 11:17:32 +0000 (12:17 +0100)]
[master] ChangeLog for #3359 updated.
Tomek Mrugalski [Tue, 11 Mar 2014 10:45:04 +0000 (11:45 +0100)]
[master] Merge branch 'trac3359' (shared unit-tests for all DHCP backends)
Tomek Mrugalski [Mon, 10 Mar 2014 19:23:39 +0000 (20:23 +0100)]
[3359] Changes after review:
- GenericLeaseMgrTest class moved to a separate file
- @todo added for disabled tests in memfile (with explanations)
- Added several comments
Marcin Siodelski [Mon, 10 Mar 2014 18:13:58 +0000 (19:13 +0100)]
[3359] Removed doxygen comments from the .cc file.
Also, a couple of trivial changes, mostly documentary.
Thomas Markwalder [Sun, 9 Mar 2014 14:46:28 +0000 (10:46 -0400)]
[3352] Added test to not create NCRs if FQDN flags indicate none required
Dhcpv6Srv::createNameChangeRequests was not catching cases where FQDN flags
indicate NO changes should be made. This causes an exception to thrown by
the NCR constructor stating that both forward and reverse flags cannot be
false. Also moved the check up in the method, above of the options loop.
Thomas Markwalder [Sun, 9 Mar 2014 14:24:40 +0000 (10:24 -0400)]
[3352] Augment DHPC6 FQDN tests to properly check handling of FQDN flags
Unit tests did not detect that Dhcpv6Srv::createNameChangeRequests attempts
to make NCRs when the response FQDN flags indicate that none should be created.
FqdnDhcpv6Srv::testFqdn has been expanded to invoke this method and check the
outcome.