2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Commit Graph

9667 Commits

Author SHA1 Message Date
Jelte Jansen
f2594b4779 [1293] update ZONEMGR_UNKNOWN_ZONE_FAIL description 2012-03-21 15:54:33 +01:00
Jelte Jansen
f6c1593309 [1172] better printing of command help
- don't reorder output based on mandatoriness
- copy 'item_description' field from spec file as well
2012-03-21 12:09:33 +01:00
Jelte Jansen
874cd35c92 [1172] check for SyntaxError exception
and reraise as DataTypeError (which is handled), so bindctl does not crash
2012-03-21 12:08:58 +01:00
JINMEI Tatuya
33fc078792 [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.
2012-03-21 00:27:27 -07:00
JINMEI Tatuya
15aea6b5fe [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.
2012-03-20 22:46:49 -07:00
Mukund Sivaraman
766e74511e bug #1639: Change comment in configure.ac 2012-03-21 10:08:40 +05:30
JINMEI Tatuya
228fe4a17c [1639] some minor editorial fixes: () for return, indentation consistency 2012-03-21 10:08:31 +05:30
Mukund Sivaraman
d576a1526e bug #1639: Add comment to endif 2012-03-21 10:08:24 +05:30
Mukund Sivaraman
6ea0b1d62e bug #1639: Implement a pselect() wrapper around select() for OpenBSD 2012-03-21 10:08:09 +05:30
JINMEI Tatuya
9c4fea2673 [1775] second refactoring: use extracted findNode() from addAdditional.
no behavior change yet.  not yet supported the wildcard case.
2012-03-20 20:51:24 -07:00
JINMEI Tatuya
beb36d9729 [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.
2012-03-20 20:48:53 -07:00
Stephen Morris
d85eda60ea [963] Changes after review. 2012-03-20 22:37:50 +00:00
Stephen Morris
b09579f0af [1688] Updated as a result of review 2012-03-20 18:59:23 +00:00
JINMEI Tatuya
4de96e9a32 [master] Merge branch 'trac1784' with fixing conflicts. 2012-03-20 09:43:47 -07:00
Michal 'vorner' Vaner
181d405a1e [963] Minor whitespace fixes 2012-03-20 12:25:17 +01:00
Michal 'vorner' Vaner
79af4f917e Merge #1760 2012-03-20 10:24:42 +01:00
JINMEI Tatuya
ff926e0665 [1688] trivial editorial fixes. 2012-03-20 00:00:45 -07:00
JINMEI Tatuya
0acc164c6a [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.
2012-03-19 23:00:23 -07:00
JINMEI Tatuya
c96ac865ac [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
2012-03-19 14:01:04 -07:00
JINMEI Tatuya
da4d1f0f46 [master] Merge branch 'trac1783' 2012-03-19 10:48:55 -07:00
Jelte Jansen
3dfd3b25e2 [1812] remove newline 2012-03-19 23:02:35 +05:30
Mukund Sivaraman
7b7252d044 [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).
2012-03-19 23:02:26 +05:30
JINMEI Tatuya
e0cee3754d [1783] noted a future extension to RendererHolder so it's more visible. 2012-03-19 10:31:33 -07:00
Stephen Morris
538350b7db [963] Cosmetic upgrade to some error messages 2012-03-19 17:28:57 +00:00
JINMEI Tatuya
bd2da89767 [1784] signed/unsigned fix 2012-03-19 10:14:22 -07:00
Stephen Morris
7e7b44723b [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
2012-03-19 17:07:06 +00:00
JINMEI Tatuya
8db9dee362 [1784] reject unsupported addServer options. 2012-03-19 10:03:21 -07:00
JINMEI Tatuya
02cb1de4a0 [1784] added some notes about why we do null check for 'res' from getaddrinfo. 2012-03-19 09:48:40 -07:00
Stephen Morris
2e06048a76 [963] Dabase utility program and tests 2012-03-19 15:09:38 +00:00
Jelte Jansen
438bcd6747 [1784] some initialization issues and cppcheck fixes
see http://bind10.isc.org/ticket/1784#comment:5
2012-03-19 15:27:01 +01:00
Tomek Mrugalski
21c1954e0e [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)
2012-03-19 14:54:18 +01:00
Michal 'vorner' Vaner
abd717cfc9 [1760] Use ?, not $ for parameter substitution
Unrelated cleanup.

They are equivalent, but this looks more consistent.
2012-03-19 14:41:15 +01:00
Michal 'vorner' Vaner
c2b8d8433c [1760] Implement the SQLite3 findPreviousNSEC3Hash
It is very similar to the findPreviousName, just that it wraps around
when no hash is found.
2012-03-19 14:38:25 +01:00
Michal 'vorner' Vaner
37960ee83c [1760] Tests for sqlite3 findPRevioushNSEC3Hash
Naturally, the tests fail, the method is not implemented.
2012-03-19 14:37:41 +01:00
Michal 'vorner' Vaner
8f36290cea [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.
2012-03-19 13:20:59 +01:00
Michal 'vorner' Vaner
e80de6f13a [1760] Test for the accessor 2012-03-19 13:20:59 +01:00
Michal 'vorner' Vaner
823f30307b Merge #1758 2012-03-19 09:38:19 +01:00
haikuo zhang
8e4c960405 [1579] update unit test. In this unit test, I update NSEC3PARAM
type RR data to database,and it works smoothly.
2012-03-19 13:08:04 +08:00
Naoki Kambe
b713d234a9 [master] ChangeLog update for #1751 2012-03-19 11:46:21 +09:00
Naoki Kambe
3285353a66 Merge branch 'trac1751'
Conflicts:
	ChangeLog
2012-03-19 11:43:36 +09:00
JINMEI Tatuya
f46b788569 [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.
2012-03-16 18:36:32 -07:00
JINMEI Tatuya
20e1bd7772 [1784] removed the "test_mode" kludge in portconfig.
thanks to the introduction of DNSServiceBase we don't need it any more.
2012-03-16 16:19:35 -07:00
JINMEI Tatuya
c4e3eaef7e [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.
2012-03-16 15:16:07 -07:00
JINMEI Tatuya
c8c69b2a7b [1784] cleanup: put testuil mockups in a separate namespace to avoid pollution. 2012-03-16 14:05:49 -07:00
JINMEI Tatuya
ce65bd4fa0 [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.
2012-03-16 14:00:11 -07:00
Tomek Mrugalski
1202068e5f [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.
2012-03-16 18:07:39 +01:00
Tomek Mrugalski
d8db35358a [1528] Another of review changes:
- setMac(), getMac(), getMacLen(), getHWType(), setHWType() implemented.
- clean-ups in interface detection code on Linux
2012-03-16 16:59:19 +01:00
Stephen Morris
489ef518a4 [1688] Remove unneeded "duplicate additional" check
This is now replaced by the duplicate check when the response is
created.
2012-03-16 15:56:35 +00:00
Stephen Morris
a7f2ef92fd [1688] Add optimisation for RBNodeRRsets
Reduce the cost of comparing RRsets when ignoring duplicate ones
in the preparation of an output message.
2012-03-16 15:35:34 +00:00
Stephen Morris
e0c470b595 [1688] Remove duplicate RRsets when producing output message
When Query::createResponse() creates a message, this change ensures
that any duplicate RRsets are removed.
2012-03-16 14:52:11 +00:00