Commit Graph

98 Commits

Author SHA1 Message Date
wouter
393bb36e37 - #4103: Fix that auth-zone does not insist on SOA record first in
file for url downloads.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4729 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-06-14 07:09:01 +00:00
wouter
5399c14f2f - Fix deadlock caused by incoming notify for auth-zone.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4704 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-06-04 09:01:55 +00:00
wouter
34247dd0ce - list_auth_zones unbound-control command.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4650 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-23 14:42:30 +00:00
wouter
6d975fbd67 - Fix sldns parse failure for CDS alternate delete syntax empty hex.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4646 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-23 10:35:35 +00:00
wouter
c575ac1183 - auth zone http download stores exact copy of downloaded file,
including comments in the file.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4645 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-23 10:13:50 +00:00
wouter
ce7cef1724 - Delete auth zone when removed from config.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4642 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-20 14:40:07 +00:00
wouter
bded8be7c7 - Fix #4091: Fix that reload of auth-zone does not merge the zonefile
with the previous contents.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4641 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-20 14:15:34 +00:00
wouter
3254314eb5 - Fix auth-zone retry timer to be on schedule with retry timeout,
with backoff.  Also time a refresh at the zone expiry.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4630 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-18 06:43:02 +00:00
wouter
329a8e105e - allow-notify: config statement for auth-zones.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4628 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-17 13:23:35 +00:00
wouter
625acbaaec - auth zone notify work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4627 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-17 12:18:34 +00:00
wouter
9f36d666b2 - auth zone notify work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4626 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-16 15:10:30 +00:00
wouter
705a0dfed8 - auth zone notify work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4625 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-16 14:24:57 +00:00
wouter
c983bccafe - Fix auth zone target lookup iterator.
- notify with prefix


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4624 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-16 13:14:24 +00:00
wouter
261197b7e8 - Fix memory free on fail for $INCLUDE in authzone.
- Fix that an internal error to look up the wrong rr type for
  auth zone gets stopped, before trying to send there.
- auth zone notify work.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4623 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-13 13:04:26 +00:00
wouter
524a1465fd - Fix for max include depth for authzones.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4622 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-13 06:25:30 +00:00
wouter
a892c6b732 fix lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4621 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-10 15:06:51 +00:00
wouter
96756438cf - auth zone notify work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4619 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-10 14:57:38 +00:00
wouter
32d7d269e4 - num.query.authzone.up and num.query.authzone.down statistics counters.
- Fix downstream auth zone, only fallback when auth zone fails to
  answer and fallback is enabled.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4610 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-09 10:15:06 +00:00
ralph
f1cf9f9824 - Check "result" in dup_all(), by Florian Obser.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4598 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-03-29 08:02:26 +00:00
wouter
e577f90bb8 - Check IXFR start serial.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4579 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-03-12 14:34:24 +00:00
wouter
fcd9b8c448 auth zone: default is https if no 'http://' given.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4536 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-13 14:28:51 +00:00
wouter
b52ca6417e auth zone whitespace fixes and input validation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4535 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-13 14:26:20 +00:00
wouter
2b221f3140 auth zone review fixes
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4534 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-13 14:09:57 +00:00
wouter
2076e1e2f8 auth zone work, nicer debug output.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4527 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-09 08:23:20 +00:00
wouter
647c958d76 auth zone stop sending packets when the application quits.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4526 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-09 08:14:06 +00:00
wouter
b8a397affc auth zone http work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4524 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-08 15:14:51 +00:00
wouter
7c5497d3b4 auth zone work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4523 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-08 14:37:36 +00:00
wouter
2de81e0fef auth zone work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4521 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-08 11:59:30 +00:00
wouter
40286955e2 auth zone work on http feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4517 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-07 16:10:31 +00:00
wouter
1cb6bd9051 fix for doxygen
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4516 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-06 16:00:10 +00:00
wouter
e48156c64c auth zone work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4515 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-06 15:54:49 +00:00
wouter
081cdce096 fix lint warning
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4513 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-06 11:16:23 +00:00
wouter
1e7120e420 auth zone work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4512 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-06 09:32:41 +00:00
wouter
98bf7184b6 auth zone fixup lock protection, it wrongly covered the rbtree node.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4507 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-05 10:57:15 +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
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
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
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
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
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
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
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
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