]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Tue, 12 Feb 2013 16:25:42 +0000 (17:25 +0100)]
[master] Merge branch 'trac2719' (bug for handling unexpected RENEWs in DHCPv6)
Conflicts:
ChangeLog
Tomek Mrugalski [Tue, 12 Feb 2013 15:58:48 +0000 (16:58 +0100)]
[2719] Adjusted logging level, unnecessary comments removed.
Marcin Siodelski [Tue, 12 Feb 2013 15:28:45 +0000 (16:28 +0100)]
[master] Added a ChangeLog entry for #2704.
Also, trivial change: removed spurious brackets in the previous entry.
Marcin Siodelski [Tue, 12 Feb 2013 15:22:43 +0000 (16:22 +0100)]
[master] Merge branch 'trac2704'
Thomas Markwalder [Tue, 12 Feb 2013 14:21:54 +0000 (09:21 -0500)]
[master] changelog entry for #2699,#2703
Thomas Markwalder [Tue, 12 Feb 2013 14:09:00 +0000 (09:09 -0500)]
Merge branch 'master' into trac2699_2
Michal 'vorner' Vaner [Tue, 12 Feb 2013 13:04:35 +0000 (14:04 +0100)]
[1924] Clean generated file
Reported by distcheck
Michal 'vorner' Vaner [Tue, 12 Feb 2013 11:58:46 +0000 (12:58 +0100)]
[1924] Hack to allow finding generated python module
Do a hack to make the tests run with separate build and source
directories. The generated file ended up in a different directory than
the rest of the modules and the __init__.py. It therefore didn't work.
We use the same trick as log_messages, a forwarder module and addition
to PYTHON_PATH to find it.
Only the real file is installed.
Thomas Markwalder [Tue, 12 Feb 2013 14:00:18 +0000 (09:00 -0500)]
[2699] - Added 2013 to copyright notice in dhcpbdb_create.mysql
Tomek Mrugalski [Tue, 12 Feb 2013 13:24:57 +0000 (15:24 +0200)]
[2719] Emergency fix for renew when there are no subnets configured.
Thomas Markwalder [Mon, 11 Feb 2013 20:39:59 +0000 (15:39 -0500)]
[2699] Added composite search indexes to lease4 and lease6 tables to boost performance.
Note: This change fulfills both 2699 (lease4) and 2703 (lease6).
Stephen Morris [Tue, 12 Feb 2013 12:32:32 +0000 (12:32 +0000)]
[master] ChangeLog for #2681
Stephen Morris [Tue, 12 Feb 2013 12:29:06 +0000 (12:29 +0000)]
[master] Merge branch 'trac2681'
Stephen Morris [Tue, 12 Feb 2013 12:28:02 +0000 (12:28 +0000)]
[2681] Merge branch 'master' into trac2681
Conflicts:
src/lib/dhcpsrv/alloc_engine.cc
Marcin Siodelski [Tue, 12 Feb 2013 11:31:50 +0000 (12:31 +0100)]
[master] Updated ChangeLog for the #2700.
Marcin Siodelski [Tue, 12 Feb 2013 09:55:17 +0000 (10:55 +0100)]
[2700] Fix issue where the cmd line switches are printed as ASCII codes.
Marcin Siodelski [Tue, 12 Feb 2013 09:11:15 +0000 (10:11 +0100)]
[2704] Use the selectSubnet() subnet function to pick the suitable subnet.
The selectSubnet() function offers two ways to find a subnet for a
particular interface: using the name of the interface that the subnet is
configured for; and using the packet source address. Also, the redundant
warning is removed if suitable subnet was not found as this warning is
already issued elsewhere.
Mukund Sivaraman [Tue, 12 Feb 2013 05:23:15 +0000 (10:53 +0530)]
[2281] Use map::lower_bound() to speed up partial match searches
... by using the reverse of the name as the key.
JINMEI Tatuya [Tue, 12 Feb 2013 04:38:09 +0000 (20:38 -0800)]
[2440] ignore duplicate RRSIG Rdata, too.
Mukund Sivaraman [Tue, 12 Feb 2013 04:33:48 +0000 (10:03 +0530)]
[2281] Pass a null config to ZoneTableSegment::create() for now
Mukund Sivaraman [Tue, 12 Feb 2013 04:30:21 +0000 (10:00 +0530)]
[2281] Add documentation for the static datasource shared object's public symbols
Mukund Sivaraman [Tue, 12 Feb 2013 04:19:15 +0000 (09:49 +0530)]
[2281] Rename factory_link.h to static_datasrc.h
This is because the config argument will have to be documented.
JINMEI Tatuya [Tue, 12 Feb 2013 04:10:34 +0000 (20:10 -0800)]
[2440] suppress duplicate Rdata in RdataEncoder::addRdata().
also, as a cleanup, removed an unused class member variable.
Mukund Sivaraman [Tue, 12 Feb 2013 03:43:10 +0000 (09:13 +0530)]
Merge branch 'master' into trac2650
JINMEI Tatuya [Mon, 11 Feb 2013 23:37:43 +0000 (15:37 -0800)]
[2440] unrelated cleanup: removed unnecessary include
JINMEI Tatuya [Mon, 11 Feb 2013 21:44:47 +0000 (13:44 -0800)]
[master] Merge branch 'trac2665'
JINMEI Tatuya [Mon, 11 Feb 2013 21:42:55 +0000 (13:42 -0800)]
[master] changelog entry for #2661
JINMEI Tatuya [Mon, 11 Feb 2013 21:38:22 +0000 (13:38 -0800)]
[master] Merge branch 'trac2661'
JINMEI Tatuya [Mon, 11 Feb 2013 17:24:45 +0000 (09:24 -0800)]
[2586] use !, not %, for a label char smaller than &.
% seems to (possibly) cause an unexpected side effect in an SQL statement.
Stephen Morris [Mon, 11 Feb 2013 15:33:11 +0000 (15:33 +0000)]
[master] Merge branch 'trac2673'
Tomek Mrugalski [Mon, 11 Feb 2013 14:54:27 +0000 (15:54 +0100)]
[master] Merge branch 'trac2702' (DHCPv4 renewal without client-id)
Conflicts:
ChangeLog
Stephen Morris [Mon, 11 Feb 2013 14:39:34 +0000 (14:39 +0000)]
[2673] Merge branch 'master' into trac2673
Tomek Mrugalski [Mon, 11 Feb 2013 14:36:42 +0000 (15:36 +0100)]
[2702] ChangeLog updated.
Tomek Mrugalski [Mon, 11 Feb 2013 13:53:16 +0000 (14:53 +0100)]
[master] Merge branch 'trac2697' (bugfix for dhcp4 and MySQL)
Conflicts:
ChangeLog
Stephen Morris [Mon, 11 Feb 2013 13:42:18 +0000 (13:42 +0000)]
[2681] Address review comments
Tomek Mrugalski [Mon, 11 Feb 2013 13:41:18 +0000 (14:41 +0100)]
[2697] ChangeLog updated.
Tomek Mrugalski [Mon, 11 Feb 2013 13:15:49 +0000 (14:15 +0100)]
[2702] Fix for DHCPv4 client renewals (without client-id)
Stephen Morris [Mon, 11 Feb 2013 12:26:12 +0000 (12:26 +0000)]
[2673] Correct use of wrong variable in unit test
Michal 'vorner' Vaner [Mon, 11 Feb 2013 09:17:20 +0000 (10:17 +0100)]
[1924] Fix makefile
The .cc file must be in _SOURCES, not in nodist_SOURCES. This one is not
generated.
Michal 'vorner' Vaner [Mon, 11 Feb 2013 09:12:55 +0000 (10:12 +0100)]
[1924] Add the generator scripts to EXTRA_DIST
One would think it would pack them automatically if they are in
noinst_SCRIPTS. But it doesn't seem to work, so marking them explicitly.
Michal 'vorner' Vaner [Mon, 11 Feb 2013 09:03:26 +0000 (10:03 +0100)]
[1924] (minor) Try to make the comment slightly cleaner
Michal 'vorner' Vaner [Mon, 11 Feb 2013 08:56:42 +0000 (09:56 +0100)]
[1924] Move the common_defs to the cc directory
Currently, it contains only the definitions related to CC. If we have
other definitions for other purposes, we may create further definition
files.
Also, rename it to proto_defs, since all is protocol constants.
Move the generator scripts to better place.
There should be no difference in functionality.
Mukund Sivaraman [Mon, 11 Feb 2013 04:16:58 +0000 (09:46 +0530)]
[master] Update ChangeLog for #2672
Mukund Sivaraman [Mon, 11 Feb 2013 04:01:12 +0000 (09:31 +0530)]
Merge branch 'master' into trac2672
Conflicts:
src/lib/python/isc/ddns/session.py
Mukund Sivaraman [Mon, 11 Feb 2013 03:58:06 +0000 (09:28 +0530)]
[2650] Add cppcheck suppressions
JINMEI Tatuya [Sat, 9 Feb 2013 22:52:37 +0000 (14:52 -0800)]
[2665] use istream::ignore() (and ignore result) to skip chars instead of get()
ignoring the result fixes a scan-build error. besides, ignore() should be
more appropriate choice for what it intends to do anyway.
JINMEI Tatuya [Sat, 9 Feb 2013 22:46:17 +0000 (14:46 -0800)]
[2665] removed unnecessary assignment, fixing one error from clang scan-build.
JINMEI Tatuya [Sat, 9 Feb 2013 07:39:04 +0000 (23:39 -0800)]
[2585] re-enabled auth query tests for in-memory that failed so far.
JINMEI Tatuya [Sat, 9 Feb 2013 07:35:29 +0000 (23:35 -0800)]
[2585] don't perform wildcard substitution for NXRRSET NSEC.
test cases aren't incomplete, so it's revised to cover all combinations.
JINMEI Tatuya [Sat, 9 Feb 2013 02:09:33 +0000 (18:09 -0800)]
[2585] don't replace the name in findAll unless it's wildcard substituion.
JINMEI Tatuya [Fri, 8 Feb 2013 21:51:14 +0000 (13:51 -0800)]
[2586] use non-escaped labels for query tests so they work with sqlite3.
sqlite3 data source currently doesn't handle escaled labels 100% correctly,
especially in identifying the "previous name" for DNSSEC negative proofs.
since this is not the point of these tests, it should be better to work around
it by the use of non escaped labels.
JINMEI Tatuya [Fri, 8 Feb 2013 21:21:47 +0000 (13:21 -0800)]
[1924] constify
JINMEI Tatuya [Fri, 8 Feb 2013 17:36:32 +0000 (09:36 -0800)]
[1924] replace suffix cpp with cc
assuming it was just overlooked, not intentional.
Marcin Siodelski [Fri, 8 Feb 2013 17:34:28 +0000 (18:34 +0100)]
[master] Updated ChangeLog entry for #2657.
Marcin Siodelski [Fri, 8 Feb 2013 17:29:27 +0000 (18:29 +0100)]
[master] Merge branch 'trac2657'
JINMEI Tatuya [Fri, 8 Feb 2013 16:21:01 +0000 (08:21 -0800)]
[2661] protect the output of 'python-config | sed' with [], with more comments.
without [] the output it seems possible that the output is empty for some
environments. also clarified that we can ignore the cases where -L isn't
contained at all.
Stephen Morris [Fri, 8 Feb 2013 13:07:08 +0000 (13:07 +0000)]
[2657] Minor modifications to changed text
Also explicitly added a note in the "Installation" section referring
to the BIND 10 DHCP database installation and configuration section.
Mukund Sivaraman [Fri, 8 Feb 2013 04:23:23 +0000 (09:53 +0530)]
[2281] Re-enable the query tests
Before, the query tests used the old datasrc::InMemoryClient wrapped
around a ZoneFinder, from where it got its zone data (the old in-memory
design). This is no longer available.
The mock zone finder also rigs some names to do some special things. We
cannot support this with the new datasrc::memory::InMemoryClient. So we
implement a mock client in this commit.
Note that because we no longer have the old RBTree, and the new
DomainTree is not useful as it returns const nodes, we use a std::map
instead. This is slightly slower when no exact match occurs as far as
these unittests are concerned, but they are tests anyway and there
aren't many zones in the map, so we can ignore this slight inefficiency.
Michal 'vorner' Vaner [Fri, 8 Feb 2013 11:34:52 +0000 (12:34 +0100)]
[1924] Fix syntax error
Forgotten in previous commit
Michal 'vorner' Vaner [Fri, 8 Feb 2013 11:27:46 +0000 (12:27 +0100)]
[1924] Comments and cleanups in the generator scripts
Michal 'vorner' Vaner [Fri, 8 Feb 2013 10:21:18 +0000 (11:21 +0100)]
[1924] Remove BUILT_SOURCES from CLEANFILES
Michal 'vorner' Vaner [Fri, 8 Feb 2013 10:18:06 +0000 (11:18 +0100)]
[1924] (minor) Clarify a doc comment
Michal 'vorner' Vaner [Fri, 8 Feb 2013 10:16:15 +0000 (11:16 +0100)]
[1924] Less confusing parameter names for sendmsg
Changed to header and payload, which removes the confusion of the first
part message being called env and the other called msg in one send and
the first being msg (and the second omitted) in the second case.
Michal 'vorner' Vaner [Fri, 8 Feb 2013 10:07:09 +0000 (11:07 +0100)]
[1924] Reuse common test code
Michal 'vorner' Vaner [Fri, 8 Feb 2013 09:43:07 +0000 (10:43 +0100)]
[1924] Return failure explicitly
Michal 'vorner' Vaner [Fri, 8 Feb 2013 09:42:32 +0000 (10:42 +0100)]
[1924] (minor) Comment tweaks
JINMEI Tatuya [Fri, 8 Feb 2013 06:57:43 +0000 (22:57 -0800)]
[1924] style fixes: avoided long lines
JINMEI Tatuya [Fri, 8 Feb 2013 06:18:01 +0000 (22:18 -0800)]
[2679] cleanup: removed a redundant white space
JINMEI Tatuya [Fri, 8 Feb 2013 05:49:23 +0000 (21:49 -0800)]
[2679] cleanup: consolidate two RRsetCollection test fixtures.
on a closer look they are mostly identical, and can be unified with
some updates to the test cases. reducing the number of fixtures will
simply the public interface of the tests.
JINMEI Tatuya [Fri, 8 Feb 2013 05:08:13 +0000 (21:08 -0800)]
[2679] more documentation
JINMEI Tatuya [Fri, 8 Feb 2013 04:31:33 +0000 (20:31 -0800)]
[2679] moved def of JournalEntry inside .cc; it's not needed for test users.
Mukund Sivaraman [Fri, 8 Feb 2013 04:26:37 +0000 (09:56 +0530)]
[2672] Rename _ERR suffix to _ERROR in message IDs
JINMEI Tatuya [Fri, 8 Feb 2013 04:12:55 +0000 (20:12 -0800)]
[2679] added some documentation
Mukund Sivaraman [Fri, 8 Feb 2013 04:12:45 +0000 (09:42 +0530)]
[2281] Enable factory test for static DS with bad zone file
JINMEI Tatuya [Fri, 8 Feb 2013 03:30:08 +0000 (19:30 -0800)]
[2679] extracted non-sqlite3-specific param logic into sharable utility funcs
so that they can be used by other accessor implementations.
JINMEI Tatuya [Fri, 8 Feb 2013 03:16:38 +0000 (19:16 -0800)]
[2679] extracted sqlite3 specific setup into a separate file.
JINMEI Tatuya [Thu, 7 Feb 2013 23:33:49 +0000 (15:33 -0800)]
[2679] extracted test fixture classes into a separate header file.
along with declarations of some common test data. this is for making it
easier to share the test cases with various database accessor implementations.
to resolve inter-class dependencies there are some non trivial changes
(e.g. moving in-class definitions to out-of-class ones in .cc), but this
is basically reordering existing code. no behavior change.
JINMEI Tatuya [Thu, 7 Feb 2013 21:55:01 +0000 (13:55 -0800)]
[master] Merge branch 'trac1725'
JINMEI Tatuya [Thu, 7 Feb 2013 20:24:52 +0000 (12:24 -0800)]
[1924] prioritize a method where possible.
JINMEI Tatuya [Thu, 7 Feb 2013 20:18:49 +0000 (12:18 -0800)]
[1924] constify, adjusted position of '&'
JINMEI Tatuya [Thu, 7 Feb 2013 19:39:03 +0000 (11:39 -0800)]
[1924] cancel a constify; recent change does not allow that any more.
JINMEI Tatuya [Thu, 7 Feb 2013 19:25:13 +0000 (11:25 -0800)]
[1924] Merge remote-tracking branch 'origin/trac1914' into trac1924
fixed Conflicts:
src/lib/cc/tests/session_unittests.cc
Tomek Mrugalski [Thu, 7 Feb 2013 15:58:41 +0000 (16:58 +0100)]
[2697] Another fix for empty client-id, this time in MySQL LeaseMgr
Tomek Mrugalski [Thu, 7 Feb 2013 14:28:36 +0000 (15:28 +0100)]
[2697] Lease4::operator== is now safe to use for leases without client-id
Mukund Sivaraman [Thu, 7 Feb 2013 13:08:41 +0000 (18:38 +0530)]
[2281] Don't use memory source from the factory
Mukund Sivaraman [Thu, 7 Feb 2013 13:08:14 +0000 (18:38 +0530)]
[2281] Don't link to libdatasrc_memory from the static data source
This causes problems when the factory dlclose()es modules (the logger
gets finalized).
Mukund Sivaraman [Thu, 7 Feb 2013 12:58:17 +0000 (18:28 +0530)]
[2281] Remove unused message IDs and move some others to datasrc::memory
Stephen Morris [Thu, 7 Feb 2013 12:49:56 +0000 (12:49 +0000)]
[2681] Handle exceptions thrown when unable to allocate an address
Explicit allocation failures cause the return of packet to the client
indicating that the address allocation has been refused. Also added
was a "catch" for other exceptions - this causes the packet from the
client that generated the exception to be ignored.
Michal 'vorner' Vaner [Thu, 7 Feb 2013 12:01:05 +0000 (13:01 +0100)]
[1924] Reuse similar test code
Michal 'vorner' Vaner [Thu, 7 Feb 2013 10:07:16 +0000 (11:07 +0100)]
[1924] Pydoc comment for the group_sendmsg method.
Michal 'vorner' Vaner [Thu, 7 Feb 2013 09:59:53 +0000 (10:59 +0100)]
[1924] Combine the elementsEqual variants together
One of them is a relict of previous tests and is no longer needed, so
have only one.
Michal 'vorner' Vaner [Thu, 7 Feb 2013 09:51:58 +0000 (10:51 +0100)]
[1924] Get rid of IO test code
It isn't used any more and it is complicated, so remove it.
Mukund Sivaraman [Thu, 7 Feb 2013 07:28:52 +0000 (12:58 +0530)]
[2281] Remove the old in-memory data source code
JINMEI Tatuya [Thu, 7 Feb 2013 06:42:36 +0000 (22:42 -0800)]
[2679] complete conversion to param tests.
it also fixed some intermediate regression: accessor creation and some
other setups that depend on the accessor should be more carefully
customized.
Mukund Sivaraman [Thu, 7 Feb 2013 06:42:22 +0000 (12:12 +0530)]
[2281] Use the new in-memory data source for the static data source
Mukund Sivaraman [Thu, 7 Feb 2013 05:04:34 +0000 (10:34 +0530)]
[2672] Remove ERROR from various message IDs where not applicable
Mukund Sivaraman [Thu, 7 Feb 2013 04:44:06 +0000 (10:14 +0530)]
[2672] Remove unused message ID
Mukund Sivaraman [Thu, 7 Feb 2013 04:41:37 +0000 (10:11 +0530)]
[2672] Fix duplicate use of message ID
This is not allowed by our coding style. Use the correct message ID
instead (which was previously unused).
Mukund Sivaraman [Thu, 7 Feb 2013 04:39:48 +0000 (10:09 +0530)]
[2672] Make some comment updates fixing spelling, etc.
Mukund Sivaraman [Thu, 7 Feb 2013 04:33:28 +0000 (10:03 +0530)]
[2672] Remove unused message ID