Commit Graph

281 Commits

Author SHA1 Message Date
wouter
4f7379b3e9 - review fix from Ralph.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3262 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-11-11 14:27:35 +00:00
wouter
6128ac971e - Disabled use of SSLv3 in remote-control and ssl-upstream.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3248 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-10-27 09:26:48 +00:00
wouter
6f6571c83f - Fix unbound-checkconf check for module config with dns64 module.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3238 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-10-10 07:07:58 +00:00
wouter
bc788b25d7 - Fix #603: unbound-checkconf -o <option> should skip verification
checks.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3207 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-08-18 07:21:01 +00:00
wouter
bd07151d8f Fix dependency on -lrt and please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3168 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 12:27:20 +00:00
wouter
4b26592e42 - arc4random in compat/ and getentropy, explicit_bzero, chacha for
dependencies, from OpenBSD.  arc4_lock and sha512 in compat.
  This makes arc4random available on all platforms, except when
  compiled with LIBNSS (it uses libNSS crypto random).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3158 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:27:24 +00:00
wouter
c9c7f29161 - Fix caps-for-id fallback, and added fallback attempt when servers
drop 0x20 perturbed queries.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3146 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 08:24:28 +00:00
wouter
49e9d17591 - Fixup out-of-directory compile with unbound-control-setup.sh.in.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3138 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-28 08:15:20 +00:00
wouter
7c2248dd8c - Code cleanup patch from Dag-Erling Smorgrav, with compiler issue
fixes from FreeBSD's copy of Unbound, he notes:
  Generate unbound-control-setup.sh at build time so it respects
  prefix and sysconfdir from the configure script.  Also fix the
  umask to match the comment, and the comment to match the umask.
  Add const and static where needed.  Use unions instead of
  playing pointer poker.  Move declarations that are needed in
  multiple source files into a shared header.  Move sldns_bgetc()
  from parse.c to buffer.c where it belongs.  Introduce a new
  header file, worker.h, which declares the callbacks that
  all workers must define.  Remove those declarations from
  libworker.h.	Include the correct headers in the correct places.
  Fix a few dummy callbacks that don't match their prototype.
  Fix some casts.  Hide the sbrk madness behind #ifdef HAVE_SBRK.
  Remove a useless printf which breaks reproducible builds.
  Get rid of CONFIGURE_{TARGET,DATE,BUILD_WITH} now that they're
  no longer used.  Add unbound-control-setup.sh to the list of
  generated files.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3137 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-28 08:07:12 +00:00
wouter
1e0eb48c1f - unbound-host -D enabled dnssec and reads root trust anchor from
the default root key file that was compiled in.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3136 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-23 07:30:02 +00:00
wouter
0d5674b5a8 - Add unbound-control flush_negative that flushed nxdomains, nodata,
and errors from the cache.  For dnssec-trigger and NetworkManager,
  fixes cases where network changes have localdata that was already
  negatively cached from the previous network.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3125 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-29 08:47:33 +00:00
wouter
7de5b0ec61 - Fix #545: improved logging, the ip address of the error is printed
on the same log-line as the error.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3112 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-10 14:40:20 +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
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
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
a6234674fb - unbound-event.h is installed if configured --with-libevent. It
contains low-level library calls, that use libevent's event_base
  and an ldns_buffer for the wire return packet to perform async
  resolution in the client's eventloop.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2970 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-09-26 08:34:14 +00:00
wouter
167e55b965 - add unbound-control insecure_add and insecure_remove for the
administration of negative trust anchors.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2895 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-04-26 14:14:07 +00:00
wouter
eeb1781327 - unbound-anchor review: BIO_write can return 0 successfully if it
has successfully appended a zero length string.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2884 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-04-15 15:08:24 +00:00
wouter
2643272560 - includes and have_ssl fixes for nss.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2830 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-01-30 13:15:03 +00:00
wouter
334d6fe583 lint clean.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2826 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-01-28 13:32:14 +00:00
wouter
a80476d462 - unbound-anchors checks the emailAddress of the signer of the
root.xml file, default is dnssec@iana.org.  It also checks that
  the signer has the correct key usage for a digital signature.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2807 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-01-17 11:17:04 +00:00
