Commit Graph

549 Commits

Author SHA1 Message Date
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
wouter
9799917b79 TCP outgoing services.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@294 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-08 13:25:21 +00:00
wouter
0bd08b1c87 unit test upgrade.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@292 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 14:22:30 +00:00
wouter
b30a500733 Fix unit test to attach edns record.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@289 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 13:24:30 +00:00
wouter
397e4b4736 EDNS for the client.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@288 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 13:17:27 +00:00
wouter
a5af5be944 test rrset ttl refresh.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@287 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 14:14:08 +00:00
wouter
e873c96fb5 temp region kept for use during query processing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@282 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 12:35:01 +00:00
wouter
f3dbfd3a17 Alloc cache per thread gets used for deleted items.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@280 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 08:05:56 +00:00
wouter
e937b8609a more dname tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@275 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-02 12:13:56 +00:00
wouter
650be89b9e dname unit test work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@274 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-02 09:35:19 +00:00
wouter
ae0d31b480 Tests for compression, and decompression in query section fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@270 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-01 10:18:37 +00:00
wouter
e88c8f93c6 compression.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@269 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 14:55:47 +00:00
wouter
428b137eb4 please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@267 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 12:48:09 +00:00
wouter
6b6e30a6c6 no more iov per rr.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@266 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 12:42:03 +00:00
wouter
f6ec052755 fp fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@259 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-26 07:33:29 +00:00
wouter
d35f7f071c work on domain name compression.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@257 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-25 15:28:03 +00:00
wouter
16658b625d parse type in host byte order.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@256 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-25 11:36:51 +00:00
wouter
ccf572b577 RRSIG parsing and outputting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@255 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-24 13:39:23 +00:00
wouter
2b534aee04 Unit test work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@253 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-20 08:10:07 +00:00
wouter
1acc02466e types. log buf larger to print packets.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@252 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-19 15:30:32 +00:00
wouter
73acfec1c2 Fixups after initial unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@251 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-19 09:48:42 +00:00
wouter
8998172438 review changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@250 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-18 13:57:01 +00:00
wouter
226528d744 Commit to help ldns test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@248 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-18 08:50:44 +00:00
wouter
96ebc58753 Unit test for parser with lots fo content.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@247 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 15:18:24 +00:00
wouter
de606904da test for msgparse.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@246 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 14:03:33 +00:00
wouter
6f8a76a4fd ids and parsing rrs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@241 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-16 15:21:50 +00:00
wouter
efe7688f75 dname compare lower case version. Preserves case.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@238 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-12 14:02:02 +00:00
wouter
157186da3f Increased timeouts, for busy open.
Unit test would fail; due to open busy with other tasks.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@235 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 07:59:45 +00:00
wouter
c2d761f0e6 0.3, dname.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@229 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-04 09:47:30 +00:00
wouter
38f63bde97 Tweaked for memory requirements on OSX.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@227 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 14:14:11 +00:00
wouter
69cc11150f much faster.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@226 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 13:57:01 +00:00
wouter
8d58de59e7 Fixup lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@225 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 13:49:22 +00:00
wouter
4aecd8a87b Testing locks became very slow, sped up by initial value change.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@224 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 13:46:06 +00:00
wouter
3fd780ec3c unit test on 64bit systems. (things fell off the hash table, which was too
small).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@223 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 13:12:51 +00:00
wouter
31abdae983 Casts for printf portable.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@219 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 10:20:59 +00:00
wouter
f3ae1d66ec more fixup
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@216 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:44:37 +00:00
wouter
94b64086aa configure check for cast to please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@213 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:17:20 +00:00
wouter
a3235abb8e Review of msgreply.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@212 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-02 13:58:02 +00:00
wouter
1df17bafae writev and sendmsg support in netevent.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@204 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-28 15:40:12 +00:00
wouter
ea623056e9 Nicer words for slab hash.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@200 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-27 10:01:39 +00:00
wouter
9ca1f1565e Cache falloff test.
testbound can pass config options from replay file to unbound.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@199 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-27 09:32:08 +00:00
wouter
72d45a4af6 Cache test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@197 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-26 15:01:11 +00:00
wouter
b533d9681b config file settings for message cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@196 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-26 10:33:41 +00:00
wouter
1e85f96158 Slabbed hash table. Drops contention on hash table main lock.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@194 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 15:17:11 +00:00
wouter
21ece5f0f4 caching code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@190 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-22 16:26:14 +00:00
wouter
514138fb88 Counts number of locks to make contention check fractional check of trouble.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@189 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-22 12:35:40 +00:00
wouter
32083c6294 AIX, and threaded hash table test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@187 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-22 11:09:05 +00:00
wouter
085c0a423f lock verify nicer, manual test done.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@186 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-21 14:54:37 +00:00
wouter
c3a956aece Make lint happy and lock verify less verbose.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@185 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-21 14:38:47 +00:00
wouter
8a1b4a4afd unit test for hash table.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@184 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-21 14:34:57 +00:00
wouter
68b106e73f lock verifier.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@183 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-16 12:50:21 +00:00
wouter
11d77cbfe8 lock order verify.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@182 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-15 16:27:20 +00:00
wouter
8a8d587c48 please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@180 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 14:32:44 +00:00
wouter
b2179a71bc unit tests for hash table.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@179 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 14:30:30 +00:00
wouter
c1f1375fa6 busy with lruhash.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@175 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-13 16:22:24 +00:00
wouter
1d93e9e4e4 Improved test, use empty buffer not random memory buffer.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@174 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-12 14:30:10 +00:00
wouter
61e092f862 Replymsg structure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@173 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-12 14:19:14 +00:00
wouter
d50c08c1c5 Please older compilers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@170 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 14:31:48 +00:00
wouter
075fb149bc cleanup and unit test for alloc, also lock protection statements.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@168 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 13:37:57 +00:00
wouter
a99a9cdab3 rwlock writelock checking.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@167 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 09:01:03 +00:00
wouter
30bae52bbd review of checklocks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@166 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-08 14:59:41 +00:00
wouter
45222007d3 Simple thread problem detector code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@165 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-07 16:21:31 +00:00
wouter
7881840c72 Pushback when full makes all threads help out.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@154 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 11:25:44 +00:00
wouter
64ca15d5b5 Makes compile and test pass.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@148 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 16:11:32 +00:00
wouter
95ec45c352 Use random (thread safe version).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@145 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 09:42:05 +00:00
wouter
f6bc67e811 daemonize by default. -d to debugmode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@141 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 15:23:33 +00:00
wouter
1d26d432a2 config file: directory, logfile, pidfile. And they work too.
and log_warn.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@139 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 13:38:54 +00:00
wouter
e4d057d315 New config options.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@138 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 11:00:55 +00:00
wouter
3d6f070744 Ports are shared and you can kill -HUP to do a reload (of config file).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@137 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 10:04:50 +00:00
wouter
df0bfecb92 daemon code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@136 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-22 16:22:54 +00:00
wouter
6adf23c507 config file is used.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@135 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-22 13:36:29 +00:00
wouter
1f8d9d5cec Carried over from ldns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@124 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-19 08:07:04 +00:00
wouter
e71fe24ab2 Updated testbed script.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@110 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 09:35:27 +00:00
wouter
c806242a24 Ldns testpkts committed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@104 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 13:23:48 +00:00
wouter
266ae64407 Print pkts to debug log.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@103 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 12:59:26 +00:00
wouter
3ce9926ef0 Review changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@99 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 14:02:50 +00:00
wouter
b934287a4d Reviewing and porting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@97 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 10:10:43 +00:00
wouter
5f733cf5b1 Extra replay tests: error and two messages at a time (first is answered, second is not).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@93 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 15:58:39 +00:00
wouter
7792e97860 Replay works. Nicer print of steps taken. Two example replays, forward one
query and forward but a timeout happens.
Both run in 0.1 sec; even the timeout, since it is triggered from the input
file not by waiting.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@91 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 15:35:26 +00:00
wouter
266cbfe2a2 replay works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@90 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 14:00:58 +00:00
wouter
1e73129b15 Work on fake events.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@89 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-12 16:04:11 +00:00
wouter
24259ffb61 replay work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@88 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 16:39:47 +00:00
wouter
189ff35633 lint and docs
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@87 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 14:12:33 +00:00
wouter
57caa95e06 replay file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@85 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 13:46:11 +00:00
wouter
1c4f344d15 Fix implicit decls.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@84 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:49:48 +00:00
wouter
110122ab6a fake event replaces link signture of event handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@83 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:47:06 +00:00
wouter
bfebfbab5c Fake event start.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@82 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:03:26 +00:00
wouter
bd15825649 replay code files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@81 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 14:55:53 +00:00
wouter
b315358011 libevent option for testbed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@74 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:18:04 +00:00
wouter
b1ef3bea96 review of services, daemon and testcode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@70 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-06 16:26:19 +00:00
wouter
e4b530f330 added unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@67 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 14:57:16 +00:00
wouter
dd68dbaf0d Readup playback file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@42 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-30 15:59:35 +00:00
wouter
0fab65f4ab testbound program.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@39 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-26 11:57:09 +00:00
wouter
731159959d documentation and planning.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@19 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-08 09:16:50 +00:00
wouter
0020689f5a testbed update.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@17 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 15:30:09 +00:00
wouter
29e47c7543 Nicer code that checks correctly for needed programs..
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@14 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 13:36:11 +00:00
wouter
257d124e44 check for needed programs before running tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@13 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 13:32:49 +00:00
wouter
3f2ee10e64 testbed scripts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@12 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 11:03:29 +00:00
wouter
11179c41da doxygen comment test and comments added.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@11 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 14:55:21 +00:00
wouter
c7cc611813 A main program is compiled.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@5 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 10:42:32 +00:00