Commit Graph

292 Commits

Author SHA1 Message Date
wouter
00971e4abf Fixup lameness handling in server selection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1735 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-21 13:52:39 +00:00
wouter
ecec7adc27 Handle referral path check cases where NS is in the answer section.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1678 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-19 08:55:12 +00:00
wouter
85cf4b716f Fix max depth check.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1660 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-16 09:06:52 +00:00
wouter
8697c2c5aa Fixup stub chain of trust from public to private servers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1648 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-11 14:02:37 +00:00
wouter
0c767fe130 review comments Matthijs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1637 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-03 08:06:42 +00:00
wouter
5cf9cc12a2 Fixup crash if root prime has a timeout and parent qstate has been deleted.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1626 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-05-27 12:10:07 +00:00
wouter
f658d87d6b change in debug statements.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1625 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-05-27 11:27:41 +00:00
wouter
8d9058e2b8 Fixup assertion that no longer holds (since the new DoS prevention code jostles out old queries).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1623 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-05-26 14:42:14 +00:00
wouter
4fdda2010e Optimisation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1617 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-27 12:40:22 +00:00
wouter
122d5b762b - Fixed a bug that caused messages to be stored in the cache too
long.  Hard to trigger, but NXDOMAINs for nameservers or CNAME
	  targets have been more vulnerable to the TTL miscalculation bug. 


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1582 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-03 13:49:40 +00:00
wouter
1d1f79c962 test and nicer error handling on target query failure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1530 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-17 14:45:31 +00:00
wouter
7dfde6d5cb more cycle checks.
fix for reentrant problem.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1485 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-18 13:23:17 +00:00
wouter
827f9bfef1 forward command for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1482 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-13 15:26:37 +00:00
wouter
66becd36c8 - unbound-host -4 and -6 options. Stops annoying ipv6 errors when
debugging with unbound -4 -d ... 
        - more cycle detection for NS-check, addr-check, root-prime and
          stub-prime queries in the iterator.  Avoids possible deadlock
          when priming fails.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1444 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-16 10:38:19 +00:00
wouter
afb0b30d31 Squelch ipv6 network unreachable from verbosity default (1).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1443 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-16 09:48:40 +00:00
wouter
6ea7ca6aba remove debug prints
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1435 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-14 14:41:41 +00:00
wouter
a53644841c please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1433 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-14 09:47:00 +00:00
wouter
20f93f79c6 - 1.2.1 feature: negative caching for failed queries.
Queries that failed are cached for 5 seconds (NORR_TTL).
	  If the failure is local, like out of memory, it is not cached.
	- the TTL comparison for the cache used different comparisons,
	  causing many cache responses that used the iterator and validator
	  state machines unnecessarily.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1432 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-14 09:38:15 +00:00
wouter
83a8c51b8e Fixup for previous fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1429 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-13 12:53:18 +00:00
wouter
681dc7c307 Fixup for qtype NS.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1428 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-13 12:45:02 +00:00
wouter
3f82859368 fix bug
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1426 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-13 10:44:04 +00:00
wouter
bd2885ef6c lameness debugging.
fix for lameness hashing.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1425 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-12 09:22:39 +00:00
wouter
ee571fb378 more verbose about server selection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1400 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-18 11:27:57 +00:00
wouter
55b1c9928d Fixup for problems with do-ip6: no and only ipv6 addresses.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1353 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-17 12:47:34 +00:00
wouter
20201d6ecf root prime validation
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1309 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-17 15:07:28 +00:00
wouter
c2b6ef6282 Referral path checking, for spoof mitigation, improved.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1305 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-15 13:32:49 +00:00
wouter
a4f3d3f025 Recursion lame is detected and last resort is used to resolve.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1294 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-13 09:11:42 +00:00
wouter
15a0554309 nsec3 negative cache works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1292 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-09 15:06:35 +00:00
wouter
cf9d865669 work on nsec3 negative cache for qtype DS .
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1290 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-08 14:42:46 +00:00
wouter
e4adee6800 nsec negative DS.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1289 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-08 10:04:27 +00:00
wouter
a2c3b61c68 0x20 fallback code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1285 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-06 14:46:22 +00:00
wouter
b43e6577b7 Stub on same host works
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1276 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-30 13:40:44 +00:00
wouter
c8f39cf0a7 lookup delegation from cache and printout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1266 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 10:55:36 +00:00
wouter
d0a4ad4331 remote control setup, port binding and service.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1227 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-10 15:23:01 +00:00
wouter
a955472a03 private-addresses.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1224 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-04 12:25:15 +00:00
wouter
94962bb18f new NS queries is not an option (off by default).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1219 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-29 14:46:08 +00:00
wouter
71700f6a04 - Fixup rrset security updates overwriting 2181 trust status.
This makes validated to be insecure data just as worthless as
	  nonvalidated data, and 2181 rules prevent cache overwrites to them.
	- Fix assertion fail on bogus key handling.
	- dnssec lameness detection works on first query at trust apex.
	- NS queries get proper cache and dnssec lameness treatment.
	- fixup compilation without pthreads on linux.
	- NS queries are done after every referral.
	  validator is used on those NS records (if anchors enabled).




