Commit Graph

549 Commits

Author SHA1 Message Date
wouter
27329b8cc9 - implement draft-ietf-dnsext-ecdsa-04; which is in IETF LC; This
implementation is experimental at this time and not recommended
  for use on the public internet (the protocol numbers have not
  been assigned).  Needs recent ldns with --enable-ecdsa.
- fix memory leak in errorcase for DSA signatures.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2606 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-02-08 13:22:44 +00:00
wouter
4be1c7a6b9 fix memset in test code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2593 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-01-23 10:51:57 +00:00
wouter
a4c3aed0f8 - Fix parse error on negative SOA RRSIGs if badly ordered in the packet.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2573 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-12-15 13:37:13 +00:00
wouter
a1f677fcac - Makefile changed for BSD make compatibility.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2544 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-11-10 18:44:06 +00:00
wouter
8d906d306a fix warnings (svn:NO TEST)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2536 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-11-01 10:32:37 +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
0d9faf8179 debug printout certificate of ssl dns server.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2531 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-10-31 14:56:48 +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
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
fe4d92c4e2 iana portlist updated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2394 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-02-23 10:27:53 +00:00
wouter
6024c40fe3 Compat with tpkg timing code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2393 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-02-23 09:56:13 +00:00
wouter
e82024f8d0 use common functionality file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2390 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-02-11 12:30:42 +00:00
wouter
a3e8eb1648 more conservative timeout for a test that takes 20 seconds on older machines
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2368 be551aaa-1e26-0410-a405-d3ace91eadb9
2011-01-10 16:13:17 +00:00
wouter
84ca6bf916 please lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2357 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-12-20 16:08:52 +00:00
wouter
a33b75aebf Work on validation of multiple algorithms.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2356 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-12-20 15:58:12 +00:00
wouter
72de97c816 Fix storage of noEDNS in the infra cache.
iana portlist updated.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2348 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-30 12:55:48 +00:00
wouter
7df2b532a4 - Be lenient and accept imgw.pl malformed packet (like BIND).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2339 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-11-08 18:32:55 +00:00
wouter
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
ae7d63c3b8 allocfix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2318 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-27 14:02:20 +00:00
wouter
ec37b20c16 Uses curl to check if the icann cert file has been updated on the website.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2297 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-18 13:25:30 +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
dfcb568377 less verbose on output.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2290 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-14 09:18:20 +00:00
wouter
7a126d2249 windows crosscompile port
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2282 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-13 12:22:46 +00:00
wouter
aaefd15a0d addr_is_any
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2279 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-10-13 07:59:55 +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
db4944a21d - Algorithm rollover operational reality intrudes, for trust-anchor,
5011-store, and DLV-anchor if one key matches it's good enough.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2235 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-16 13:40:26 +00:00
wouter
d290d34406 neater make test output
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2234 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-09-15 07:15:30 +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
70e93cdf2e putenv more portable
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2195 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-13 14:05:06 +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
78ee02be05 timezone fixed at UTC
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2185 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-06 10:18:24 +00:00
wouter
7cc2782818 testbound sets timezone for test
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2184 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-06 10:12:43 +00:00
wouter
bb6f5ea246 - wdiff is not actually required by make test, updated requirements.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2176 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-07-05 13:34:01 +00:00
wouter
10747c9f68 Fix for lame reply corner case.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2168 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-06-25 08:32:51 +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
c5274f7a89 - EDNS timeout code will not fire if EDNS status already known.
- EDNS failure not stored if EDNS status known to work.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2115 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-05-21 11:00:35 +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
a74435bf95 - Fix validation failure for qtype ANY caused by a RRSIG parse failure.
The validator error message was 'no signatures from ...'.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2087 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-04-22 15:01:02 +00:00
wouter
fe303016e7 please lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2074 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-04-09 09:20:20 +00:00
wouter
5a3429d175 Fix bug#305: pkt_dname_tolower could read beyond end of buffer or
get into an endless loop, if 0x20 was enabled, and buffers are small
  or particular broken packets are received.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2072 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-04-09 09:04:07 +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
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
4480f695f2 unit test for util/regional.c.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2037 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-15 13:18:49 +00:00
wouter
511a4a839b cleaner allocs in unit test
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2036 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-15 09:50:56 +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
debc969d4f more userfriendly make test
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2021 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 13:01:52 +00:00
wouter
006f633e2b Add ipv6 stub test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2020 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 12:36:59 +00:00
wouter
1023094ab3 nicer printf format conversion.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2019 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 12:11:54 +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
6f24fbac03 fix for proto
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2016 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-10 11:39:07 +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
0e30601889 --enable-alloc-lite
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2014 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-09 16:26:53 +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
e43abe6ea8 include math.h for prototypes
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1978 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-09 15:21:34 +00:00
wouter
e288d8d63a portable unittest
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1971 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-01 10:55:20 +00:00
wouter
2f548bb79b please doxygen
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1970 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-01 09:38:50 +00:00
wouter
43b563c94f please doxygen
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1969 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-02-01 09:27:52 +00:00
wouter
04e150433a portable.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1966 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-29 15:20:55 +00:00
wouter
6a7022a71d Fix bug#291 and unit test spruced up.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1948 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-01-06 10:55:14 +00:00
wouter
4cdbc4ed8a unit test for x64
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1941 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-12-15 10:31:13 +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
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
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
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
622609bde7 - moved version number to 1.4.0 because of 1.3.4 release with only
the NSEC3 patch.
	- val-log-level: 2 shows extended error information for validation
	  failures, but still one (longish) line per failure.  For example:
	  validation failure <example.com. DNSKEY IN>: signature expired from
	  192.0.2.4 for trust anchor example.com. while building chain of trust
	  validation failure <www.example.com. A IN>: no signatures from
	  192.0.2.6 for key example.com. while building chain of trust



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1868 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-10-07 16:45:47 +00:00
wouter
3a9315117c remove memory leak from testbed
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1844 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-18 12:34:30 +00:00
wouter
7dfdfd094f sharper match.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1835 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-16 13:13:46 +00:00
wouter
b78cb686ef Fixup memstats for pretty time print in log file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1834 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-16 13:01:51 +00:00
wouter
b54ae6ff29 Fixed memstats for log-ascii format.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1833 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-16 12:56:00 +00:00
wouter
da1b7f1826 - TRAFFIC keyword for testbound. Simplifies test generation.
${range lower val upper} to check probe timeout values.
- test with 5011-prepublish rollover and revocation.
- fix revocation of RR for autotrust, stray exclamation mark.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1804 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-02 13:11:52 +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
467a1da442 lint and doc
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1800 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-01 13:09:55 +00:00
wouter
a1d844cda6 randomise probe time.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1798 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-01 12:45:10 +00:00
wouter
1c2c0cc0ec macro arithmetic.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1796 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-01 09:30:28 +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
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
344d6b7622 autotrust work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1760 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-13 15:32:04 +00:00
wouter
964c7a04ce Nicer names for test files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1755 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-11 10:33:56 +00:00
wouter
76feae084a nicer warning during GOST testing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1751 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-07 15:29:25 +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
0ee3554101 Test example signatures for rsasha256 and rsasha512.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1742 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-04 12:45:51 +00:00
wouter
89d698244f crosscompile with mingw32 works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1722 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-14 14:44:53 +00:00
wouter
b150dacde3 fixup unit test for portability
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1719 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-13 17:06:11 +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
e6df7cd585 rsasha256 and rsasha512 not enabled by default.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1631 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-02 09:04:16 +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
c82ab07b7c keeping ldns and unbound ldns-testpkts the same
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1620 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-28 09:06:45 +00:00
wouter
e9c9569e70 ifdef windows functions in testbound.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1618 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-27 13:26:15 +00:00
wouter
499398c733 solaris thread safety of thread functions.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1612 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-23 12:51:33 +00:00
wouter
715a0fe7d9 rsasha512 fixup and successful test of new winsock handler.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1606 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-17 11:18:19 +00:00
wouter
e50bcb5bb3 suppress ipv4mapped errors from logs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1570 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-01 10:01:43 +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
f1eef6a0bc Fixups for windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1526 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-13 15:29:31 +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
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
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
20bb53cd82 Do not validate with revoked keys.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1471 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-10 13:01:38 +00:00
wouter
f21578d46f fix cancel test more.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1463 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-06 10:49:09 +00:00
wouter
aff96dc20a Fixup race condition in ub_cancel. For 1.3.0.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1451 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-05 09:48:02 +00:00
wouter
dfcfe43a10 spurious ;
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1440 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-15 10:49:19 +00:00
wouter
f2059f7ff5 remove possible race condition
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1420 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-08 16:51:44 +00:00
wouter
63d577f8fb test for HINFO.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1408 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-06 11:31:21 +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
7952ae8e1d fixup unit test for BSD changes to infra storage.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1404 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-18 14:44:15 +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
4abda48868 Skip unsupported tests. Fixup streamtcp for more portability.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1376 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-25 14:17:14 +00:00
wouter
89ebfdcdd5 testset port to vista/mingw.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1373 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-24 15:05:33 +00:00
wouter
048d9f01e6 port to 64bit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1356 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-18 09:14:24 +00:00
wouter
55b1c9928d Fixup for problems with do-ip6: no and only ipv6 addresses.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1353 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-17 12:47:34 +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
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
7af3150ba5 detection of sha256 and sha512 by testing if functionality was compiled
into openssl.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1328 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-03 16:06:12 +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
a4f3d3f025 Recursion lame is detected and last resort is used to resolve.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1294 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-13 09:11:42 +00:00
wouter
d3c4fb4145 SHA256 support.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1275 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-30 13:06:07 +00:00
wouter
d1f18eb211 doxygen, detect SHA256 support for test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1274 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-30 11:35:48 +00:00
wouter
3039466965 EDNS fallback when timeout and multiple query rtt backoff.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1272 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-29 14:50:35 +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
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
e8fe78fafe testpkts const fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1243 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-17 08:16:17 +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
2b0b077fd6 DoS protection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1221 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-02 13:04:47 +00:00
wouter
edbb692b82 do not allow cache snooping by default.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1220 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-01 13:48:24 +00:00
wouter
343c2425ae more test DLV.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1203 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-22 10:06:14 +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
8c8f4f298a make pipe work with fallback on windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1166 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-25 09:26:15 +00:00
wouter
9d25fafcf4 - moved pipe actions to util/tube.c. easier porting and shared code.
- check _raw() commpoint callbacks with fptr_wlist.
- iana port update.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1163 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-23 09:23:03 +00:00
wouter
d8b9b14b72 update with testcode matches with ldns testcode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1151 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-16 09:51:54 +00:00
wouter
e9053889c3 streamtcp fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1141 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-26 14:24:22 +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
3d07f70052 fixup unit test for lameness changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1138 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-25 09:56:22 +00:00
wouter
fe7df9c33b fixup tests to make test program. please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1132 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-24 14:40:53 +00:00
wouter
80d88b33b8 Fixup ipv6 availability test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1131 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-24 14:35:53 +00:00
wouter
b20ed75b5f ipv6 test working for windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1130 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-24 14:18:06 +00:00
wouter
11c5d9d992 iana update.
checklocks.c is not in the compile path for production code anymore.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1129 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-24 09:24:08 +00:00
wouter
6f8c2a7e8c Porting continues. TCP works fine now.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1128 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-23 13:52:03 +00:00
wouter
a0e166c5c7 unit test, testbound, basic udp and tcp tests are working on XP.
ipv6 not supported by OS is a warning (nonfatal).

