2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

9667 Commits

Author SHA1 Message Date
Mukund Sivaraman
f894ef7422 [1892] Conditionally throw an exception if logger placeholders are not matched 2012-05-04 09:32:55 +05:30
Jelte Jansen
3d876bb262 [master] link gtest libs after local libs
so that sys-installed bind10 libraries do not interfere with those in the build tree
2012-05-03 22:14:29 +00:00
Jelte Jansen
3a9c1b6387 [master] Add explicit exception what strings
This should fix the unit tests complaining about wrong error messages.

While debugging, I also found an uninitialized value error that has been present probably since the logger code exists. This has also been fixed.
2012-05-03 17:32:31 +02:00
Michal 'vorner' Vaner
37227b85bf [1802] Set the RESULT_NSEC_SIGNED flag in in-memory
When we return a negative answer or wildcard, we return
RESULT_NSEC_SIGNED for NSEC signed zones, similarly to NSEC3-signed
ones.
2012-05-03 13:19:52 +02:00
Michal 'vorner' Vaner
1ff3eb1912 [1802] Set the NSEC flag on add
Not tested in any way now yet, this is private data structure. It is not
yet used, so the behavior is not changed.
2012-05-03 13:13:48 +02:00
Michal 'vorner' Vaner
156ace04dc [1802] Tests for NSEC status
The zone should declare itself to be signed if there's an NSEC RR.
2012-05-03 13:00:27 +02:00
Jelte Jansen
7b0e7e1746 [master] Merge branch 'trac1857' 2012-05-03 11:35:16 +02:00
Mukund Sivaraman
bd2568ebde [1856] Use a dummy database_file for lettuce multi_instance test 2012-05-03 13:44:29 +05:30
Mukund Sivaraman
5ffee903b4 [1885] Add ChangeLog entry 2012-05-03 09:20:40 +05:30
Mukund Sivaraman
95947109c5 [1885] Fix lettuce tests, now that b10-stats-httpd isn't enabled by default 2012-05-03 09:19:03 +05:30
Mukund Sivaraman
5c8bbd7ab6 [1885] Turn off b10-stats-httpd in the default configuration 2012-05-03 09:18:54 +05:30
Jelte Jansen
653847cf99 [master] update changelog for merge of #1520 2012-05-02 16:46:20 +02:00
Jelte Jansen
0f18039bc7 [master] Merge branch 'trac1520' 2012-05-02 16:42:10 +02:00
Jelte Jansen
4c43c7d967 [1857] make other exceptions we define subs of isc::Exception as well
instead of std::exception
2012-05-02 16:08:51 +02:00
Jelte Jansen
c73ffa69fd [master] update changelog for merge of #1843 2012-05-02 14:41:13 +02:00
Jelte Jansen
551657702a [master] Merge branch 'trac1843' 2012-05-02 14:28:59 +02:00
Jelte Jansen
58757c09f3 [master] Merge branch 'trac1878' 2012-05-02 11:06:55 +02:00
Jelte Jansen
3e6773dbdb [1878] use . instead of source 2012-05-02 11:06:40 +02:00
Jelte Jansen
17f72c2e94 [1520] treat non-existent list item as empty list
instead of treating it as an error
2012-05-02 10:27:33 +02:00
Mukund Sivaraman
c016b74723 [1878] Remove +x mode from setup_intree_bind10.sh.in 2012-05-02 10:13:38 +05:30
Jelte Jansen
4429acb90d [1843] clean up comments 2012-05-01 15:59:56 +02:00
Mukund Sivaraman
2f7b1a1865 [master] Update .gitignore 2012-05-01 16:45:29 +05:30
Jelte Jansen
9a76caecbc [1843] use re for directive matching
to work with both whitespace and case-insensitivity
2012-05-01 12:29:14 +02:00
Jelte Jansen
3de6e881f6 [1843] don't revert local config on execute failure
instead, just print some advice
2012-05-01 12:06:35 +02:00
Naoki Kambe
a475ef271d Merge branch 'trac1852' of ssh://git.bind10.isc.org/var/bind10/git/bind10 2012-05-01 17:39:17 +09:00
Mukund Sivaraman
3055e37cd7 [master] Update .gitignore 2012-04-30 09:33:45 +05:30
Mukund Sivaraman
f9d8efd545 [master] Put libtool macros in m4macros/ 2012-04-30 09:32:17 +05:30
Mukund Sivaraman
e63005a633 [master] Update .gitignore 2012-04-30 09:21:18 +05:30
Mukund Sivaraman
a3893c3664 [master] Fix endif comment 2012-04-30 09:19:41 +05:30
Marcin Siodelski
0ddeda7f06 [master] Changelog update for #1908 2012-04-28 22:43:51 +02:00
Marcin Siodelski
597e059afa [master] [1908] Added v6 socket binding to local-link address 2012-04-28 21:46:34 +02:00
Stephen Morris
9f613bb9c9 [1540] Removed declaration and initialization of unused variable
... which was left over from a previous change.
2012-04-20 17:51:13 +01:00
Jelte Jansen
84a0413302 [1878] add copyright statement 2012-04-20 14:30:15 +02:00
Jelte Jansen
dc142a44a0 [1878] add run_lettuce.sh script, and check in terrain 2012-04-20 12:51:01 +02:00
Jelte Jansen
8df566b82d [1878] added run_lettuce.sh script, and check in terrain 2012-04-20 12:48:08 +02:00
Jelte Jansen
373ef178d7 [1857] make ModuleSpecError derive from isc::Exception 2012-04-20 11:50:43 +02:00
JINMEI Tatuya
e0cb5ab6d3 [master] [1895] editorial: added a missing space in an error message.
not directly related to this branch, but the review comment on this point
for the previous change should actually apply to this.
2012-04-19 10:22:24 -07:00
Jeremy C. Reed
fd1a4b0eac [master] also wait for auth server to be started before query
This is in the Load and response scenario.

