Commit Graph

549 Commits

Author SHA1 Message Date
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
wouter
2e9293e6e6 please doxygen.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@898 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 10:41:17 +00:00
wouter
f9338af567 forwarder mode options for library.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@895 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-24 14:58:51 +00:00
wouter
33ad7c0ca3 fwd_ancil needs ldns-testns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@893 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-24 11:05:24 +00:00
wouter
148a019834 cancel().
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@891 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-24 09:14:07 +00:00
wouter
013db26923 bg resolution works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@890 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-23 15:15:37 +00:00
wouter
b055e996a8 test program for bg lookups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@887 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 16:28:41 +00:00
wouter
e1b0c8b9dc fix link testbound.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@884 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 11:28:07 +00:00
wouter
bd32be11f0 update ldns-testpkts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@878 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-18 10:57:52 +00:00
wouter
a1338470b9 please doxygen.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@870 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-17 08:26:15 +00:00
wouter
f4ca0398b1 test for ancillary data and fixes for lint and doxygen.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@848 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 10:10:22 +00:00
wouter
bdb854787d interface-automatic (IP6mapped, good for anycast service and so on).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@847 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 09:45:30 +00:00
wouter
192a271387 lint, optimize fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@846 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-14 10:21:09 +00:00
wouter
d356e3fdaa Nicer sizes possible in config file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@843 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-11 13:20:22 +00:00
wouter
ad7b42e5bf memory footprint improvements.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@778 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-27 15:52:41 +00:00
wouter
9ffcf306b9 keep tcp address around for acl.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@770 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-19 16:31:22 +00:00
wouter
4b1dc70de7 access-control
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@769 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-19 15:32:55 +00:00
wouter
694e53c41c unit test for addr_in_common.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@767 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-19 13:21:30 +00:00
wouter
83cbda7de2 unit test for addr_mask.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@766 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-19 13:02:15 +00:00
wouter
04400633a5 testbed update.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@743 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-14 09:03:51 +00:00
wouter
e9736d5b07 libevent signal problem has different signal handler registrations, and thus
needs handling in testbound, so that on a good exit, it does the exit.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@742 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-13 16:15:04 +00:00
wouter
57a562b5fd - bugreports to unbound-bugs@nlnetlabs.nl
- fixup testbound so it exits cleanly.
       - cleanup the caches on a reload, so that rrsetID numbers won't clash.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@740 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-12 13:58:34 +00:00
wouter
6836a8c0b4 hash clear function.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@725 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-31 16:15:44 +00:00
wouter
84def9a1e4 - fix horrible oversight in sorting rrset references in a message,
sort per reference key pointer, not on referencepointer itself.
        - pidfile: "/etc/unbound/unbound.pid" is now the default.
        - tests changed to reflect the updated default.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@724 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-31 14:46:05 +00:00
