Commit Graph

262 Commits

Author SHA1 Message Date
wouter
d1cb31280e - delay-close: msec option that delays closing ports for which
the UDP reply has timed out.  Keeps the port open, only accepts
  the correct reply.  This correct reply is not used, but the port
  is open so that no port-denied ICMPs are generated.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3058 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-28 14:35:55 +00:00
wouter
03da1e8f35 - made lint clean.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3050 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-24 13:23:45 +00:00
wouter
36afba318e - so-reuseport: yesno option to distribute queries evenly over
threads on Linux (Thanks Robert Edmonds).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3049 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-24 11:43:38 +00:00
wouter
7fbc43a145 include time.h
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3025 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 13:57:49 +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
2002f2427b more time_t.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2951 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-09-10 08:46:33 +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
d0b6865a8a - max include of 100.000 files (depth and globbed at one time).
This is to preserve system memory in bug cases, or endless cases.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2928 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-07-26 13:11:53 +00:00
wouter
05d71585ef - get_option and set_option support for log-time-ascii, python-script
val-sig-skew-min and val-sig-skew-max.  log-time-ascii takes effect
  immediately.  The others are mostly useful for libunbound users.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2911 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-06-14 08:03:52 +00:00
wouter
9db6acb660 - get_option, set_option, unbound-checkconf -o and libunbound
getoption and setoption support cache-min-ttl and cache-max-ttl.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2910 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-06-13 08:26:41 +00:00
wouter
8fd5258522 please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2902 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-05-16 08:25:50 +00:00
wouter
d63f8ef809 - Implement max-udp-size config option, default 4096 (thanks
Daisuke Higashi).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2893 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-04-25 11:55:46 +00:00
wouter
d3b8ff05ce - Fix snprintf return value usage, fixed libunbound_get_option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2888 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-04-19 11:34:36 +00:00
matje
f9aea48aa7 review, found nothing, except for layout and typo
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2785 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-12-03 14:28:06 +00:00
wouter
5f7b92dd7a - include: directive in config file accepts wildcards. Patch from
Paul Wouters.  Suggested use: include: "/etc/unbound.d/conf.d/*"


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2765 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-09-27 08:52:37 +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
ae03c65057 - Applied patch from Daisuke HIGASHI for rrset-roundrobin and
minimal-responses features.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2658 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-04-10 09:16:39 +00:00
wouter
276300a61a - forward-first option. Tries without forward if a query fails.
Also stub-first option that is similar.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2637 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-03-01 13:16:40 +00:00
wouter
33aee2e6cb - Fix bug#434: on windows check registry for config file location
for unbound-control.exe, and unbound-checkconf.exe.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2635 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-27 13:20:29 +00:00
wouter
bcad98b9a8 use the ++.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2597 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-01-26 10:46:14 +00:00
wouter
599ef77ce5 - applied patch to support outgoing-interface with ub_ctx_set_option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2596 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-01-26 10:37:10 +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
1b8de9916c ssl_port setting, so that the dnssec-trigger server can be on one host machine.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2539 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-11-08 10:56:42 +00:00
wouter
1f9e9b78fe - dns over ssl support, ssl-service-pem and ssl-service-key files
can be given and then TCP queries are serviced wrapped in SSL.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2530 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-31 14:48:48 +00:00
wouter
3a4da9849c - lame-ttl and lame-size options no longer exist, it is integrated
with the host info.  They are ignored (with verbose warning) if
  encountered to keep the config file backwards compatible.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2527 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-27 08:33:02 +00:00
wouter
a28362a7fc tcp upstream option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2480 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-08-22 13:58:40 +00:00
wouter
307c9d186f - log-queries: yesno option, default is no, prints querylog.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2429 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-06-16 13:15:57 +00:00
wouter
fc57d8487c - unbound-control has version number in the header,
UBCT[version]_space_ is the header sent by the client now.
- Unbound control port number is registered with IANA:
  ub-dns-control  8953/tcp    unbound dns nameserver control
  This is the new default for the control-port config setting.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2424 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-06-10 10:11:38 +00:00
