Commit Graph

126 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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