Commit Graph

48 Commits

Author SHA1 Message Date
ralph
865b0eb154 - Added mesh_add_sub to add detached mesh entries.
- Use mesh_add_sub for key tag signaling queries.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4144 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-05-02 13:17:56 +00:00
wouter
099cd16231 - Response actions based on IP address from Jinmei Tatuya (Infoblox).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4035 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-03-07 14:58:51 +00:00
wouter
54bfc89f6b compile fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3990 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-01-19 11:34:21 +00:00
wouter
60a7029fcd - Fix to rename internally used types from _t to _type, because _t
type names are reserved by POSIX.
- iana portlist update


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3989 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-01-19 10:25:41 +00:00
george
4812f02dd0 - Added generic EDNS code for registering known EDNS option codes,
bypassing the cache response stage and uniquifying mesh states. Four EDNS
  option lists were added to module_qstate (module_qstate.edns_opts_*) to
  store EDNS options from/to front/back side.
- Added two flags to module_qstate (no_cache_lookup, no_cache_store) that
  control the modules' cache interactions.
- Added code for registering inplace callback functions. The registered
  functions can be called just before replying with local data or Chaos,
  replying from cache, replying with SERVFAIL, replying with a resolved
  query, sending a query to a nameserver. The functions can inspect the
  available data and maybe change response/query related data (i.e. append
  EDNS options).
- Updated Python module for the above.
- Updated Python documentation.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3947 be551aaa-1e26-0410-a405-d3ace91eadb9
2016-12-06 13:42:51 +00:00
wouter
82afa0ef30 - Please doxygen by modifying mesh.h
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3892 be551aaa-1e26-0410-a405-d3ace91eadb9
2016-10-18 13:59:17 +00:00
wouter
bc78c785ce - Patch that resolves CNAMEs entered in local-data conf statements that
point to data on the internet, from Jinmei Tatuya (Infoblox).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3885 be551aaa-1e26-0410-a405-d3ace91eadb9
2016-10-18 13:18:20 +00:00
wouter
0778829809 - Fix that CD flag disables DNS64 processing, returning the DNSSEC
signed AAAA denial.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3273 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-11-18 15:15:57 +00:00
wouter
68b138cbd3 And fix #551 REGENT to COPYRIGHT HOLDER in license in file headings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3079 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-02-07 13:28:39 +00:00
wouter
db8f72c4f7 - Fix sldns to use sldns_ prefix for all ldns_ variables.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3022 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 09:11:16 +00:00
wouter
8e6ee27eda - separate ldns into core ldns inside ldns/ subdirectory. No more
--with-ldns is needed and unbound does not rely on libldns.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2998 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:09:26 +00:00
wouter
b4a007738c - Fix for 2038, with time_t instead of uint32_t.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2939 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-08-20 12:23:42 +00:00
wouter
f33c5178d7 - Fix make_new_space function so that the incoming query is not
overwritten if a jostled out query causes a waiting query to be
  resumed that then fails and sends an error message.  (Thanks to
  Matthew Lee).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2523 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-24 13:49:59 +00:00
wouter
5e9f5cad61 - better documentation for inform_super (Thanks Yang Zhe).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2512 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-17 13:11:58 +00:00
wouter
b9f844650b - increased mesh-max-activation from 1000 to 3000 for crazy domains
like _tcp.slb.com with 262 servers.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2229 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-14 08:27:23 +00:00
wouter
53c0abfaef - Fix bug where a long loop could be entered, now cycle detection
has a loop-counter and maximum search amount.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2144 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-10 14:10:17 +00:00
wouter
988cdf0808 work on prefetch: store the updated results in the cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1954 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-08 15:59:36 +00:00
wouter
2a29e7923e Doc fix and work on prefetch feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1951 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-07 14:38:18 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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