W.C.A. Wijngaards
c8c2dfff22
- Fix zonemd verification of key that is not in DNS but in the zone
...
and needs a chain of trust.
2021-08-13 14:43:11 +02:00
gthess
3829faf679
Merge pull request #514 from ziollek/docker_for_run_test
...
Docker environment for run tests
2021-08-12 21:30:36 +02:00
Wouter Wijngaards
0ace659fe2
Merge pull request #519 from ziollek/tcp_upstream_option
...
Support for selective enabling tcp-upstream for stub/forward zones
2021-08-12 15:03:57 +02:00
W.C.A. Wijngaards
f232562430
Merge branch 'master' into rpz-triggers
2021-08-05 13:37:22 +02:00
Tomasz Ziolkowski
ae45f46b9e
Add (stub|forward)-tcp-upstream options which enable using tcp transport only for specified stub/forward zones
2021-08-05 08:44:18 +02:00
W.C.A. Wijngaards
77fdd8836d
- Fix unit test zonemd_reload for use in run_vm.
2021-08-04 16:26:21 +02:00
Tomasz Ziolkowski
3e310a17be
Docker environment for run tests + enhancement for ssl_handshake
2021-07-27 12:06:08 +02:00
George Thessalonikefs
ca4d68c64c
- Introduce 'http-user-agent:' and 'hide-http-user-agent:' options.
2021-07-16 14:32:18 +02:00
Tom Carpay
ab017cde0f
Merge branch 'master' into svcb
2021-07-02 13:37:08 +02:00
Tom Carpay
a6020e4186
change test and error to be in line with new maximum svcb params (nparams >= MAX_NUMBER_OF_SVCPARAMS)
2021-07-02 11:21:19 +02:00
W.C.A. Wijngaards
658db66c3f
- Fix up permissions on rpl data file in tests.
2021-06-25 08:45:03 +02:00
Tom Carpay
9cd15f7ebf
remove tests for svcparam semantics
2021-06-24 15:20:32 +02:00
Tom Carpay
cebdf52c4e
fix erroneous test
2021-06-24 10:00:12 +02:00
Tom Carpay
9beea6a00c
fix key parsing and incorporate testcases
2021-06-07 14:05:14 +02:00
Tom Carpay
19c63fdaf6
add key parsing and edge case tests
2021-06-07 09:54:02 +02:00
George Thessalonikefs
2e87871678
- Fix test for zonemd-check option.
2021-06-01 18:02:10 +02:00
W.C.A. Wijngaards
cf0aad9fb6
Merge branch 'master' into rpz-triggers
2021-05-28 15:00:55 +02:00
W.C.A. Wijngaards
ea4f1ee8a6
- zonemd-check: yesno option, default no, enables the processing
...
of ZONEMD records for that zone.
2021-05-27 14:20:53 +02:00
Tom Carpay
71904eb0d4
add svcb tpkg tests
2021-05-25 15:44:49 +02:00
W.C.A. Wijngaards
0a6b22dc55
- rpz-triggers, rpz log and stats for nsip and clientip and nsdname.
2021-05-21 14:05:19 +02:00
W.C.A. Wijngaards
355526da7d
- rpz-triggers, the added soa for client ip modified answers is affected
...
by the minimal-responses config option.
2021-05-14 16:34:38 +02:00
W.C.A. Wijngaards
50dcadd495
- rpz-triggers, for clientip modified answers the rpz SOA is added to the
...
additional section with the serial number and name of the rpz zone that
was applied.
2021-05-14 15:34:48 +02:00
W.C.A. Wijngaards
9f40e93fe6
- rpz-triggers, use sec_status_insecure like respip, AA flag on RPZ responses.
2021-05-14 13:28:10 +02:00
W.C.A. Wijngaards
a2ea701f31
- rpz-triggers, fix what domain name to match for nsdname.
2021-04-01 13:11:51 +02:00
W.C.A. Wijngaards
14582d2445
- rpz-triggers, remove unused test.
2021-04-01 12:56:47 +02:00
W.C.A. Wijngaards
1c75e62804
- rpz-triggers, separate cache storage of RPZ records from network records.
2021-04-01 12:06:14 +02:00
W.C.A. Wijngaards
7f39003c04
- rpz triggers, implement qname trigger after cname.
2021-03-19 17:31:44 +01:00
W.C.A. Wijngaards
6f507eb036
Merge branch 'master' into rpz-triggers
2021-03-12 09:04:54 +01:00
W.C.A. Wijngaards
0927fe6fc4
- Fix parse of LOC RR type for decimetres.
2021-03-11 13:22:05 +01:00
W.C.A. Wijngaards
a06d761f74
- Fix to allow rpz with wildcard that applies to all TLDs at once.
2021-02-25 16:54:32 +01:00
W.C.A. Wijngaards
d3b5f287b1
zonemd, fix unit test to allow nonvalidating zone without zonemd with
...
permissive mode for zonemd.
2021-02-04 16:18:02 +01:00
W.C.A. Wijngaards
b7a633fdc0
Merge branch 'master' into zonemd
2021-02-04 16:08:11 +01:00
W.C.A. Wijngaards
0ea86f6ccb
- Fix fwd ancil test post script when not supported.
2021-01-28 11:19:34 +01:00
George Thessalonikefs
b7acaaa9b8
- Update example.con.in and add a testcase for PR #275 .
2021-01-25 19:26:19 +01:00
Willem Toorop
4694323b1c
Test some different padding sizes
2021-01-24 20:17:44 +01:00
Willem Toorop
efc8022ca4
padding.tdir text in single TXT RR
...
So the sentences are not re-ordered and the text makes sense!
2021-01-24 18:29:00 +01:00
Willem Toorop
54b84381f4
tdir test for padding option
2021-01-24 18:12:08 +01:00
W.C.A. Wijngaards
dedc1e2340
zonemd, unit test for capitalisation of owner and ns names.
2021-01-22 14:40:21 +01:00
W.C.A. Wijngaards
20ff80c5bb
zonemd, fix to detect duplicate zonemd scheme and algo RRs.
2021-01-22 14:36:53 +01:00
George Thessalonikefs
63a02f3a87
Merge branch 'negative_soa_ttl'
2021-01-22 12:39:16 +01:00
George Thessalonikefs
38e12229b8
- Feedback for PR #407 .
2021-01-19 20:09:34 +01:00
Willem Toorop
68d51317fe
rpl tests for nsid
2021-01-19 17:18:26 +01:00
George Thessalonikefs
9056613a79
- Fix TTL of SOA record for negative answers (localzone data and
...
authzone) to be the minimum of the SOA TTL and the SOA.MINIMUM.
2021-01-19 15:55:55 +01:00
W.C.A. Wijngaards
5e00d516fe
- fix that testdata/rpz_qname.rpl trigger tests succeed.
2021-01-14 15:31:17 +01:00
W.C.A. Wijngaards
cdb60adcdc
Merge branch 'rpz' of https://github.com/magenbluten/unbound into magenbluten-rpz
...
Conflict fixed for rpz.disabled check added.
2021-01-14 12:11:29 +01:00
W.C.A. Wijngaards
3322f631e5
- Fix #397 : [Feature request] add new type always_null to local-zone
...
similar to always_nxdomain.
2021-01-12 13:35:05 +01:00
mb
78bcfdee64
rpz: fix local data lookup for nsdname
2020-11-27 12:22:56 +01:00
mb
714d546d1d
rpz: add testbound nsdname script (stub)
2020-11-26 12:26:23 +01:00
W.C.A. Wijngaards
3c2b1fa801
- Remove debug commands from reuse tests.
2020-11-25 12:02:51 +01:00
mb
d6a69d77e2
rpz: minor cleanups
2020-11-25 11:45:33 +01:00
W.C.A. Wijngaards
e78957706c
- Fix one port unit test for udp-connect.
2020-11-24 14:16:06 +01:00
mb
afc73e28d8
rpz: fix forged messages
2020-11-24 12:02:59 +01:00
Wouter Wijngaards
ead06af086
Merge branch 'master' into stream-reuse
2020-11-24 08:20:07 +01:00
W.C.A. Wijngaards
9423b5b8b2
Merge branch 'master' into stream-reuse
2020-11-23 09:49:26 +01:00
W.C.A. Wijngaards
dde9fade26
stream reuse, fix review comments.
2020-11-23 09:46:26 +01:00
W.C.A. Wijngaards
4445d9c5aa
stream reuse, fix review comments.
2020-11-23 09:44:56 +01:00
W.C.A. Wijngaards
fd94b0bc9b
stream reuse, rename ssl_reuse test to tls_reuse test.
2020-11-23 09:35:58 +01:00
W.C.A. Wijngaards
6ded710013
stream reuse, renamed ssl_reuse.tdir to tls_reuse.tdir.
2020-11-23 09:33:28 +01:00
mb
f7fb338c95
rpz: continue work on the nsip trigger
2020-11-16 12:42:23 +01:00
mb
07d937f508
rpz: more nsip
2020-11-16 09:49:06 +01:00
mb
e27b160acd
rpz: stubs for nsip triggers
2020-11-13 14:36:00 +01:00
Ralph Dolmans
946ed23f73
Merge branch 'master' into edns-string
2020-11-11 11:37:32 +01:00
mb
9149a6d1e4
RPZ: stub nsip testbound scenario
2020-11-11 11:21:54 +01:00
mb
667863770f
RPZ: refactor clientip to handle multiple rrsets
2020-11-09 15:59:00 +01:00
mb
9b4bbb49b4
RPZ: one more testcase
2020-11-09 12:08:06 +01:00
mb
80205ba133
RPZ: towards client ip trigger and local data action
2020-11-06 12:54:32 +01:00
mb
bd0c910830
RPZ: provide rpz-client-ip trigger and actions
2020-11-04 17:00:28 +01:00
mb
1ab84a1d27
RPZ: testbound: add qname and respip tcp-only examples
2020-11-03 11:03:29 +01:00
mb
dd70c2ef9a
RPZ: implement stubs for rpz-tcp-only actions.
2020-11-02 14:21:57 +01:00
W.C.A. Wijngaards
e573f55dcd
zonemd, unit tests for insecure delegation zones.
2020-10-29 14:59:11 +01:00
W.C.A. Wijngaards
cd3d54b504
zonemd, unit test for failed zonemd hash after axfr with chain of trust,
...
zone is written after axfr, but before check. But zone is then rejected
after check completes..
2020-10-29 10:13:01 +01:00
W.C.A. Wijngaards
2757e0ff51
zonemd, unit test for failed zonemd hash after axfr, zone is rejected and not
...
written to file.
2020-10-29 10:00:59 +01:00
W.C.A. Wijngaards
43e32eae33
zonemd, unit test for zonemd from axfr with trust anchor.
2020-10-29 09:55:03 +01:00
W.C.A. Wijngaards
7ebb890a4a
zonemd, unit test for zonemd from file and trust anchor directly for DNSSEC.
2020-10-28 15:10:14 +01:00
W.C.A. Wijngaards
639a773c39
zonemd, unit test for chain of trust from recursion to check ZONEMD.
2020-10-27 13:44:44 +01:00
W.C.A. Wijngaards
8e53f0b14f
zonemd, unit test with correct title.
2020-10-23 14:40:00 +02:00
W.C.A. Wijngaards
2b9569c7fe
zonemd, fix config_get_option for zonemd-permissive-mode and unit test
...
for zonemd-permissive-mode.
2020-10-23 14:38:57 +02:00
W.C.A. Wijngaards
165b048e07
zonemd, zonemd-permissive-mode: yes logs the failure but does not block
...
the zone after a ZONEMD verification failure.
2020-10-23 14:33:04 +02:00
W.C.A. Wijngaards
caee84d92e
zonemd, unit test for unbound-control auth_zone_reload with zonemd.
2020-10-23 12:10:30 +02:00
W.C.A. Wijngaards
1cb7d5a194
zonemd, unit test for auth zone zonemd axfr
...
zonemd, zonemds are checked after zone transfer.
2020-10-23 09:12:51 +02:00
W.C.A. Wijngaards
f854f4e867
zonemd, test for server start with zonemd from file.
2020-10-22 16:02:37 +02:00
W.C.A. Wijngaards
7ac4eb229d
zonemd, unit tests for verifying DNSKEY with trust anchor failures.
2020-10-21 15:58:47 +02:00
W.C.A. Wijngaards
3c86bf51de
zonemd, unit tests for wrong NSEC RRSIGs.
2020-10-21 15:04:06 +02:00
W.C.A. Wijngaards
58d91646f1
zonemd, unit tests for DNSSEC type bitmaps.
2020-10-21 14:23:44 +02:00
W.C.A. Wijngaards
e1d119af7e
zonemd, unit tests for wrong DNSSEC signatures.
2020-10-21 13:17:42 +02:00
W.C.A. Wijngaards
e8d29f973d
zonemd, fix that dnssec denial does not invalidate zone.
...
zonemd, unit test of nsec and nsec3 denial.
2020-10-21 11:51:30 +02:00
W.C.A. Wijngaards
2ebc4eae2f
Merge branch 'master' into zonemd
2020-10-21 10:59:32 +02:00
W.C.A. Wijngaards
ee3f26bb3d
Add verbosity to debug occasional missing q1-10.example.net, from timer.
2020-10-21 10:56:51 +02:00
W.C.A. Wijngaards
78e9b8949c
Merge branch 'master' into stream-reuse
...
Resolved comm_point_start_listening conflict for socket close.
2020-10-21 09:54:03 +02:00
W.C.A. Wijngaards
89618ff9ba
zonemd, unit test more zones.
2020-10-19 16:26:22 +02:00
W.C.A. Wijngaards
4a14ef8c3a
Merge branch 'master' into zonemd
2020-10-19 11:33:32 +02:00
W.C.A. Wijngaards
ca6e8ec6c2
Unit test for doh downstream notls.
2020-10-19 10:59:41 +02:00
W.C.A. Wijngaards
5cd2d10fe5
- Fix dnstap test to wait for log timer to see if queries are logged.
2020-10-19 10:43:35 +02:00
W.C.A. Wijngaards
ceb0214b7d
zonemd, unit tests for dnssec verify
2020-10-16 16:09:13 +02:00
W.C.A. Wijngaards
cdf6544b46
zonemd, unit test, succeeds at verifying examples of zonemd draft-12.
2020-10-09 12:18:25 +02:00
W.C.A. Wijngaards
3163a93121
zonemd, loop over zone and canonicalize data, test call in unit test.
2020-10-06 17:07:24 +02:00
W.C.A. Wijngaards
ca31ea7dc8
test rr type parse inputs and print outputs.
2020-10-06 13:38:21 +02:00
Ralph Dolmans
eb799026ff
Replace edns-client-tag with edns-client-string option
2020-09-30 23:17:53 +02:00
W.C.A. Wijngaards
a453ab629c
- Easier kill of unbound-dnstap-socket tool in test.
2020-09-30 11:38:11 +02:00
W.C.A. Wijngaards
bbba236a36
- Fix stream_ssl, ssl_req_order and ssl_req_timeout tests for
...
alloc check debug output.
2020-09-30 11:29:57 +02:00
W.C.A. Wijngaards
a7ae0ade66
- Fix doh tests when not compiled in.
2020-09-30 11:20:33 +02:00
Ralph Dolmans
b6d04f500b
- DNS Flag Day 2020: change edns-buffer-size default to 1232.
2020-09-29 14:07:38 +02:00
W.C.A. Wijngaards
83200a3431
- Fix unit test for dnstap changes, so that it waits for the timer.
2020-09-29 13:29:24 +02:00
Ralph Dolmans
4ae823fbc2
Merge branch 'master' into doh
2020-09-16 18:38:51 +02:00
Ralph Dolmans
42a35ac26e
- Final round of DoH review feedback processing.
2020-09-16 18:25:02 +02:00
W.C.A. Wijngaards
4cc559d7eb
- Spelling fix.
2020-09-15 13:32:30 +02:00
George Thessalonikefs
1a568a1b8c
- Reduce unbound verbosity on test; higher during development.
2020-09-15 12:48:01 +02:00
George Thessalonikefs
0ce7769719
- Introduce test for statistics.
2020-09-15 12:45:22 +02:00
W.C.A. Wijngaards
2fade6f970
Merge branch 'master' into dlv-removal
2020-08-06 14:20:42 +02:00
W.C.A. Wijngaards
022a716e5b
dlv removal, remove DLV reference from unused use in test case.
2020-08-06 14:18:16 +02:00
W.C.A. Wijngaards
f78f6a3b29
dlv removal, remove from tests and validator state machine
2020-08-04 09:15:45 +02:00
W.C.A. Wijngaards
d684bee4b0
stream reuse, move drop in tcp_reuse test to timeout section of test.
2020-07-31 09:32:19 +02:00
W.C.A. Wijngaards
d973b756a0
stream reuse, disable debug in test
2020-07-30 17:52:57 +02:00
W.C.A. Wijngaards
1116bf6400
stream reuse, add tls test for stream reuse.
2020-07-30 17:51:49 +02:00
W.C.A. Wijngaards
12d880ad47
stream reuse, add a test for close by upstream server after timeout.
2020-07-30 16:41:28 +02:00
Ralph Dolmans
fa892b2456
- Add EDNS client tag test
2020-07-27 15:54:43 +02:00
W.C.A. Wijngaards
0d77f9af6c
stream reuse, test with connection drops.
2020-07-23 10:29:36 +02:00
W.C.A. Wijngaards
fc55a4b8ce
stream reuse, test with a list of outstanding queries to the upstream server.
2020-07-23 10:18:17 +02:00
W.C.A. Wijngaards
72f8871e61
stream reuse, test timeout and simultaneous queries.
2020-07-22 15:40:17 +02:00
W.C.A. Wijngaards
a9c8da5cfb
Merge branch 'master' into stream-reuse
2020-07-16 15:58:20 +02:00
W.C.A. Wijngaards
84adade86c
- Fix check conf test for referencing installation paths.
2020-07-16 14:47:15 +02:00
W.C.A. Wijngaards
ff5d0ce327
Merge branch 'master' into stream-reuse
2020-07-16 14:13:24 +02:00
George Thessalonikefs
7f802b07ef
Merge branch 'master' into include-toplevel
2020-07-15 15:17:48 +02:00
W.C.A. Wijngaards
80f21f48c5
Merge branch 'master' into stream-reuse
2020-07-09 08:55:19 +02:00
W.C.A. Wijngaards
e99b5046eb
- Fix to use SSL_CTX_set_tlsext_ticket_key_evp_cb in OpenSSL
...
3.0.0-alpha4.
- Longer keys for the test set, this avoids weak crypto errors.
2020-07-08 16:22:39 +02:00
Ralph Dolmans
70b270925d
- Add http-response-buffer-size test
2020-06-24 16:31:51 +02:00
Ralph Dolmans
d9cdb924ad
Add DoH endpoint configuration test
2020-06-24 15:34:50 +02:00
Ralph Dolmans
740da89578
Merge branch 'master' into doh
2020-06-24 14:18:47 +02:00
Ralph Dolmans
0fbfce4c99
- Add DoH tests
2020-06-24 14:04:34 +02:00
W.C.A. Wijngaards
d8b7b5ee27
fix to set pending pointer in reuse tcp structure
...
fix debug output of reuse tcp and test leak of process
2020-06-09 09:14:01 +02:00
W.C.A. Wijngaards
fd723aed27
tcp connection is stored and picked up for reuse
...
fix that comm_point_start_listening does not close the same fd that is started.
2020-06-03 17:24:26 +02:00
W.C.A. Wijngaards
7b46067029
add test for tcp reuse
2020-06-03 10:01:51 +02:00
W.C.A. Wijngaards
f37242566b
- For PR #93 : unit test for dynlib module.
2020-05-19 15:49:08 +02:00
George Thessalonikefs
1bd4dbf302
- New include directive 'include-toplevel:'. It closes the previous
...
clause (if any) and requires that all included files explicitly
start a clause.
2020-04-29 11:23:12 +02:00
George Thessalonikefs
a269db3828
- Explicitly use 'rrset-roundrobin: no' for test cases.
2020-04-22 19:27:20 +02:00
Yaroslav K
c0118410a2
add ip-dscp configuration option for setting IP DiffServ codepoint (DSCP, previously TOS) on sockets
2020-03-23 19:37:43 +00:00
W.C.A. Wijngaards
3753d01253
dnstap io, test for client authentication, unbound can send client
...
authentication credentials, when configured, and unbound-dnstap-socket can
verify the client credentials, and refuses the connection if missing.
2020-02-18 16:30:13 +01:00
W.C.A. Wijngaards
9556d59536
dnstap io, test that failed name or auth certificate fails to connect tls.
2020-02-18 14:18:03 +01:00
W.C.A. Wijngaards
2106692a89
dnstap io, test TLS with peername and TLS authentication.
2020-02-14 15:44:55 +01:00
W.C.A. Wijngaards
4d3524f496
dnstap io, test for TLS and reconnect for that. And fix unused parameters
...
for dt_create and fix check of socket path when using IP address.
2020-02-14 14:44:02 +01:00
W.C.A. Wijngaards
7da19e96ce
dnstap io, test for TCP and reconnect for that.
2020-02-14 14:16:56 +01:00
W.C.A. Wijngaards
e5e72eb398
Merge branch 'master' into framestreams
2020-02-12 11:58:01 +01:00
W.C.A. Wijngaards
7e061e4d5f
Fix test to check if server up afterwards
2020-02-06 10:25:47 +01:00
W.C.A. Wijngaards
58fdcf06e8
Merge branch 'master' into framestreams
2020-02-05 14:25:47 +01:00
gthess
f7fe95ad7b
Serve stale ( #159 )
...
- Added serve-stale functionality as described in
draft-ietf-dnsop-serve-stale-10. `serve-expired-*` options can be used
to configure the behavior.
- Updated cachedb to honor `serve-expired-ttl`; Fixes #107 .
- Renamed statistic `num.zero_ttl` to `num.expired` as expired replies
come with a configurable TTL value (`serve-expired-reply-ttl`).
- Fixed stats when replying with cached, cname-aliased records.
- Added missing default values for redis cachedb backend.
2020-02-05 14:20:27 +01:00
W.C.A. Wijngaards
8dd683768b
Merge branch 'master' into framestreams
2020-01-30 16:22:12 +01:00
Ralph Dolmans
056176ec9a
Merge branch 'master' into rpz
2020-01-30 15:57:34 +01:00
W.C.A. Wijngaards
dd1b35412f
dnstap io, add reconnect test.
2020-01-30 15:13:25 +01:00
W.C.A. Wijngaards
8aa338ba2d
dnstap io, test threads in unit test.
2020-01-30 14:57:03 +01:00
W.C.A. Wijngaards
36dd4a2124
Merge branch 'master' into framestreams
2020-01-30 13:06:52 +01:00
W.C.A. Wijngaards
bf13191b87
- Fix subnet tests for disabled DSA algorithm by default.
2020-01-30 09:08:19 +01:00
W.C.A. Wijngaards
bb55cc1685
dnstap unit test.
2020-01-21 14:02:45 +01:00
Ralph Dolmans
e00ce7e02e
- extend rpz_respip.rpl with ipv6 without zz label case
2020-01-16 17:52:09 +01:00
Ralph Dolmans
b78373216d
- Add cname target wc synth. to testbound test
2020-01-16 12:39:23 +01:00
Ralph Dolmans
9877e52161
Merge branch 'master' of github.com:NLnetLabs/unbound into rpz
2020-01-15 23:44:10 +01:00
W.C.A. Wijngaards
2c4be0c201
- Fix crash after reload where a stats lookup could reference old key
...
cache and neg cache structures.
2020-01-14 15:18:52 +01:00
W.C.A. Wijngaards
9b3f3101e3
- Removed the dnscrypt_queries and dnscrypt_queries_chacha tests,
...
because dnscrypt-proxy (2.0.36) does not support the test setup
any more, and also the config file format does not seem to have
the appropriate keys to recreate that setup.
2020-01-14 14:40:44 +01:00
W.C.A. Wijngaards
19473d95eb
- Fix 'make test' to work for --disable-sha1 configure option.
2020-01-08 09:23:46 +01:00
Ralph Dolmans
ae4f6a259b
Proccess more review feedback
2019-12-23 16:02:43 +01:00
Ralph Dolmans
2b5cd8e9b4
Merge remote-tracking branch 'ralph/feature/rpz' into rpz
2019-09-09 17:11:26 +02:00
Ralph Dolmans
ccb576f95e
- add always_deny action, use this one for RPZ
...
- use localzone's memory layout when removing rr from rrset
2019-08-23 12:15:37 +02:00
Ralph Dolmans
965f16cc89
- Add RPZ AXFR test
...
- Fix memory leak
2019-08-13 17:06:43 +02:00
Ralph Dolmans
4cbf4f4996
- Add RPZ response IP override test
2019-08-12 18:44:30 +02:00
Ralph Dolmans
88fce791df
- Add RPZ respip test
...
- Fix rpz memory leak
2019-08-12 16:06:15 +02:00
Ralph Dolmans
7180284d82
- Add RPZ/QNAME override test
2019-08-08 16:43:28 +02:00
Ralph Dolmans
401fc15443
- Extend RPZ/QNAME trigger test
...
- Fix potential memory leak
2019-08-08 16:07:16 +02:00
Ralph Dolmans
4eb7771f97
- Added RPZ/QNAME trigger test
2019-08-08 13:50:02 +02:00
W.C.A. Wijngaards
368386c011
- Fix #48 : Unbound returns additional records on NODATA response,
...
if minimal-responses is enabled, also the additional for negative
responses is removed.
2019-07-12 14:34:35 +02:00
Moritz Schneider
7c18b36521
Adapt some comments
2019-06-12 19:01:30 +02:00
Moritz Schneider
78fa3fcb07
Add unit test for check the configuration of outbound max retries
2019-06-12 19:01:27 +02:00
Wouter Wijngaards
ce8167a3bb
- Fix auth-zone NSEC3 response for wildcard nodata answers,
...
include the closest encloser in the answer.
git-svn-id: file:///svn/unbound/trunk@5146 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-04-03 06:36:40 +00:00
Wouter Wijngaards
59570b0413
- Fix auth-zone NSEC3 response for empty nonterminals with exact
...
match nsec3 records.
git-svn-id: file:///svn/unbound/trunk@5142 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-04-02 12:21:41 +00:00
Wouter Wijngaards
16cc196bf2
- output forwarder log in ssl_req_order test.
...
git-svn-id: file:///svn/unbound/trunk@5130 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-03-01 12:38:53 +00:00
Wouter Wijngaards
ddae2885bd
Also fix this unit test for qname minimisation
...
asked queries that have to be added to the provided answer list.
git-svn-id: file:///svn/unbound/trunk@5111 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-02-11 09:56:57 +00:00
Wouter Wijngaards
19193fd534
- Fix recursion lame test for qname minimisation asked queries,
...
that were not present in the set of prepared answers.
git-svn-id: file:///svn/unbound/trunk@5110 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-02-11 09:49:13 +00:00
Wouter Wijngaards
c2e3baa81a
- Fix #4224 : auth_xfr_notify.rpl test broken due to typo
...
git-svn-id: file:///svn/unbound/trunk@5087 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-29 14:37:35 +00:00
Wouter Wijngaards
37361a1d10
- Fix unit test for python 3.7 new keyword 'async'.
...
git-svn-id: file:///svn/unbound/trunk@5069 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-24 09:37:57 +00:00
Wouter Wijngaards
9d4ca81959
Fixup ssl unit test with example ticket files.
...
git-svn-id: file:///svn/unbound/trunk@5065 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-23 10:50:26 +00:00
Wouter Wijngaards
510606dd1c
- Patch for TLS session resumption from Manabu Sonoda,
...
enable with tls-session-ticket-keys in unbound.conf.
git-svn-id: file:///svn/unbound/trunk@5059 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-23 09:35:52 +00:00
Wouter Wijngaards
4481b9584c
Fix test failure.
...
git-svn-id: file:///svn/unbound/trunk@5049 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-22 10:29:01 +00:00
Wouter Wijngaards
dec68aa9a9
- Doc for stream-wait-size and unit test.
...
git-svn-id: file:///svn/unbound/trunk@5048 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-22 08:52:23 +00:00
Wouter Wijngaards
7c4911c577
No leaks found.
...
git-svn-id: file:///svn/unbound/trunk@5044 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-21 13:45:13 +00:00
Wouter Wijngaards
068374740c
- Unit tests for ssl out of order processing.
...
git-svn-id: file:///svn/unbound/trunk@5042 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-21 13:26:21 +00:00
Wouter Wijngaards
f7d63b0927
- Unit test for tcp request reorder and timeouts.
...
git-svn-id: file:///svn/unbound/trunk@5041 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-21 13:04:08 +00:00
Wouter Wijngaards
9087b18234
- Fix tcp idle timeout test, for difference in the tcp reply code.
...
git-svn-id: file:///svn/unbound/trunk@5040 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-21 09:36:01 +00:00
Ralph Dolmans
f30fe71395
- Get ready for the DNS flag day: remove EDNS lame procedure, do not re-query
...
without EDNS after timeout.
git-svn-id: file:///svn/unbound/trunk@5037 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-16 10:23:13 +00:00
Wouter Wijngaards
ae9fe1a10e
- streamtcp option -a send queries consecutively and prints answers
...
as they arrive.
- Fix for out of order processing administration quit cleanup.
- unit test for tcp out of order processing.
git-svn-id: file:///svn/unbound/trunk@5033 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-14 15:52:50 +00:00
Wouter Wijngaards
dd19026e91
- Initial commit for out-of-order processing for TCP and TLS.
...
git-svn-id: file:///svn/unbound/trunk@5032 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-11 14:12:27 +00:00
Wouter Wijngaards
db2557826a
- Fix NSEC3 record that is returned in wildcard replies from
...
auth-zone zones with NSEC3 and wildcards.
git-svn-id: file:///svn/unbound/trunk@5030 be551aaa-1e26-0410-a405-d3ace91eadb9
2019-01-08 14:39:31 +00:00
Wouter Wijngaards
b4e8ab4254
Fix test.
...
git-svn-id: file:///svn/unbound/trunk@5008 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-12-03 14:54:29 +00:00
Wouter Wijngaards
c1c1cd97e7
- Remove clang analysis warnings.
...
git-svn-id: file:///svn/unbound/trunk@4998 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-11-29 14:39:26 +00:00
Wouter Wijngaards
e6da6c251c
Fixup test.
...
git-svn-id: file:///svn/unbound/trunk@4996 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-11-29 13:09:46 +00:00
Wouter Wijngaards
cccb5094a4
- Fix clang analysis for outside directory build test.
...
git-svn-id: file:///svn/unbound/trunk@4990 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-11-28 13:34:31 +00:00
Wouter Wijngaards
0ff5c52657
- Fix #4208 : 'stub-no-cache' and 'forward-no-cache' not work.
...
git-svn-id: file:///svn/unbound/trunk@4981 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-11-27 10:29:14 +00:00
Wouter Wijngaards
5853f90076
- With ./configure --with-pyunbound --with-pythonmodule
...
PYTHON_VERSION=3.6 or with 2.7 unbound can compile and unit tests
succeed for the python module.
- pythonmod logs the python error and traceback on failure.
git-svn-id: file:///svn/unbound/trunk@4966 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-11-22 13:01:29 +00:00
Wouter Wijngaards
f7e99131b9
- Scrub NS records from NXDOMAIN responses to stop fragmentation
...
poisoning of the cache.
git-svn-id: file:///svn/unbound/trunk@4961 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-11-20 09:44:40 +00:00
Wouter Wijngaards
8e2a100460
- Fix #4132 : Openness/closeness of RANGE intervals in rpl files.
...
git-svn-id: file:///svn/unbound/trunk@4953 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-10-25 09:01:53 +00:00
Ralph Dolmans
140a165ab2
- Add markdel function to ECS slabhash.
...
- Limit ECS scope returned to client to the scope used for caching.
- Make lint like previous #4154 fix.
git-svn-id: file:///svn/unbound/trunk@4946 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-10-24 13:50:18 +00:00
Wouter Wijngaards
1c08a2ba55
- clang analyze test is used only when assertions are enabled.
...
git-svn-id: file:///svn/unbound/trunk@4930 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-10-02 12:42:50 +00:00
Wouter Wijngaards
2e9d09b961
- initialize statistics totals for printout.
...
- in authzone check that node exists before adding rrset.
- in unbound-anchor, use readwrite memory BIO.
- assertion in autotrust that packed rrset is formed correctly.
git-svn-id: file:///svn/unbound/trunk@4903 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-09-13 12:20:41 +00:00
Wouter Wijngaards
635df9c806
- unit test has clang analysis.
...
git-svn-id: file:///svn/unbound/trunk@4901 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-09-13 10:24:08 +00:00
Wouter Wijngaards
a09c4bbdc2
- Fix spelling errors.
...
git-svn-id: file:///svn/unbound/trunk@4893 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-09-11 13:28:21 +00:00
Wouter Wijngaards
5577e55400
- Disable minimal-responses in subnet unit tests.
...
git-svn-id: file:///svn/unbound/trunk@4881 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-31 14:59:10 +00:00
Ralph Dolmans
ae2653fcc5
- Disable minimal-responses in ipsecmod unit tests.
...
git-svn-id: file:///svn/unbound/trunk@4875 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-28 14:11:21 +00:00
Wouter Wijngaards
57a5e75840
Fixup test and lint hook.
...
git-svn-id: file:///svn/unbound/trunk@4873 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-27 13:29:48 +00:00
Wouter Wijngaards
e0745813f4
- Set defaults to yes for a number of options to increase speed and
...
resilience of the server. The so-reuseport, harden-below-nxdomain,
and minimal-responses options are enabled by default. They used
to be disabled by default, waiting to make sure they worked. They
are enabled by default now, and can be disabled explicitly by
setting them to "no" in the unbound.conf config file. The reuseport
and minimal options increases speed of the server, and should be
otherwise harmless. The harden-below-nxdomain option works well
together with the recently default enabled qname minimisation, this
causes more fetches to use information from the cache.
git-svn-id: file:///svn/unbound/trunk@4871 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-27 13:18:19 +00:00
Wouter Wijngaards
586b811b87
- Patch to implement tcp-connection-limit from Jim Hague (Sinodun).
...
This limits the number of simultaneous TCP client connections
from a nominated netblock.
And a simple test for TCP connection limit.
git-svn-id: file:///svn/unbound/trunk@4835 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-07 11:57:42 +00:00
George Thessalonikefs
b2a7933045
Make sure that we don't randomly fail the pylib ratelimiting tests.
...
git-svn-id: file:///svn/unbound/trunk@4829 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-03 15:57:48 +00:00
George Thessalonikefs
749d1b9ebc
- Expose if a query (or a subquery) was ratelimited (not src IP
...
ratelimiting) to libunbound under 'ub_result.was_ratelimited'.
This also introduces a change to 'ub_event_callback_type' in
libunbound/unbound-event.h.
- Tidy pylib tests.
git-svn-id: file:///svn/unbound/trunk@4828 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-03 14:00:46 +00:00
Wouter Wijngaards
aa5efa172d
idle timeout is in milliseconds, fix test config.
...
git-svn-id: file:///svn/unbound/trunk@4818 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-07-31 10:30:42 +00:00
Wouter Wijngaards
45e73bcc8e
Insert comments for documentation purposes.
...
git-svn-id: file:///svn/unbound/trunk@4811 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-07-31 07:55:47 +00:00
Wouter Wijngaards
3dbdde7fed
- Add edns-tcp-keepalive and edns-tcp-keepalive timeout options
...
and implement option in client responses.
git-svn-id: file:///svn/unbound/trunk@4804 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-07-31 07:18:34 +00:00
Wouter Wijngaards
6da37e5ecd
- Error if EDNS Keepalive received over UDP.
...
implement and add test.
git-svn-id: file:///svn/unbound/trunk@4803 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-07-31 07:16:25 +00:00
Wouter Wijngaards
007123ee2c
- Sort out test runs when the build directory isn't the project
...
root directory.
- Add config tcp-idle-timeout (default 30s). This applies to
client connections only; the timeout on TCP connections upstream
is unaffected.
git-svn-id: file:///svn/unbound/trunk@4802 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-07-31 07:15:12 +00:00
Wouter Wijngaards
beba72d6db
adjust test, for timer too slow for old machines.
...
git-svn-id: file:///svn/unbound/trunk@4712 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-06-05 08:09:00 +00:00
Ralph Dolmans
50b6dc4b81
- Qname minimisation default changed to yes.
...
git-svn-id: file:///svn/unbound/trunk@4685 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-17 10:33:19 +00:00
Wouter Wijngaards
82418e2bf7
Fixup test for new timeout value.
...
git-svn-id: file:///svn/unbound/trunk@4671 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-02 06:52:46 +00:00
Wouter Wijngaards
913d4537f4
valgrind for unittest.
...
git-svn-id: file:///svn/unbound/trunk@4668 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-01 12:20:37 +00:00
Wouter Wijngaards
4e2bafafef
valgrind more unit tests.
...
git-svn-id: file:///svn/unbound/trunk@4667 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-01 12:12:21 +00:00
Ralph Dolmans
755177fb4c
Add root-key-sentinel test description
...
git-svn-id: file:///svn/unbound/trunk@4654 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 09:13:57 +00:00
Ralph Dolmans
ee9c42bee5
Added root-key-sentinel test
...
git-svn-id: file:///svn/unbound/trunk@4653 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 09:10:38 +00:00
Wouter Wijngaards
406a9d8350
unit test with TLS authentication
...
git-svn-id: file:///svn/unbound/trunk@4649 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-23 14:18:24 +00:00
Wouter Wijngaards
e4c8085408
- unit test for allow-notify
...
git-svn-id: file:///svn/unbound/trunk@4629 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-17 14:58:43 +00:00
Wouter Wijngaards
4809fe1b95
- auth zone notify work.
...
git-svn-id: file:///svn/unbound/trunk@4626 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-16 15:10:30 +00:00
Wouter Wijngaards
9cd2f836bd
Removed unused files (from an editor?).
...
git-svn-id: file:///svn/unbound/trunk@4608 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-06 06:16:03 +00:00
Wouter Wijngaards
1f9caf5805
- ED448 support.
...
git-svn-id: file:///svn/unbound/trunk@4607 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-05 14:44:17 +00:00
Wouter Wijngaards
3d1f9ae9d3
- Fix #4043 : make test fails due to v6 presentation issue in macOS.
...
git-svn-id: file:///svn/unbound/trunk@4599 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-03 07:47:02 +00:00
Wouter Wijngaards
4a0d32ec53
deleted the chmod+x on this file, this means it removed the svn:executable property.
...
git-svn-id: file:///svn/unbound/trunk@4594 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-03-21 15:02:25 +00:00
Ralph Dolmans
9f0d521b88
- Do use cached NSEC records to generate negative answers for domains under
...
DNSSEC Negative Trust Anchors.
git-svn-id: file:///svn/unbound/trunk@4593 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-03-21 14:34:17 +00:00
Wouter Wijngaards
3a287a70cd
Test and fix.
...
git-svn-id: file:///svn/unbound/trunk@4583 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-03-13 13:14:56 +00:00
Wouter Wijngaards
1a7540c80a
- Reverted fix for #3512 , this may not be the best way forward;
...
although it could be changed at a later time, to stay similar to
other implementations.
git-svn-id: file:///svn/unbound/trunk@4560 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-03-06 08:22:33 +00:00
Wouter Wijngaards
28e9561a94
fix spelling error
...
git-svn-id: file:///svn/unbound/trunk@4548 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-21 14:07:12 +00:00
Wouter Wijngaards
6905e41b57
- Fix validation for CNAME loops. When it detects a cname loop,
...
by finding the cname, cname in the existing list, it returns
the partial result with the validation result up to then.
git-svn-id: file:///svn/unbound/trunk@4547 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-21 14:04:02 +00:00
Ralph Dolmans
a5df3a131e
- Aggressive NSEC tests
...
git-svn-id: file:///svn/unbound/trunk@4537 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-13 14:40:29 +00:00
Wouter Wijngaards
da961fd840
- Unit test for auth zone https url download.
...
git-svn-id: file:///svn/unbound/trunk@4531 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-12 15:40:05 +00:00
Ralph Dolmans
eff62cecac
- Added tests with wildcard expanded NSEC records (CVE-2017-15105 test)
...
git-svn-id: file:///svn/unbound/trunk@4528 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-12 11:39:03 +00:00
Wouter Wijngaards
6fc79a70a3
Fixup tests for checklocks. Add auth axfr test for socket code.
...
git-svn-id: file:///svn/unbound/trunk@4511 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-05 15:33:32 +00:00
Wouter Wijngaards
7edf4a3e75
auth zone test probe of SOA
...
git-svn-id: file:///svn/unbound/trunk@4506 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-05 09:59:53 +00:00
Wouter Wijngaards
e6b770b686
auth zone ixfr unit tests
...
git-svn-id: file:///svn/unbound/trunk@4505 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-05 09:53:26 +00:00
Wouter Wijngaards
172b84f7ce
auth zone ixfr unit test, and fixes.
...
git-svn-id: file:///svn/unbound/trunk@4504 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-05 09:42:42 +00:00
Wouter Wijngaards
237e796955
Enable valgrind in (some) tests.
...
git-svn-id: file:///svn/unbound/trunk@4500 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 11:24:00 +00:00
Wouter Wijngaards
1931d6e9cf
fix spelling error in delegation.
...
git-svn-id: file:///svn/unbound/trunk@4499 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 11:13:45 +00:00
Wouter Wijngaards
cb28d35bd2
- Fix lock race condition in dns cache dname synthesis.
...
git-svn-id: file:///svn/unbound/trunk@4495 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 10:33:19 +00:00
Wouter Wijngaards
fdd1199cb1
- unit test with valgrind
...
git-svn-id: file:///svn/unbound/trunk@4493 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 09:45:13 +00:00
Wouter Wijngaards
0b5e37dcee
auth zone test for host lookup
...
git-svn-id: file:///svn/unbound/trunk@4488 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 15:02:38 +00:00
Wouter Wijngaards
4b9df2bae1
auth zone test checks stored axfr zonefile
...
git-svn-id: file:///svn/unbound/trunk@4486 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 13:29:31 +00:00
Wouter Wijngaards
6a0b5aa8e3
auth zone test, udp and tcp answered from unit test
...
git-svn-id: file:///svn/unbound/trunk@4484 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 10:38:05 +00:00
Wouter Wijngaards
c1047e6a6c
auth zone test with zone transfer
...
git-svn-id: file:///svn/unbound/trunk@4481 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 12:58:25 +00:00
Wouter Wijngaards
10cd092a78
failover for dnssec bogus
...
git-svn-id: file:///svn/unbound/trunk@4478 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 11:14:01 +00:00
Wouter Wijngaards
0c4a702a39
test for validation of queries answered with a zonefile
...
git-svn-id: file:///svn/unbound/trunk@4477 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 10:53:01 +00:00