Commit Graph

46 Commits

Author SHA1 Message Date
wouter
96756438cf - auth zone notify work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4619 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-10 14:57:38 +00:00
wouter
053cd7da44 - Fix #1316: heap read buffer overflow in parse_edns_options.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4240 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-06-21 11:50:39 +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
f3d914e425 - generic edns option parse and store code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3740 be551aaa-1e26-0410-a405-d3ace91eadb9
2016-05-31 15:08:05 +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
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
884b06df55 Fix linking of sldns and ldns, unique identifiers for global variables.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3021 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-30 11:03:55 +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
724697a418 - fix missing break for GOST DS hash function.
- make depend


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2721 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-07-23 12:27:04 +00:00
wouter
ec417b19da code review.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2688 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-06-18 14:22:29 +00:00
wouter
a4c3aed0f8 - Fix parse error on negative SOA RRSIGs if badly ordered in the packet.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2573 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-12-15 13:37:13 +00:00
wouter
a1f677fcac - Makefile changed for BSD make compatibility.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2544 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-11-10 18:44:06 +00:00
wouter
f7ad48b8ca - Fix TTL of SOA so negative TTL is separately cached from normal TTL.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2416 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-05-10 12:34:47 +00:00
wouter
7df2b532a4 - Be lenient and accept imgw.pl malformed packet (like BIND).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2339 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-08 18:32:55 +00:00
wouter
ddcfac7008 - Fix assertion failure reported by Kai Storbeck from XS4ALL, the
assertion was wrong.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2154 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-16 15:05:11 +00:00
matje
a2f7b614c5 for better readability (svn:NO TEST)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2135 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-03 09:19:45 +00:00
wouter
a74435bf95 - Fix validation failure for qtype ANY caused by a RRSIG parse failure.
The validator error message was 'no signatures from ...'.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2087 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-04-22 15:01:02 +00:00
wouter
5fb04b1a9c Move includes to code files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2035 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-12 15:17:48 +00:00
wouter
66098406dd - unbound-host does not fail on type ANY.
- Fixed wireparse failure to put RRSIGs together with data in some
	  long ANY mix cases, which fixes validation failures.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1903 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-13 14:51:36 +00:00
wouter
bcaa5a3d51 Fixup parse problem reported by Hauke Lampe.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1669 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-18 09:31:58 +00:00
wouter
3be517fbe4 Test DLV anchor.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1202 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-21 14:58:39 +00:00
wouter
bbc4020967 faster message parse.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@985 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-22 12:54:14 +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
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
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
8b95e7f068 assertions, zero termination for gethostname, log_hex without malloc.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@679 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-16 12:26:09 +00:00
wouter
5cbdac787a Fixup parser, new test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@517 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 15:33:07 +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
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
f1dfcd6207 scrubbing routines.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@354 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 09:42:31 +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
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
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
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
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
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
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
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