wouter
923921f02d - feature, ignore-cd-flag: yesno to provide dnssec to legacy servers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2414 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-05-10 11:20:14 +00:00
wouter
cd4124e91e - add get and set option for harden-below-nxdomain feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2377 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-01-17 12:31:28 +00:00
wouter
b5252fabaa harden-below-nxdomain option taken from draft-vixie-dnsext-resimprove.
Default off (for now), as some older software that gives nxdomain for ENT
would be incompatible.  But that would only happen in the reverse tree, and
such software (nonDNSSEC) may go out of style, so in the future a default yes
could be possible.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2347 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-18 08:49:15 +00:00
wouter
3709f579a0 - so-sndbuf option for very busy servers, a bit like so-rcvbuf.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2344 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-15 14:30:34 +00:00
wouter
98fd439163 Fix name of rrset printed that fails validation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2209 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-08-09 11:58:57 +00:00
wouter
763051d2ab - Changed the defaults for num-queries-per-thread/outgoing-range.
For builtin-select: 512/960, for libevent 1024/4096 and for
         windows 24/48 (because of win api).  This makes the ratio this way
         to improve resilience under heavy load.  For high performance, use
         libevent and possibly higher numbers.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2191 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-12 13:59:39 +00:00
wouter
34fef67b47 - Neat function prototypes, unshadowed local declarations.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2188 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-07 13:13:36 +00:00
wouter
d1058d1f51 unbound-control get_option domain-insecure works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2098 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-04-27 09:16:23 +00:00
wouter
2659b16a2c Fixup unbound-host.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2056 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-22 09:23:30 +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
c2e989366a Lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1992 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-23 16:23:12 +00:00
wouter
a6fdd9e63e neater code
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1991 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-23 16:11:00 +00:00
wouter
fdd0dd17cd get and set option more accessible.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1990 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-23 13:53:10 +00:00
wouter
be64e9cc7e reopen and move of get_option to util.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1989 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-18 16:40:22 +00:00
wouter
caa4f084e3 prefetch-key feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1956 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-13 13:33:18 +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
f40ce78c55 review comments. updated ldns tarball with 1.6.2.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1898 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-11 16:18:38 +00:00
wouter
71124621dc edns-buffer-size option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1881 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-29 10:37: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
e64f6a9b3a so-rcvbuf option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1851 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-25 08:54:50 +00:00
wouter
188a59db98 source IP from python and doxygen fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1813 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-03 14:51:38 +00:00
wouter
310d358c89 clean up on exit because otherwise re-lex may not be possible
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1786 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-25 15:37:02 +00:00
wouter
bcd59ec0d6 yylex_destroy configure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1779 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-25 12:10:24 +00:00
wouter
0f8ead12a8 autotrust options
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1776 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-25 08:46:33 +00:00
wouter
5f2aa95969 less memory leaks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1773 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-24 15:56:45 +00:00
wouter
92a8802da0 autotrust state table updates.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1767 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-19 15:30:20 +00:00
wouter
d3a9449a97 autotrust work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1758 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-12 15:26:47 +00:00
wouter
4c611f0e08 Log option for bogus only.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1734 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-20 14:22:29 +00:00
wouter
737cff392a setup.exe can be created from crosscompile.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1723 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-15 11:50:13 +00:00
wouter
3a2ab59062 strict aliasing warning in config_file code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1676 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-19 07:45:45 +00:00
wouter
47b7e346ef more capacity for winsock handler.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1604 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-17 08:35:15 +00:00
wouter
e2df850810 min-ttl option and tests for min-ttl and max-ttl.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1598 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-14 10:10:11 +00:00
wouter
12e1046582 signature clock skew code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1590 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-06 14:09:33 +00:00
wouter
3f805f0c3d python work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1561 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-26 15:47:45 +00:00
wouter
a93beb8c1c python contribution from Zdenek Vasicek and Marek Vavrusa (BSD licensed).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1556 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-25 14:47:47 +00:00
wouter
2e66e891ae inverse trust anchor.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1533 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-18 14:02:46 +00:00
wouter
d22a320815 Windows work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1516 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-10 16:14:09 +00:00
wouter
7690c0f86a log-time-ascii option
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1465 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-06 12:51:45 +00:00
wouter
7bd73ba9ca chrooted include file fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1411 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-06 15:47:15 +00:00
wouter
c939f29999 Fixup warning on FreeBSD (hopefully).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1337 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-07 09:35:25 +00:00
wouter
d0b7ea1e50 write-strings warnings fixed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1330 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-04 14:53:50 +00:00
wouter
04ffe11ee9 unwanted reply threshold like in the draft.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1321 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-22 14:36:46 +00:00
wouter
23e0718a4b Ask more nameservers if choice is limited.
Lowered bogus-ttl to help validation-failure recovery times.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1313 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-20 14:24:35 +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
f79258bcad local data PTR shorthand.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1277 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-30 15:04:32 +00:00
wouter
d2a3e5aaf6 extended stats option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1238 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-16 09:08:45 +00:00
wouter
d0a4ad4331 remote control setup, port binding and service.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1227 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-10 15:23:01 +00:00
wouter
2e6ceb9d98 private address and private domain config option read and store.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1223 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-03 14:40:09 +00:00
wouter
94962bb18f new NS queries is not an option (off by default).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1219 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-29 14:46:08 +00:00
wouter
90163454a7 dlv negative cache size option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1213 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-27 13:02:22 +00:00
wouter
c3fdf2a59c bug #199.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1212 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-27 11:29:46 +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
45fbd03377 - ldns snapshot r2699 taken (includes DLV type).
- DLV work, config file element, trust anchor read in.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1187 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-13 14:30:35 +00:00
wouter
8901443c64 fix bug #195.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1155 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-17 09:00:38 +00:00
wouter
a305543834 mingw port continues.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1139 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-25 14:36:10 +00:00
wouter
0e29d42fa7 winsock_event handler, working resolution and validation on windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1124 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-17 14:57:18 +00:00
wouter
ec5253b25a - mingw32 porting.
- test for sys/wait.h
          - WSAEWOULDBLOCK test after nonblocking TCP connect.
          - write_iov_buffer removed: unused and no struct iov on windows.
          - signed/unsigned warning fixup mini_event.
          - use ioctlsocket to set nonblocking I/O if fnctl is unavailable.
          - skip signals that are not defined
          - detect pwd.h.
          - detect getpwnam, getrlimit, setsid, sbrk, chroot.
          - default config has no chroot if chroot() unavailable.
          - if no kill() then no pidfile is read or written.
          - gmtime_r is replaced by nonthreadsafe alternative if unavail.
            used in rrsig time validation errors.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1097 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-23 14:13:07 +00:00