This is to fix lettuce failures see on mac and debian automated lettuce
runs.

This was just a timing race.

Also I didn't check for BIND10_STARTED_CC as done elsewhere
since that never worked. I opened a ticket for that: #1900.
2012-04-19 12:11:34 -05:00
Jeremy C. Reed
b24b0f2312 [master] make sure auth server is running before queried
This fixes lettuce failure:

   Scenario: Delegation query for unsigned child zone                                                                      # features/queries.feature:106
     Given I have bind10 running with configuration example.org.inmem.config                                               # features/terrain/bind10_control.py:107
+    And wait for bind10 stderr message AUTH_SERVER_STARTED                                                                # features/terrain/steps.py:34
     A dnssec query for www.sub.example.org type AAAA should have rcode NOERROR                                            # features/terrain/querying.py:204
     Traceback (most recent call last):
       File "/usr/pkg/lib/python2.6/site-packages/lettuce/core.py", line 117, in __call__
         ret = self.function(self.step, *args, **kw)
       File "/home/reed/work/isc/bind10/git/bind10-CLEAN/tests/lettuce/features/terrain/querying.py", line 240, in query
         "Expected: " + rcode + ", got " + query_result.rcode
     AssertionError: Expected: NOERROR, got NO_ANSWER

This was discussed on jabber. (Maybe the cmdctl check is not needed,
but shouldn't hurt either.)
2012-04-19 11:13:42 -05:00
Michal 'vorner' Vaner
146b5941b9 Merge branch 'master' of git+ssh://git.bind10.isc.org/var/bind10/git/bind10 2012-04-19 17:24:10 +02:00
Jelte Jansen
4cfab0d825 [1843] import fix 2012-04-19 17:08:16 +02:00
Michal 'vorner' Vaner
e4fd9934de Fix makefile
The run_unittests should be linked only if it is compiled. Confirmed on
jabber this was a mistake.
2012-04-19 15:48:45 +02:00
Jelte Jansen
bed1681e32 [1843] add test for change to find_spec_part
and a bit of comment cleanup
2012-04-19 15:26:22 +02:00
Jelte Jansen
53a7c709b0 [1843] move command_sets/execute initialization
to command_sets, so that all setup is done in one file and not 3
2012-04-19 15:12:51 +02:00
Jelte Jansen
50d20d7206 [1843] revert script config changes if script fails 2012-04-19 14:31:08 +02:00
Stephen Morris
c8e538c10d [master] Merge branch 'trac1704' 2012-04-19 12:12:36 +01:00
Stephen Morris
b1c727db35 [1704] Corrected a typo in the bind10-guide.xml file after review
Also regenerated the bind10-guide.html and bind10-guide.txt files.
2012-04-19 12:09:17 +01:00
Michal 'vorner' Vaner
5b37859360 Merge #1793 2012-04-19 12:12:17 +02:00
JINMEI Tatuya
6e05014aa5 [1793] Fix a comment
The old version is a result of copy-paste and is wrong.
2012-04-19 12:11:42 +02:00
JINMEI Tatuya
264691395b [1793] Eliminate several state variables
The values are deduced from something else, no need to keep them. This
eliminates the ugly initialization with wrong values.
2012-04-19 12:09:57 +02:00