wouter
1c77a4eb14 better chroot support, and also default chroot and userchange.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@723 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-31 10:56:31 +00:00
wouter
50174c96a0 ttl not greedy.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@720 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-30 21:40:16 +00:00
wouter
b649a1876b dnssec lame servers are used as last effort.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@716 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-23 12:37:18 +00:00
wouter
67d2bad8e0 dnssec lame detection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@714 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-22 15:25:37 +00:00
wouter
0638f01d0a keep cache of prealloced blocks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@698 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 22:17:02 +00:00
wouter
4bcd6aac94 regional nicer, remove region-allocator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@697 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 20:31:43 +00:00
wouter
9de5de90a6 Tests update.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@693 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 09:24:57 +00:00
wouter
eeaf9dbc97 errors have addresses with them.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@692 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-18 09:04:55 +00:00
wouter
05b584e049 unit test fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@690 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-17 17:43:00 +00:00
wouter
e44c3869de Arc4random.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@683 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-17 12:08:34 +00:00
wouter
8b95e7f068 assertions, zero termination for gethostname, log_hex without malloc.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@679 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-16 12:26:09 +00:00
wouter
b21244ba76 require ldns-testns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@678 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-15 14:47:22 +00:00
wouter
28366a0fb5 Fixup compression, and test for byteformat compression results.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@676 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-15 14:19:17 +00:00
wouter
bfe0a67624 no more AD bits, except when DO is set.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@672 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-09 15:33:40 +00:00
wouter
b5a046ad99 function pointer whitelists on data types.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@660 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-05 11:41:12 +00:00
wouter
317be8f466 fptr whitelist network code callbacks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@659 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-05 08:05:06 +00:00
wouter
eb4d666bf5 security audit changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@657 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-04 15:10:11 +00:00
wouter
b476a154c3 Fixup and test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@654 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-03 12:20:55 +00:00
wouter
ace71868bc syslog feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@644 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-26 10:19:28 +00:00
wouter
7ba2168f9b test fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@639 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-25 11:47:45 +00:00
wouter
76da05687d NSEC3 tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@636 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-24 13:32:40 +00:00
wouter
13fa7d0d4d Make test command.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@635 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-24 08:04:05 +00:00
wouter
75868e64e0 remove subscript char warnings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@630 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-21 14:15:05 +00:00
wouter
6e3219e484 fixup locking in test code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@629 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-21 13:55:07 +00:00
wouter
9b90ab87cd fixup glue timeout problems, and priming with safety belt.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@622 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-19 12:17:42 +00:00
wouter
bca2a9be40 namerror nsec3 proof works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@616 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-17 14:03:35 +00:00
wouter
97eb86507e nsec3 hash function unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@615 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-17 09:25:54 +00:00
wouter
13bf8e2c40 nsec3 work, prove name error.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@610 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-13 15:02:33 +00:00
wouter
c101ce2291 ANY response validation test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@591 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-05 09:50:02 +00:00
wouter
5980a98623 tests, cleanup tmp when testbound fails, fixup referral glue cleanup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@583 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-04 11:31:29 +00:00
wouter
7596a6db2f please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@581 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 14:05:38 +00:00
wouter
e3197f49cd debug tool for mem stats.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@580 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 13:40:17 +00:00
wouter
126276afc7 Nodata tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@572 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-31 12:35:41 +00:00
wouter
21f9812b1a support extremely small memory footprints.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@565 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-30 08:36:41 +00:00
wouter
656c4fc890 please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@562 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-29 12:20:25 +00:00
wouter
0b084ec0f5 sign test tool.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@561 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-29 12:09:14 +00:00
wouter
8a2e0534e0 No double use of buffers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@552 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-28 08:03:45 +00:00
wouter
c009f0706c VALIDATE state and positive response validation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@532 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-20 12:31:12 +00:00
wouter
63872867b7 nsec work, canonical compare routine and tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@530 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-17 14:25:42 +00:00
wouter
e173c2f391 ds2ke and nsec work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@529 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-17 11:41:49 +00:00
wouter
cba19c0ad0 key prime, DS test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@525 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-16 09:33:35 +00:00
wouter
3cdba8352f verify unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@522 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-15 13:18:32 +00:00
wouter
5cbdac787a Fixup parser, new test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@517 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 15:33:07 +00:00
wouter
77f871b043 please lint and doxygen.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@513 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:18:50 +00:00
wouter
7866ca5398 fixups for memory.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@512 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:15:36 +00:00
wouter
ef7a3f7407 canonical sort.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@508 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-10 15:12:06 +00:00
wouter
24c0426379 rrsig checks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@502 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-09 09:58:04 +00:00
wouter
f5cae3bd4a dname isroot and dellabel
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@492 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-06 11:06:00 +00:00
wouter
a5d91710d7 unit test trust anchor storage.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@487 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-03 13:15:16 +00:00
jeltejan
22ba1006ee updated to new 32bit arguments in ldns api
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@456 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-26 12:26:16 +00:00
wouter
80ee969748 Tests can handle multiple hosts. Tests for chaos and iterator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@450 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-25 12:31:04 +00:00
wouter
c48dcb65a9 addr.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@449 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-24 16:26:40 +00:00
wouter
b41deacab1 Memory reporting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@447 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 15:51:06 +00:00
wouter
c2bdf27d20 fixup of join deadlock warnings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@437 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-19 11:32:47 +00:00
wouter
8c167041e8 duplicate query callbacks work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@408 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 14:01:58 +00:00
wouter
57da6743c9 fixup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@392 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-18 10:27:54 +00:00
wouter
5eac4754db no lock checks(file size) and align 64 bits, because otherwise bus error
on solaris.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@386 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-13 12:27:18 +00:00
wouter
c3cb973c20 fixup comments for doxygen 1.5
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@383 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-12 14:51:49 +00:00
wouter
bcfe623b93 Nicer encoding. fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@379 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-11 10:12:43 +00:00
wouter
b3bf83c415 debug work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@371 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 15:04:01 +00:00
wouter
fddfd9fce9 neater code layout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@356 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:25:38 +00:00
wouter
6969cb7d56 preparatory work for iterator.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@336 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-24 13:24:44 +00:00
wouter
08d08d6d52 precise timers for roundtrip UDP timeouts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@332 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 06:24:01 +00:00
wouter
51b1a06a8e more debug info for deadlocks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@331 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 15:17:41 +00:00
wouter
42d4f5f777 Fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@330 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 15:02:39 +00:00
wouter
87302b3d9b EDNS test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@329 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 13:40:49 +00:00
wouter
4bc8319061 outbound queries via serviced outside_network queries.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@327 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 12:36:02 +00:00
wouter
c6b4fbb41c Serviced queries in outside network service get full EDNS, UDP retry and
TCP fallback attention.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@326 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-21 15:10:55 +00:00
wouter
69883b2a21 LRU touch of RRsets. Pretty complicated to do.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@324 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-16 12:48:48 +00:00
wouter
9d693f04bf infra cache config.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@322 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 15:11:12 +00:00
wouter
45f3c0d37a host cache test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@321 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 13:21:10 +00:00
wouter
da5f2eeb6b timeout estimation code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@317 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 13:22:02 +00:00
wouter
88c45a204c more debug.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@316 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 10:39:12 +00:00
wouter
00aa5a6a36 Build warnings on OSX.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@313 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 09:02:27 +00:00
wouter
e641ee09fd Fixup tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@312 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:33:38 +00:00
wouter
401583e12b iterator module.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@311 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:16:42 +00:00
wouter
5f3140deaa TCP fallback if forwarder sends TC bit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@295 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 07:00:10 +00:00