]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Wed, 3 Apr 2013 12:54:56 +0000 (18:24 +0530)]
[2387] Test NSEC3PARAM operator= correctly
Mukund Sivaraman [Wed, 3 Apr 2013 12:49:16 +0000 (18:19 +0530)]
[2387] Test DNSKEY operator= correctly
Marcin Siodelski [Wed, 3 Apr 2013 12:32:55 +0000 (14:32 +0200)]
[991] Added skeleton of PktFilterLPF class.
Marcin Siodelski [Wed, 3 Apr 2013 12:24:14 +0000 (14:24 +0200)]
[991] Moved send/receive implementation to class derived from PktFilter.
Tomek Mrugalski [Wed, 3 Apr 2013 11:46:25 +0000 (13:46 +0200)]
[2827] 2 methods in Pkt6 are now const.
Tomek Mrugalski [Wed, 3 Apr 2013 11:33:21 +0000 (13:33 +0200)]
[2827] Changes after review
- using namespace boost is no longer used in pkt6_unittest.cc
- copyright years updated
- Pkt6::getRelayOption() documented
- several methods are now better commented
- ChangeLog now refers to libdhcp++, not b10-dhcp6
Mukund Sivaraman [Wed, 3 Apr 2013 11:15:15 +0000 (16:45 +0530)]
[master] Update .gitignore files
Mukund Sivaraman [Wed, 3 Apr 2013 10:40:17 +0000 (16:10 +0530)]
Merge branch 'trac2198_5'
Marcin Siodelski [Wed, 3 Apr 2013 10:21:26 +0000 (12:21 +0200)]
[991] Pass Iface object to classes derived from PktFilter.
Marcin Siodelski [Wed, 3 Apr 2013 10:20:40 +0000 (12:20 +0200)]
[991] Moved Iface class out of IfaceMgr.
Michal 'vorner' Vaner [Wed, 3 Apr 2013 10:04:44 +0000 (12:04 +0200)]
[2888] Close socket even on connect error
Even if we fail to connect, close the socket. It is loosely related to
the previous commit, as that one used unsuccessful connection attempts
to discover msgq is not ready yet and the unit tests complained. It
should have no real effect, since the garbage collector would reclaim
the socket after a while anyway.
Michal 'vorner' Vaner [Wed, 3 Apr 2013 09:59:21 +0000 (11:59 +0200)]
[2888] Try connecting instead of looking for socket file
This should solve the race condition when the socket file is created,
but connect to it does not work yet, because listen() was not called on
it yet. Really connecting ensures it is possible to connect.
Marcin Siodelski [Wed, 3 Apr 2013 09:26:10 +0000 (11:26 +0200)]
[991] Abstracted socket handling methods to separate class.
Michal 'vorner' Vaner [Wed, 3 Apr 2013 08:41:32 +0000 (10:41 +0200)]
[2738] Write considerations
Michal 'vorner' Vaner [Wed, 3 Apr 2013 08:24:18 +0000 (10:24 +0200)]
[2738] Clarifications to the text
Many smaller clarifications and corrections. No change to the described
behaviour.
Mukund Sivaraman [Wed, 3 Apr 2013 07:36:03 +0000 (13:06 +0530)]
[2387] Move short keydata check for RSA/MD5 into getTag()
Mukund Sivaraman [Wed, 3 Apr 2013 07:02:33 +0000 (12:32 +0530)]
[2387] Permit missing key data in DNSKEY RDATA
JINMEI Tatuya [Tue, 2 Apr 2013 21:27:37 +0000 (14:27 -0700)]
[2833] updated the doc ZoneTableSegment::create() for the latest interface.
JINMEI Tatuya [Tue, 2 Apr 2013 21:21:23 +0000 (14:21 -0700)]
[2833] use NULL instead of 0.
may need some more discussion, but not the point for this branch anyway,
and at least it's more consistent with rest of the source code.
JINMEI Tatuya [Tue, 2 Apr 2013 21:01:17 +0000 (14:01 -0700)]
[2833] clarified the meaning of data source config passed to CacheConfig
JINMEI Tatuya [Tue, 2 Apr 2013 20:58:37 +0000 (13:58 -0700)]
[2833] clarified error types, avoid using the word of "syntax"
JINMEI Tatuya [Tue, 2 Apr 2013 19:54:45 +0000 (12:54 -0700)]
[2738] corrected a trivial typo
Jeremy C. Reed [Tue, 2 Apr 2013 16:24:16 +0000 (11:24 -0500)]
[master] minor wording change for the python readline warning.
Okayed via jabber yesterday.
I am not adding a changelog entry as it is minor.
Marcin Siodelski [Tue, 2 Apr 2013 16:22:25 +0000 (18:22 +0200)]
[991] Moved IfaceMgr::send to OS specific files.
Mukund Sivaraman [Tue, 2 Apr 2013 06:06:33 +0000 (11:36 +0530)]
[2387] Add unmatched parenthesis testcases that cause lexer failures (when looking for string)
Mukund Sivaraman [Tue, 2 Apr 2013 05:46:21 +0000 (11:16 +0530)]
[2387] Add tests for trailing garbage in strings
Mukund Sivaraman [Tue, 2 Apr 2013 05:36:00 +0000 (11:06 +0530)]
[2387] Remove unused includes
JINMEI Tatuya [Mon, 1 Apr 2013 21:50:37 +0000 (14:50 -0700)]
[2833] cleanup: removed static data source module.
we can do everything that the dedicated static data source did with
"MasterFiles" type of data source with preconfigured parameters.
this cleanup is not directly related to the subject of this task, but
will make later changes simpler.
JINMEI Tatuya [Tue, 2 Apr 2013 03:48:19 +0000 (20:48 -0700)]
[2833] cleanup: removed a space at EOL
JINMEI Tatuya [Tue, 2 Apr 2013 03:44:33 +0000 (20:44 -0700)]
[2833] throw CacheConfigError for duplicate zone names.
this is not a program error, so CacheConfigError should be more appropriate.
JINMEI Tatuya [Tue, 2 Apr 2013 03:38:35 +0000 (20:38 -0700)]
[2833] some documentation
JINMEI Tatuya [Mon, 1 Apr 2013 22:40:33 +0000 (15:40 -0700)]
[2833] added begin/end to CacheConfig instead of getZoneConfig.
that would be better abstraction. also remove getLoadAction for now as
we won't implement it in this task.
JINMEI Tatuya [Mon, 1 Apr 2013 22:09:59 +0000 (15:09 -0700)]
[2833] added test cases where 'allowed' is false
JINMEI Tatuya [Mon, 1 Apr 2013 20:56:45 +0000 (13:56 -0700)]
[2833] some cleanup
JINMEI Tatuya [Mon, 1 Apr 2013 20:52:52 +0000 (13:52 -0700)]
[2833] pass CacheConfig to DataSourceClient and maintain it there.
also simplified the constructor interface; we actually don't need the
other one.
JINMEI Tatuya [Mon, 1 Apr 2013 20:16:06 +0000 (13:16 -0700)]
[2833] update/clarify the (new) meaning of DATASRC_LIST_NOT_CACHED
it now doesn't log it for each zone but only warns about the entire data
source.
JINMEI Tatuya [Mon, 1 Apr 2013 19:59:03 +0000 (12:59 -0700)]
[2833] cleanup: removed now-unnecessary variable
JINMEI Tatuya [Mon, 1 Apr 2013 19:32:05 +0000 (12:32 -0700)]
[2833] pass allow_cache to CacheConfig
JINMEI Tatuya [Mon, 1 Apr 2013 18:09:56 +0000 (11:09 -0700)]
[2833] renamed ZoneTableConfig to CacheConfig
as details are implemented the latter now seems more appropriate for the
responsibility of this class.
JINMEI Tatuya [Mon, 1 Apr 2013 17:32:53 +0000 (10:32 -0700)]
[2833] consolidate some cache related config checks in ZoneTableConfig.
this eliminated the need for if-else cases in
ConfigurableClientList::configure(). to make it possible getDataSourceClient()
was slightly updated so that it recognizes "MasterFiles".
Thomas Markwalder [Mon, 1 Apr 2013 15:19:24 +0000 (11:19 -0400)]
[2634] Replaced DhcpConfigParser template function getParam<> with new
template class ValueStorage in lib/dhcpsrv, dhcp4, and dhcp6. Added unit
tests for new class in dhcpsrv/tests.
Mukund Sivaraman [Mon, 1 Apr 2013 14:00:43 +0000 (19:30 +0530)]
[2387] Update test data to be more consistent
Mukund Sivaraman [Mon, 1 Apr 2013 11:36:00 +0000 (17:06 +0530)]
[2387] Fix key digest to match the test data
Mukund Sivaraman [Mon, 1 Apr 2013 10:49:57 +0000 (16:19 +0530)]
[2387] Add DNSKEY support in wire data generator
Also convert some existing DNSKEY test data to use wire data generated
from spec files.
Mukund Sivaraman [Mon, 1 Apr 2013 09:51:15 +0000 (15:21 +0530)]
[2387] Move string construction out of loop
Mukund Sivaraman [Mon, 1 Apr 2013 09:49:59 +0000 (15:19 +0530)]
[2387] Remove unnecessary checks
Mukund Sivaraman [Mon, 1 Apr 2013 07:20:31 +0000 (12:50 +0530)]
[2198] Remove unnecessary text from API documentation
... as the methods are private anyway.
Thomas Markwalder [Fri, 29 Mar 2013 12:13:17 +0000 (08:13 -0400)]
[2721] Added entry for new unit tests, #2721
Thomas Markwalder [Fri, 29 Mar 2013 11:52:56 +0000 (07:52 -0400)]
Merge branch 'trac2721' - Review comments addressed. Adds missing unit tests
for trac 2719 in b10-dhcp6.
Naoki Kambe [Thu, 28 Mar 2013 09:09:09 +0000 (18:09 +0900)]
[2252] change to better names; s/lastest/last/i
JINMEI Tatuya [Fri, 29 Mar 2013 02:28:23 +0000 (19:28 -0700)]
[2833] (unrelated) corrected a trivial typo
JINMEI Tatuya [Fri, 29 Mar 2013 02:15:03 +0000 (19:15 -0700)]
[2833] make ZoneTableSegment::create generic so it checks segment type.
the actually behavior is still same: it only supports the "local" segment.
JINMEI Tatuya [Thu, 28 Mar 2013 23:10:52 +0000 (16:10 -0700)]
[2833] added ZoneTableConfig::getSegmentType() interface.
JINMEI Tatuya [Thu, 28 Mar 2013 22:45:45 +0000 (15:45 -0700)]
[2833] revise ZoneTableSegment::create() so it takes ZoneTableConfig
some non trivial adjusments were needed for its users.
JINMEI Tatuya [Thu, 28 Mar 2013 21:55:03 +0000 (14:55 -0700)]
[2387] style fix: folded a long line.
JINMEI Tatuya [Thu, 28 Mar 2013 21:54:05 +0000 (14:54 -0700)]
[2387] added toWireBuffer tests for DNSKEY and NSEC3PARAM.
not in the scope of this ticket, but should be easy enough.
JINMEI Tatuya [Thu, 28 Mar 2013 20:51:11 +0000 (13:51 -0700)]
[master] changelog for #2562
JINMEI Tatuya [Thu, 28 Mar 2013 20:33:27 +0000 (13:33 -0700)]
[master] Merge branch 'trac2562'
Marcin Siodelski [Thu, 28 Mar 2013 19:10:30 +0000 (20:10 +0100)]
[991] Removed trash debug messages.
Marcin Siodelski [Thu, 28 Mar 2013 18:49:36 +0000 (19:49 +0100)]
[991] Set socket options that enable broadcast traffic.
Tomek Mrugalski [Thu, 28 Mar 2013 15:17:47 +0000 (16:17 +0100)]
[master] Merge branch 'trac2723' (too short/null DUIDs handing)
Conflicts:
ChangeLog
src/lib/dhcpsrv/mysql_lease_mgr.cc
Marcin Siodelski [Thu, 28 Mar 2013 15:16:28 +0000 (16:16 +0100)]
[991] Server responds with broadcast if direct response not supported.
Michal 'vorner' Vaner [Thu, 28 Mar 2013 12:06:09 +0000 (13:06 +0100)]
[2738] Limitations
Michal 'vorner' Vaner [Thu, 28 Mar 2013 11:57:32 +0000 (12:57 +0100)]
[2738] Ways to communicate
Thomas Markwalder [Thu, 28 Mar 2013 11:01:48 +0000 (07:01 -0400)]
[2770] Added $(DESTDIR) to DHCP_DATA_DIR directory installation in
lib/dhcpsrv/Makefile.am.
Naoki Kambe [Thu, 28 Mar 2013 10:30:42 +0000 (19:30 +0900)]
[2252] Merge branch 'master' of git://git.bind10.isc.org/bind10 into trac2252
Conflicts:
tests/lettuce/features/xfrin_notify_handling.feature
JINMEI Tatuya [Thu, 28 Mar 2013 03:08:20 +0000 (20:08 -0700)]
[2833] tightened param validation in zt config ctor with dedicated tests.
JINMEI Tatuya [Thu, 28 Mar 2013 02:50:52 +0000 (19:50 -0700)]
[2562] added a test case where zonemgr is not running when notify comes.
Mukund Sivaraman [Thu, 28 Mar 2013 02:48:35 +0000 (08:18 +0530)]
[2387] Unify code from MX constructors
This is an offshoot from #2391. There's no need to create yet another
ticket for it.
JINMEI Tatuya [Thu, 28 Mar 2013 02:48:37 +0000 (19:48 -0700)]
[2562] set want_answer to true in group_sendmsg() for notify handling.
without this we can't catch the case where zonemgr isn't running timely.
a unit test is updated to check that condition, too.
JINMEI Tatuya [Thu, 28 Mar 2013 02:47:07 +0000 (19:47 -0700)]
[2562] extended mock session to inspect last value of "want_answer"
also made some methods const member functions as they don't have to be
mutable.
Mukund Sivaraman [Thu, 28 Mar 2013 02:28:09 +0000 (07:58 +0530)]
[2387] Unify NSEC3PARAM string and lexer constructor tests
Mukund Sivaraman [Thu, 28 Mar 2013 02:08:38 +0000 (07:38 +0530)]
[2387] Remove some redundant variables that shadow the member variable
Mukund Sivaraman [Thu, 28 Mar 2013 01:48:06 +0000 (07:18 +0530)]
[2387] Rewrite unified NSEC3 tests using helper methods
JINMEI Tatuya [Tue, 19 Mar 2013 21:34:57 +0000 (14:34 -0700)]
[2833] introduced ZoneTableConfig
it's intended to be used as an interface between ClientList and
ZoneTableSegment.
JINMEI Tatuya [Mon, 18 Mar 2013 22:10:07 +0000 (15:10 -0700)]
[2833] refactoring: create ZoneTableSegment per data source.
in fact, we shouldn't have shared the same segment even before; the header
part should be created per data source. So this is actually a bug fix.
JINMEI Tatuya [Wed, 27 Mar 2013 22:33:21 +0000 (15:33 -0700)]
[2833] refactoring: extract MockDataSourceClient into a separate file
so it can be shared by multiple tests.
JINMEI Tatuya [Mon, 18 Mar 2013 22:06:01 +0000 (15:06 -0700)]
[2833] cleanup: removed now-unused declaration of ZoneTableSegment::create.
Paul Selkirk [Wed, 27 Mar 2013 15:25:50 +0000 (11:25 -0400)]
Merge branch 'trac1831'
Paul Selkirk [Wed, 27 Mar 2013 14:55:47 +0000 (10:55 -0400)]
Update ChangeLog for #2386 and #2391
Paul Selkirk [Wed, 27 Mar 2013 14:22:48 +0000 (10:22 -0400)]
Merge branch 'trac2391'
Michal 'vorner' Vaner [Wed, 27 Mar 2013 09:14:58 +0000 (10:14 +0100)]
Merge #2835
The interface to get cache properties from the client list.
Michal 'vorner' Vaner [Wed, 27 Mar 2013 09:10:48 +0000 (10:10 +0100)]
[2835] (minor) Docs, comments
JINMEI Tatuya [Wed, 27 Mar 2013 06:40:34 +0000 (23:40 -0700)]
[2562] (unrelated) added notes that rpcCall wouldn't work until #2804 is fixed.
so others won't waste their time by trying to use it...
same note applies to groupRecvMsg, so added the same note.
JINMEI Tatuya [Wed, 27 Mar 2013 06:33:20 +0000 (23:33 -0700)]
[2562] in processNotify, catch the "no recpt" case and log it at debug level.
the behavior itself is the same, but it suppresses noise level in case
it's intentional configuration. descriptions of other log messages in
this method were not really correct, so they were fixed, too.
also, it now asserts xfrin_session_ is non null; this should never be null
in the production code (even tests don't set it to null right now).
JINMEI Tatuya [Wed, 27 Mar 2013 06:27:38 +0000 (23:27 -0700)]
[2562] update notifyWithoutSession test for the case where zonemgr not running.
resetting "xfrin session" to NULL doesn't make much sense because it shouldn't
happen in production case, so I simply updated the existing test case
(and renamed it) rather than adding a new one.
JINMEI Tatuya [Wed, 27 Mar 2013 05:43:55 +0000 (22:43 -0700)]
[2835] style fix: name variables with lower+_ per convention
JINMEI Tatuya [Wed, 27 Mar 2013 05:39:55 +0000 (22:39 -0700)]
[2835] fixed a trivial typo
JINMEI Tatuya [Wed, 27 Mar 2013 03:51:25 +0000 (20:51 -0700)]
[2252] cleanup: removed unnecessary backslash
JINMEI Tatuya [Tue, 26 Mar 2013 22:49:57 +0000 (15:49 -0700)]
[2252] editorial cleanups: removed unnecessary backslash, combine short lines
JINMEI Tatuya [Tue, 26 Mar 2013 22:34:03 +0000 (15:34 -0700)]
[2252] explicitly check if something is None, not just eval it as boolean.
Mukund Sivaraman [Tue, 26 Mar 2013 14:27:48 +0000 (19:57 +0530)]
[2387] Update coding style
Mukund Sivaraman [Tue, 26 Mar 2013 14:26:58 +0000 (19:56 +0530)]
[2387] Rewrite unified tests using helper methods
Mukund Sivaraman [Tue, 26 Mar 2013 14:13:09 +0000 (19:43 +0530)]
[2387] Unify string and lexer constructor tests
Mukund Sivaraman [Tue, 26 Mar 2013 13:55:27 +0000 (19:25 +0530)]
[2387] Rearrange some code
Jelte Jansen [Tue, 26 Mar 2013 11:30:54 +0000 (12:30 +0100)]
[master] Update changelog for merge of #1086
Jelte Jansen [Tue, 26 Mar 2013 10:17:21 +0000 (11:17 +0100)]
[master] Merge branch 'trac1086'
Michal 'vorner' Vaner [Tue, 26 Mar 2013 09:13:29 +0000 (10:13 +0100)]
Merge branch 'master' of git+ssh://git.bind10.isc.org/var/bind10/git/bind10
Jelte Jansen [Tue, 26 Mar 2013 09:05:51 +0000 (10:05 +0100)]
[2790] Short-term workaround for the blocking read loop in zonemgr
In the end we'll need to address the threading model in zonemgr, but this should be a good short-term workaround for the problem.
Michal 'vorner' Vaner [Tue, 26 Mar 2013 08:45:53 +0000 (09:45 +0100)]
Merge #2737
Using of constants from proto_defs instead of hard-coded magic keywords.