wouter
db01af85bf
Fixup BSD port.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1401 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-18 14:11:34 +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
ba1299b375
fixup memleaks.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1331 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-05 10:38:22 +00:00
wouter
a3f550e8f6
Fixup negative TTLs Attila Nagy has reported.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1306 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-16 13:12:32 +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
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
3039466965
EDNS fallback when timeout and multiple query rtt backoff.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1272 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-29 14:50:35 +00:00
wouter
3a10f7e4ab
flush data from cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1268 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 14:07:02 +00:00
wouter
3de2c0e61b
load from cache works
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1265 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 09:23:38 +00:00
wouter
cf59fb45fb
DLV work
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1190 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-14 15:16:50 +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
78070f7906
Same scrubber patch to trunk.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1181 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-07 07:31:05 +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
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
d186da5604
fptrwlist and remove oldhack with islocked param.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@805 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 21:34:53 +00:00
wouter
6e8107e842
markdelfunc for lock order problem in lruhash reclaim().
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@804 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 21:18:25 +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
ad7b42e5bf
memory footprint improvements.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@778 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-27 15:52:41 +00:00
wouter
57a562b5fd
- bugreports to unbound-bugs@nlnetlabs.nl
...
- fixup testbound so it exits cleanly.
- cleanup the caches on a reload, so that rrsetID numbers won't clash.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@740 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-12 13:58:34 +00:00
wouter
50174c96a0
ttl not greedy.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@720 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-30 21:40:16 +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
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
cb8f9eaa68
failover to next server.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@691 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-17 19:23:01 +00:00
wouter
b5a046ad99
function pointer whitelists on data types.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@660 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-05 11:41:12 +00:00
wouter
55b2d2874a
fixup nasty cache overwriting bug.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@656 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-03 19:11:50 +00:00
wouter
f4e3dffeab
DNAME synthesis and validation fixups.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@584 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-04 12:44:43 +00:00
wouter
caca9c3b43
lame cache in bytes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@579 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 10:19:10 +00:00
wouter
d08c863460
fixup lameness cache memory accounting leak.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@578 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 10:08:16 +00:00
wouter
316be1bec1
validator also computes insecure and indeterminate for rrsets and stores
...
that.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@551 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-27 14:55:06 +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
191976ec2e
DS and DNSKEY not from additional synthesis. Nicer signature expiration errors.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@546 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-24 13:14:23 +00:00
wouter
ccf456e1db
bogus ttl fixed value, config item.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@540 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-22 12:13:52 +00:00
wouter
92224e59df
construct DS and DNSKEY from cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@538 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-21 14:05:10 +00:00
wouter
4ee83871c3
Returns and caches validated replies.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@536 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-21 13:12:10 +00:00
wouter
b3c5cb72d1
please lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@515 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:37:31 +00:00
wouter
7866ca5398
fixups for memory.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@512 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:15:36 +00:00
wouter
139baa112a
id number change
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@496 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 09:24:20 +00:00
wouter
e7df442fe7
todo, plan.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@466 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-31 08:11:48 +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
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
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
f9e2375f93
- nicer layout in stats.c, review 0.3 change.
...
- spelling improvement, review 0.3 change.
- uncapped timeout for server selection, so that very fast or slow
servers will stand out from the rest.
- target-fetch-policy: "3 2 1 0 0" config setting.
and docs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@395 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 12:06:02 +00:00
wouter
c3cb973c20
fixup comments for doxygen 1.5
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@383 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-12 14:51:49 +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
d5f4c43b9d
lookup cname not in msg cache, but rrset cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@378 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 15:25:24 +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
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
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
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
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
5508e2c0d9
fixup cast and fixup TTL increase for duplicate rrset messages.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@344 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 12:26:45 +00:00
wouter
b715da9d6e
message lookup and copy to region.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@343 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 10:32:11 +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
eac331b9ee
fixup lock code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@340 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-25 12:20:18 +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
42d4f5f777
Fixes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@330 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 15:02:39 +00:00
wouter
f21445bfe2
Config options for infra cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@325 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-16 14:29:46 +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
a2840c9a00
doc fix.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@323 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 15:12:03 +00:00
wouter
9d693f04bf
infra cache config.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@322 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 15:11:12 +00:00
wouter
bedc1c8df3
Host cache code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@319 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 10:53:27 +00:00
wouter
7310159d0a
Host cache setup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@318 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 15:03:55 +00:00