- 03 Mar, 2020 1 commit
-
-
Mark Andrews authored
-
- 28 Feb, 2020 1 commit
-
-
Michał Kępień authored
When --with-zlib is passed to ./configure (or when the latter autodetects zlib's presence), libisc uses certain zlib functions and thus libisc's users should be linked against zlib in that case. Adjust Makefile variables appropriately to prevent shared build failures caused by underlinking.
-
- 27 Feb, 2020 4 commits
-
-
Mark Andrews authored
-
Mark Andrews authored
-
Evan Hunt authored
sending each group of queries simultaneously, and then checking the output after the last one finishes, reduces the runtime of the serve-stale test by about six minutes.
-
Evan Hunt authored
"yes" and "no" are permissible synonyms for "on" and "off", which use exactly the same code paths. making sure they work isn't a good use of 80 seconds of test time.
-
- 24 Feb, 2020 3 commits
-
-
Matthijs Mekking authored
-
Diego dos Santos Fronza authored
non-glob-expression works.
-
Diego dos Santos Fronza authored
-
- 21 Feb, 2020 2 commits
- 20 Feb, 2020 1 commit
-
-
Diego dos Santos Fronza authored
Added a system test which ensures that named-checkzone works when taking input data from stdin.
-
- 14 Feb, 2020 1 commit
-
-
Ondřej Surý authored
-
- 13 Feb, 2020 3 commits
-
-
Evan Hunt authored
-
Ondřej Surý authored
The command used to reformat the files in this commit was: ./util/run-clang-tidy \ -clang-tidy-binary clang-tidy-11 -clang-apply-replacements-binary clang-apply-replacements-11 \ -checks=-*,readability-braces-around-statements \ -j 9 \ -fix \ -format \ -style=file \ -quiet clang-format -i --style=format $(git ls-files '*.c' '*.h') uncrustify -c .uncrustify.cfg --replace --no-backup $(git ls-files '*.c' '*.h') clang-format -i --style=format $(git ls-files '*.c' '*.h')
-
Ondřej Surý authored
Both clang-tidy and uncrustify chokes on statement like this: for (...) if (...) break; This commit uses a very simple semantic patch (below) to add braces around such statements. Semantic patch used: @@ statement S; expression E; @@ while (...) - if (E) S + { if (E) { S } } @@ statement S; expression E; @@ for (...;...;...) - if (E) S + { if (E) { S } } @@ statement S; expression E; @@ if (...) - if (E) S + { if (E) { S } }
-
- 12 Feb, 2020 3 commits
-
-
Ondřej Surý authored
-
Mark Andrews authored
(cherry picked from commit c99ad5c8)
-
Mark Andrews authored
-
- 10 Feb, 2020 1 commit
-
-
Ondřej Surý authored
Also disable the semantic patch as the code needs tweaks here and there because some destroy functions might not destroy the object and return early if the object is still in use.
-
- 08 Feb, 2020 1 commit
-
-
Michał Kępień authored
On OpenBSD, the bin/tests/system/pipelined/ans5/ans.py script does not shut down when it is sent the SIGTERM signal. What seems to be happening is that starting the UDP listening thread somehow makes the accept() calls in the script's main thread uninterruptible and thus the SIGTERM signal sent to the main thread does not get processed until a TCP connection is established with the script's TCP socket. Work around the issue by setting a timeout for operations performed on the script's TCP socket, so that each accept() call in the main thread's infinite loop returns after at most 1 second, allowing termination signals sent to the script to be processed.
-
- 07 Feb, 2020 13 commits
-
-
Mark Andrews authored
-
Mark Andrews authored
-
Mark Andrews authored
-
Mark Andrews authored
-
Mark Andrews authored
-
Evan Hunt authored
-
Matthijs Mekking authored
-
Matthijs Mekking authored
The key-directory keyword actually does nothing right now but may be useful in the future if we want to differentiate between key directories or HSM keys, or if we want to speficy different directories for different keys or policies. Make it optional for the time being.
-
Matthijs Mekking authored
The keyword 'unlimited' can be used instead of PT0S which means the same but is more comprehensible for users. Also fix some redundant "none" parameters in the kasp test.
-
Evan Hunt authored
-
Matthijs Mekking authored
-
Matthijs Mekking authored
When checking keys we search for keys by key id. The kasp test used key id 0 as an indicator that a key was not yet found. Use "no" instead.
-
Mark Andrews authored
-
- 06 Feb, 2020 3 commits
-
-
Michał Kępień authored
Make sure carriage return characters are stripped from awk input to enable the "dnssec" system test to pass on Windows.
-
Matthijs Mekking authored
Add checks to the kasp system test to verify CDNSKEY publication. This test is not entirely complete, because when there is a CDNSKEY available but there should not be one for KEY N, it is hard to tell whether the existing CDNSKEY actually belongs to KEY N or another key. The check works if we expect a CDNSKEY although we cannot guarantee that the CDNSKEY is correct: The test verifies existence, not correctness of the record.
-
Matthijs Mekking authored
When you do a restart or reconfig of named, or rndc loadkeys, this triggers the key manager to run. The key manager will check if new keys need to be created. If there is an active key, and key rollover is scheduled far enough away, no new key needs to be created. However, there was a bug that when you just start to sign your zone, it takes a while before the KSK becomes an active key. An active KSK has its DS submitted or published, but before the key manager allows that, the DNSKEY needs to be omnipresent. If you restart named or rndc loadkeys in quick succession when you just started to sign your zone, new keys will be created because the KSK is not yet considered active. Fix is to check for introducing as well as active keys. These keys all have in common that their goal is to become omnipresent.
-
- 05 Feb, 2020 1 commit
-
-
Mark Andrews authored
122 cleanup: CID 1452696 (#1 of 1): Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking s suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 123 if (s != NULL) 124 isc_mem_free(mctx, s);
-
- 04 Feb, 2020 2 commits
-
-
Matthijs Mekking authored
Increase the short lived record TTL and negative SOA TTL to make this test less vulnerable to timing issues. The drawback is that we also have to sleep longer in this test.
-
Matthijs Mekking authored
Add queries and checks for CAA RRtype in the serve-stale test. Ensure that the "Others" rrtype stat counter is incremented and decremented properly if the RRset becomes stale/ancient. The low max-stale-ttl config option needs to be increased in order to match the timing when things expire (aka become ancient).
-