git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1127 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-18 14:27:30 +00:00
wouter
c8d4439943 testbound works on XP.
ioctlsocket nicer error message.

git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1126 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-18 08:16:04 +00:00
wouter
72a8382588 busy porting tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1125 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-17 15:21:48 +00:00
wouter
c732e97f8f windows threads. detect gdi32. nicer DISABLED_THREADS define. Compiles on mingw32.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1122 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-16 13:39:46 +00:00
wouter
829befab00 mingw32 porting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1118 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-13 13:20:54 +00:00
wouter
b820820061 port to xandros.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1115 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-10 09:42:25 +00:00
wouter
b2f8cb5c54 fixup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1094 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-22 16:59:59 +00:00
wouter
e57edfcbd3 mingw port.
relabel replaced functions to avoid conflicts with library.

git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1093 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-22 13:30:22 +00:00
wouter
6f3aa14fa5 DSA signature compatibility.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1053 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-15 19:51:28 +00:00
wouter
7714222dd8 Fixup unbound. Now still a switch DSA(ldns) DSA(bind) ...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1052 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-15 18:01:14 +00:00
wouter
abc608675f DSA test
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1051 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-15 15:19:25 +00:00
wouter
f9418d2940 update to be same as ldns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1046 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-15 08:01:30 +00:00
wouter
649bb694f5 Jelte found DSA sig solution, copied from ldns to fit into unbound validator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1042 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-14 15:34:09 +00:00
wouter
7fa24a76b2 and dotests.sh (svn:NO TEST)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1035 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-14 08:52:30 +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
60bdeeded2 harvest CNAME.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1017 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-03-07 10:38:24 +00:00
wouter
d011893213 harvest opt.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1016 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-03-07 10:16:09 +00:00
wouter
ab651bb87d portability.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1005 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-29 10:22:07 +00:00
wouter
d846db39ea harvest print output.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1002 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-28 16:19:20 +00:00
wouter
104251b6f2 install to sbin
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1001 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-28 13:50:34 +00:00
wouter
3f618b8b43 harvest takes input.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1000 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-28 13:07:03 +00:00
wouter
8926193907 + - fixed memory leaks in libunbound (during cancellation and wait).
+       - libunbound returns the answer packet in full.
+       - snprintf compat update.
+       - harvest performs lookup.
+       - ldns-tarball update with fix for ldns_dname_label.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@998 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-28 12:29:00 +00:00
wouter
b360845fbe please lin.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@997 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-27 15:12:36 +00:00
wouter
ea97956ced harvest
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@996 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-27 15:03:25 +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
fdc2ce9350 verbosity uit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@991 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-26 14:04:02 +00:00
wouter
656924664a delayer in TCP.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@990 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-26 13:04:05 +00:00
wouter
c9d4ee0e86 Delayer util.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@989 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-25 15:35:23 +00:00
wouter
82ff80ac48 delay test program.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@988 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-22 15:40:50 +00:00
wouter
36cad7c680 speed up message encoding.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@976 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-21 10:25:49 +00:00
wouter
c76b8fa819 encoding speed test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@975 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-20 15:35:49 +00:00
wouter
38c018e539 - setup speec_cache for need-ldns-testns in dotests.
- check number of queued replies on incoming queries to avoid overload
         on that account.
       - fptr whitelist checks are not disabled in optimize mode.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@971 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-20 07:18:42 +00:00
