]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Thu, 13 Sep 2012 17:09:13 +0000 (19:09 +0200)]
[2238] CfgMgr work in progress: Triplet, Pool6, Subnet6 classes
Jelte Jansen [Thu, 13 Sep 2012 16:46:35 +0000 (18:46 +0200)]
[2110] port wildcard handling to new inmem datasrc
Including all relevant tests.
The code makes use of the LabelSequence::WILDCARD as introduced in #2151, but otherwise it is mostly the same, with one big exception, it does not painstakingly recreate the renamed RRset name after wildcard substitution, but reuses the Name data as passed to the finder (since if the findNode found a wildcard when searching, the name to find should contain be the wildcard substitution)
Jelte Jansen [Thu, 13 Sep 2012 16:36:17 +0000 (18:36 +0200)]
[2110] allow textToRRset to parse rrset+sigs
Jelte Jansen [Thu, 13 Sep 2012 14:48:49 +0000 (16:48 +0200)]
[2110] Merge branch 'master' into trac2110
Conflicts:
src/lib/datasrc/memory/benchmarks/Makefile.am
Jelte Jansen [Thu, 13 Sep 2012 12:39:52 +0000 (14:39 +0200)]
[master] Merge remote-tracking branch 'origin/trac2151'
Marcin Siodelski [Thu, 13 Sep 2012 12:25:42 +0000 (14:25 +0200)]
[2231] Corrected validation ranges for timeouts.
Marcin Siodelski [Sun, 2 Sep 2012 15:45:17 +0000 (17:45 +0200)]
[1960] Code cleanup.
Marcin Siodelski [Fri, 31 Aug 2012 07:29:09 +0000 (09:29 +0200)]
[1960] Print packet timestamps if diagnostics flag 't' specified.
Marcin Siodelski [Thu, 13 Sep 2012 11:54:57 +0000 (13:54 +0200)]
[1960] Print packet templates if -T flag specified.
Marcin Siodelski [Thu, 13 Sep 2012 11:23:00 +0000 (13:23 +0200)]
[1960] Calculate late received packets.
Marcin Siodelski [Thu, 13 Sep 2012 11:03:57 +0000 (13:03 +0200)]
[1960] Differentiate program exit codes.
Marcin Siodelski [Thu, 30 Aug 2012 09:07:06 +0000 (11:07 +0200)]
[1960] Added support for wrapped program execution.
Marcin Siodelski [Thu, 13 Sep 2012 10:37:50 +0000 (12:37 +0200)]
[1960] Command options code cleanup, fixed lines wraps and comments.
Mukund Sivaraman [Thu, 13 Sep 2012 04:33:58 +0000 (10:03 +0530)]
[master] Assign rcode
Strictly, this is done to silence clang-analyzer. In every case,
parseAnswer() does set rcode (which is passed by reference) unless it
throws. It looks like clang-analyzer gets confused by the exception
paths.
In any case, it's good to initialize it to the unexpected case and not
depend on parseAnswer().
Mukund Sivaraman [Thu, 13 Sep 2012 04:32:23 +0000 (10:02 +0530)]
[master] Add assertion to test that cmsg != NULL
The assert() should silence clang-analyer.
Mukund Sivaraman [Thu, 13 Sep 2012 09:52:22 +0000 (15:22 +0530)]
[master] Remove redundant NULL checks in PySerial
These are not required according to:
http://docs.python.org/py3k/extending/extending.html?highlight=null#null-pointers
These NULL checks cause static analysis reports in other parts of the
code where the pointers are not NULL tested before use.
Mukund Sivaraman [Thu, 13 Sep 2012 04:09:39 +0000 (09:39 +0530)]
[master] Remove some unused assignments
Reported by clang-analyzer.
Mukund Sivaraman [Thu, 13 Sep 2012 09:50:29 +0000 (15:20 +0530)]
[master] Handle default switch case in LoggerImpl::outputRaw()
Marcin Siodelski [Thu, 13 Sep 2012 09:20:44 +0000 (11:20 +0200)]
[2230] Wording correction.
Marcin Siodelski [Thu, 13 Sep 2012 09:02:23 +0000 (11:02 +0200)]
[2230] Add perfdhcp internals manual as Doxygen file
Marcin Siodelski [Thu, 13 Sep 2012 08:24:49 +0000 (10:24 +0200)]
[2230] Explain -T and -O command line options.
Marcin Siodelski [Thu, 13 Sep 2012 07:37:37 +0000 (09:37 +0200)]
[2231] Show default timeout_usec values in implementation.
Marcin Siodelski [Thu, 13 Sep 2012 07:10:30 +0000 (09:10 +0200)]
[2231] Simplify the duration measurements with boost::posix_time.
Marcin Siodelski [Thu, 13 Sep 2012 05:23:26 +0000 (07:23 +0200)]
[master] Clean template files produced by perfdhcp unit test.
Discussed with jreed on jabber.
Naoki Kambe [Thu, 13 Sep 2012 04:28:59 +0000 (13:28 +0900)]
[master] appended auto-generated doc files into .gitignore. okayed on jabber.
Tomek Mrugalski [Wed, 12 Sep 2012 19:27:30 +0000 (21:27 +0200)]
[2140] LeaseMgr tweaks.
Tomek Mrugalski [Wed, 12 Sep 2012 18:39:07 +0000 (20:39 +0200)]
[2140] ClientId class implemented and tested.
Marcin Siodelski [Wed, 12 Sep 2012 15:43:20 +0000 (17:43 +0200)]
[2231] Implemented suggestions from code review.
Tomek Mrugalski [Wed, 12 Sep 2012 15:09:40 +0000 (17:09 +0200)]
[2140] DUID is now a separate class in separate files
Stephen Morris [Wed, 12 Sep 2012 14:58:00 +0000 (15:58 +0100)]
[1545] Minor changes as suggested by review
Stephen Morris [Wed, 12 Sep 2012 14:32:58 +0000 (15:32 +0100)]
[1545] Corrected copyright year in new/modified files
Marcin Siodelski [Wed, 12 Sep 2012 14:14:51 +0000 (16:14 +0200)]
Merge branch 'trac1959'
Marcin Siodelski [Wed, 12 Sep 2012 14:12:11 +0000 (16:12 +0200)]
[1959] Minor corrections.
Marcin Siodelski [Wed, 12 Sep 2012 11:39:47 +0000 (13:39 +0200)]
[1959] Included perfdhcp/templates folder in Makefiles.
Stephen Morris [Wed, 12 Sep 2012 10:25:33 +0000 (11:25 +0100)]
[2230] Updates to the text in the perfdhcp part of the guide
Marcin Siodelski [Wed, 12 Sep 2012 09:16:17 +0000 (11:16 +0200)]
[1959] Test opening socket from remote broadcast address on Linux only.
In order to run this test interface detection is required. Since it is
right now implemented on Linux only it had to be disabled on every other
OS.
Marcin Siodelski [Wed, 12 Sep 2012 09:09:09 +0000 (11:09 +0200)]
[1959] Include command_options_helper.h in Makefile.
Marcin Siodelski [Tue, 11 Sep 2012 19:19:47 +0000 (21:19 +0200)]
[1959] Removed using namespece boost in TestControl.
This is supposed to resolve ambiguous uintX_t types on Solaris 11.
Tomek Mrugalski [Tue, 11 Sep 2012 16:00:02 +0000 (18:00 +0200)]
[master] Improved DHCP Performance Guide generation.
Marcin Siodelski [Tue, 11 Sep 2012 15:25:52 +0000 (17:25 +0200)]
[2231] Added sanity check for microsecond timeout.
Marcin Siodelski [Tue, 11 Sep 2012 14:17:37 +0000 (16:17 +0200)]
[2231] Implemented sub-second timeouts for IfaceMgr::receiveX functions.
Tomek Mrugalski [Tue, 11 Sep 2012 13:53:01 +0000 (15:53 +0200)]
Merge branch 'trac2143'
Mukund Sivaraman [Tue, 11 Sep 2012 13:00:06 +0000 (18:30 +0530)]
[2150] Allow DomainTree::find() to start at a lower level
Note that if a previous find() results in a PARTIALMATCH, the next
find() (when passed a populated node chain and a non-absolute label
sequence) starts at the down-node of the partial match's top of chain
(deepest matched node). The caller must pass the correctly formed
non-absolute label sequence for that sub-tree-of-tree.
Tomek Mrugalski [Tue, 11 Sep 2012 12:16:40 +0000 (14:16 +0200)]
[2143] Minor corrections in DHCP Performance Guide after review.
Jelte Jansen [Tue, 11 Sep 2012 10:19:46 +0000 (12:19 +0200)]
[2151] change name to LabelSequence::WILDCARD
Jelte Jansen [Tue, 11 Sep 2012 09:06:58 +0000 (11:06 +0200)]
[1357] Clear the renderer on Message::toWire()
Because of the jumping back and forward, the renderer needs to be cleared at the start of toWire(). Length Limit and Compression mode that were set are kept.
This fixes an uninitialized memory error.
Marcin Siodelski [Mon, 10 Sep 2012 18:43:51 +0000 (20:43 +0200)]
[1959] Implemented suggestions from code review.
Marcin Siodelski [Mon, 10 Sep 2012 15:50:55 +0000 (17:50 +0200)]
[2230] Added description of all major perfdhcp classes and intro.
Marcin Siodelski [Mon, 10 Sep 2012 13:37:23 +0000 (15:37 +0200)]
[2230] Added initial version of perfdhcp classes description doc.
Tomek Mrugalski [Mon, 10 Sep 2012 13:22:30 +0000 (15:22 +0200)]
[1959] Added couple @todos for postponed things during review, part 1.
Jelte Jansen [Mon, 10 Sep 2012 10:32:26 +0000 (12:32 +0200)]
[1357] a few editorial fixes
Jelte Jansen [Mon, 10 Sep 2012 10:31:46 +0000 (12:31 +0200)]
[1357] remove debug exception
Marcin Siodelski [Mon, 10 Sep 2012 10:14:19 +0000 (12:14 +0200)]
[2230] Added perfdhcp command line examples.
Mukund Sivaraman [Mon, 10 Sep 2012 07:46:35 +0000 (13:16 +0530)]
[2108] Remove TODO list
Mukund Sivaraman [Mon, 10 Sep 2012 07:45:30 +0000 (13:15 +0530)]
[2108] Test for segment leaks due to allocation failures
Mukund Sivaraman [Mon, 10 Sep 2012 07:41:13 +0000 (13:11 +0530)]
[2108] Pass memory segment to InMemoryClient constructor
Mukund Sivaraman [Mon, 10 Sep 2012 07:23:39 +0000 (12:53 +0530)]
[2108] Add unittest for load() which accepts an iterator
Mukund Sivaraman [Mon, 10 Sep 2012 07:13:10 +0000 (12:43 +0530)]
[2108] Wrap lines
Mukund Sivaraman [Mon, 10 Sep 2012 06:38:06 +0000 (12:08 +0530)]
[2108] Add unique prefix to datasrc::memory message IDs
Mukund Sivaraman [Mon, 10 Sep 2012 05:39:21 +0000 (11:09 +0530)]
[2108] Sort zone files in Makefile.am
Mukund Sivaraman [Mon, 10 Sep 2012 05:36:44 +0000 (11:06 +0530)]
Revert "[2108] getTTL() is unimplemented in TreeNodeRRset"
This reverts commit
72f8b8a0db78bab56f8efb0f344fc8961f9adadc .
Mukund Sivaraman [Mon, 10 Sep 2012 05:36:29 +0000 (11:06 +0530)]
[2108] Implement TreeNodeRRset::getTTL()
This is used in the iterator when separating RRs.
Mukund Sivaraman [Mon, 10 Sep 2012 05:18:20 +0000 (10:48 +0530)]
[2108] Test iterator with separate_rrs=true
Mukund Sivaraman [Mon, 10 Sep 2012 05:18:04 +0000 (10:48 +0530)]
[2108] Fix comment
Mukund Sivaraman [Mon, 10 Sep 2012 05:17:54 +0000 (10:47 +0530)]
[2108] getTTL() is unimplemented in TreeNodeRRset
For now, let's use RRTTL(0) and revisit it.
Mukund Sivaraman [Mon, 10 Sep 2012 04:25:26 +0000 (09:55 +0530)]
[2108] Add DNAME+NS tests
Mukund Sivaraman [Mon, 10 Sep 2012 04:11:50 +0000 (09:41 +0530)]
[2108] Fix zone file comments
Mukund Sivaraman [Mon, 10 Sep 2012 04:07:55 +0000 (09:37 +0530)]
[2108] Add CNAME+other tests (which should throw)
Mukund Sivaraman [Mon, 10 Sep 2012 04:07:26 +0000 (09:37 +0530)]
[2108] Fix context check when adding a CNAME record
Mukund Sivaraman [Mon, 10 Sep 2012 04:06:53 +0000 (09:36 +0530)]
[2108] If there's an exception, clear last_rrset_
Mukund Sivaraman [Mon, 10 Sep 2012 01:58:37 +0000 (07:28 +0530)]
[2108] Check that loading a zone containing NSEC3 names with invalid number of labels throws
Mukund Sivaraman [Mon, 10 Sep 2012 01:47:22 +0000 (07:17 +0530)]
[2108] Check that loading a zone with wildcard NSEC3 names throws an exception
Mukund Sivaraman [Mon, 10 Sep 2012 01:44:04 +0000 (07:14 +0530)]
[2108] Fix RRType in last commit comment
Mukund Sivaraman [Mon, 10 Sep 2012 01:32:58 +0000 (07:02 +0530)]
[2108] Check that loading a zone with wildcard DNAME names throws an exception
Mukund Sivaraman [Mon, 10 Sep 2012 01:30:20 +0000 (07:00 +0530)]
[2108] Check that loading a zone with wildcard NS names throws an exception
Mukund Sivaraman [Mon, 10 Sep 2012 01:14:25 +0000 (06:44 +0530)]
[2108] Add tests for out of zone names
JINMEI Tatuya [Sat, 8 Sep 2012 03:07:03 +0000 (12:07 +0900)]
[master] editorial cleanup: combine two short lines
I just happen to notice it, and since it's very trivial I'm making the
change directly.
Jelte Jansen [Fri, 7 Sep 2012 15:20:28 +0000 (17:20 +0200)]
[2151] add well-known static wildcard labelsequence
Jelte Jansen [Fri, 7 Sep 2012 14:38:03 +0000 (16:38 +0200)]
[2109] uncomment some dead code
that got committed by accident and should not have been disabled
Jelte Jansen [Fri, 7 Sep 2012 13:26:18 +0000 (15:26 +0200)]
[2109] clean up for new in-memory ZoneFinder
layout, documentation, etc.
Jelte Jansen [Fri, 7 Sep 2012 09:09:56 +0000 (11:09 +0200)]
[2109] refactor creation of TreeNodeRRsets
and make RRClass a construction-time argument
Jelte Jansen [Tue, 4 Sep 2012 17:17:27 +0000 (19:17 +0200)]
[2109] ZoneFinder for the improved memory datasource
Moved out the ZoneFinder-specific classes and code from memory_datasrc.[h|cc] into memory/zonefinder.[h|cc]
The new code is mostly similar to the original, but using the new data structures instead of the old. It is also no longer templated (not necessary anymore) and no longer uses the pimpl (also no longer relevant), so it should be somewhat easier to read and modify.
Jelte Jansen [Fri, 7 Sep 2012 13:03:39 +0000 (15:03 +0200)]
[master] cleanup version-check sqt statements
This should fix the valgrind error report, verified on jabber
Jeremy C. Reed [Fri, 7 Sep 2012 12:33:23 +0000 (07:33 -0500)]
[master] comment sentence about cache-enable hiding zones
It doesn't happen currently. See ticket http://bind10.isc.org/ticket/2240
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