]>
git.ipfire.org Git - thirdparty/kea.git/log
Stephen Morris [Tue, 21 May 2013 13:56:51 +0000 (14:56 +0100)]
[master] ChangeLog for merge of trac2653
Stephen Morris [Tue, 21 May 2013 13:52:42 +0000 (14:52 +0100)]
[master] Merge branch 'trac2653'
Marcin Siodelski [Tue, 21 May 2013 13:18:58 +0000 (15:18 +0200)]
[2902] Adjust the destination address for response.
Packet will be sent to broadcast address if broadcast flag is set by the
client. Also, DHCPNAK is always sent to broadcast address.
Marcin Siodelski [Tue, 21 May 2013 08:45:22 +0000 (10:45 +0200)]
[2902] Changes as a result of the review.
Mukund Sivaraman [Tue, 21 May 2013 08:08:23 +0000 (13:38 +0530)]
[2850] Use non-const implementation of allMemoryDeallocated() again
Yoshitaka Aharen [Tue, 21 May 2013 07:58:22 +0000 (16:58 +0900)]
[2796] add ChangeLog and update timestamp
Mukund Sivaraman [Tue, 21 May 2013 07:46:28 +0000 (13:16 +0530)]
[2850] Validate names in all name-related methods
Mukund Sivaraman [Tue, 21 May 2013 07:14:18 +0000 (12:44 +0530)]
[2850] Move allocate_size_ to private class
Michal 'vorner' Vaner [Tue, 21 May 2013 07:07:29 +0000 (09:07 +0200)]
Merge #2937
Fix CSV-related test for usermanager that failed on some versions of
python (seen on 3.2.4 on Gentoo).
JINMEI Tatuya [Tue, 21 May 2013 06:39:44 +0000 (23:39 -0700)]
[2905] updated ClientList so the initial loading accepts load errors
...and will treat it as a broken (rather than nonexistent) zone for later
lookups.
Yoshitaka Aharen [Fri, 17 May 2013 04:28:20 +0000 (13:28 +0900)]
[2796] add statistics item 'qryrecursion'
JINMEI Tatuya [Tue, 21 May 2013 00:56:49 +0000 (17:56 -0700)]
[2905] handle the empty-zone case in InMemoryClient.
JINMEI Tatuya [Mon, 20 May 2013 23:58:39 +0000 (16:58 -0700)]
[2905] extend ZoneWriter so it can catch load error and install empty zone.
JINMEI Tatuya [Mon, 20 May 2013 23:24:14 +0000 (23:24 +0000)]
[master] avoid compile mapped-segment dependent code if !USE_SHARED_MEMORY
okayed on jabber.
JINMEI Tatuya [Mon, 20 May 2013 22:25:41 +0000 (15:25 -0700)]
[2905] explicitly reject adding empty zone data directly, for safety.
JINMEI Tatuya [Mon, 20 May 2013 22:14:39 +0000 (15:14 -0700)]
[2905] added ZoneTable::addEmptyZone() to allow adding an empty zone.
updated addZone() and findZone() behavior so they can handle the concept of
empty zones well.
JINMEI Tatuya [Mon, 20 May 2013 20:56:38 +0000 (20:56 +0000)]
[master] use $(BOOST_MAPPED_FILE_CXXFLAG) for in-memory datasrc tests.
one of the tests directly uses the boost mapped_file_segment class, which can
result in compiler warnings on some platforms.
JINMEI Tatuya [Mon, 20 May 2013 16:20:54 +0000 (09:20 -0700)]
[2934] add in-tree path to loadzone so the test can be more self contained.
also introduced Makefile.am in tests/lettuce so setup_interface_bind10.sh
will be auto-regenerated.
Michal 'vorner' Vaner [Mon, 20 May 2013 14:58:40 +0000 (16:58 +0200)]
[2937] Interface of the notify method
Jeremy C. Reed [Mon, 20 May 2013 13:31:44 +0000 (08:31 -0500)]
[master] fix changelog entry
accidently had phrase repeated in
c077699ff43ddc2dff552b616044dab306f23666
Michal 'vorner' Vaner [Mon, 20 May 2013 11:13:33 +0000 (13:13 +0200)]
[2937] Minor tweaks
Comments, unused values, etc.
Yoshitaka Aharen [Fri, 17 May 2013 02:50:05 +0000 (11:50 +0900)]
[2796] update lettuce tests with a change of a terrain
Update lettuce tests for 'qryrecursion'. Add an argument to the terrain
to control RD bit in the query.
Mukund Sivaraman [Mon, 20 May 2013 07:47:17 +0000 (13:17 +0530)]
[2850] Remove ZoneTableSegment::resetHeader()
JINMEI Tatuya [Mon, 20 May 2013 07:30:16 +0000 (13:00 +0530)]
[2850] Comment new ZoneTable::destroy() argument
Mukund Sivaraman [Mon, 20 May 2013 07:28:33 +0000 (12:58 +0530)]
[2850] Fix indenting
Mukund Sivaraman [Mon, 20 May 2013 07:26:06 +0000 (12:56 +0530)]
[2850] Update code to use safer ZoneTable::create()
JINMEI Tatuya [Thu, 16 May 2013 18:29:00 +0000 (11:29 -0700)]
[2850] a minor comment wording fix
Mukund Sivaraman [Thu, 16 May 2013 13:48:40 +0000 (19:18 +0530)]
Revert "[2850] Add a way to pass a seed to the random number generator"
This reverts commit
3599c07417b1bcf40ae8e59959278b4a59ede827 .
Mukund Sivaraman [Thu, 16 May 2013 06:01:58 +0000 (11:31 +0530)]
[2850] Check if ZoneTableHeader name exists in an existing segment
Mukund Sivaraman [Wed, 15 May 2013 14:33:51 +0000 (20:03 +0530)]
[2850] Check the case where READ_WRITE mode doesn't find a checksum in an existing segment
Note that it's not possible to repeat a similar test for the
ZoneTableHeader name as there are additional allocations by then.
Mukund Sivaraman [Wed, 15 May 2013 14:23:58 +0000 (19:53 +0530)]
[2850] Add comment that the string returned by getImplType() should match the one passed to create()
Mukund Sivaraman [Wed, 15 May 2013 14:21:41 +0000 (19:51 +0530)]
[2850] Update comment about when the segment had been cleared
JINMEI Tatuya [Wed, 15 May 2013 14:19:47 +0000 (19:49 +0530)]
[2850] Add a comment about unsafe code
Mukund Sivaraman [Wed, 15 May 2013 13:07:04 +0000 (18:37 +0530)]
[2850] Correct type of exception thrown and also add a test for it
Mukund Sivaraman [Wed, 15 May 2013 13:00:44 +0000 (18:30 +0530)]
[2850] Remove assertions that are unnecessary now
Mukund Sivaraman [Wed, 15 May 2013 12:56:13 +0000 (18:26 +0530)]
[2850] Reject empty names too in setNamedAddress()
Mukund Sivaraman [Wed, 15 May 2013 12:51:26 +0000 (18:21 +0530)]
[2850] Reserve names beginning with _ for internal use only
Mukund Sivaraman [Wed, 15 May 2013 12:44:30 +0000 (18:14 +0530)]
[2850] Constify allMemoryDeallocated() again
JINMEI Tatuya [Sat, 18 May 2013 01:56:08 +0000 (18:56 -0700)]
[2905] store an empty zone data in zone table as placeholder of broken zones.
JINMEI Tatuya [Sat, 18 May 2013 01:23:04 +0000 (18:23 -0700)]
[2522] style fix: folded long lines
JINMEI Tatuya [Sat, 18 May 2013 00:49:29 +0000 (17:49 -0700)]
[2522] updated 'missing origin' tests so we test all names
also constify one variable.
JINMEI Tatuya [Sat, 18 May 2013 00:38:53 +0000 (17:38 -0700)]
[2522] avoid initializing std::string at a namescope level to avoid fiasco.
also constify one other object.
JINMEI Tatuya [Sat, 18 May 2013 00:31:32 +0000 (17:31 -0700)]
[2522] style fix: adjusted brace positions
JINMEI Tatuya [Fri, 17 May 2013 23:52:44 +0000 (16:52 -0700)]
[2905] implemented the concept of "empty zone data"
this will be used instead of NULL in later part of this branch.
(NULL won't work because it would create an unintended empty node).
JINMEI Tatuya [Fri, 17 May 2013 23:23:47 +0000 (16:23 -0700)]
[master] make sure 0-clear test buffer to suppress valgrind warnings
confirmed locally, and should be trivial, so I'm committing it directly.
Paul Selkirk [Fri, 17 May 2013 23:23:47 +0000 (19:23 -0400)]
[2522] rewrite TSIG string constructor documentation
Paul Selkirk [Fri, 17 May 2013 22:41:32 +0000 (18:41 -0400)]
[2522] add some SSHFP negative-value unit tests
Paul Selkirk [Fri, 17 May 2013 22:30:01 +0000 (18:30 -0400)]
[2522] MINFO & RP review updates
JINMEI Tatuya [Fri, 17 May 2013 20:31:47 +0000 (13:31 -0700)]
[master] changelog for #2946
JINMEI Tatuya [Fri, 17 May 2013 20:28:25 +0000 (13:28 -0700)]
[master] Merge branch 'trac2946'
JINMEI Tatuya [Fri, 17 May 2013 20:26:19 +0000 (13:26 -0700)]
[2946] simplified the previous fix further: just use it without any prefix.
as stopIOService public any (non templated) derived class can use it.
this seems to be the simplest and portable way to build it.
JINMEI Tatuya [Fri, 17 May 2013 20:16:08 +0000 (13:16 -0700)]
[master] Merge branch 'trac2916'
Paul Selkirk [Fri, 17 May 2013 19:40:23 +0000 (15:40 -0400)]
[2522] TSIG review updates
JINMEI Tatuya [Fri, 17 May 2013 19:19:33 +0000 (12:19 -0700)]
[2937] corrected a minor typo
Paul Selkirk [Fri, 17 May 2013 18:05:22 +0000 (14:05 -0400)]
[2522] more and better SSHFP unit tests
JINMEI Tatuya [Fri, 17 May 2013 16:21:44 +0000 (09:21 -0700)]
[2934] updated docstring for make_blocking, clarifying file vs socket
JINMEI Tatuya [Fri, 17 May 2013 16:19:07 +0000 (09:19 -0700)]
[2934] corrected a typo
JINMEI Tatuya [Fri, 17 May 2013 16:18:15 +0000 (09:18 -0700)]
[2934] updated lettuce README regarding prerequisites programs to be installed.
JINMEI Tatuya [Fri, 17 May 2013 16:04:21 +0000 (09:04 -0700)]
[2934] explained the rationale of the imposed delay for a xfrout test.
Marcin Siodelski [Fri, 17 May 2013 12:36:45 +0000 (14:36 +0200)]
[2786] Use parent class functions to access and modify data in OptionCustom
Marcin Siodelski [Fri, 17 May 2013 11:45:32 +0000 (13:45 +0200)]
[2786] Changes as a result of the second review.
Thomas Markwalder [Fri, 17 May 2013 11:44:28 +0000 (07:44 -0400)]
[master] Updated incorrect file names which broke distcheck make target.
Michal 'vorner' Vaner [Fri, 17 May 2013 10:26:16 +0000 (12:26 +0200)]
Include forgotten header
Include the stdint.h for uint64_t. It compiled on most systems, but
failed on some before.
Michal 'vorner' Vaner [Fri, 17 May 2013 09:25:38 +0000 (11:25 +0200)]
[2937] Compensate for different errors from csv
Compensate for different error message from different versions of the
csv library. We don't really care that much about which exact text of
the error is printed as long as something is printed and makes sense. So
allow both versions know to be produced.
Michal 'vorner' Vaner [Fri, 17 May 2013 09:24:20 +0000 (11:24 +0200)]
[2937] Parse CSV in strict mode
Don't accept invalid inputs. It seems some versions of the csv library
rejected this before, but some didn't. Making sure all of them reject
now, to get more reliable operation and consistent behavior.
Michal 'vorner' Vaner [Fri, 17 May 2013 07:32:08 +0000 (09:32 +0200)]
Merge remote-tracking branch 'refs/remotes/origin/master'
JINMEI Tatuya [Fri, 17 May 2013 07:22:46 +0000 (00:22 -0700)]
[master] style fix: folded long lines
JINMEI Tatuya [Fri, 17 May 2013 06:55:23 +0000 (23:55 -0700)]
[2934] added a lettuce test for axfr, including the scenario of this ticket.
Michal 'vorner' Vaner [Fri, 17 May 2013 06:52:32 +0000 (08:52 +0200)]
Merge #2836
Make the zone loading work even on top of MemorySegmentMapped. In
particular, handle the MemorySegmentGrown exception, which may cause
relocation of data.
Paul Selkirk [Fri, 17 May 2013 05:26:31 +0000 (01:26 -0400)]
[2522] convert SSHFP to use Impl struct
JINMEI Tatuya [Thu, 16 May 2013 22:48:50 +0000 (15:48 -0700)]
[2934] (unrelated fix) make sure closing auth TCP socket after first AXFR.
this only happens for very first TCP connection that does not result in
an answer, so wouldn't be very problematic in practice. but it's still
awkward.
JINMEI Tatuya [Thu, 16 May 2013 21:01:30 +0000 (14:01 -0700)]
[2934] use blocking I/O for sending XFR responses.
Paul Selkirk [Thu, 16 May 2013 21:27:58 +0000 (17:27 -0400)]
[2522] add MasterLexer constructors for in::SSHFP, ch::A, hs::A.
Also removed OldRdataFactory/new_rdata_factory_users stuff, since all Rdata classes now use the new RdataFactory.
JINMEI Tatuya [Thu, 16 May 2013 20:44:02 +0000 (13:44 -0700)]
[master] removed accidentally committed code with the previous fix.
JINMEI Tatuya [Thu, 16 May 2013 17:30:34 +0000 (10:30 -0700)]
[master] (re)make sure to {un,}define USE_SHARED_MEMORY in config.h
this chunk was accidentally removed in
e448bbba3ecae68b261612954aa9777edc384be4
causing test faiulres.
JINMEI Tatuya [Thu, 16 May 2013 16:59:14 +0000 (09:59 -0700)]
[2836] style fix: folded a long line.
JINMEI Tatuya [Thu, 16 May 2013 16:41:31 +0000 (09:41 -0700)]
[2916] corrected type of exception thrown from asiolib
error_code wasn't an exception type; it should have been system_error.
JINMEI Tatuya [Thu, 16 May 2013 16:28:59 +0000 (09:28 -0700)]
[2836] Merge branch 'trac2836' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2836
ommit.
Thomas Markwalder [Thu, 16 May 2013 15:58:25 +0000 (11:58 -0400)]
[master] Added entry 614 for trac 2954.
Thomas Markwalder [Thu, 16 May 2013 15:53:06 +0000 (11:53 -0400)]
[master] Merge branch 'trac2954', this adds dhcp-ddns process to
the source tree.
Michal 'vorner' Vaner [Thu, 16 May 2013 14:21:31 +0000 (16:21 +0200)]
[2836] Call resetHeader at better times
Michal 'vorner' Vaner [Thu, 16 May 2013 14:18:24 +0000 (16:18 +0200)]
[2936] Handle rare relocation
Michal 'vorner' Vaner [Thu, 16 May 2013 14:15:36 +0000 (16:15 +0200)]
[2836] Remove deprecated hack
The create now throws on relocation, so the whole operation is tried
again. No need to worry about object being relocated.
Michal 'vorner' Vaner [Thu, 16 May 2013 14:14:06 +0000 (16:14 +0200)]
[2836] Clarify how to use the segment object holder
Michal 'vorner' Vaner [Thu, 16 May 2013 14:06:52 +0000 (16:06 +0200)]
[2836] Clarify some Grown exceptions
Thomas Markwalder [Thu, 16 May 2013 11:56:32 +0000 (07:56 -0400)]
[2954] Additional review comment cleanup.
Marcin Siodelski [Thu, 16 May 2013 08:28:19 +0000 (10:28 +0200)]
[2786] Always validate the contents of the buffer when provided.
Marcin Siodelski [Thu, 16 May 2013 07:53:40 +0000 (09:53 +0200)]
[2786] Minor: added option code to the exception string.
Marcin Siodelski [Thu, 16 May 2013 07:44:58 +0000 (09:44 +0200)]
[2876] Minor: added paranthesis in the return statement.
JINMEI Tatuya [Thu, 16 May 2013 05:41:27 +0000 (22:41 -0700)]
[2946] get access to base class's static method via 'this' pointer
as some compilers don't allow direct use of Base::method.
Paul Selkirk [Thu, 16 May 2013 03:39:14 +0000 (23:39 -0400)]
Merge branch 'trac2522' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2522
Conflicts:
src/lib/dns/gen-rdatacode.py.in
JINMEI Tatuya [Wed, 15 May 2013 00:30:03 +0000 (17:30 -0700)]
[2522] some simple suggested fixes:
- use the unnamed namespace for the entire content to hide as many things as
possible.
- define rdata_tsig inside the fixture class to avoid initialization fiasco.
(to make it possible, also make toWireCommonChecks a member function).
JINMEI Tatuya [Wed, 15 May 2013 00:27:09 +0000 (17:27 -0700)]
[2522] trivial style fix
JINMEI Tatuya [Wed, 15 May 2013 00:06:17 +0000 (17:06 -0700)]
[2522] minor style fixes
JINMEI Tatuya [Tue, 14 May 2013 23:36:12 +0000 (16:36 -0700)]
[2522] trivial style cleanup: folded long lines
Paul Selkirk [Wed, 8 May 2013 15:29:02 +0000 (11:29 -0400)]
[2522] fix a typo
Paul Selkirk [Wed, 8 May 2013 14:59:40 +0000 (10:59 -0400)]
[2522] initialize impl_ directly in TSIG lexer constructor
Paul Selkirk [Wed, 8 May 2013 04:35:22 +0000 (00:35 -0400)]
[2522] TSIG algorigthm can be a reference, maybe a bit more efficient
Paul Selkirk [Wed, 8 May 2013 03:58:42 +0000 (23:58 -0400)]
[2522] convert TSIG string constructor tests to checkFromText
Paul Selkirk [Wed, 8 May 2013 02:13:22 +0000 (22:13 -0400)]
[2522] more TSIG unit tests