wouter
f4f1a28239 fix treatment of certificates without subject.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2806 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-01-03 15:48:35 +00:00
wouter
614abedfbd - Check the commonName of the signer of the root.xml file in
unbound-anchor, default is dnssec@iana.org.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2804 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-01-03 14:38:38 +00:00
wouter
eaba5edb38 - Fix unbound-anchor xml parse of entity declarations for safety.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2797 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-12-20 08:22:39 +00:00
wouter
ba27940c44 - Fix bug #477: unbound-anchor segfaults if EDNS is blocked.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2778 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-10-30 15:13:53 +00:00
wouter
320df09e27 unbound-control -q option is quiet, patch from Mariano Absatz.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2766 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-09-27 09:32:35 +00:00
wouter
62e5b45ab5 fix so that make unbound-host works when compiled with libnss.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2726 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-07-27 13:17:14 +00:00
willem
d07b0c7c3b flush_bogus option for unbound-control
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2713 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-07-09 14:33:07 +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
225b292ce7 - Fix for accept spinning reported by OpenBSD.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2663 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-05-08 12:08:55 +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
450ec3cbe1 nicer error.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2630 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-16 09:58:49 +00:00
wouter
6ffbc94b48 - iter_hints is now thread-owned in module env, and thus threadsafe.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2629 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-16 09:55:50 +00:00
wouter
d5150eafeb - unbound-control forward_add, forward_remove, stub_add, stub_remove
can modify stubs and forwards for running unbound (on mobile computer)
  they can also add and remove domain-insecure for the zone.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2623 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-15 14:35:28 +00:00
wouter
f64162cd8e - Fix double free in unbound-host, reported by Steve Grubb.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2541 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-11-08 15:41:21 +00:00
wouter
fac34aa3d7 - fix various compiler warnings (reported by Paul Wouters).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2497 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-09-16 11:35:01 +00:00
wouter
b35812d486 Fix numthreads 0 handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2482 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-08-26 06:50:23 +00:00
wouter
8b34270a58 - fix comment about rndc port, that referred to the old port number.
- fix that the listening socket is not closed when too many remote
  control connections are made at the same time.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2446 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-06-30 12:13:55 +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
