Commit Graph

3064 Commits

Author SHA1 Message Date
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
953a248114 Documentation addresses and check buffer limit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@273 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-01 15:11:53 +00:00
wouter
0572bf8856 some basic stats.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@271 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-01 12:13:29 +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
7f20eecd7e Compress rrsig owner names.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@268 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 13:58:59 +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
51708a162d lint faster, lint fix and define.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@260 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-26 07:55:51 +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
1897d28671 RRSIG parse plans.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@254 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-20 09:58:32 +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
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
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
92bf0cecbd message parsing code in one file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@245 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 11:56:48 +00:00
wouter
9e835740f5 Message create.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@244 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 10:18:39 +00:00
wouter
47d3863917 store hash value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@243 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 09:18:12 +00:00
wouter
d63a6bdd6f copy and decompress.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@242 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-17 09:14:45 +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
ea24374e66 Parsing of messages into parse internal representation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@240 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-13 15:00:56 +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
5cdfcc031c Parsing
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@237 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-11 14:26:29 +00:00
wouter
f541011cad parse setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@236 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 09:03:05 +00:00
wouter
2b25159421 please lint, docs.
Fixup ignored return value.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@234 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 07:56:05 +00:00
wouter
84a15031be Commit code, and see if unit test is fixed (with less busy open).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@233 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 07:11:57 +00:00
wouter
a8b5a5c4cf Header change for message store.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@232 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-10 05:39:12 +00:00
wouter
49d334c9a3 Results of discussion.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@231 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-05 14:53:32 +00:00
wouter
e5f76c0336 Memory layout rrsets.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@230 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-04 13:02:13 +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
7d3a6b592c tag 0.2
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@228 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 14:17:42 +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
6f28cfd68d more portable msghdr.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@218 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 10:01:54 +00:00
wouter
177d06fae3 Portable includes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@217 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:54:16 +00:00
wouter
8639742390 compile fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@215 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:43:20 +00:00
wouter
250f7af515 use constants for bitflags.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@214 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:29:09 +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
ea4a9f56b7 review of worker.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@211 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-02 10:16:02 +00:00
wouter
9af2971c3f writev decl.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@210 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 13:05:47 +00:00
wouter
d436c627fd Review changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@209 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 13:00:36 +00:00
wouter
af50a13f09 No useless byteswapping.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@208 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 10:00:10 +00:00
wouter
be1be4785d iov used.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@207 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 09:26:54 +00:00
wouter
27afbc52bb query list config option. tpkg test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@203 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-28 13:43:50 +00:00
wouter
98a88786cb Multiple queries per thread.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@201 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-27 15:21:21 +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
48d292abae Not cached test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@198 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-27 07:57:33 +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
cb98199c06 Checks returned queries from forwarder source.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@193 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 13:12:49 +00:00
wouter
1db1303312 Answers from the cache work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@192 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 12:41:38 +00:00
wouter
8eba5b12f8 reviewed yesterdays commit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@191 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 08:25:43 +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
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
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
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
2ca02e3d34 lruhash remove routine.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@178 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 12:21:03 +00:00
wouter
09a67c14de lruhash insert and lookup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@176 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 10:42:50 +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
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
5517194893 0.1 tag.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@172 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 15:53:02 +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
8ef4e05ca2 alloc quar work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@164 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-06 15:46:17 +00:00
wouter
445d9e7341 Test result OK.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@163 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-06 09:49:15 +00:00
wouter
89333abd4c Alloc layout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@162 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 15:03:58 +00:00
wouter
0286fa3020 exit on signal, compatible with bad versions of libevent.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@161 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 09:48:31 +00:00
wouter
06714ab888 no warnings for thread code (porting), and nicer logging.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@159 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 09:03:14 +00:00
wouter
b5a05cc19c Small changes, nicer deallocation, nonblocking.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@158 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-01 15:50:57 +00:00
wouter
341b653252 quieter.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@156 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 14:28:20 +00:00
wouter
66e5f9aa03 New test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@155 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 13:55:09 +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
3d609bfefd Random outgoing port ranges.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@153 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 10:46:35 +00:00
wouter
9845f06053 Signal solution
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@152 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 10:33:04 +00:00
wouter
7205f288fb Fork if no threading is available.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@151 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 09:41:34 +00:00
wouter
99ee14a4e5 Nicer thread alternatives.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@150 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 09:28:53 +00:00
wouter
0aa62a84cc - don't open pipes that are unused (no pipes if 1 thread only).
- SIGTERM.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@149 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 16:18:35 +00:00
wouter
026db40657 Threading.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@146 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 14:49:11 +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
2c1cff44c2 Random nrs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@144 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 16:40:58 +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
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
2f5574be76 manpage , fd-setsize for minievent.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@134 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-21 09:52:46 +00:00
wouter
c1332a4525 Config file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@131 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 15:28:27 +00:00
wouter
df5eea9c33 Solaris threads support.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@130 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 13:25:29 +00:00
wouter
24db3ce3dd Locks
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@129 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 11:45:45 +00:00
wouter
2a3b3d37b8 Pthread configure.ac fu.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@128 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-19 15:32:07 +00:00
wouter
6827573be5 Small fixes, makes unbound 0.0 work on SunOS4 sparc.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@123 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 23:00:31 +00:00
wouter
c525f3f022 alternative for libevent. Select() only, only the features needed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@121 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 21:26:10 +00:00
wouter
2c905351c4 docs fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@119 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 17:25:29 +00:00
wouter
530019f56a makefile supports libobj replacements.
check for ldns later - since it breaks compile checks after that.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@117 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 17:13:18 +00:00
wouter
9178d80bf0 no check decls.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@111 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 13:24:09 +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
1b77d91d19 verbosity works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@109 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 15:50:22 +00:00
wouter
fbac4f0396 Fixups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@107 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 15:23:24 +00:00
wouter
67f45ada18 alloc of table makes it aligned.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@102 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 12:54:14 +00:00
wouter
95193023b2 Compile fixes ds10.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@101 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 10:48:43 +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
e516d77f32 Improved: no more 'failed' lines.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@95 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 08:03:15 +00:00
wouter
1869874519 configure changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@94 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 07:23:51 +00:00
wouter
48fcca3f97 Test package for replay scenarios.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@92 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 15:43:57 +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
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
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
233dadfd55 TCP test. Query sent with dig +tcp.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@79 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 12:02:00 +00:00
wouter
1690d69b41 tcp input.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@75 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 14:18:42 +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
7b9a305fa9 BSD needs: addrlen set when calling recvfrom.
And it has length/padding for sockaddr structures.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@72 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:08:55 +00:00
wouter
cd6d736e47 Sets ID correctly. And udp forwarder test - test of networking code against
ldns-testns and dig.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@71 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 08:50:17 +00:00
wouter
54ddfbc6aa Review results. for util/
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@69 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-06 14:00:52 +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
ae8629bc68 Constants for netevent callback error value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@66 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 14:25:07 +00:00
wouter
38375597e0 configure improvement.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@62 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 11:20:38 +00:00
wouter
ca1b2ec0f0 Functioning DNS udp forwarding.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@59 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 13:44:00 +00:00
wouter
44f08bbf93 Commandline options to set forwarder, udp timeout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@58 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 12:52:40 +00:00
wouter
d7e39e8e3b Listen to both 4 and 6.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@57 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:31:25 +00:00
wouter
c88a8e33df IPV6_V6ONLY and IP6_MIN_MTU socket options needed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@53 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:13:18 +00:00
wouter
b036b6c474 udp4 and udp6.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@51 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 09:48:51 +00:00
wouter
b8af1e369c - outside network more UDP work.
- moved * closer to type.
       - comm_timer object and events.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@49 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-01 15:06:38 +00:00
