Commit Graph

220 Commits

Author SHA1 Message Date
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
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
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
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
afd1f7d1ad Fixup buffer position.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@328 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 13:00:14 +00:00
wouter
c6b4fbb41c Serviced queries in outside network service get full EDNS, UDP retry and
TCP fallback attention.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@326 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-21 15:10:55 +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
9d296f41ba porting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@315 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 09:26:03 +00:00
wouter
f6e8e96ac7 Alignment fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@314 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 09:25:05 +00:00
wouter
8eacc9c31b Fix for compression. Module interface setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@306 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-10 11:53:55 +00:00
wouter
5f3140deaa TCP fallback if forwarder sends TC bit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@295 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 07:00:10 +00:00
wouter
2b2981aeb6 No verbose for packet error. TC detect.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@293 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 15:01:27 +00:00
wouter
0bd08b1c87 unit test upgrade.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@292 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 14:22:30 +00:00
wouter
b30a500733 Fix unit test to attach edns record.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@289 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 13:24:30 +00:00
wouter
397e4b4736 EDNS for the client.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@288 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 13:17:27 +00:00
wouter
e873c96fb5 temp region kept for use during query processing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@282 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 12:35:01 +00:00
wouter
960c7df2fe working on trust of rrsets.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@281 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 10:10:52 +00:00
wouter
f3dbfd3a17 Alloc cache per thread gets used for deleted items.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@280 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 08:05:56 +00:00
wouter
4311169bad Better estimate.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@278 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 06:56:37 +00:00
wouter
f504523316 Use packedrrset msgformat in service.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@277 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-03 15:34:03 +00:00
wouter
8d7eb5ce4f start of EDNS work; TC truncation of message encoding.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@276 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-02 15:31:32 +00:00
wouter
953a248114 Documentation addresses and check buffer limit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@273 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-01 15:11:53 +00:00
wouter
ae0d31b480 Tests for compression, and decompression in query section fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@270 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-01 10:18:37 +00:00
wouter
e88c8f93c6 compression.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@269 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 14:55:47 +00:00
wouter
7f20eecd7e Compress rrsig owner names.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@268 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 13:58:59 +00:00
wouter
6b6e30a6c6 no more iov per rr.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@266 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 12:42:03 +00:00
wouter
e4e8fbb26a TODO listing, comment fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@264 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 09:37:38 +00:00
wouter
51708a162d lint faster, lint fix and define.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@260 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-26 07:55:51 +00:00
wouter
7c898cc2ca fixes offset.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@258 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-25 15:41:19 +00:00
wouter
d35f7f071c work on domain name compression.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@257 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-25 15:28:03 +00:00
wouter
16658b625d parse type in host byte order.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@256 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-25 11:36:51 +00:00
wouter
ccf572b577 RRSIG parsing and outputting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@255 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-24 13:39:23 +00:00
wouter
1897d28671 RRSIG parse plans.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@254 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-20 09:58:32 +00:00
wouter
2b534aee04 Unit test work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@253 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-20 08:10:07 +00:00
wouter
73acfec1c2 Fixups after initial unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@251 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-19 09:48:42 +00:00
wouter
8998172438 review changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@250 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-18 13:57:01 +00:00
wouter
96ebc58753 Unit test for parser with lots fo content.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@247 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 15:18:24 +00:00
wouter
de606904da test for msgparse.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@246 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 14:03:33 +00:00
wouter
92bf0cecbd message parsing code in one file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@245 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 11:56:48 +00:00
wouter
9e835740f5 Message create.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@244 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 10:18:39 +00:00
wouter
47d3863917 store hash value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@243 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 09:18:12 +00:00
wouter
d63a6bdd6f copy and decompress.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@242 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 09:14:45 +00:00
wouter
6f8a76a4fd ids and parsing rrs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@241 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-16 15:21:50 +00:00
wouter
ea24374e66 Parsing of messages into parse internal representation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@240 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-13 15:00:56 +00:00
wouter
47db7a8423 Dname compare routines with compression pointers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@239 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-12 14:54:34 +00:00
wouter
efe7688f75 dname compare lower case version. Preserves case.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@238 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-12 14:02:02 +00:00
wouter
5cdfcc031c Parsing
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@237 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-11 14:26:29 +00:00
wouter
f541011cad parse setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@236 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 09:03:05 +00:00
wouter
2b25159421 please lint, docs.
Fixup ignored return value.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@234 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 07:56:05 +00:00
wouter
84a15031be Commit code, and see if unit test is fixed (with less busy open).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@233 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 07:11:57 +00:00
wouter
a8b5a5c4cf Header change for message store.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@232 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 05:39:12 +00:00
wouter
49d334c9a3 Results of discussion.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@231 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-05 14:53:32 +00:00
wouter
e5f76c0336 Memory layout rrsets.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@230 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-04 13:02:13 +00:00
wouter
c2d761f0e6 0.3, dname.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@229 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-04 09:47:30 +00:00
wouter
6f28cfd68d more portable msghdr.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@218 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 10:01:54 +00:00
wouter
250f7af515 use constants for bitflags.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@214 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:29:09 +00:00
wouter
a3235abb8e Review of msgreply.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@212 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-02 13:58:02 +00:00
wouter
ea4a9f56b7 review of worker.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@211 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-02 10:16:02 +00:00
wouter
af50a13f09 No useless byteswapping.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@208 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 10:00:10 +00:00
wouter
1df17bafae writev and sendmsg support in netevent.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@204 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-28 15:40:12 +00:00
wouter
98a88786cb Multiple queries per thread.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@201 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-27 15:21:21 +00:00
wouter
cb98199c06 Checks returned queries from forwarder source.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@193 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 13:12:49 +00:00
wouter
1db1303312 Answers from the cache work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@192 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 12:41:38 +00:00
wouter
8eba5b12f8 reviewed yesterdays commit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@191 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 08:25:43 +00:00
wouter
21ece5f0f4 caching code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@190 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-22 16:26:14 +00:00
wouter
61e092f862 Replymsg structure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@173 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-12 14:19:14 +00:00