8b86a03bcd - iana portlist updated.
- review changes for unbound-anchor.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2351 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-12-10 15:01:39 +00:00
wouter
8f65243365 unbound-anchor portable with openssl 0.9.7.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2340 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-09 16:05:02 +00:00
wouter
52ee49a548 Fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2316 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-27 12:23:23 +00:00
wouter
bc95d0399b Remove warnings on NetBSD.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2315 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-27 12:21:44 +00:00
wouter
786b9481fa dump_infra and flush_infra commands for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2306 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-26 09:08:33 +00:00
wouter
76fcf3bcfa unbound-anchor works on vista.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2292 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-14 14:55:38 +00:00
wouter
a2509f5be0 fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2289 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-14 09:12:26 +00:00
wouter
044430e761 remove compile warning on Ubuntu
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2288 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-14 08:13:33 +00:00
wouter
acaf52ab72 - unbound-anchor handles ADDPEND keystate.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2281 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-13 12:04:37 +00:00
wouter
919ca38f9f nicer usage for unbound-anchor
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2278 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-12 12:46:39 +00:00
wouter
f846bfd4b1 Fix out-of-order XML element parse, zone name check and newline filter for unbound-anchor XML parse.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2274 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-01 15:01:49 +00:00
wouter
bb10bf693a test update and nicer text output for unbound-anchor
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2273 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-01 13:55:16 +00:00
wouter
33d8166041 no override time, works on Minix and not needed for the tpkg.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2271 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-01 12:14:05 +00:00
wouter
606f9cfc43 list builtin.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2269 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-01 11:47:53 +00:00
wouter
594bd74284 Test for unbound-anchor.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2268 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-01 11:31:35 +00:00
wouter
2400e4fcab print cert error on failure
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2267 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-30 12:31:22 +00:00
wouter
ae8b441ec0 Fix for zeroes in data.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2266 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-29 16:11:14 +00:00
wouter
3ec30264f5 Parse error does not go to insecure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2264 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-29 08:24:30 +00:00
wouter
efc7fffbc2 better explanation tekst
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2263 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-29 07:47:42 +00:00
wouter
a6c8d88b41 unbound-anchor work, -P option and test tpkg.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2259 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-28 12:30:38 +00:00
wouter
40852dee67 unbound-anchor port to Solaris
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2258 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-28 12:29:47 +00:00
wouter
ee33c17851 configure options for unbound-anchor files
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2257 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-28 10:27:49 +00:00
wouter
46a0145270 Build documentation in the file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2256 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-28 09:46:08 +00:00
wouter
8f397cdcd5 nicer docs
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2255 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-28 09:39:36 +00:00
wouter
4078c27e1b unbound-anchor: no pem updates, do not download .pem file (no stable url),
and date nicer to maintain in code.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2254 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-28 09:22:22 +00:00
wouter
ed2387a181 fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2253 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-27 17:40:49 +00:00
wouter
a588b57f9a unbound-anchor checks dates
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2252 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-27 15:56:46 +00:00
wouter
8bb1905e0b unbound-anchor work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2251 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-27 14:54:22 +00:00
wouter
3866601a38 Documentation doxygen warnings removed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2250 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-27 11:54:11 +00:00
wouter
61973e036c Exit code can do manual check output.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2249 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-27 09:50:10 +00:00
wouter
ed4208db7f unbound-anchor work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2247 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-24 17:33:49 +00:00
wouter
8dcac9c8fb unbound-anchor work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2245 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-24 14:02:27 +00:00
wouter
6eec6537aa unbound-anchor work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2243 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-23 15:28:08 +00:00
wouter
2baea4bf44 unbound-anchor work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2242 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-23 13:51:29 +00:00
wouter
c53f58c436 more send_packet removal
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2224 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-08-20 13:56:44 +00:00
wouter
fb58f612d9 more send_packet defs removed
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2223 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-08-20 13:37:19 +00:00
wouter
2df0a9e6e9 unbound-control-setup more secure on multiuser system.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2124 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-05-31 14:11:51 +00:00
wouter
cc89cee01f GOST support.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2065 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-04-06 12:15:19 +00:00
wouter
963cb57146 - Fix EDNS probe for .de DNSSEC testbed failure, where the infra
cache timeout coincided with a server update, the current EDNS 
  backoff is less sensitive, and does not cache the backoff unless 
  the backoff actually works and the domain is not expecting DNSSEC.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2063 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-04-06 08:35:37 +00:00