wouter
8ad21e5fd8 outside_network start.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@48 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 15:38:44 +00:00
wouter
c8dd23e3c6 Copied over rbtree. literally now, will adjust.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@46 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 11:57:22 +00:00
wouter
95519ce9d5 udp work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@45 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 09:32:30 +00:00
wouter
9ee43766c6 makedist.sh
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@44 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 06:58:25 +00:00
wouter
c40a0d20c7 See changelog.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@43 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-30 16:36:46 +00:00
wouter
0194bfe7f6 ldns-testpkts.c and .h copied over and used as well.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@41 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-30 13:03:19 +00:00
wouter
51c90b807e man page.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@40 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-29 13:54:32 +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
22db0c6300 Lint openssl fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@38 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-26 09:44:13 +00:00
wouter
6e8ccf8391 Fixed memleak.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@37 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-26 07:55:16 +00:00
wouter
54f08fdfc7 + - created log_assert, that throws assertions to the logfile.
+       - listen_dnsport service. Binds ports.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@35 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 16:08:52 +00:00
wouter
4e51dd9c6a See changelog.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@33 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 12:39:51 +00:00
wouter
bbb5d8a1dd Lint fix. Headers check after ssl detected.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@31 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 09:47:22 +00:00
wouter
5fa816e927 Configure update. Use ldns_buffer.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@30 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-24 13:46:31 +00:00
wouter
73c721ad7b Work on doxygen attr_unused, library searches at end (so size_t exists and so
on) and netevent nicer.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@29 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-23 16:10:23 +00:00
wouter
90c70ff376 Fixed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@28 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-23 14:16:52 +00:00
wouter
3fb547928a Netevent work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@27 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-23 13:46:18 +00:00
wouter
e3e3df364f Header file for network access points.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@24 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-22 15:23:29 +00:00
wouter
8cafe253cf Added READMEs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@22 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-16 11:54:29 +00:00
wouter
3ec6043376 Unit test tpkg.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@18 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 15:36:51 +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
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
96e1df8ada first test package.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@10 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 13:17:06 +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
wouter
e724d3bcc3 nicer readme
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 09:27:01 +00:00
wouter
7707240f4a Added licenses, this is the BSD license.
(I copied the file from the NSD source package ;) )


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 09:17:12 +00:00
wouter
60c38e2190 Created trunk/
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 08:53:52 +00:00