]>
git.ipfire.org Git - thirdparty/kea.git/log
Jeremy C. Reed [Fri, 7 Sep 2012 12:12:23 +0000 (07:12 -0500)]
[master] Allow for one more second in NXDOMAIN TTL checks
We have had 34 random off-by-one failures on real and virtual machines.
Previously it allowed a two second range (it slept for 2 seconds).
Now allow a three second range.
Discussed on jabber.
Marcin Siodelski [Fri, 7 Sep 2012 11:03:44 +0000 (13:03 +0200)]
[2230] Added initial perfdhcp documentation to DHCP Perf Guide.
Michal 'vorner' Vaner [Fri, 7 Sep 2012 09:00:40 +0000 (11:00 +0200)]
[1357] Test at most 99 unsigned messages are there
As at least every 100th must be signed according to the specs.
Michal 'vorner' Vaner [Fri, 7 Sep 2012 08:53:14 +0000 (10:53 +0200)]
[1357] Fix TCP-TSIG test
The TSIGContext acts strange in case of sending multiple queries. So use
a more real-life scenario, sending multiple answers.
Michal 'vorner' Vaner [Fri, 7 Sep 2012 08:17:47 +0000 (10:17 +0200)]
[1357] The unsigned message is accepted
The problem for now is that the next signed message is not. But it's
definitely a progress.
Michal 'vorner' Vaner [Fri, 7 Sep 2012 07:53:54 +0000 (09:53 +0200)]
[1357] Internal TSIGContext::update method
To be used in the case when there's a message without TSIG in the middle
of signed stream. Also used in tests for now.
JINMEI Tatuya [Fri, 7 Sep 2012 07:08:03 +0000 (16:08 +0900)]
[2202] some editorial/style fixes
- spacing
- new lines for readability
- const
- brace position for catch
- position of ++/--
Mukund Sivaraman [Fri, 7 Sep 2012 05:22:15 +0000 (10:52 +0530)]
[2108] Rename tests
Mukund Sivaraman [Fri, 7 Sep 2012 05:21:28 +0000 (10:51 +0530)]
[2108] NSEC3/NSEC3PARAM RRs with multiple RDATA should throw
Mukund Sivaraman [Fri, 7 Sep 2012 05:07:11 +0000 (10:37 +0530)]
[2108] Add load tests for NSEC3 signed zones
Mukund Sivaraman [Fri, 7 Sep 2012 04:53:34 +0000 (10:23 +0530)]
[2108] Multiple DNAME RRs should throw
Mukund Sivaraman [Fri, 7 Sep 2012 04:52:04 +0000 (10:22 +0530)]
[2108] Multiple CNAME RRs should throw
Mukund Sivaraman [Fri, 7 Sep 2012 04:45:22 +0000 (10:15 +0530)]
[2108] result::EXIST is no longer returned by add()
Mukund Sivaraman [Fri, 7 Sep 2012 04:44:35 +0000 (10:14 +0530)]
[2108] Add tests for duplicate types in load()
Mukund Sivaraman [Fri, 7 Sep 2012 04:31:08 +0000 (10:01 +0530)]
[2108] Delete trailing whitespace
Mukund Sivaraman [Fri, 7 Sep 2012 04:23:40 +0000 (09:53 +0530)]
[2108] Untabify code
Mukund Sivaraman [Fri, 7 Sep 2012 04:23:33 +0000 (09:53 +0530)]
[2108] Add checks on reloaded zone data
Mukund Sivaraman [Fri, 7 Sep 2012 04:10:04 +0000 (09:40 +0530)]
[2108] Add zone counter checks when empty zone file is loaded
Mukund Sivaraman [Fri, 7 Sep 2012 04:05:22 +0000 (09:35 +0530)]
[2108] Untabify code
Mukund Sivaraman [Fri, 7 Sep 2012 04:05:14 +0000 (09:35 +0530)]
[2108] Loading an empty zone without even an SOA for the origin should throw
Mukund Sivaraman [Fri, 7 Sep 2012 03:29:44 +0000 (08:59 +0530)]
[2108] Wrap code
Mukund Sivaraman [Fri, 7 Sep 2012 02:31:56 +0000 (08:01 +0530)]
[2108] Add reload test
Mukund Sivaraman [Fri, 7 Sep 2012 02:31:37 +0000 (08:01 +0530)]
[2108] Increment zone counter only when zone doesn't already exist
Mukund Sivaraman [Fri, 7 Sep 2012 02:20:29 +0000 (07:50 +0530)]
[2108] Add more checks to data returned by findZone2()
Mukund Sivaraman [Fri, 7 Sep 2012 01:56:28 +0000 (07:26 +0530)]
[2108] Add comment
Tomek Mrugalski [Thu, 6 Sep 2012 17:35:27 +0000 (19:35 +0200)]
[2143] Minor changes after review.
Michal 'vorner' Vaner [Thu, 6 Sep 2012 15:09:11 +0000 (17:09 +0200)]
[1357] Tests for skipped signatures
Not testing it will require a signature after 100 messages yet. Not
implemented yet.
Stephen Morris [Thu, 6 Sep 2012 14:56:58 +0000 (15:56 +0100)]
[1545] Add logging to the DHCPv6 server code
Stephen Morris [Thu, 6 Sep 2012 14:54:03 +0000 (15:54 +0100)]
[1545] Minor wording changes to the message files
Stephen Morris [Thu, 6 Sep 2012 14:40:12 +0000 (15:40 +0100)]
[1545] Minor tidy-up of DHCP4 server logging code
Jeremy C. Reed [Thu, 6 Sep 2012 13:34:13 +0000 (08:34 -0500)]
[master] capitalize some uses of SQLite3
be consistent
Jeremy C. Reed [Thu, 6 Sep 2012 13:33:02 +0000 (08:33 -0500)]
[master] BIND 10 style
be consistent
Jeremy C. Reed [Thu, 6 Sep 2012 13:29:07 +0000 (08:29 -0500)]
[master] clarification about cache-enable
discussed with vorner via jabber.
Michal 'vorner' Vaner [Thu, 6 Sep 2012 13:03:26 +0000 (15:03 +0200)]
[1357] Check there's signature on the last message in XfrIn
DDNS and Auth don't need it, they have contexts with single message and
the first one is checked.
There's a problem. We commit in the middle of IXFR stream, which is
wrong. What if the last message after that is not signed? Besides,
databases are faster if there's one big commit, not many small ones.
Stephen Morris [Thu, 6 Sep 2012 11:58:17 +0000 (12:58 +0100)]
[1545] Simplify code for printing the type of packet received
Michal 'vorner' Vaner [Thu, 6 Sep 2012 11:43:52 +0000 (13:43 +0200)]
[1357] Implement TSIGContext::lastHadSignature
Michal 'vorner' Vaner [Thu, 6 Sep 2012 11:10:52 +0000 (13:10 +0200)]
[1357] Update documentation and interface of TSIGContext
Preparation for the upcoming changes:
* Remove the TODO that'll be solved by this branch.
* Add a method needed to use it correctly.
Marcin Siodelski [Thu, 6 Sep 2012 10:24:23 +0000 (12:24 +0200)]
[1959] Small fix in logical operator.
Stephen Morris [Thu, 6 Sep 2012 10:18:51 +0000 (11:18 +0100)]
[1545] Added logging to the DHCP4 server
Mukund Sivaraman [Thu, 6 Sep 2012 08:04:07 +0000 (13:34 +0530)]
[2108] Add some more checks in MemoryClientTest.findZone2
Mukund Sivaraman [Thu, 6 Sep 2012 07:59:15 +0000 (13:29 +0530)]
[2108] Add findZone2() check
Mukund Sivaraman [Thu, 6 Sep 2012 07:58:51 +0000 (13:28 +0530)]
[2108] Check that findZone() derived from DataSourceClient throws
This is unimplemented. findZone2() has the correct implementation.
Mukund Sivaraman [Thu, 6 Sep 2012 05:17:07 +0000 (10:47 +0530)]
[2108] Add another item to TODO list
Mukund Sivaraman [Thu, 6 Sep 2012 05:15:28 +0000 (10:45 +0530)]
[2108] Test when add() is called with an empty rdata RRset
Mukund Sivaraman [Thu, 6 Sep 2012 05:13:11 +0000 (10:43 +0530)]
[2108] Test when add() is called with a null RRset
Mukund Sivaraman [Thu, 6 Sep 2012 05:09:17 +0000 (10:39 +0530)]
[2108] Untabify code
Mukund Sivaraman [Thu, 6 Sep 2012 05:09:09 +0000 (10:39 +0530)]
[2108] Add test for RRSIGs with mixed covered types
Mukund Sivaraman [Thu, 6 Sep 2012 05:08:37 +0000 (10:38 +0530)]
[2108] In add(), if RRset has attached RRSIGs, add them
Feeding RRSIGs with subsequent add() calls won't work as the RdataSet()
has to be constructed with the attached RRSIG.
Mukund Sivaraman [Thu, 6 Sep 2012 04:57:10 +0000 (10:27 +0530)]
[2108] Add another TODO comment
Mukund Sivaraman [Thu, 6 Sep 2012 04:56:56 +0000 (10:26 +0530)]
[2108] Wrap lines
Mukund Sivaraman [Thu, 6 Sep 2012 04:56:29 +0000 (10:26 +0530)]
[2108] Remove some unused variables
Mukund Sivaraman [Thu, 6 Sep 2012 04:35:05 +0000 (10:05 +0530)]
[2108] Add test for multiple RRSIGs for a single covered RRset
Mukund Sivaraman [Thu, 6 Sep 2012 04:34:12 +0000 (10:04 +0530)]
[2108] Fix covered type in exception message
Mukund Sivaraman [Thu, 6 Sep 2012 04:26:46 +0000 (09:56 +0530)]
[2108] Test when RRSIG doesn't match the type it is supposed to cover
Mukund Sivaraman [Thu, 6 Sep 2012 01:38:26 +0000 (07:08 +0530)]
[2108] Update build for testdata directory
Mukund Sivaraman [Thu, 6 Sep 2012 01:34:47 +0000 (07:04 +0530)]
[2108] Test when RRSIG doesn't match the name it is supposed to cover
Mukund Sivaraman [Thu, 6 Sep 2012 01:34:18 +0000 (07:04 +0530)]
[2108] Test when RRSIG doesn't follow its covered RRset
Mukund Sivaraman [Thu, 6 Sep 2012 01:33:10 +0000 (07:03 +0530)]
[2108] Test loading a non-existent zone file
Mukund Sivaraman [Thu, 6 Sep 2012 01:15:39 +0000 (06:45 +0530)]
[2108] Add load() test for a full and correct zone
Mukund Sivaraman [Thu, 6 Sep 2012 01:02:44 +0000 (06:32 +0530)]
[2108] Test some types of errors in zone files don't cause leaks
Mukund Sivaraman [Thu, 6 Sep 2012 00:49:20 +0000 (06:19 +0530)]
[2108] Use the test memory segment in InMemoryClient unittests
This has the setThrowCount() which we can use to check leaks during
allocation problems.
Marcin Siodelski [Wed, 5 Sep 2012 17:04:12 +0000 (19:04 +0200)]
[1959] Fixed bug in TestControlTest.Options6.
Marcin Siodelski [Wed, 5 Sep 2012 16:16:33 +0000 (18:16 +0200)]
[1959] Fixed doxygen comments in CommandOptionsHelper class.
Marcin Siodelski [Wed, 5 Sep 2012 16:00:13 +0000 (18:00 +0200)]
[1959] Fixed doxygen typos in test_control.h.
Marcin Siodelski [Wed, 5 Sep 2012 15:53:45 +0000 (17:53 +0200)]
[1959] Implemented changes for 4th part of code review.
Mukund Sivaraman [Wed, 5 Sep 2012 14:55:10 +0000 (20:25 +0530)]
[2108] Add tests for getFileName()
Mukund Sivaraman [Wed, 5 Sep 2012 14:55:00 +0000 (20:25 +0530)]
[2108] Add a small list of items to do
Mukund Sivaraman [Wed, 5 Sep 2012 14:13:03 +0000 (19:43 +0530)]
[2108] Add another InMemoryClient::add() test
Mukund Sivaraman [Wed, 5 Sep 2012 14:12:42 +0000 (19:42 +0530)]
[2108] When adding RRsets, ensure that any last rrset was flushed
Mukund Sivaraman [Wed, 5 Sep 2012 13:51:15 +0000 (19:21 +0530)]
[2108] Test that adding an RRset to a non-existent zone throws
Mukund Sivaraman [Wed, 5 Sep 2012 13:45:13 +0000 (19:15 +0530)]
[2108] Check that iterating past the end throws an exception
Mukund Sivaraman [Wed, 5 Sep 2012 13:41:17 +0000 (19:11 +0530)]
[2108] Check that getSOA() on the iterator throws
Mukund Sivaraman [Wed, 5 Sep 2012 13:38:11 +0000 (19:08 +0530)]
[2108] Check RRsets returned by the iterator
Mukund Sivaraman [Wed, 5 Sep 2012 13:37:54 +0000 (19:07 +0530)]
[2108] Move iterator.h include to the header file
Mukund Sivaraman [Wed, 5 Sep 2012 13:27:06 +0000 (18:57 +0530)]
[2108] Minor fix to the last comment
Mukund Sivaraman [Wed, 5 Sep 2012 13:26:08 +0000 (18:56 +0530)]
[2108] Add some comments to tests
Mukund Sivaraman [Wed, 5 Sep 2012 13:24:12 +0000 (18:54 +0530)]
[2108] Add two more InMemoryClient unittests
Mukund Sivaraman [Wed, 5 Sep 2012 13:23:33 +0000 (18:53 +0530)]
[2108] Add getIterator() test for existing zone
Mukund Sivaraman [Wed, 5 Sep 2012 13:22:52 +0000 (18:52 +0530)]
[2108] Untabify code
Mukund Sivaraman [Wed, 5 Sep 2012 13:18:04 +0000 (18:48 +0530)]
[2108] Rename test
Mukund Sivaraman [Wed, 5 Sep 2012 13:11:02 +0000 (18:41 +0530)]
[2108] Add a basic InMemoryClient::load() test
Mukund Sivaraman [Wed, 5 Sep 2012 13:10:37 +0000 (18:40 +0530)]
[2108] Add some includes useful in memory client tests
Mukund Sivaraman [Wed, 5 Sep 2012 13:01:19 +0000 (18:31 +0530)]
[2108] Initialize logging in tests
Mukund Sivaraman [Wed, 5 Sep 2012 13:01:04 +0000 (18:31 +0530)]
[2108] Untabify code
Mukund Sivaraman [Wed, 5 Sep 2012 13:00:45 +0000 (18:30 +0530)]
[2108] Remove use of a scoped_ptr
Mukund Sivaraman [Wed, 5 Sep 2012 11:56:37 +0000 (17:26 +0530)]
[2108] getJournalReader() must throw isc::NotImplemented
Mukund Sivaraman [Wed, 5 Sep 2012 11:55:45 +0000 (17:25 +0530)]
[2108] getUpdater() must throw isc::NotImplemented
Mukund Sivaraman [Wed, 5 Sep 2012 11:55:25 +0000 (17:25 +0530)]
[2108] Check for "." zone instead
Mukund Sivaraman [Wed, 5 Sep 2012 11:51:12 +0000 (17:21 +0530)]
[2108] Add testcase for non-existent zone's iterator
Mukund Sivaraman [Wed, 5 Sep 2012 11:30:39 +0000 (17:00 +0530)]
[2108] Add the outline of a memory client test file
Mukund Sivaraman [Wed, 5 Sep 2012 11:26:28 +0000 (16:56 +0530)]
[2108] Add the ZoneIterator for the memory client
Mukund Sivaraman [Wed, 5 Sep 2012 11:25:54 +0000 (16:55 +0530)]
[2108] Add another typedef in ZoneData class
Mukund Sivaraman [Wed, 5 Sep 2012 11:25:39 +0000 (16:55 +0530)]
[2108] Add log messages related parts in lib/datasrc/memory
Michal 'vorner' Vaner [Wed, 5 Sep 2012 11:03:33 +0000 (13:03 +0200)]
[2202] Unify class-struct
It should be the same according to the standard, but Clang seems not to
agree with that.
Michal 'vorner' Vaner [Wed, 5 Sep 2012 10:57:20 +0000 (12:57 +0200)]
[2202] Don't use PTHREAD_MUTEX_ROBUST
It seems it isn't portable and it's not very useful check.
Jelte Jansen [Wed, 5 Sep 2012 09:47:05 +0000 (11:47 +0200)]
[master] Merge branch 'trac2160'
Jelte Jansen [Wed, 5 Sep 2012 09:46:21 +0000 (11:46 +0200)]
[2160] add comment about Message vars in sync_udp_server
Jelte Jansen [Wed, 5 Sep 2012 09:21:31 +0000 (11:21 +0200)]
[master] fix for bsd/osx timeout error
Check if socket has not been closed after timeout in read
discussed on jabber
Michal 'vorner' Vaner [Wed, 5 Sep 2012 08:43:51 +0000 (10:43 +0200)]
[2202] Check the mutex is locked when it should
And update tests so they lock.
Michal 'vorner' Vaner [Wed, 5 Sep 2012 08:14:32 +0000 (10:14 +0200)]
[2202] Debug-only method Mutex::locked
It can be used to check the thing is locked.