wouter
efd453c4cc - removed base_port.
- created 256-port ephemeral space for the OS, 59802 available.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1030 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-11 14:10:16 +00:00
wouter
efa3e15e34 - random port selection out of the configged ports.
- fixup threadsafety for libevent-1.4.3+ (event_base_get_method).



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1029 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-11 13:24:49 +00:00
wouter
f2832bdc54 iana ports automated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1028 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-10 10:52:22 +00:00
wouter
b0e4db5b70 config available ports, iana assigned ports list.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1025 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-09 15:07:37 +00:00
wouter
e9a7e055f1 statistics cumulative option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1024 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-09 12:29:53 +00:00
wouter
3494e93d6b - unbound tries to set the ulimit fds when started as server.
if that does not work, it will scale back its requirements.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1022 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-08 15:02:52 +00:00
wouter
a792f387a1 can use DNS-0x20 draft casing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@994 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-27 09:21:31 +00:00
wouter
db1f954cd7 donotq localhost default back on yes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@965 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-19 09:12:35 +00:00
wouter
f462d07d84 fixup --prefix also changes config file default paths.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@958 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-15 14:13:09 +00:00
wouter
b3cb028f39 start without a config file (all default settings).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@953 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-14 10:37:32 +00:00
wouter
adbc3b5218 please doc, lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@946 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 15:34:11 +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
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
0e6c6e9734 chroot checks for roothints and anchor files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@910 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-30 11:21:20 +00:00
wouter
abb6d856c2 test for async.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@896 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 09:53:04 +00:00
wouter
f9338af567 forwarder mode options for library.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@895 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-24 14:58:51 +00:00
wouter
bdb854787d interface-automatic (IP6mapped, good for anycast service and so on).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@847 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 09:45:30 +00:00
wouter
d356e3fdaa Nicer sizes possible in config file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@843 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-11 13:20:22 +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
57e17d8702 rfc2308 compliance.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@777 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-27 13:25:11 +00:00
wouter
4706faa6c4 localzone and localdata configuration setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@771 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-20 14:48:33 +00:00
wouter
b070c0b1f5 acl list setup. 8 to tab in net_help.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@753 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-16 16:25:37 +00:00
wouter
ae9a865863 Harden dnssec stripped zones.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@730 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-01 15:32:27 +00:00
wouter
84def9a1e4 - fix horrible oversight in sorting rrset references in a message,
sort per reference key pointer, not on referencepointer itself.
        - pidfile: "/etc/unbound/unbound.pid" is now the default.
        - tests changed to reflect the updated default.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@724 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-31 14:46:05 +00:00
