Commit Graph

436 Commits

Author SHA1 Message Date
wouter
2966588cd7 cycle detection fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@518 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 19:42:36 +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
7d0eebff1d check section.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@485 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-03 09:16:16 +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
0a3e583270 Fixup scrubber and lameness.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@478 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 11:44:17 +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
a96295ad89 Fixup duplicate delegations.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@476 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 09:21:58 +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
8dfb56272f query flags for detect cycle.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@469 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 11:29:12 +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
df236df90b remove warning.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@455 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-26 11:35:38 +00:00
wouter
7c60b2026e cycle detection test. TODO items
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@454 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-26 10:04:05 +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
b84cd979aa Do not select servers that are known to not give replies.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@427 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-27 13:26:32 +00:00
wouter
c61b71c7d2 fixup memory leak.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@426 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-27 11:12:58 +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
ccc40ef7c0 fixup CNAME generated by scrubber.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@403 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 08:55:00 +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
bb8770b8eb target fetch policy setting from config structure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@394 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-18 15:24:14 +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
603d3c082c Fixup cname target name readout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@373 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 10:38:02 +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
09a50c0c31 Copy replyinfo routine.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@362 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 11:34:23 +00:00
wouter
2553be9532 Random nameserver selection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@361 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 09:57:02 +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