wouter
322cbcceb8 race cond found in test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@969 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-19 15:49:22 +00:00
wouter
cf50a0bcb7 Faster due to time-sharing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@966 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-19 13:12:23 +00:00
wouter
7b731d6981 Fixed bug in RD flag setting.
perf works better with long taking queries.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@961 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-18 13:16:06 +00:00
wouter
2298d73a34 perf test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@954 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-14 16:16:39 +00:00
wouter
83c9c51fd2 perf tool work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@951 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-13 15:19:50 +00:00
wouter
94b11d9296 etc hosts handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@944 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 10:27:37 +00:00
wouter
9dedf483f9 ub_
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@942 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 08:52:14 +00:00
wouter
04d961d843 fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@941 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-08 13:27:49 +00:00
wouter
6c118c9ae5 do multiple queries over TCP.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@935 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-08 10:59:18 +00:00
wouter
e2ce21cf4d move around debug levels.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@929 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-07 09:46:49 +00:00
wouter
156de1cf0b result_free to resolve_free (thanks Benno).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@924 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-06 13:10:40 +00:00
wouter
32c92da3aa Fix for nothreading.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@922 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-06 10:09:54 +00:00
wouter
3455945dea Statistics test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@918 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-05 13:53:05 +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
d64c4d8e4c logging nicer, removal of reply_iov.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@911 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-30 14:46:01 +00:00
wouter
86f9eb4fdc fixes for random number badness (lack of entropy and SIGFPE from RAND_cleanup
too early).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@907 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 14:34:53 +00:00
wouter
ba980a8c39 more locks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@906 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 13:42:55 +00:00
wouter
4346bb2f60 smaller fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@904 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 16:17:36 +00:00
wouter
417504bbf1 - fixup race problems from opensll in rand init from library, with
a mutex around the rand init.
       - fix pass async_id=NULL to _async resolve().
       - rewrote _wait() routine, so that it is threadsafe.
       - cancelation is threadsafe.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@902 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 15:13:39 +00:00
wouter
c7e2a62a64 refactor asynclook.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@900 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 11:17:48 +00:00