Ondřej Surý
2b8fab6828
Remove genrandom command and all usage of specific random files throughout the system test suite
2018-05-16 09:54:35 +02:00
Ondřej Surý
3a4f820d62
Replace all random functions with isc_random, isc_random_buf and isc_random_uniform API.
...
The three functions has been modeled after the arc4random family of
functions, and they will always return random bytes.
The isc_random family of functions internally use these CSPRNG (if available):
1. getrandom() libc call (might be available on Linux and Solaris)
2. SYS_getrandom syscall (might be available on Linux, detected at runtime)
3. arc4random(), arc4random_buf() and arc4random_uniform() (available on BSDs and Mac OS X)
4. crypto library function:
4a. RAND_bytes in case OpenSSL
4b. pkcs_C_GenerateRandom() in case PKCS#11 library
2018-05-16 09:54:35 +02:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
Michał Kępień
1f10186476
Add a framework for dns__zone_updatesigs() unit tests
...
Add a new ATF test, sigs_test, containing everything required to start
defining test cases for dns__zone_updatesigs(). The framework is
written in a way which ensures that changes to zone database applied by
any dns__zone_updatesigs() invocation are preserved between subsequent
checks.
2018-05-09 13:32:09 +02:00
Michał Kępień
c1bc3be806
Add lib/dns/zone_p.h
...
Add a new private header file, lib/dns/zone_p.h, which will hold type
definitions and function prototypes not meant to be exported by libdns,
but required by zone-related unit tests.
2018-05-09 13:21:02 +02:00
Mark Andrews
0fedfcafb5
add bin/tests/system/rootkeysentinel/prereq.sh
2018-05-03 10:27:50 -04:00
Evan Hunt
bfbe6925df
add header guard when generating bind.keys.h
2018-04-20 19:51:00 -04:00
Evan Hunt
784087390a
remove the rbtdb64 database implementation
2018-04-20 16:14:51 -07:00
Evan Hunt
c592655c0f
new option "dnskey-sig-validity"
...
- overrides "sig-validity-interval" for DNSKEY, CDNSKEY and CDS RRSIGs
2018-04-20 12:12:08 -07:00
Ondřej Surý
7f434f1005
Add basic clang-format configuration that match our current formatting style closest
2018-04-18 09:38:52 -07:00
Mark Andrews
a23b305e6b
add system test for root-key-sentinel
2018-04-18 08:49:55 -07:00
Tony Finch
286a7b6b9a
Allow TTL values when configuring TTLs and time intervals.
...
Options updated to use ttlvals: max-cache-ttl, max-ncache-ttl,
max-policy-ttl, fstrm-set-reopen-interval, interface-interval, and
min-update-interval.
2018-04-13 11:46:06 -07:00
Mukund Sivaraman
0d2a03c290
Add a dns_fixedname_initname() helper function
...
This also turns the dns_fixedname macros into functions.
2018-04-09 12:14:16 +02:00
Kevin Chen
8b1b809ab4
Add a Net::DNS prereq for digdelv, fetchlimit, rpzrecurse, and zero
...
tests to avoid failed tests when Net::DNS is not present.
2018-04-04 22:23:14 +02:00
Stephen Morris
6755118493
Initial set of IDNA tests.
2018-04-04 09:42:07 -04:00
Evan Hunt
6d9fb4e7e4
copyrights
2018-03-18 10:08:57 +00:00
Ondřej Surý
c34d76ed36
Remove idnkit-1.0 copy from BIND sources
2018-03-17 13:05:19 +00:00
Evan Hunt
0fabe0da83
update file headers
2018-03-15 18:33:13 -07:00
Evan Hunt
da4aa9b03f
ensure COPYRIGHT file retains years; edit file headers for consistency
2018-03-15 18:32:29 -07:00
Ondřej Surý
c72ff6e008
Add a Feature Request template and remove the Security template as it was dup of text in Bug template
2018-03-15 00:13:47 +01:00
Evan Hunt
fccf8ca2f6
updated branchsync to deal with merge commits
2018-03-14 14:40:13 -07:00
Ondřej Surý
3686f141a3
Add Issue templates for Bug and Security
2018-03-14 04:25:22 -04:00
Evan Hunt
86e00cbb71
final cleanup
...
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note
2018-03-09 14:12:50 -08:00
Evan Hunt
d132f73497
remove lib/tests as nothing uses it anymore
2018-03-09 14:12:50 -08:00
Evan Hunt
a4ebe83cdb
migrate t_dst signature test to lib/dns/tests/dst_test
2018-03-09 14:12:50 -08:00
Evan Hunt
f58ac8ada3
migrate t_db to lib/dns/tests/db_test
2018-03-09 14:12:49 -08:00
Evan Hunt
8ecf69ef7b
migrate t_names to lib/dns/tests/name_test
2018-03-09 14:12:49 -08:00
Evan Hunt
109546cbda
migrate t_rbt to lib/dns/tests/rbt_test
2018-03-09 14:12:49 -08:00
Evan Hunt
c6c1e99252
migrate t_tasks to lib/isc/tests/task_test
2018-03-09 14:12:49 -08:00
Evan Hunt
d80825c40b
migrate t_resolver to lib/dns/tests/resolver_test
2018-03-09 14:12:49 -08:00
Evan Hunt
e2b8699df9
migrate t_timers to lib/isc/tests/timer_test
2018-03-09 14:12:49 -08:00
Evan Hunt
874e2fc70c
migrate t_atomic to lib/isc/tests/atomic_test
2018-03-09 14:12:48 -08:00
Evan Hunt
979f054702
migrate t_mem to lib/isc/tests/mem_test
2018-03-09 14:12:48 -08:00
Evan Hunt
05b7251d51
migrate t_net to lib/isc/tests
2018-03-09 14:12:48 -08:00
Evan Hunt
62f650078a
migrate t_sockaddr to lib/isc/tests
2018-03-09 14:12:48 -08:00
Evan Hunt
6ad1a042bc
remove hashes test (duplicates lib/isc/tests/hash_test)
2018-03-09 14:12:48 -08:00
Evan Hunt
6717f31e10
remove master test (duplicates lib/isc/tests/master_test)
2018-03-09 14:12:48 -08:00
Evan Hunt
ccfe778c01
migrate tests from bin/tests/dnssec-signzone to bin/tests/system/dnssec
...
- added tests to the dnssec system test that duplicate the ones
from bin/tests/dnssec-signzone
- changed cleanall.sh so it doesn't automatically remove all
key files, because there are now some of those that are part of the
distribution
2018-03-09 14:12:48 -08:00
Evan Hunt
a633f6c5dd
remove some old and obsolete test files
2018-03-09 14:12:47 -08:00
Mark Andrews
88a2202093
update util/check-changes to handle non master branched (util/check-changes master=0 CHANGES)
2018-03-08 15:45:56 +11:00
Evan Hunt
c4cb99cf4a
update copyrights
2018-03-07 18:02:53 -08:00
Evan Hunt
985d35f6b7
Set up CONTRIBUTING.md
...
- moved into place from doc/dev/contrib.md
- build CONTRIBUTING from CONTRIBUTING.md, like README and OPTIONS
2018-02-27 14:40:34 -08:00
Michał Kępień
f7fe1e3098
Add util/git-replay-merge.sh
...
git-replay-merge.sh is a script whose purpose is to make backporting
merge requests more convenient by automating the process as much as
possible.
For more information, including usage examples, see:
https://gitlab.isc.org/isc-projects/bind9/wikis/Backporting-a-Merge-Request
2018-02-27 10:23:32 +01:00
Ondřej Surý
a11e23b5ed
Replace all usage of inet_aton() with inet_pton()
2018-02-23 13:57:10 +01:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Ondřej Surý
c8efcca408
Update scripts in util/ to drop the year information from the individual source files.
2018-02-23 10:10:52 +01:00
Ondřej Surý
996f5154f0
Revert removal of bin/tests/system/common/controls.conf, it's still needed
2018-02-23 10:08:37 +01:00
Ondřej Surý
ab1b02d274
Update copyright information after !59 merge.
2018-02-23 09:02:49 +01:00
Evan Hunt
0c559199bf
final cleanup
...
- add CHANGES note
- update copyrights and license headers
- add -j to the make commands in .gitlab-ci.yml to take
advantage of parallelization in the gitlab CI process
2018-02-22 22:58:15 -08:00
Ondřej Surý
c2c1e2531b
Remove libseccomp based system-call filtering.
2018-02-22 13:41:06 +01:00