git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1185 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-12 10:13:57 +00:00
wouter
4ab789fdcf fixup for newegg lameness.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1137 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-25 09:39:57 +00:00
wouter
7b4568a771 Patch from Koji, thanks!
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1015 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-03-05 14:54:51 +00:00
wouter
242711485f Answers use same case as query does.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@993 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-26 20:45:20 +00:00
wouter
38c018e539 - setup speec_cache for need-ldns-testns in dotests.
- check number of queued replies on incoming queries to avoid overload
         on that account.
       - fptr whitelist checks are not disabled in optimize mode.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@971 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-20 07:18:42 +00:00
wouter
cf50a0bcb7 Faster due to time-sharing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@966 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-19 13:12:23 +00:00
wouter
cb2892a0ef nicer code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@962 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-18 13:20:14 +00:00
wouter
7b731d6981 Fixed bug in RD flag setting.
perf works better with long taking queries.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@961 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-18 13:16:06 +00:00
wouter
76a26d97a8 log level 2.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@930 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-07 11:04:56 +00:00
wouter
e2ce21cf4d move around debug levels.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@929 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-07 09:46:49 +00:00
wouter
d1d55313d2 library resolution working.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@809 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-06 15:11:07 +00:00
wouter
a1ba0ccb3f coverity run fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@803 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 17:54:14 +00:00
wouter
a285d67db1 fixup for duplication of NSECs / NSEC3s after following CNAMEs
(esp. wildcard CNAMEs and in-zone CNAMEs that then include nodata or
nxdomain proofs) where the CNAME is followed again to include more NSECs.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@787 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-28 13:41:31 +00:00
wouter
f10708e257 Reduced operation sensitivity of message.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@779 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-27 16:18:09 +00:00
wouter
0d1d88543d Fixup of reload bug.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@726 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-01 09:48:20 +00:00
wouter
b649a1876b dnssec lame servers are used as last effort.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@716 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-23 12:37:18 +00:00
wouter
0da3454c6f dnssec lameness detection improved to disable detection when not sure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@715 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-23 08:30:21 +00:00
wouter
67d2bad8e0 dnssec lame detection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@714 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-22 15:25:37 +00:00
wouter
79b0d9e96d Detect recursion-lameness.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@713 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-22 12:05:46 +00:00
wouter
4bcd6aac94 regional nicer, remove region-allocator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@697 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 20:31:43 +00:00
wouter
eeaf9dbc97 errors have addresses with them.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@692 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 09:04:55 +00:00
wouter
49a22dcb04 fixup test, less logging.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@687 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-17 14:49:12 +00:00
wouter
9860e15c26 no debug on low verbosity.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@684 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-17 14:10:46 +00:00
wouter
e6d57f0ea1 resolution fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@682 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-17 07:34:13 +00:00
wouter
a4478ad648 function pointer whitelist for module operations. completing fptr work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@661 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-05 12:42:25 +00:00
wouter
a17017926e crash fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@651 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-01 14:55:08 +00:00
wouter
9b90ab87cd fixup glue timeout problems, and priming with safety belt.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@622 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-19 12:17:42 +00:00
wouter
58eb10dee1 Fixup qname after prepend.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@614 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-14 14:05:52 +00:00
wouter
7642f3a130 fixup AUTH prepend list.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@587 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-04 14:06:43 +00:00
wouter
4353a39c1b cname nxdomain fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@576 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 09:13:27 +00:00
wouter
2c585d0f14 iterator works better with failing hosts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@571 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-31 09:38:55 +00:00
wouter
e97cae4641 Memory cleanup.
- caught bad free of un-alloced data in worker_send error case.
       - memory accounting for key cache (trust anchors and temporary cache).
       - memory accounting fixup for outside network tcp pending waits.
       - memory accounting fixup for outside network tcp callbacks.
       - memory accounting for iterator fixed storage.
       - key cache size and slabs config options.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@566 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-30 12:45:19 +00:00