wouter
1c77a4eb14 better chroot support, and also default chroot and userchange.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@723 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-31 10:56:31 +00:00
wouter
9e3c2e34e2 max ttl option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@721 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-31 07:46:30 +00:00
wouter
8f403c2842 Fixup tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@711 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-22 06:25:46 +00:00
wouter
c664bfe402 Donotquery for netblocks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@709 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-19 18:09:11 +00:00
wouter
3ebb26d96d root-hints can be read from file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@708 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-19 14:02:53 +00:00
wouter
b66b29f6da outgoing interfaces setting possible.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@704 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-19 08:32:36 +00:00
wouter
ae66969d39 - lex fix
- unsecure validation neater
- const cast warning removal


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@702 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-19 08:03:08 +00:00
wouter
af31c338c6 fixup tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@646 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-26 11:29:37 +00:00
wouter
ace71868bc syslog feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@644 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-26 10:19:28 +00:00
wouter
75868e64e0 remove subscript char warnings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@630 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-21 14:15:05 +00:00
wouter
7ce3b06765 nsec3 work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@609 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-12 14:16:46 +00:00
wouter
caca9c3b43 lame cache in bytes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@579 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 10:19:10 +00:00
wouter
f4899c8521 can read bind-style config files for trust anchor information.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@569 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-31 07:44:16 +00:00
wouter
f8f907875d bind config trusted keys read work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@568 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-30 15:36:23 +00:00
wouter
e97cae4641 Memory cleanup.
- caught bad free of un-alloced data in worker_send error case.
       - memory accounting for key cache (trust anchors and temporary cache).
       - memory accounting fixup for outside network tcp pending waits.
       - memory accounting fixup for outside network tcp callbacks.
       - memory accounting for iterator fixed storage.
       - key cache size and slabs config options.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@566 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-30 12:45:19 +00:00
wouter
21f9812b1a support extremely small memory footprints.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@565 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-30 08:36:41 +00:00
wouter
47a1d9abba validate by default.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@563 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-29 13:27:21 +00:00
wouter
d053842ac7 permissive mode feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@556 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-28 11:53:27 +00:00
wouter
1b301ed090 larger default infra cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@547 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-24 14:58:36 +00:00
wouter
3e00f0a5e9 refuse unsigned authority section. clean additional section as option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@543 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-24 09:44:29 +00:00
wouter
ccf456e1db bogus ttl fixed value, config item.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@540 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-22 12:13:52 +00:00
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
2590097954 debug override date config option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@505 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-09 15:16:25 +00:00
wouter
24c0426379 rrsig checks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@502 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-09 09:58:04 +00:00
wouter
3ebe325be0 trust anchor storage and config.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@486 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-03 11:51:20 +00:00
wouter
7d81863897 validator, trust anchors.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@482 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 15:45:32 +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
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
2acc4cc764 version.server and consorts support.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@438 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-19 13:50:00 +00:00
wouter
00c08bc573 Do not query addresses and configuration.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@434 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-18 08:14:44 +00:00
wouter
418bac1638 Remove old forwarder mode, new @port option and tests ported over.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@432 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-17 15:26:45 +00:00
wouter
7729681ca8 forward zones.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@429 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-17 13:45:45 +00:00
wouter
a971f1d029 options to harden against very small EDNS bufsize or very large query packets.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@400 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 14:46:14 +00:00
wouter
bb8770b8eb target fetch policy setting from config structure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@394 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-18 15:24:14 +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
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
6969cb7d56 preparatory work for iterator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@336 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-24 13:24:44 +00:00
wouter
9d693f04bf infra cache config.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@322 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 15:11:12 +00:00
wouter
9799917b79 TCP outgoing services.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@294 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-08 13:25:21 +00:00