]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Wed, 21 Mar 2012 07:27:27 +0000 (00:27 -0700)]
[1775] make sure wildcard expanded additonal data is returned.
for this purpose prepareRRset became a separate free function in an unnamed
namespace. The temporarily disabled test for this case now passes, so
is enabled again.
JINMEI Tatuya [Wed, 21 Mar 2012 05:46:49 +0000 (22:46 -0700)]
[1775] introduce a mutable version of findNode() and use it in addAdditional.
this is an attempt of making the other version as safe as possible without
sacrificing its performance.
Mukund Sivaraman [Wed, 21 Mar 2012 04:35:33 +0000 (10:05 +0530)]
bug #1639: Change comment in configure.ac
JINMEI Tatuya [Tue, 20 Mar 2012 18:02:23 +0000 (11:02 -0700)]
[1639] some minor editorial fixes: () for return, indentation consistency
Mukund Sivaraman [Mon, 19 Mar 2012 18:58:40 +0000 (00:28 +0530)]
bug #1639: Add comment to endif
Mukund Sivaraman [Mon, 19 Mar 2012 18:47:20 +0000 (00:17 +0530)]
bug #1639: Implement a pselect() wrapper around select() for OpenBSD
JINMEI Tatuya [Wed, 21 Mar 2012 03:51:24 +0000 (20:51 -0700)]
[1775] second refactoring: use extracted findNode() from addAdditional.
no behavior change yet. not yet supported the wildcard case.
JINMEI Tatuya [Wed, 21 Mar 2012 03:48:53 +0000 (20:48 -0700)]
[1775] refactoring: extract the first part of find() to a separate method.
It's intended to be shared with addAdditional(). It will aslo help make
the find more readable.
Stephen Morris [Tue, 20 Mar 2012 22:37:50 +0000 (22:37 +0000)]
[963] Changes after review.
Stephen Morris [Tue, 20 Mar 2012 18:59:23 +0000 (18:59 +0000)]
[1688] Updated as a result of review
JINMEI Tatuya [Tue, 20 Mar 2012 16:43:47 +0000 (09:43 -0700)]
[master] Merge branch 'trac1784' with fixing conflicts.
Michal 'vorner' Vaner [Tue, 20 Mar 2012 11:25:17 +0000 (12:25 +0100)]
[963] Minor whitespace fixes
Michal 'vorner' Vaner [Tue, 20 Mar 2012 09:21:38 +0000 (10:21 +0100)]
Merge #1760
JINMEI Tatuya [Tue, 20 Mar 2012 07:00:45 +0000 (00:00 -0700)]
[1688] trivial editorial fixes.
JINMEI Tatuya [Tue, 20 Mar 2012 06:00:23 +0000 (23:00 -0700)]
[1727] define BOOST_DISABLE_THREADS if Boost doesn't use theads by default.
this will fix a crash in asiolink tests on OpenBSD due to its deviant
behavior that could result in different configuration on the use of
boost threads in different .cc files.
JINMEI Tatuya [Mon, 19 Mar 2012 21:01:04 +0000 (14:01 -0700)]
[1579] some trivial editorial/style fixes
- removed white spaces at EOL
- add a spaece after commas
- variable naming convention (use underscored lower cased chars)
- indentation
JINMEI Tatuya [Mon, 19 Mar 2012 17:48:55 +0000 (10:48 -0700)]
[master] Merge branch 'trac1783'
Jelte Jansen [Mon, 19 Mar 2012 15:30:16 +0000 (16:30 +0100)]
[1812] remove newline
Mukund Sivaraman [Mon, 19 Mar 2012 12:13:57 +0000 (17:43 +0530)]
[1812] Initialize srandom() with seed other than 0 when not using a random seed
This is because random() always returns 0 on OpenBSD 5.0, when
the RNG is initialized with srandom(0).
JINMEI Tatuya [Mon, 19 Mar 2012 17:31:33 +0000 (10:31 -0700)]
[1783] noted a future extension to RendererHolder so it's more visible.
Stephen Morris [Mon, 19 Mar 2012 17:28:57 +0000 (17:28 +0000)]
[963] Cosmetic upgrade to some error messages
JINMEI Tatuya [Mon, 19 Mar 2012 17:14:22 +0000 (10:14 -0700)]
[1784] signed/unsigned fix
Stephen Morris [Mon, 19 Mar 2012 17:07:06 +0000 (17:07 +0000)]
[963] Miscellaneous changes
1. Fix minor gremlins in unit test and main program
2. Update to rename b10-dbutil process (and so avoid an error
from the process_rename_test check).
3. With (2), add run_dbutil to run in test mode
JINMEI Tatuya [Mon, 19 Mar 2012 17:03:21 +0000 (10:03 -0700)]
[1784] reject unsupported addServer options.
JINMEI Tatuya [Mon, 19 Mar 2012 16:48:40 +0000 (09:48 -0700)]
[1784] added some notes about why we do null check for 'res' from getaddrinfo.
Stephen Morris [Mon, 19 Mar 2012 15:09:38 +0000 (15:09 +0000)]
[963] Dabase utility program and tests
Jelte Jansen [Mon, 19 Mar 2012 14:27:01 +0000 (15:27 +0100)]
[1784] some initialization issues and cppcheck fixes
see http://bind10.isc.org/ticket/1784#comment:5
Tomek Mrugalski [Mon, 19 Mar 2012 13:54:18 +0000 (14:54 +0100)]
[1531] Several developer documentation updates:
- Added make devel target in doc directory.
- Doxygen warnings/errors are now part of the Developer's guide itself.
- renamed mainpage.dox file
- Added extra information to main page
- Extended libdhcp++ descriptions
- Added doc/.gitignore to ignore doc/html (potentially 1000s of files)
Michal 'vorner' Vaner [Mon, 19 Mar 2012 13:41:15 +0000 (14:41 +0100)]
[1760] Use ?, not $ for parameter substitution
Unrelated cleanup.
They are equivalent, but this looks more consistent.
Michal 'vorner' Vaner [Mon, 19 Mar 2012 13:38:25 +0000 (14:38 +0100)]
[1760] Implement the SQLite3 findPreviousNSEC3Hash
It is very similar to the findPreviousName, just that it wraps around
when no hash is found.
Michal 'vorner' Vaner [Mon, 19 Mar 2012 12:56:35 +0000 (13:56 +0100)]
[1760] Tests for sqlite3 findPRevioushNSEC3Hash
Naturally, the tests fail, the method is not implemented.
Michal 'vorner' Vaner [Fri, 16 Mar 2012 12:06:45 +0000 (13:06 +0100)]
[1760] Provide the IteratorContext
The one for providing the "normal" lookups is just slightly modified to
accept another SELECT statement. The SELECT statement has a small hack -
since the table does not contain a sigtype column (because it makes
little sense in the nsec3 namespace), it is replaced with column where
everything equals to 1, to position the rdata column to the proper
position.
Michal 'vorner' Vaner [Thu, 15 Mar 2012 15:59:39 +0000 (16:59 +0100)]
[1760] Test for the accessor
Michal 'vorner' Vaner [Mon, 19 Mar 2012 08:38:14 +0000 (09:38 +0100)]
Merge #1758
haikuo zhang [Mon, 19 Mar 2012 05:08:04 +0000 (13:08 +0800)]
[1579] update unit test. In this unit test, I update NSEC3PARAM
type RR data to database,and it works smoothly.
Naoki Kambe [Mon, 19 Mar 2012 02:46:21 +0000 (11:46 +0900)]
[master] ChangeLog update for #1751
Naoki Kambe [Mon, 19 Mar 2012 02:43:36 +0000 (11:43 +0900)]
Merge branch 'trac1751'
Conflicts:
ChangeLog
JINMEI Tatuya [Sat, 17 Mar 2012 01:36:32 +0000 (18:36 -0700)]
[1783] add a test case where toWire() throws, and fix it using a cleaner class.
also make sure the internal (reusable) MessageRenderer is always used.
JINMEI Tatuya [Fri, 16 Mar 2012 23:19:35 +0000 (16:19 -0700)]
[1784] removed the "test_mode" kludge in portconfig.
thanks to the introduction of DNSServiceBase we don't need it any more.
JINMEI Tatuya [Fri, 16 Mar 2012 22:16:07 +0000 (15:16 -0700)]
[1784] make sure auth uses the synchronous DNS server mode.
also introduce mock DNSService and use it to test the behavior, and to test
the resolver behavior doesn't change.
the essential part should be quite simple; most of the changes are
straightforward interface adjustments.
it also includes some editorial cleanups such as adding header-file guards
or style guideline fixes.
JINMEI Tatuya [Fri, 16 Mar 2012 21:05:49 +0000 (14:05 -0700)]
[1784] cleanup: put testuil mockups in a separate namespace to avoid pollution.
JINMEI Tatuya [Fri, 16 Mar 2012 21:00:11 +0000 (14:00 -0700)]
[1784] introduced a base interface class for DNSService for subsequent tests.
Only some part of portconfig need to be adjusted; others will still use
the derived class directly.
Tomek Mrugalski [Fri, 16 Mar 2012 17:07:39 +0000 (18:07 +0100)]
[1528] Netlink functions are now wrapped in a class
- Netlink functions now form a class.
- Tests for the new IfaceMgr::Iface methods implemented.
- Several other smaller corrections.
Tomek Mrugalski [Fri, 16 Mar 2012 15:59:19 +0000 (16:59 +0100)]
[1528] Another of review changes:
- setMac(), getMac(), getMacLen(), getHWType(), setHWType() implemented.
- clean-ups in interface detection code on Linux
Stephen Morris [Fri, 16 Mar 2012 15:56:35 +0000 (15:56 +0000)]
[1688] Remove unneeded "duplicate additional" check
This is now replaced by the duplicate check when the response is
created.
Stephen Morris [Fri, 16 Mar 2012 15:35:34 +0000 (15:35 +0000)]
[1688] Add optimisation for RBNodeRRsets
Reduce the cost of comparing RRsets when ignoring duplicate ones
in the preparation of an output message.
Stephen Morris [Fri, 16 Mar 2012 14:52:11 +0000 (14:52 +0000)]
[1688] Remove duplicate RRsets when producing output message
When Query::createResponse() creates a message, this change ensures
that any duplicate RRsets are removed.
Tomek Mrugalski [Fri, 16 Mar 2012 14:14:33 +0000 (15:14 +0100)]
[1528] Changes after review: comments about netlink interface
- new comments added
- unnecessary struct keywords removed
- several other smaller clean-ups
Michal 'vorner' Vaner [Fri, 16 Mar 2012 13:54:40 +0000 (14:54 +0100)]
[1758] Provide future test method
For the findPreviousNSEC3Hash.
Also, renamed the nsec_namespace_ variable to more correct
nsec3_namespace_.
Michal 'vorner' Vaner [Fri, 16 Mar 2012 13:42:24 +0000 (14:42 +0100)]
[1758] Provide NotImplemented-throwing methods
This is for the newly introduced interface. It makes stuff compile, it
complained about pure virtual methods.
Michal 'vorner' Vaner [Fri, 16 Mar 2012 13:36:08 +0000 (14:36 +0100)]
[1758] Interface for getting previous name
Jeremy C. Reed [Fri, 16 Mar 2012 13:27:31 +0000 (08:27 -0500)]
[master] update version
Jelte Jansen [Fri, 16 Mar 2012 10:28:17 +0000 (11:28 +0100)]
[master] update changelog for merge of 1640
Jelte Jansen [Fri, 16 Mar 2012 09:25:38 +0000 (10:25 +0100)]
[master] Merge branch 'trac1640_2'
Mukund Sivaraman [Fri, 16 Mar 2012 09:03:27 +0000 (14:33 +0530)]
[master] Fix kqueue testcase in configure.ac for OpenBSD
JINMEI Tatuya [Fri, 16 Mar 2012 07:35:02 +0000 (00:35 -0700)]
[1784] cleanups, tests, and doc for addServerUDPFromFD.
"UDPVersion" is now more generic options, and its default is the previous
behavior, which should be more suitable default. added test cases to
confirm the effect of the options. added detailed documentation.
Naoki Kambe [Fri, 16 Mar 2012 04:42:28 +0000 (13:42 +0900)]
[1751] change of #1751 entry to the simpler text for the users according to reviewing
Naoki Kambe [Thu, 15 Mar 2012 11:46:29 +0000 (20:46 +0900)]
[1751] addition of notes, rearrangement for reading easily, and removal of unnecessary updates of the statistics_data variable
Naoki Kambe [Thu, 15 Mar 2012 11:47:50 +0000 (20:47 +0900)]
[1751] addition of a check of statistics data after a running auth is killed
JINMEI Tatuya [Fri, 16 Mar 2012 04:17:08 +0000 (21:17 -0700)]
[master] (workaround for lettuce) always use asynchronous UDP server objects.
this is a simplest fix to the lettuce resolver test failure. note: this will
make the auth server slower. a more complete fix will be done in #1784.
okayed by muks on jabber.
JINMEI Tatuya [Fri, 16 Mar 2012 00:43:36 +0000 (17:43 -0700)]
[1784] removed the ability of creating sync server except for UDPFromFD case.
That matches the sense of YAGNI, and, in fact, would help avoid having the
type of regression we had in #1600.
JINMEI Tatuya [Thu, 15 Mar 2012 23:52:48 +0000 (16:52 -0700)]
[1784] (unrelated) editorial cleanup: space related, indentation, etc.
also fixed memory leak in a test case using scoped_ptr.
JINMEI Tatuya [Thu, 15 Mar 2012 21:24:34 +0000 (14:24 -0700)]
[master] make sure temporary renderer buffer is reset after query processing.
otherwise it could result in duplicate free. This basically recovers the
same behavior of
d5ec40dace9fddaaec9873cfca2d670e8d35650a that was lost
in commit
699068ef1467867fbbb86cfebc20e823c5128100 .
Jeremy C. Reed [Thu, 15 Mar 2012 18:23:39 +0000 (13:23 -0500)]
[master]Merge branch 'trac1644'
Jeremy C. Reed [Thu, 15 Mar 2012 17:50:49 +0000 (12:50 -0500)]
[trac1644]Merge branch 'trac1644' of ssh://git.bind10.isc.org//var/bind10/git/bind10 into trac1644
fix conflicts
Stephen Morris [Thu, 15 Mar 2012 17:24:25 +0000 (17:24 +0000)]
[1688] Add AbstractRRset::lthan()
Provides ordering needed for adding RRsets into a multiset for
duplicate RRset removal.
Michal 'vorner' Vaner [Thu, 15 Mar 2012 15:19:12 +0000 (16:19 +0100)]
[1758] Future test support.
Jelte Jansen [Thu, 15 Mar 2012 14:53:58 +0000 (15:53 +0100)]
[master] Merge branch 'trac1780'
Jelte Jansen [Thu, 15 Mar 2012 14:29:48 +0000 (15:29 +0100)]
[master] Merge branch 'trac1747'
Mukund Sivaraman [Thu, 15 Mar 2012 09:48:01 +0000 (15:18 +0530)]
[master] Add more missing includes (doesn't compile on OpenBSD otherwise)
Tomek Mrugalski [Thu, 15 Mar 2012 11:00:59 +0000 (12:00 +0100)]
Merge branch 'trac1541'
Jelte Jansen [Thu, 15 Mar 2012 10:24:07 +0000 (11:24 +0100)]
[1640] cleanup of ACX_ functions
removed arguments that were never used, use PATH_SEPARATOR instead of literal, add comments, fixed AXC_CHECK_PROG_NONCACHE for the case where $3 is not supplied
Mukund Sivaraman [Thu, 15 Mar 2012 08:26:56 +0000 (13:56 +0530)]
Add missing more includes (doesn't compile on OpenBSD otherwise)
Naoki Kambe [Thu, 15 Mar 2012 08:30:35 +0000 (17:30 +0900)]
[1751] a ChangeLog entry for #1751
Michal 'vorner' Vaner [Thu, 15 Mar 2012 08:28:44 +0000 (09:28 +0100)]
Merge #1568
Mukund Sivaraman [Thu, 15 Mar 2012 08:21:09 +0000 (13:51 +0530)]
[master] Add missing include (doesn't compile on OpenBSD otherwise)
Mukund Sivaraman [Thu, 15 Mar 2012 08:14:46 +0000 (13:44 +0530)]
[master] Update .gitignore file
Mukund Sivaraman [Thu, 15 Mar 2012 08:06:33 +0000 (13:36 +0530)]
[master] Add missing include (doesn't compile on OpenBSD otherwise)
Naoki Kambe [Thu, 15 Mar 2012 05:43:41 +0000 (14:43 +0900)]
[1751] addition of a search and removal of dead instances, a accumulation check by a complicated statistics data structure, and miscellaneous typo fixes
Naoki Kambe [Tue, 13 Mar 2012 10:37:07 +0000 (19:37 +0900)]
[1751] typo fix, removal of the final recheck of statistics due to another issue, and addition of two more running auths for a regression check
Jeremy C. Reed [Thu, 15 Mar 2012 02:51:35 +0000 (21:51 -0500)]
[trac1644]Merge branch 'master' into trac1644
Xie Jiagui [Thu, 15 Mar 2012 02:33:20 +0000 (10:33 +0800)]
Fixed the conflict after merged #1600.
Jeremy C. Reed [Thu, 15 Mar 2012 01:57:05 +0000 (20:57 -0500)]
[trac1644]Merge branch 'master' into trac1644
Xie Jiagui [Thu, 15 Mar 2012 01:35:37 +0000 (09:35 +0800)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Xie Jiagui [Thu, 15 Mar 2012 01:33:56 +0000 (09:33 +0800)]
Merge branch 'master' into trac1600
Conflicts:
src/bin/auth/auth_srv.cc
src/bin/auth/tests/auth_srv_unittest.cc
JINMEI Tatuya [Wed, 14 Mar 2012 20:47:51 +0000 (13:47 -0700)]
[1541] a bit more style fixes: fold long lines, spacing
Jelte Jansen [Wed, 14 Mar 2012 18:09:47 +0000 (19:09 +0100)]
[1780] add a replacement time.time() in tests
in the relevant tests, time.time() is temporarily replace by the function returned by get_fake_time_time(). After each test that uses this, it is restored to the original function (So as not to mess up unittest framework's concept of time).
Also renamed one test which had the same name as another test.
Jelte Jansen [Wed, 14 Mar 2012 16:56:09 +0000 (17:56 +0100)]
[master] update changelog for merge of #1321
Jelte Jansen [Wed, 14 Mar 2012 16:53:38 +0000 (17:53 +0100)]
[master] Merge branch 'trac1321'
Jelte Jansen [Wed, 14 Mar 2012 16:51:17 +0000 (17:51 +0100)]
[1779] update comment for increased sleep time
Jelte Jansen [Wed, 14 Mar 2012 16:11:40 +0000 (17:11 +0100)]
[1779] improve TTL tests
take potential second boundary into account
also fixed a few long lines
Michal 'vorner' Vaner [Wed, 14 Mar 2012 14:59:10 +0000 (15:59 +0100)]
[1758] Make it compile
By providing methods that throw NotImplemented.
Tomek Mrugalski [Wed, 14 Mar 2012 14:54:42 +0000 (15:54 +0100)]
[1541] Changes after review:
- added comments
- script now uses OptionParser for command line options
- unnecessary code removed
- several coding style improvements
Michal 'vorner' Vaner [Wed, 14 Mar 2012 14:38:20 +0000 (15:38 +0100)]
[1758] Interface to get NSEC3s from Accessor
Does not compile, as all subclasses now have pure virtual method.
Jelte Jansen [Wed, 14 Mar 2012 14:23:18 +0000 (15:23 +0100)]
[1747] added RAII-lookalike cleaner object to Query::process()
Mukund Sivaraman [Wed, 14 Mar 2012 12:38:17 +0000 (18:08 +0530)]
bug #1600: Coding style changes
Michal 'vorner' Vaner [Wed, 14 Mar 2012 11:46:51 +0000 (12:46 +0100)]
[1568] Fix a test that failed
We can no longer EXPECT_THROW, if we don't throw.
Naoki Kambe [Wed, 14 Mar 2012 09:33:04 +0000 (18:33 +0900)]
[1751] check with a real pid
Mukund Sivaraman [Wed, 14 Mar 2012 08:12:13 +0000 (13:42 +0530)]
Update .gitignore files
Mukund Sivaraman [Wed, 14 Mar 2012 07:50:57 +0000 (13:20 +0530)]
Close sockets when done with them