wouter
b1061c10c8
- local-zone: example.com inform makes unbound log a message with
...
client IP for queries in that zone. Eg. for finding infected hosts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3292 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-12-09 11:29:17 +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
a1cf7d3817
- Patch from James Raftery, always print stats for rcodes 0..5.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3267 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-11-12 17:25:59 +00:00
wouter
f203aa89f4
- Removed 'increased limit open files' log message that is written
...
to console. It is only written on verbosity 4 and higher.
This keeps system bootup console cleaner.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3266 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-11-12 11:04:43 +00:00
wouter
9f6a5bcfc8
- iana portlist update.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3249 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-10-27 09:54:44 +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
275b0360d4
More casts.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3244 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-10-13 09:23:12 +00:00
wouter
24f41cde84
Fixup for dnstap.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3209 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-08-18 14:42:26 +00:00
wouter
d74c01b712
- dnstap support, with a patch from Farsight Security, written by
...
Robert Edmonds. The --enable-dnstap needs libfstrm and protobuf-c.
It is BSD licensed (see dnstap/dnstap.c).
Building with --enable-dnstap needs pkg-config with this patch.
- Noted dnstap in doc/README and doc/CREDITS.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3206 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-08-05 07:57:52 +00:00
wouter
244de881ef
- Patch add msg, rrset, infra and key cache sizes to stats command
...
from Maciej Soltysiak.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3203 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-08-01 13:24:46 +00:00
wouter
c4ef386ed9
- Patch from Dag-Erling Smorgrav that implements feature, unbound -dd
...
does not fork in the background and also logs to stderr.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3197 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-29 11:48:43 +00:00
wouter
f50092d51e
- And Fix#596: Bail out of unbound-control dump_infra when ssl
...
write fails.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3195 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-16 10:07:26 +00:00
wouter
c788e53800
- Fix #596 : Bail out of unbound-control list_local_zones when ssl
...
write fails.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3193 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-15 14:42:57 +00:00
wouter
556c8f7752
- Fix bug in fix for log locks that caused deadlock in signal handler.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3182 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 17:34:37 +00:00
wouter
b3c4bac3da
- so-reuseport is available on BSDs(such as FreeBSD 10) and OS/X.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3153 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-27 14:11:57 +00:00
wouter
14e8b85111
- unbound-control status reports if so-reuseport was successful.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3150 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-26 08:48:51 +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
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
6d8894f568
- More #567 : remove : from output of stub and forward lists, this is
...
easier to parse.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3126 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-05 14:47:08 +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
79c2ed9944
Fix for event2 compile on FreeBSD.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3118 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-15 11:25:08 +00:00
wouter
3ad592e37d
- Fix #554 : use unsigned long to print 64bit statistics counters on
...
64bit systems.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3110 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-10 11:20:41 +00:00
wouter
d292682b32
- Fix #567 : unbound lists if forward zone is secure or insecure with
...
+i annotation in output of list_forwards, also for list_stubs
(for NetworkManager integration.)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3109 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-10 10:54:21 +00:00
wouter
7a5bad49e3
- unbound-control stats prints num.query.tcpout with number of TCP
...
outgoing queries made in the previous statistics interval.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3108 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-10 09:13:58 +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
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
dd0aff21e9
please lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3055 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-27 10:41:16 +00:00
wouter
1315093384
- reuseport is attempted, then fallback to without on failure.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3054 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-27 10:27:19 +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
2920d0fa82
- speed up unbound (reports say it could be up to 10%), by reducing
...
lock contention on localzones.lock. It is changed to an rwlock.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3048 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-24 11:21:15 +00:00
wouter
511cfd92df
- Windows port, adjust %lld to %I64d, and warning in win_event.c.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3040 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-16 16:01:37 +00:00
wouter
ba8b12b779
- fix #544 : Fixed +i causes segfault when running with module conf "iterator".
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3038 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-16 13:04:34 +00:00
wouter
8af85a6350
Fix bug in cachedump format after sldns changes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3033 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-05 15:57:16 +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
2e1c6e061f
- Fix bug#536: acl_deny_non_local and refuse_non_local added.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3015 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-12 10:08:54 +00:00
wouter
6962082dc4
portability with new ldns core (time includes).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3009 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-02 04:38:57 +00:00
wouter
409c3e44db
more time includes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3007 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 16:26:45 +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
8010bb2aa4
- Fix#524: max-udp-size not effective to non-EDNS0 queries, from
...
Daisuke HIGASHI.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2955 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-09-16 09:07:08 +00:00
wouter
658bd3bcf8
- review fixes from Willem.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2945 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-08-22 14:10:29 +00:00
wouter
bb48070dce
y2038 for remote tv_sec printout.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2943 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-08-22 07:09:57 +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
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
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
75c85eaa74
- fix bug #491 : pick program name (0th argument) as syslog identity.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2885 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-04-18 12:14:40 +00:00
wouter
537b023feb
- Fixup openssl_thread init code to only run if compiled with SSL.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2843 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-02-11 16:03:51 +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
c3c53b07e3
- chdir to / after chroot call (suggested by Camiel Dobbelaar).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2764 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-09-21 07:13:51 +00:00
wouter
ac3c2e2310
remove warnings on Solaris.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2735 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-08-01 13:18:19 +00:00
wouter
efebff52f7
- Fix openssl race condition, initializes openssl locks, reported
...
by Einar Lonn and Patrik Wallstrom.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2733 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-08-01 11:31:29 +00:00
wouter
a77e89f1d0
- Fix that enables modules to register twice for the same
...
serviced_query, without race conditions or administration issues.
This should not happen with the current codebase, but it is robust.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2730 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-07-31 11:33:06 +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
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
eba23b8235
- compile libunbound with libnss on Suse, passes regression tests.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2710 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-07-04 12:33:32 +00:00
wouter
85fd9a841a
testbound compiles --with-nss.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2692 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-06-20 15:23:03 +00:00
wouter
5373e6bec7
- work on --with-nss build option (for now, --with-libunbound-only).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2690 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-06-20 15:11:53 +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
ff8a942e5e
Fix mem compile.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2671 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-05-16 10:57:35 +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
f07e255e75
- fix bug #444 : setusercontext was called too late (thanks Bjorn
...
Ketelaars).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2657 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-04-05 09:30:04 +00:00
wouter
1ce78a5245
flush_infra remove timeout counters too.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2640 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-03-02 11:57:53 +00:00
wouter
0c1759fb44
- flush_infra cleans timeouted servers from the cache too.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2639 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-03-02 09:05:36 +00:00
wouter
5a7af9871a
Fix prefetch and stickyness.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2632 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-16 11:04:53 +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
793c77302a
remove superfluous white space.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2628 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-15 15:50:03 +00:00
wouter
1fb9540f9b
no double free.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2627 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-15 15:33:24 +00:00
wouter
a40174dcd0
include for compile with alloc_stats
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2626 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-15 15:16:39 +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
7fe22008d7
- Fix forward-zone memory, uses malloc and frees original root dp.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2621 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-15 08:50:17 +00:00
wouter
7d756333e8
- iter forwards uses malloc inside for more dynamicity.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2620 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-14 15:41:09 +00:00
wouter
257ec6f755
debug infra lines for infa timeout counters.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2616 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-10 14:48:09 +00:00
wouter
63cfba3607
- uninitialised variable in reprobe for rtt blocked domains fixed.
...
- lintfix and new flex output.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2583 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-01-10 15:07:16 +00:00
wouter
25fbc19b64
- Fix bug #425 : unbound reports wrong TTL in reply, it reports a TTL
...
that would be permissible by the RFCs but it is not the TTL in the
cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2581 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-01-10 09:42:32 +00:00
wouter
3911955af7
- Fix to randomize hash function, based on 28c3 congress, reported
...
by Peter van Dijk.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2580 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-01-02 13:16:18 +00:00
wouter
6375c13714
- remove uninit warning from cachedump code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2572 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-12-15 10:55:59 +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
2fb3a6c04f
fix tests, the ssl upstream setting is per-query (inside outside_network.c).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2535 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-11-01 10:18:56 +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
8762da8720
infra cache consolidated and stores per zone, IP.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2525 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-26 15:46:23 +00:00
wouter
f7015af988
- fix --enable-allsymbols, fptr wlist is disabled on windows
...
with this option enabled because of memory layout exe vs dll.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2521 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-21 12:33:46 +00:00
wouter
790c07b6d3
fix EXPORT_ALL_SYMBOLS.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2509 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-13 14:09:50 +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
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
9ed763a49e
- fix memory and fd leak after out-of-memory condition.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2473 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-08-10 14:03:06 +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
4386a794eb
fix bug#395: id bits of other query may leak out under conditions
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2444 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-06-30 09:42:20 +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
d86e061287
- statistics-interval prints the number of jostled queries to log.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2425 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-06-10 10:41:40 +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
8fd660253f
1.4.10 tag created.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2419 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-05-25 06:09:01 +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
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
f3bcbeb81d
- bug #361 : Fix, time.elapsed variable not reset with stats_noreset.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2396 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-02-24 12:16:12 +00:00
wouter
90f57c0391
Fix compile failure using sun studio compiler, cast to correct type.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2365 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-01-07 16:20:15 +00:00
wouter
1556508d0b
nicer failure
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2332 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-04 12:35:39 +00:00
wouter
b61aa0a7fe
better fix
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2331 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-04 12:26:25 +00:00
wouter
ae017e9bd0
use central entropy to seed threads.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2330 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-04 11:38:23 +00:00
wouter
210d64fcb0
- Configure detects libev-4.00.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2322 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-29 15:03:20 +00:00
wouter
eabdaa2eb4
- Fix uninit value in dump_infra print.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2320 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-29 10:20:40 +00:00
wouter
39e2528d5b
Fix compile in alloccheck case.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2317 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-27 13:59:17 +00:00
wouter
d71a3cf1ca
nicer output from debug commands
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2314 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-27 08:09:22 +00:00
wouter
682e6f70c0
- Change of timeout code. No more lost and backoff in blockage.
...
At 12sec timeout (and at least 2x lost before) one probe per IP
is allowed only. At 120sec, the IP is blocked. After 15min, a
120sec entry has a single retry packet.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2311 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-26 15:02:08 +00:00
wouter
dcd8a97b63
neater API for unbound-control lookup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2310 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-26 13:43:28 +00:00
wouter
ef38180e0e
remove lost and backoff values.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2309 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-26 13:30:37 +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
c126a3de01
- Fix bug where fallback_tcp causes wrong roundtrip and edns
...
observation to be noted in cache. Fix bug where EDNSprobe halted
exponential backoff if EDNS status unknown.
- new unresponsive host method, exponentially increasing block backoff.
- iana portlist updated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2303 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-21 15:11:39 +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
911eba0f73
- openbsd-lint fixes: acl_list_get_mem used if debug-alloc enabled.
...
iterator get_mem includes priv_get_mem. delegpt nodup removed.
listen_pushback, query_info_allocqname, write_socket, send_packet,
comm_point_set_cb_arg and listen_resume removed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2222 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-08-20 13:30:41 +00:00
wouter
6f7205f522
add and fix doxygen comments for doxygen-1.7.1. (which reports lots of
...
spurious items as well, by the way).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2211 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-08-13 08:41:49 +00:00
wouter
9cb5d00f5f
More pleasant remote control command name parsing.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2210 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-08-13 08:14:14 +00:00
wouter
ac39fd59a8
more error details on failed remote control connection.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2201 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-22 11:50:28 +00:00
wouter
07d7f2243e
fix rlimit adjustments.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2199 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-15 13:08:45 +00:00
wouter
388c46ddb0
Not enough file descriptors is not fatal, it gets adjusted and warned.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2192 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-13 07:29:01 +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
c89c623b52
Failure to chown pidfile is not fatal any more.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2182 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-06 09:10:12 +00:00
wouter
4a64e4916f
* Check for setrlimit separate from getrlimit.
...
* include sys/time.h for struct timeval definition
* cast for printf, on Minix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2177 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-05 14:20:24 +00:00
wouter
c4b4b1ab3b
- added feature to print configure date, target and options with -h.
...
- added feature to print event backend system details with -h.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2175 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-05 13:10:49 +00:00
wouter
6bcdb68292
- Fix the max number of reply-address count
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2171 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-28 12:50:04 +00:00
wouter
f1d40b0392
Fix for clean SSL exit.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2164 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-23 07:46:46 +00:00
wouter
5551c39f5c
#if is the right thing
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2163 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-23 07:15:43 +00:00
wouter
1304bf3a04
better ifdef
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2162 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-22 14:32:08 +00:00
wouter
48fffdadf5
Fix to unload gost dynamic library module for leak test.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2161 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-22 12:27:19 +00:00
wouter
42b6a2190c
review fixes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2138 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-03 13:38:09 +00:00
wouter
9d31e30c81
Fix various compiler warnings from the clang llvm compiler.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2111 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-05-18 12:37:04 +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
05c33f55cc
unbound control removed items are not counted again.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2061 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-24 14:44:35 +00:00
wouter
c046d1d839
Fixed random numbers for port, interface and server selection.
...
Removed very small bias.
Also some lint fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2049 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-18 14:42:22 +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
e5a4a85ead
Fix daemonize on Solaris 10.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2026 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-11 13:28:53 +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
f23cf699bf
Better prototype.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1994 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-26 11:05:49 +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
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
9bb2c1c259
Stats for prefetch. unbound_munin_ plugin updated.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1952 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-07 16:06:26 +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
da1df74a83
more verbose output to describe lame addresses.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1949 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-06 13:15:21 +00:00
wouter
170bc60cb6
Fix lookup of domains with parent-child zonecut data differences.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1929 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-12-08 13:37:59 +00:00
wouter
a122bc0d8b
fixup spinning
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1919 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-23 12:12:59 +00:00
wouter
344beb095b
review fixes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1897 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-10 16:02:05 +00:00
wouter
4644da1cac
please lint on FreeBSD6
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1889 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-05 11:12:06 +00:00
wouter
4debdd93e8
lint fixes on FreeBSD 7.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1888 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-11-05 10:39:12 +00:00
wouter
d55ef3d18c
do-udp: no fixed.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1882 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-29 12:11:38 +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
971004b350
Fix autotrust-5011 file used from libunbound (no probing by itself because
...
it may not have the processor whenever it likes).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1857 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-02 08:08:44 +00:00
wouter
5d07c6ae3c
revocation of trust anchors works.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1846 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-22 14:04:43 +00:00
wouter
1ad05059ee
Memory leak fix.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1832 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-16 12:47:56 +00:00
wouter
61f750266d
lint fix
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1821 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-08 08:24:44 +00:00
wouter
76d6f637e5
Fixups.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1820 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-08 07:20:47 +00:00
wouter
7bc0cca2bf
active probe
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1802 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-01 14:47:57 +00:00
wouter
17d704b1aa
do not confuse lint
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1797 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-01 09:48:57 +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
891008778a
try again
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1794 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-28 10:22:44 +00:00
wouter
416ebfcd74
please lint
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1793 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-28 09:49:11 +00:00
wouter
5a7356ca33
Fixup unbound-control for forwards and stubs.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1792 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-28 09:43:05 +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
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
c0b44d0a25
configure detect ssl get_compression_methods and ctime_r fix.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1780 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-25 13:05:31 +00:00
wouter
a1811bccb0
revoke point handling
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1777 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-25 10:02:17 +00:00
wouter
9043eac04d
Cleaner memleak output.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1772 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-24 15:30:05 +00:00
wouter
59f0039bba
autotrust test routines.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1771 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-24 14:40:25 +00:00
wouter
9b56161dd9
Blacklist when 16 queries fail in a row.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1764 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-17 12:43:23 +00:00
wouter
98a2d20556
report RTT
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1761 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-14 08:35:46 +00:00
wouter
79363fc5ea
OpenSSL config() and small memory leak. No more ENGINE_load_gost().
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1750 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-07 15:23:35 +00:00
wouter
96c6d3daf3
GOST support with --enable-gost.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1747 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-06 13:38:55 +00:00
wouter
26e35cccfc
Prettier, comments from Jelte.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1698 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-06 09:34:47 +00:00
wouter
6d1db4997a
check messages taken from cache, also in iterator.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1662 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-16 12:03:41 +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
b2ae85bb57
recommit 9 June 2009.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1646 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-11 09:43:23 +00:00
wouter
cfc0a74269
Fix IPv6 detection on XP.
...
Fix loop to service on quit when there are messages waiting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1624 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-05-27 08:24:19 +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
7a2521a724
Fix for flush_zone
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1580 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-02 11:56:01 +00:00
wouter
7736e091dc
Read dev/random before chroot.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1567 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-30 12:16:21 +00:00
wouter
3fc7e522d9
nicer -h output
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1562 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-27 13:09:00 +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
9bd4eaf514
Neater configure and no double config.h includes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1545 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-24 10:42:57 +00:00
wouter
837878c5cc
launchd plist file, and deprecation test for MacOSX use of daemon(3).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1542 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-23 11:22:57 +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
47844cdccd
windows work.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1520 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-11 16:32:07 +00:00
wouter
bea7f7617f
XP tested. winsock event handler fixed for signal events. Neater code integration.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1517 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-11 11:02:34 +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
37208ec3d5
mingw work.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1506 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-02 16:43:10 +00:00
wouter
23a4a30d63
services api integration.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1501 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-27 16:29:40 +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
5065a634c2
show fwders in use.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1481 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 16:11:53 +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
9326588875
and include...
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1476 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 09:02:12 +00:00
wouter
affb4534da
use setusercontext(3).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1474 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 08:06:47 +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
5c9d71f968
neater code
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1467 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-06 12:56:45 +00:00
wouter
0009c90ef8
log querier on verbosity 5 or higher.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1461 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-06 10:37:20 +00:00
wouter
cdb026c957
use daemon(3).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1455 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-05 14:23:24 +00:00
wouter
bef9645ac6
call initgroups.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1453 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-05 11:12:01 +00:00
wouter
ddbd7a47c7
- noted feature requests in doc/TODO.
...
- printout more detailed errors on ssl certificate loading failures.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1445 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-03 09:55:35 +00:00
wouter
e84409c12f
fixes for suncc warnings
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1438 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-15 10:29:17 +00:00
wouter
20f93f79c6
- 1.2.1 feature: negative caching for failed queries.
...
Queries that failed are cached for 5 seconds (NORR_TTL).
If the failure is local, like out of memory, it is not cached.
- the TTL comparison for the cache used different comparisons,
causing many cache responses that used the iterator and validator
state machines unnecessarily.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1432 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-14 09:38:15 +00:00
wouter
fc9b499c0c
type fixup
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1416 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-07 14:30:43 +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
bc37d19ce1
Fixup assertion failure for certain malformed packets.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1407 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-06 10:00:28 +00:00
wouter
e10e574de4
- added L.ROOT-SERVERS.NET. AAAA 2001:500:3::42 to builtin root hints.
...
- fixup so it works with libev-3.51 from http://dist.schmorp.de/libev/
- comm_timer_set performs base_set operation after event_add.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1406 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-05 15:05:33 +00:00
wouter
611bdfc64f
fixup getaddrinfo failure handling reported by Matthijs.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1405 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-05 08:30:25 +00:00
wouter
1dfe9e6d61
fixup reopen of syslog to avoid dev/log dependency and log missing after HUP.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1403 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-18 14:36:58 +00:00
wouter
8490cb235e
ipv6 counter in extended statistics.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1397 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-17 14:50:03 +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
e72a2d8eee
better #219 fix.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1386 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-11 08:14:22 +00:00
wouter
7899ee9c67
fixup remote control so most commands work in nonthreaded environment.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1382 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-03 15:20:56 +00:00
wouter
4832d7d4a5
Fix bug reported by Jaco with non-threaded unbound and statistics.
...
iana portlist updated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1380 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-03 13:52:00 +00:00
wouter
ce31d1162b
nicer comments
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1366 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-20 09:48:36 +00:00
wouter
4a9dc66956
rlimit formula
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1365 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-20 09:20:10 +00:00
wouter
cc9dbe3739
fix bug #219 .
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1363 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-19 16:05:23 +00:00
wouter
fc7e61968f
review comments.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1350 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-13 13:45:27 +00:00
wouter
420bb13b3c
neater comments
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1347 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-13 10:19:14 +00:00
wouter
8161290629
fixup wrap around for very large mem usage on printout.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1343 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-11 13:47:25 +00:00
wouter
c95412e5eb
- unit test for negative cache, stress tests the refcounting.
...
- fix for refcounting error that could cause fptr_wlist fatal exit
in the negative cache rbtree (upcoming 1.1 feature). (Thanks to
Attila Nagy for testing).
- nicer comments in cachedump about failed RR to string conversion.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1342 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-11 11:54:06 +00:00
wouter
c3d3bd2aa5
Fix bug #217
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1336 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-07 09:24:39 +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
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
0c7257e644
ported 1.1 to windows.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1316 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-21 13:00:07 +00:00
wouter
82587bbd9a
Do not query bogus name servers.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1312 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-20 13:51:47 +00:00
wouter
ae55c7b123
typefix
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1307 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-17 09:10:24 +00:00
wouter
a3f550e8f6
Fixup negative TTLs Attila Nagy has reported.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1306 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-16 13:12:32 +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
a9c74ae17f
fixup pidfile unlink.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1278 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-02 08:47:21 +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
c6b55e1622
cache dump and load files
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1264 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-22 18:05:22 +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
e8689a3a42
histogram support for stats.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1258 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-18 14:37:20 +00:00
wouter
542a62cde8
nice names for high query types.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1249 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-18 08:38:53 +00:00
wouter
526eed4c74
Fixup error in time calculation.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1247 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-18 07:55:01 +00:00
wouter
d63cf0869e
print uptime always.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1246 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-17 16:45:32 +00:00
wouter
e2f0794a92
rcode stat printout fixed.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1244 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-17 11:33:40 +00:00
wouter
f2c643c169
threadsafe rrset counter.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1240 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-17 07:13:31 +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
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
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
4bf955bd96
neater.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1232 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-11 14:56:46 +00:00
wouter
fd4ceda957
fixup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1231 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-11 14:55:50 +00:00