Commit Graph

102 Commits

Author SHA1 Message Date
wouter
7acf38ac32 - Made new validator error string available from libunbound for
applications.  It is in result->why_bogus, a zero-terminated string.
	  unbound-host prints it by default if a result is bogus.
	  Also the errinf is public in module_qstate (for other modules).
	Binary API different. bumped library ABI version.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1874 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-08 17:05:53 +00:00
wouter
4ba1003f2c Data retry on validation failure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1859 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-06 08:31:47 +00:00
wouter
08907d0c37 Check right value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1655 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-12 14:16:13 +00:00
wouter
e666a96c36 mesh callbacks review, call error if deleted unfulfilled, check fptr wlist.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1652 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-12 07:53:36 +00:00
wouter
0f9150254e Memory leak fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1512 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-05 08:19:52 +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
5e2773f065 flush_requestlist feature for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1479 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 13:21:19 +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
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
bc68dd9029 please_lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1284 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-06 10:38:07 +00:00
wouter
d3c20e3447 please_lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1283 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-06 09:42:31 +00:00
wouter
3e50ffc914 Option for DOS protection on slower links.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1282 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-06 09:28:50 +00:00
wouter
526eed4c74 Fixup error in time calculation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1247 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-18 07:55:01 +00:00
wouter
6791fa38ec extended statistics.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1239 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-16 14:08:38 +00:00
wouter
2b0b077fd6 DoS protection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1221 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-02 13:04:47 +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
11b7a51475 avoid reencoding the same reply in mesh reply.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@981 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-22 09:23:42 +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
92c6a825ef stats output text nice.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@943 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 09:19:32 +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
d72f75b70f statistics-interval config setting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@917 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-05 10:23:44 +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
3e93ce7cd4 makefile nit and modstack.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@801 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 13:23:41 +00:00
wouter
0638f01d0a keep cache of prealloced blocks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@698 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 22:17:02 +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
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
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
4772e1a940 loopfix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@653 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-03 08:36:47 +00:00
wouter
a57d2328fd Fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@537 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-21 13:27:04 +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
625a6faa38 More logging.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@511 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-13 12:23:49 +00:00
wouter
5fe9993815 nicer walk_supers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@480 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 12:22:29 +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
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
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
b41deacab1 Memory reporting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@447 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 15:51:06 +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
705006ee97 Histogram
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@428 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-27 14:59:44 +00:00
wouter
f3c53a8be9 Deletion error removed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@425 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-27 09:45:39 +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
a12abdfeca mesh work, now coded mesh service.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@422 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-25 13:54:03 +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