wouter
87d9c4ec51 Fix bug#301.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2057 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-22 09:38:06 +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
73acdce879 Portability of alloc-lite
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2018 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 12:05:14 +00:00
wouter
6668daec7f alloc_lite works
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2015 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 11:01:33 +00:00
wouter
b56108adb3 list_local_zones and list_local_data.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1996 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-26 16:14:00 +00:00
wouter
9d9f0dcfd3 unbound-control list_stubs and list_forwards.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1995 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-26 15:40:46 +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
64bd035bae fix unbound-checkconf for auto-trust-anchor-file
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1955 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-12 15:49:30 +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
7775eb487d Documentation nicer.
Stronger crypto by default for unbound-control.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1950 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-06 14:48:44 +00:00
wouter
10f2d36105 better argument help for unbound-control
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1912 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-19 10:01:42 +00:00
wouter
f4f0de0795 please lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1904 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-13 15:03:01 +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
cd2cc9f23d Fixed argument optionality in help output.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1896 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-10 13:28:09 +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
029a91e7ae unbound-host -d and -C fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1856 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-02 07:51:36 +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
4db7b0022f Fix unbound-host compile with --enable-alloc-checks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1836 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-17 10:50:44 +00:00
wouter
e947c5b54f variable processing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1795 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-31 15:58:38 +00:00
wouter
d6a58dba46 autotrust probing and testbound with fake timer support.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1787 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-26 13:23:49 +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
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
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
d24b90660c Windows handle leakage fixes: closesocket or else the networkstack leaks handles (for ever, even after closing the application), and use own mutex implementation (whee!).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1622 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-29 15:23:08 +00:00
wouter
d9d9497e07 unit test for python module.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1581 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-02 14:44:57 +00:00
wouter
370233ed08 Python checks fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1568 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-30 12:32:54 +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
4f8f64499f update anchors on win.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1524 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-12 16:31:57 +00:00
wouter
77d35f1b23 log and tests fixups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1521 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-12 09:36:28 +00:00
wouter
d0c66259bf windows registry settings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1509 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-03 15:55:02 +00:00
wouter
f96620901c document unbound-host config file behaviour.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1483 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-13 15:31:03 +00:00
wouter
827f9bfef1 forward command for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1482 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-13 15:26:37 +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
ba6e303e45 stats_noreset feature for unbound-control
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1478 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 11:41:51 +00:00
wouter
ce503cc9e8 flush_stats feature for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1477 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 10:37:00 +00:00
wouter
d4801f9030 dump_requestlist feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1473 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-10 15:11:54 +00:00
wouter
a9902c452b bugzilla 231: print option from config file. Useful for scripting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1469 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-06 15:15:15 +00:00
wouter
66becd36c8 - unbound-host -4 and -6 options. Stops annoying ipv6 errors when
debugging with unbound -4 -d ... 
        - more cycle detection for NS-check, addr-check, root-prime and
          stub-prime queries in the iterator.  Avoids possible deadlock
          when priming fails.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1444 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-16 10:38:19 +00:00
wouter
e874093c85 typo fix and iana portlist updated
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1414 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-07 14:05:09 +00:00
wouter
ccea9bc14f Wildcard support (from patch by Paul Wouters).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1413 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-07 12:24:34 +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
2da85eb762 unbound-control status command.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1395 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-17 14:03:49 +00:00
wouter
46e1a348e8 fix bug 221.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1384 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-09 09:28:39 +00:00
wouter
7a4d4eec4d Updated documentation for key user privileges.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1372 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-24 10:55:14 +00:00
wouter
fc4fafff68 remove permissions from others.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1371 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-21 18:41:10 +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
de176c3e56 fixup unbound control compilation on windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1314 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-20 15:41:12 +00:00
wouter
5ab29cef3b remote control tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1270 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-26 13:02:34 +00:00
wouter
3a10f7e4ab flush data from cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1268 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 14:07:02 +00:00
wouter
c8f39cf0a7 lookup delegation from cache and printout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1266 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 10:55:36 +00:00
wouter
3de2c0e61b load from cache works
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1265 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 09:23:38 +00:00
wouter
d1ccb2e4c4 dump and load cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1263 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-22 15:20:18 +00:00
wouter
af05e11f7c add remove local data and local zone with remote control
(ldns-testpkts sync with ldns trunk).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1261 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-19 14:49:29 +00:00
wouter
2c4feef3ba verbosity and stats control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1237 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-15 14:19:41 +00:00
wouter
898deabe11 Test, exit value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1236 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-15 10:36:13 +00:00
wouter
08f31399a3 start, stop, reload commands.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1235 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-15 08:35:45 +00:00
wouter
fb5e76e515 remote setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1234 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-12 13:01:20 +00:00
wouter
519d395018 proto spec.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1233 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-12 12:09:00 +00:00
wouter
30af8be06a control channel security.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1229 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-11 14:14:12 +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
c25824b8e4 certificate creation script.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1226 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-09 14:15:55 +00:00
wouter
289d02effe refactored code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1225 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-04 14:29:05 +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
e3726cb80b proper handling of empty files and neater code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1189 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-13 15:18:39 +00:00
wouter
ccf1d99a58 dlv anchor file and chroot.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1188 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-13 14:46:33 +00:00