]>
git.ipfire.org Git - thirdparty/kea.git/log
User [Thu, 24 May 2012 01:31:45 +0000 (01:31 +0000)]
[master] place external libs at the end of LIBADDs for datasrc tests.
to reduce the risk of using already-installed older BIND10 libraries.
basic approach was already agreed. this particular fix should be trivial.
so directly committing.
JINMEI Tatuya [Thu, 24 May 2012 00:36:29 +0000 (17:36 -0700)]
[1458] extended ZoneConfig so that we can get/set update ACLs
JINMEI Tatuya [Wed, 23 May 2012 23:27:26 +0000 (23:27 +0000)]
[master] adding missing header file to include (sys/types for sys/socket)
build on openbsd fails without this.
should be trivial, so commiting this at my discretion.
JINMEI Tatuya [Wed, 23 May 2012 21:56:53 +0000 (14:56 -0700)]
[master] Merge branch 'trac1512'
JINMEI Tatuya [Wed, 23 May 2012 21:35:15 +0000 (14:35 -0700)]
[1704] editorial nits: folded long lines, position of '*', sizeof(), constify.
JINMEI Tatuya [Wed, 23 May 2012 16:35:28 +0000 (09:35 -0700)]
[1512] added note about overhead tradeoff for the formatter classes.
JINMEI Tatuya [Wed, 23 May 2012 16:21:05 +0000 (09:21 -0700)]
[master] placed external libs gtest/sqlite3 at the end of LDADDs
this fixes linker error on some system that has installed an older
version of BIND 10 in a well known place for the system, like /usr/local/lib.
okayed on jabber.
Jelte Jansen [Wed, 23 May 2012 15:45:26 +0000 (17:45 +0200)]
[1455] arg, whitespace
Jelte Jansen [Wed, 23 May 2012 15:42:29 +0000 (17:42 +0200)]
[1455] use the correct RRClass in the tests
Jelte Jansen [Wed, 23 May 2012 15:16:13 +0000 (17:16 +0200)]
[1455] refactor tests
share duplicate test code, remove now unnecessary helpers
Jelte Jansen [Wed, 23 May 2012 14:33:28 +0000 (16:33 +0200)]
[1455] aesthetic changes from review
whitespace, comments, log messages, typos
Marcin Siodelski [Wed, 23 May 2012 13:51:44 +0000 (15:51 +0200)]
[1954] Updated with suggestions from first code review
Jeremy C. Reed [Wed, 23 May 2012 12:08:52 +0000 (07:08 -0500)]
[trac1687] reverse prveious change was only for git testing
Tomek Mrugalski [Wed, 23 May 2012 10:10:40 +0000 (13:10 +0300)]
[1503] Added several new dhcp4 tests (python)
Jelte Jansen [Wed, 23 May 2012 09:58:39 +0000 (11:58 +0200)]
[1455] okay, one more test
Jelte Jansen [Wed, 23 May 2012 09:55:31 +0000 (11:55 +0200)]
[1455] cleanup, documentation
and removed a method in rrset that turned out to be unneeded
Tomek Mrugalski [Wed, 23 May 2012 09:49:21 +0000 (12:49 +0300)]
[1503] DHCPv4 Python tests rewritten.
Jelte Jansen [Wed, 23 May 2012 09:24:35 +0000 (11:24 +0200)]
[1455] one additional test case
Jelte Jansen [Wed, 23 May 2012 09:22:24 +0000 (11:22 +0200)]
[1455] line break cleanup in tests
Mukund Sivaraman [Wed, 23 May 2012 09:15:53 +0000 (14:45 +0530)]
[1704] Add proper testcases for the file based locker
Jelte Jansen [Wed, 23 May 2012 09:10:22 +0000 (11:10 +0200)]
[1455] log messages for all ddns prereq errors
also a bit of renaming of the extremely long methods
Mukund Sivaraman [Wed, 23 May 2012 08:49:37 +0000 (14:19 +0530)]
[1704] Delete lock files when BIND 10 shuts down
Mukund Sivaraman [Wed, 23 May 2012 08:47:54 +0000 (14:17 +0530)]
[1704] Update test environments to set B10_FROM_SOURCE
Mukund Sivaraman [Wed, 23 May 2012 08:47:15 +0000 (14:17 +0530)]
[1704] Add InterprocessSync interface and a file based implementation
Mukund Sivaraman [Wed, 23 May 2012 08:45:47 +0000 (14:15 +0530)]
[1704] Use LoggerImpl as a testcase for InterprocessSync
Jelte Jansen [Wed, 23 May 2012 07:31:55 +0000 (09:31 +0200)]
[1455] handling part and response building
JINMEI Tatuya [Wed, 23 May 2012 03:19:23 +0000 (20:19 -0700)]
[1458] Merge branch 'trac1512' into trac1458
JINMEI Tatuya [Wed, 23 May 2012 03:15:13 +0000 (20:15 -0700)]
[master] don't pass temporary object as a const& parameter.
on macmini the compiler seems to apply the copy constructor and complain
about it. that rather seems to be a compiler problem, but this small change
works around it.
committing it at my discretion.
JINMEI Tatuya [Tue, 22 May 2012 21:18:44 +0000 (14:18 -0700)]
[master] Merge branch 'trac1539-2' with fixing minor conflicts.
Jeremy C. Reed [Tue, 22 May 2012 20:37:54 +0000 (15:37 -0500)]
[trac1687] add a space -- just a test of new git server
Jelte Jansen [Tue, 22 May 2012 19:10:59 +0000 (21:10 +0200)]
[1455] tests for FORMERR cases
Jelte Jansen [Tue, 22 May 2012 18:42:41 +0000 (20:42 +0200)]
[1455] Main prerequisite algorithm
(cleanup pending)
Jelte Jansen [Tue, 22 May 2012 18:42:19 +0000 (20:42 +0200)]
[1455] Add NameRelation constants to pydnspp
Jelte Jansen [Tue, 22 May 2012 12:57:15 +0000 (14:57 +0200)]
[1455] restrict empty rrsets to class ANY and NONE
also implement the rest of the handling (adding to messages, converting to text, etc)
Jelte Jansen [Tue, 22 May 2012 09:19:24 +0000 (11:19 +0200)]
[1455] implement rrset::toWire for empty rrsets
Needed for update messages
Jelte Jansen [Mon, 21 May 2012 15:23:58 +0000 (17:23 +0200)]
[1455] rfc2136 check for name_not_in_use
Jelte Jansen [Mon, 21 May 2012 15:02:37 +0000 (17:02 +0200)]
[1455] rfc2136 check for name_is_in_use
Jelte Jansen [Mon, 21 May 2012 14:56:01 +0000 (16:56 +0200)]
[1455] make find_all() always return a 3-tuple
Contrary to its documentation, in some cases only a 2-tuple was returned
Jelte Jansen [Mon, 21 May 2012 13:56:48 +0000 (15:56 +0200)]
[1455] rfc2136 check for rrset_does_not_exist
Jelte Jansen [Mon, 21 May 2012 13:03:43 +0000 (15:03 +0200)]
[1455] implement check for RFC2136 section 2.4.1
Jelte Jansen [Mon, 21 May 2012 11:32:15 +0000 (13:32 +0200)]
[1455] add (dummy) methods for rfc2136 prerequisite checks
JINMEI Tatuya [Tue, 22 May 2012 17:56:42 +0000 (10:56 -0700)]
[1539] some wording updates to log description for AUTH_MESSAGE_FORWARD_ERROR.
- use recipient instead of forwarded as it seemed more intuitive
- descirbe how the request is responded
- use 'component' instead of 'program' where it's more appropriate
- use 'process' instead of 'program' where it's more appropriate
Marcin Siodelski [Tue, 22 May 2012 10:14:23 +0000 (12:14 +0200)]
[1954] Back to suppress errors for clang as some clang versions do not support or -W options.
Marcin Siodelski [Tue, 22 May 2012 09:27:43 +0000 (11:27 +0200)]
[1954] Do not suppress errors, suppress warnings for perfdhcp.cc
JINMEI Tatuya [Tue, 22 May 2012 06:48:17 +0000 (23:48 -0700)]
[1539] supported operator<< for IOEndpoint for unified logging format.
the formatEndpoint() function locally defined in auth_srv was essentially
moved there. also added the test of the operator.
JINMEI Tatuya [Tue, 22 May 2012 04:22:29 +0000 (21:22 -0700)]
[1539] hide everything except push() inside SocketSessionForwarderHolder.
this will make the caller side much simpler. in particular, the caller
now doesn't have to handle exceptions. connect() and close() can now
be private.
To handle various types of requests, the constructor is extended to take
a message type, which will be used in the log message on failure.
log message ID and description were made generic.
Ocean Wang [Tue, 22 May 2012 02:05:52 +0000 (10:05 +0800)]
Add the missing copyright
JINMEI Tatuya [Tue, 22 May 2012 01:15:42 +0000 (18:15 -0700)]
[1539] updated the comment in unsupportedRequest about supported opcodes.
so that it matches latest implementation status (and the statement is
generic and won't have to be updated this way again)
JINMEI Tatuya [Tue, 22 May 2012 00:49:11 +0000 (17:49 -0700)]
[1539] updated the comment about getDDNSSocketPath based on review comment.
so that it doesn't necessarily mean we'll get the path from a configuration.
JINMEI Tatuya [Tue, 22 May 2012 00:44:59 +0000 (17:44 -0700)]
[1539] use getSALength() instead of sa_len to calculate the length of sockaddr.
the latter isn't very portable.
JINMEI Tatuya [Tue, 22 May 2012 00:21:26 +0000 (17:21 -0700)]
[1512] test different name hash values for a known pair.
added comments about the underlying assumption and what we should do
if that isn't held.
JINMEI Tatuya [Tue, 22 May 2012 00:12:00 +0000 (17:12 -0700)]
[1512] added some specific ZoneConfig tests.
mainly covering some unusual setups. no need to update the tested code.
JINMEI Tatuya [Mon, 21 May 2012 23:01:26 +0000 (16:01 -0700)]
[1512] reverted accidentally commited local workaround to configure.ac.
JINMEI Tatuya [Mon, 21 May 2012 22:57:30 +0000 (15:57 -0700)]
[1512] Merge branch 'trac1512' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac1512
JINMEI Tatuya [Mon, 21 May 2012 22:54:44 +0000 (22:54 +0000)]
[1512] define B10_FROM_BUILD for ddns module tests.
this is the real fix to the distcheck failure on some systems.
in the end LIBRARY_PATH_PLACEHOLDER didn't only unsolve the problem, but
also unnecessary at all. So the previous change on the makefile was
canceled completely.
JINMEI Tatuya [Mon, 21 May 2012 22:28:20 +0000 (15:28 -0700)]
[1512] use set() for ZoneConfig secondaries as only memebership is needed.
JINMEI Tatuya [Mon, 21 May 2012 22:20:18 +0000 (15:20 -0700)]
[1512] minor editorial fix to pydoc string.
JINMEI Tatuya [Mon, 21 May 2012 22:14:14 +0000 (15:14 -0700)]
[1512] added a comment about why we convert Opcode to text before comparing.
JINMEI Tatuya [Mon, 21 May 2012 22:06:56 +0000 (15:06 -0700)]
[1512] return UPDATE_ERROR within the exception handling block
for now, the effect is the same, and we may want to move the return
back to the common part if we want to handle multiple exceptions
in a unified matter. But at the moment we don't have the need for it,
and the revised position seemed to be less confusing.
JINMEI Tatuya [Mon, 21 May 2012 21:58:37 +0000 (14:58 -0700)]
[1512] added note about unused and yet-to-see parameters to UpdateSession ctor.
JINMEI Tatuya [Mon, 21 May 2012 21:54:38 +0000 (14:54 -0700)]
[1512] editorial fixes to log messages.
(the intent of the changes should be obvious from the diff.)
JINMEI Tatuya [Mon, 21 May 2012 18:58:09 +0000 (11:58 -0700)]
[1512] make sure lib/datasrc/.libs in the dyload path for python ddns tests.
this will hopefully fix distcheck failure on some systems (will check).
Jeremy C. Reed [Mon, 21 May 2012 18:18:06 +0000 (13:18 -0500)]
[trac1687] all makefile wrapped in ENABLE_MAN
In this branch this is enabled by default.
Marcin Siodelski [Mon, 21 May 2012 18:13:51 +0000 (20:13 +0200)]
[1954] Switching to fully compile with C++ to get rid of clang linking errors
JINMEI Tatuya [Mon, 21 May 2012 16:59:40 +0000 (09:59 -0700)]
[master] added some LIBADDs for libcfgclient.
otherwise link would fail for (e.g.) MacOS X with -no-undefined.
discussed on jabber, behavior confirmed by myself.
Tomek Mrugalski [Mon, 21 May 2012 16:45:46 +0000 (19:45 +0300)]
[1503] Basic Python test for b10-dhcp4 added.
Tomek Mrugalski [Mon, 21 May 2012 16:32:47 +0000 (19:32 +0300)]
[1503] Initial support for port number in b10-dhcp4 added.
Marcin Siodelski [Mon, 21 May 2012 15:44:49 +0000 (17:44 +0200)]
[1954] Fix for build errors on FreeBSD - compare vector values one by one
Jelte Jansen [Mon, 21 May 2012 14:49:20 +0000 (16:49 +0200)]
[master] Set library version of libcfgclient
Asynchronous communictaion calls have been added
Marcin Siodelski [Mon, 21 May 2012 13:56:29 +0000 (15:56 +0200)]
[1954] Removed boost/tokenizer as it has unused parameters that crash build
Jeremy C. Reed [Mon, 21 May 2012 13:29:45 +0000 (08:29 -0500)]
[trac1687]Merge branch 'master' into trac1687
merge in master
Marcin Siodelski [Mon, 21 May 2012 13:08:14 +0000 (15:08 +0200)]
[1954] Fixing makefile to include path to boost libs
Michal 'vorner' Vaner [Mon, 21 May 2012 11:56:57 +0000 (13:56 +0200)]
Merge #1914
This is the asynchronous read on ModuleCCSession.
Marcin Siodelski [Mon, 21 May 2012 10:30:20 +0000 (12:30 +0200)]
[1954] Code cleanup
Jelte Jansen [Mon, 21 May 2012 08:57:41 +0000 (10:57 +0200)]
[master] Merge branch 'trac1207'
Jelte Jansen [Mon, 21 May 2012 08:56:51 +0000 (10:56 +0200)]
[1207] remove comment
not really useful at this point anymore
Jelte Jansen [Mon, 21 May 2012 08:55:34 +0000 (10:55 +0200)]
[1207] use test_db in setup for command loadzone test
It isn't actually used by the test, but by not setting any db, the default db would've been created (and not cleaned up, making distcheck fail for leaving files around)
Michal 'vorner' Vaner [Sat, 19 May 2012 17:05:21 +0000 (19:05 +0200)]
[1914] Use .empty() instead of == ""
As this is the better way reportedly.
JINMEI Tatuya [Sat, 19 May 2012 02:36:13 +0000 (19:36 -0700)]
[1539] added some note about sockaddr conversion
JINMEI Tatuya [Sat, 19 May 2012 02:29:15 +0000 (19:29 -0700)]
[1539] cleanup: reordered log message
JINMEI Tatuya [Sat, 19 May 2012 02:28:13 +0000 (19:28 -0700)]
[1539] some documentation update
JINMEI Tatuya [Sat, 19 May 2012 01:45:17 +0000 (18:45 -0700)]
[1539] set the ddns socket path appropriately.
for now, just like what we do for xfrout. eventually we should get this
from the ddns configuration.
JINMEI Tatuya [Sat, 19 May 2012 01:13:29 +0000 (18:13 -0700)]
[1539] log socket forward failure
JINMEI Tatuya [Sat, 19 May 2012 00:45:43 +0000 (17:45 -0700)]
[1539] handle the case where session push fails.
JINMEI Tatuya [Sat, 19 May 2012 00:25:41 +0000 (17:25 -0700)]
[1539] refactoring: move push details to the forwarder holder.
this will simplify the main code, and allow the underlying forwarder
to be hidden as private. also, expecting we'll eventually use this for
xfrout, it will help reduce duplicate code.
JINMEI Tatuya [Sat, 19 May 2012 00:07:58 +0000 (17:07 -0700)]
[1539] test other network parameters than UDP/IPv4.
JINMEI Tatuya [Fri, 18 May 2012 23:40:30 +0000 (16:40 -0700)]
[1539] push update request via the forwarder and extend the test for it.
MockSocketSessionForwarder was now moved to lib/util/unittests for possible
wider use.
JINMEI Tatuya [Fri, 18 May 2012 21:18:27 +0000 (14:18 -0700)]
[1539] tested the case where forwarder connection setup fails.
JINMEI Tatuya [Fri, 18 May 2012 20:40:19 +0000 (13:40 -0700)]
[1539] make sure the forwarder connection is closed on destruction of authsrv.
JINMEI Tatuya [Fri, 18 May 2012 20:30:20 +0000 (13:30 -0700)]
[1539] make sure ddns forwarder establishes connection only once.
Jeremy C. Reed [Wed, 16 May 2012 14:52:48 +0000 (09:52 -0500)]
[1207] [master] version the log library
This is to fix the ongoing problem seen on a builder:
/libexec/ld-elf.so.1: /usr/home/jreed/builder/work/BIND10-cppcheck/
20120516030045 -FreeBSD8-amd64-GCC/build/src/lib/datasrc/tests/.libs/run_unittests: Undefined symbol "_ZN3isc3log23checkExcessPlaceholdersEPSsj"
It was matching the library in the base system instead.
This was discussed on jabber some weeks ago.
Marcin Siodelski [Fri, 18 May 2012 15:42:40 +0000 (17:42 +0200)]
[1954] Replaced atoi, atoll, atof with lexical_cast.
Jelte Jansen [Fri, 18 May 2012 15:38:04 +0000 (17:38 +0200)]
[1914] a few fixes in comments
Marcin Siodelski [Fri, 18 May 2012 15:33:41 +0000 (17:33 +0200)]
[1954] Make CommandOptions class singleton.
Marcin Siodelski [Fri, 18 May 2012 12:49:33 +0000 (14:49 +0200)]
[1954] CommandOptions member initialization and validation. Exceptions.
Tomek Mrugalski [Fri, 18 May 2012 12:38:01 +0000 (14:38 +0200)]
Merge branch 'trac1967'
Tomek Mrugalski [Fri, 18 May 2012 11:39:57 +0000 (13:39 +0200)]
[1281] Python DHCPv6 test now prints out a clarification.
Tomek Mrugalski [Fri, 18 May 2012 11:05:42 +0000 (13:05 +0200)]
Merge branch 'master' into trac1281
Tomek Mrugalski [Fri, 18 May 2012 10:38:43 +0000 (12:38 +0200)]
[1281] Stub interface detection removed, makefiles clean-up
Jelte Jansen [Fri, 18 May 2012 09:48:14 +0000 (11:48 +0200)]
[1207] fix typo in comment