wouter
ee53b5fef8 do not cache nonRD replies in msg cache, the rrset cache is used for that.
store verification status in rrset cache to enable security for nonRD
replies and also speed up processing.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@550 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-27 13:46:05 +00:00
wouter
96eb624da0 answer non-recursive straight from cache, if possible.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@548 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-27 09:53:16 +00:00
wouter
f5cae3bd4a dname isroot and dellabel
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@492 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-06 11:06:00 +00:00
wouter
b3cbef4dfc passing of control between modules.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@479 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 12:13:08 +00:00
wouter
9238bc8aca For test ldns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@477 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 09:58:24 +00:00
wouter
80ffffebd1 remove done and supers module interface calls.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@474 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 08:07:50 +00:00
wouter
3b9a0d90aa don't fall through the if
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@472 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 14:10:51 +00:00
wouter
b6f4010edf callbacks via module specific function for walk_supers.
part of a move towards multiple modules for meshes.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@471 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 14:01:34 +00:00
wouter
f5c4688976 prime flag moved.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@470 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 12:59:37 +00:00
wouter
ffae9bc790 module configuration option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@468 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 11:17:30 +00:00
wouter
d7201ed226 cycle detection
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@452 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-26 09:29:21 +00:00
wouter
78c5f18d25 glue fetch tested.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@451 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-25 14:12:44 +00:00
wouter
008a70a139 name change. todo.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@446 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 14:16:02 +00:00
wouter
c876b8f4fa Refetch glue code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@445 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 09:41:44 +00:00
wouter
a161bfbed7 Option to disable sanitize (normalize is still active), speeds up. But
some spoofing scenarios become possible. Default is the safe method.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@443 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 09:12:06 +00:00
wouter
1842c5d409 Fill missing addresses for a delegation from the cache (if possible).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@442 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 07:14:36 +00:00
wouter
d9aac953ba cname chain caching (part).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@440 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-19 15:16:39 +00:00
wouter
ea2e3fdef0 shuffle NS selection randomly for getting addresses.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@436 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-19 09:25:55 +00:00
wouter
00c08bc573 Do not query addresses and configuration.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@434 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-18 08:14:44 +00:00
wouter
418bac1638 Remove old forwarder mode, new @port option and tests ported over.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@432 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-17 15:26:45 +00:00
wouter
7729681ca8 forward zones.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@429 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-17 13:45:45 +00:00
wouter
2a09f09ea8 fixup tests, better stats, nicer api supers_walk().
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@424 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-26 15:24:07 +00:00
wouter
b0d9e6c363 Mesh used now.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@423 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-26 13:06:44 +00:00
wouter
47f59b0937 Iterator does not alter qstate identity.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@420 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-22 13:24:26 +00:00
wouter
26a83b8c0b further mesh.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@419 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-22 12:39:08 +00:00
wouter
bcea03a902 Mesh design and preparatory cleanup.
- removed unused _node iterator value from rbtree_t. Takes up space.
      - iterator can handle querytargets state without a delegation point
        set, so that a priming(stub) subquery error can be handled.
      - iterator stores if it is priming or not.
      - log_query_info() neater logging.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@418 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-22 10:09:21 +00:00
