Commit Graph

1319 Commits

Author SHA1 Message Date
wouter
00352efb72 setup of state; delegation point setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@334 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 09:34:01 +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
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
afd1f7d1ad Fixup buffer position.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@328 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 13:00:14 +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
f21445bfe2 Config options for infra cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@325 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-16 14:29:46 +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
768424d16b Moved log_addr.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@320 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 12:18:28 +00:00
wouter
bedc1c8df3 Host cache code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@319 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 10:53:27 +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
9d296f41ba porting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@315 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 09:26:03 +00:00
wouter
f6e8e96ac7 Alignment fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@314 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 09:25:05 +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
a3625650a9 per query state for modules to allocate...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@310 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-10 14:36:05 +00:00
wouter
79f946366e subqueries
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@309 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-10 13:28:32 +00:00
wouter
6fc5c573b2 Zap.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@308 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-10 13:25:30 +00:00
wouter
c51afa1c05 ids, alloc service
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@307 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-10 12:56:49 +00:00
wouter
8eacc9c31b Fix for compression. Module interface setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@306 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-10 11:53:55 +00:00
wouter
4ecb02711a Compiletest fix alloc.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@302 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 09:55:30 +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
2b2981aeb6 No verbose for packet error. TC detect.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@293 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 15:01:27 +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
7575f56722 Send tcp buffers using writev.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@284 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 13:01:20 +00:00
wouter
10b58320a1 Nasty bug fixed in tcp writer. Commit before I rework the entire thing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@283 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 12:45:59 +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
960c7df2fe working on trust of rrsets.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@281 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 10:10:52 +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
dc30140970 config settings for rrset cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@279 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 07:34:10 +00:00
wouter
4311169bad Better estimate.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@278 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 06:56:37 +00:00
wouter
f504523316 Use packedrrset msgformat in service.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@277 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-03 15:34:03 +00:00
wouter
8d7eb5ce4f start of EDNS work; TC truncation of message encoding.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@276 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-02 15:31:32 +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
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
e4e8fbb26a TODO listing, comment fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@264 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-27 09:37:38 +00:00
wouter
fe3442c88c OMGponies.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@261 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-26 09:48:28 +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
7c898cc2ca fixes offset.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@258 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-25 15:41:19 +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
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
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
47db7a8423 Dname compare routines with compression pointers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@239 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-12 14:54:34 +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
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
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
b0f11842c3 please lint (ultimate version)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@206 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 07:22:48 +00:00
wouter
b8127bdc42 please lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@205 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 07:03:09 +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
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
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
ef02b2f9f3 please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@195 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-23 15:21:42 +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
f7b6d8f8ae Hash function, taken from the public domain.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@188 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-22 11:38:15 +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
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
f5834160dc Remove warning on FreeBSD4.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@181 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-15 10:37:00 +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
d169dc505f Lint complained, fixup array lookup using hash value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@177 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-14 10:47:11 +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
eccaedbf8e No empty if body in nonevent compile.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@171 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 14:55:57 +00:00
wouter
de2c427d36 Debug threads when possible.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@169 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-09 14:09:32 +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
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
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
b5a913b7ed Porting to solaris.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@160 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-02 09:08:12 +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
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
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
1fd9ca4b92 TODO item for later.
Doxygen fixes and lint fix.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@147 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 16:05:18 +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
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
abcd9fdb40 random code cleaned up.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@143 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 16:27:10 +00:00
wouter
34d45e9677 Commit of straight random.c, modifications can show up in svn.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@142 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 15:48:25 +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
0d2d58d384 Fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@140 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 13:59:45 +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
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
f73bab1e28 config file param.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@133 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 16:19:00 +00:00
wouter
b671785f9b locks.h doxygen not enforced, it looks bad.
no lint and doxygen on yacc and lex generated files.
added doc to config_file.h


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@132 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 15:47:27 +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
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
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
fa486efa61 Fixup - rebalancing the tree during delete would be bad.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@108 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 15:32:02 +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
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
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
8259caba4b cleanup dropped tcp.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@77 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 15:53:51 +00:00
wouter
2fd6a1d99e tcp queries get answers.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@76 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 15:44:19 +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
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
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
e52b18cf77 signal handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@68 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 16:46:40 +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
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
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
161fb40a1c Rework rbtree to fit into unbound, doxygen comments.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@47 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 12:25:06 +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
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
8b2bf08f93 Fixup lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@32 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 09:48:37 +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
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
d9db8261ef doc fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@26 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-22 15:30:47 +00:00
wouter
295dcbddd4 Doc addition.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@25 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-22 15:27:55 +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
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