Commit Graph

4530 Commits

Author SHA1 Message Date
wouter
276d313099 auth zone ixfr unit tests
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4505 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-05 09:53:26 +00:00
wouter
ebda5cbb20 auth zone ixfr unit test, and fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4504 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-05 09:42:42 +00:00
wouter
4d36916210 auth zone, remove unused code
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4503 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 16:13:37 +00:00
wouter
9caa77b267 fix unit test for new output func.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4502 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 15:16:40 +00:00
wouter
1f7eff89e8 auth zone, axfr and printout works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4501 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 14:41:20 +00:00
wouter
ff360ae2d7 Enable valgrind in (some) tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4500 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 11:24:00 +00:00
wouter
aca1f55452 fix spelling error in delegation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4499 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 11:13:45 +00:00
wouter
cf525b93e0 Fix more critical regions. Cleans tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4498 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 11:08:50 +00:00
wouter
6b49cdd1d8 - lock subnet new item before insertion to please checklocks,
no modification of critical regions outside of lock region.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4497 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 10:52:44 +00:00
wouter
cee57903fd auth zone race condition remove and checklock fix for
check of unused alignment memory in structure.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4496 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 10:35:11 +00:00
wouter
252eae4e5e - Fix lock race condition in dns cache dname synthesis.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4495 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 10:33:19 +00:00
wouter
f4a83a9628 - unit test with valgrind
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4494 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 09:52:52 +00:00
wouter
1b9c86be74 - unit test with valgrind
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4493 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 09:45:13 +00:00
wouter
1d3cb2e4af remove debug printf.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4492 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 09:27:55 +00:00
wouter
f8f3f79a0d - Fix unfreed locks in log and arc4random at exit of unbound.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4491 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 09:27:16 +00:00
wouter
cc667b6402 - fix unaligned structure making a false positive in checklock
unitialised memory.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4490 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 15:55:48 +00:00
wouter
3601b2337a auth zone socket creation fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4489 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 15:43:00 +00:00
wouter
28d979309b auth zone test for host lookup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4488 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 15:02:38 +00:00
wouter
78cac2d76c auth zone, nicer debug log
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4487 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 13:37:36 +00:00
wouter
7897dad2a1 auth zone test checks stored axfr zonefile
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4486 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 13:29:31 +00:00
wouter
43c4502b80 auth zone unit test extra_packet moves multipe tcp packets on stream
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4485 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 12:23:48 +00:00
wouter
a8847f6613 auth zone test, udp and tcp answered from unit test
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4484 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-01 10:38:05 +00:00
wouter
a7ae601c53 auth zone fix comment
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4483 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 15:19:23 +00:00
wouter
e4c6da885f auth zone move file descriptor functionality to outside network
for the unit test


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4482 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 14:59:17 +00:00
wouter
f88d7a6788 auth zone test with zone transfer
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4481 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 12:58:25 +00:00
wouter
2470b31ccc cleanup without losing zone contents, and also backoff for nonresponsive
masters while zone data is available.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4480 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 12:52:40 +00:00
wouter
fd5b2dd1c2 pickup worker events, and free them.
exponential backoff for continuously failing zones.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4479 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 12:33:19 +00:00
wouter
df057fff19 failover for dnssec bogus
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4478 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 11:14:01 +00:00
wouter
9f91e3c366 test for validation of queries answered with a zonefile
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4477 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 10:53:01 +00:00
wouter
4cf7809a57 Test authority zone with zonefile for root referrals (RFC7706)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4476 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 08:37:38 +00:00
wouter
029336669a make depend
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4475 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 08:30:50 +00:00
wouter
4f5bbce421 auth zone for downstream
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4474 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-31 08:30:32 +00:00
wouter
7060ceb949 no $INCLUDE in this test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4473 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 16:14:09 +00:00
wouter
71ba486b9a Test for no-upstream enabled, and thus fallback to normal priming and lookup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4472 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 16:08:29 +00:00
wouter
12f5077802 remove debug print
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4471 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 16:02:48 +00:00
wouter
483796b900 fix to please doxygen's parser.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4470 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 15:51:28 +00:00
wouter
4d3b9db01e unit test for auth zone lookup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4469 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 15:44:49 +00:00
wouter
5c23b370fe Fix sldns parse state prev dname.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4468 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 14:26:19 +00:00
wouter
90141b6f48 fix $INCLUDE
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4467 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 11:12:22 +00:00
wouter
f92f7fb2d6 auth zone, make depend, fallback, create and delete, and lease_time,
and lock fixes.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4466 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 10:35:20 +00:00
wouter
80ab330e3c lint fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4465 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-29 14:48:40 +00:00
wouter
82a0a76348 lint fixes
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4464 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-29 14:48:01 +00:00
ralph
b20df48e61 Also use NSEC with longest closest encloser for CNAME responses.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4463 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-29 14:44:39 +00:00
wouter
7af974cc16 remove unused TODO items
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4462 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-29 14:41:07 +00:00
wouter
ee752be770 auth zone work, ixfr apply procedure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4461 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-29 14:33:08 +00:00
ralph
5489a6b54b - Use NSEC with longest ce to prove wildcard absence.
- Only use *.ce to prove wildcard absence, no longer names.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4460 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-29 13:46:57 +00:00
wouter
5af55bab45 remove unneeded statements
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4459 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-26 15:49:15 +00:00
wouter
cea3d1eecd fixup iterator
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4458 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-26 15:47:57 +00:00
wouter
3e50a1fb6b unneeded statement
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4457 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-26 15:46:48 +00:00
wouter
337ef21822 fix id check
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4456 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-26 15:42:27 +00:00