Commit Graph

25 Commits

Author SHA1 Message Date
wouter
d37a0c3daf Fix async bool.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4679 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:37:04 +00:00
wouter
6c0069a68c fix to please gcc 8 and lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4678 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:29:15 +00:00
wouter
14cb872630 - Fix function type cast warning in libunbound context callback type.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4676 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:12:19 +00:00
wouter
f92f7fb2d6 auth zone, make depend, fallback, create and delete, and lease_time,
and lock fixes.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4466 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-01-30 10:35:20 +00:00
wouter
affae9bc85 - Fix to Rename ub_callback_t to ub_callback_type, because POSIX
reserves _t typedefs.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3988 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-01-19 09:08:15 +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
410ac6cd67 - rename ldns subdirectory to sldns to avoid name collision.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3380 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-03-26 10:21:38 +00:00
wouter
9f56dc9102 - Use reallocarray for integer overflow protection, patch submitted
by Loganaden Velvindron.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3365 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-03-17 08:24:24 +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
78a520b994 - Fix for const string literals in C++ for libunbound, from Karel
Slany.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2913 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-06-18 07:33:44 +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
5b6fb14883 nice option interface. Nice debug output stream option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@945 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 15:22:57 +00:00
wouter
9dedf483f9 ub_
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@942 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 08:52:14 +00:00
wouter
156de1cf0b result_free to resolve_free (thanks Benno).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@924 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-06 13:10:40 +00:00
wouter
ba980a8c39 more locks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@906 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 13:42:55 +00:00
wouter
30a1738a27 more fixes, more tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@903 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 15:45:54 +00:00
wouter
013db26923 bg resolution works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@890 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-23 15:15:37 +00:00
wouter
58cd8d7d95 bg query and result code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@886 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 14:17:44 +00:00
wouter
f72c1f3684 unbound.c pipe code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@883 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 11:10:49 +00:00
wouter
b44e79db5d serialize, deserialize, raw commpoints.
case preserve note.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@881 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-21 16:03:59 +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
3ec1a37562 locking diff.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@807 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-05 06:41:39 +00:00
wouter
664ca1bf39 libunbound work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@802 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 16:14:09 +00:00