Commit Graph

127 Commits

Author SHA1 Message Date
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
de42790b48 val_util work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@497 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 14:30:01 +00:00
wouter
8760c149a4 security status.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@495 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 08:27:23 +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
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
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
047c15c7ca Improve error handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@391 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-15 12:11:44 +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
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
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
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
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
e65bb081d7 doc
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@360 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 20:25:27 +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
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
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
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
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
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
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
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
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
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