wouter
5441077319 mesh design.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@417 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 15:36:13 +00:00
wouter
5f0e6a96f3 subreq depth fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@412 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 09:36:27 +00:00
wouter
4f5be300b8 Removed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@409 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 07:39:13 +00:00
wouter
d63fdceec2 Fixups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@406 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 13:01:30 +00:00
wouter
b68dad48a7 fix of flags in errors and very short bufsizes from edns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@397 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 13:50:43 +00:00
wouter
7ecbf0b24c AXFR handling and non-recursive handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@396 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 12:34:54 +00:00
wouter
aecac533f5 Another offbyone.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@393 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-18 12:32:16 +00:00
wouter
57da6743c9 fixup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@392 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-18 10:27:54 +00:00
wouter
dfe3ae0dc1 fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@390 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-15 09:13:54 +00:00
wouter
9c569777fb Small off by one in targetcount and double-callback fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@389 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-15 08:40:30 +00:00
wouter
1b2aa264a7 uses CNAMEs and DNAMEs from the cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@380 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-11 14:55:10 +00:00
wouter
bcfe623b93 Nicer encoding. fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@379 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-11 10:12:43 +00:00
wouter
7ff6a304a7 comment. svn:NO TEST.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@377 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 15:17:29 +00:00
wouter
6947de13ee ip6 functionality.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@376 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 15:04:27 +00:00
wouter
d7aa2d2d09 RA bit on in cached responses.
caches responses with CNAMEs corrected.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@375 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 14:20:23 +00:00
wouter
777fb87aa5 Tested serval targets, with CNAME's and indirection for recursion and
slumber list.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@374 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 13:21:04 +00:00
wouter
1307e18f33 fixup double linked list insertion code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@372 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 07:58:02 +00:00
wouter
b3bf83c415 debug work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@371 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 15:04:01 +00:00
wouter
d21083c609 - priming failure returns SERVFAIL.
- priming gives LAME result, returns SERVFAIL.
       - debug routine to print dns_msg as handled by iterator.
       - memleak in config file stubs fixup.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@370 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 12:54:43 +00:00
wouter
f8571f766a - subrequests without parent store in cache and stop.
- worker slumber list for ongoing promiscuous queries.
       - subrequest error handling.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@368 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 10:51:47 +00:00
wouter
ae25d8f763 iterator finished state.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@367 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 07:54:42 +00:00
wouter
1b1c3ef566 Process target responses, case preservation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@365 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 13:53:01 +00:00
wouter
6f7a978c78 Prime response state, both root priming and stub priming handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@364 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 12:22:38 +00:00
wouter
009134dd04 cache lameness, set reply properly.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@363 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 11:52:10 +00:00
wouter
e7cd30c7d7 process_response, classify response, delegpt_from_message.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@359 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 20:24:33 +00:00
wouter
2d09b66eac please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@358 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:56:18 +00:00
wouter
7eeeb162b0 conversion from parsed message to iterator region storage.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@357 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:52:07 +00:00
wouter
fddfd9fce9 neater code layout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@356 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:25:38 +00:00
wouter
e77f35a9af cleaner allocation code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@355 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:05:48 +00:00
wouter
f1dfcd6207 scrubbing routines.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@354 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 09:42:31 +00:00
wouter
906449f7de scrubber work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@353 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-31 14:57:24 +00:00
wouter
ce582a4765 query targets state.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@352 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-31 12:51:36 +00:00
wouter
65089d3ea0 state init3.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@350 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 14:19:56 +00:00
wouter
1663aca700 init2 and double free fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@349 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 11:45:44 +00:00
wouter
7defbafe09 iterator work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@348 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 11:18:17 +00:00
wouter
f8baab03a0 Removed CD bit flags from cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@347 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 05:39:04 +00:00
wouter
650ac20298 partial busy
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@346 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 14:02:17 +00:00
wouter
ae8d3dbd12 Name change to make naming more uniform.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@345 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 12:31:02 +00:00
wouter
af1c787ab9 iterator and dns cache work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@342 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-25 15:28:20 +00:00
wouter
56f5c84d57 - Acknowledge use of unbound-java code in iterator. Nicer readme.
- services/cache/dns.c DNS Cache. Hybrid cache uses msgcache and
         rrset cache from module environment.
       - packed rrset key has type and class as easily accessable struct
         members. They are still kept in network format for fast msg encode.
       - dns cache find_delegation routine.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@339 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-25 12:02:37 +00:00
wouter
38bdf5271c tests need forwarding mode enabled.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@337 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-24 13:41:30 +00:00
wouter
6969cb7d56 preparatory work for iterator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@336 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-24 13:24:44 +00:00
wouter
e8b2e8ded2 root hints.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@335 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 14:05:36 +00:00
wouter
00352efb72 setup of state; delegation point setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@334 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 09:34:01 +00:00
wouter
4bc8319061 outbound queries via serviced outside_network queries.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@327 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 12:36:02 +00:00
wouter
69883b2a21 LRU touch of RRsets. Pretty complicated to do.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@324 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-16 12:48:48 +00:00
wouter
e641ee09fd Fixup tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@312 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:33:38 +00:00
wouter
401583e12b iterator module.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@311 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:16:42 +00:00