Commit Graph

694 Commits

Author SHA1 Message Date
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
ee53b5fef8 do not cache nonRD replies in msg cache, the rrset cache is used for that.
store verification status in rrset cache to enable security for nonRD
replies and also speed up processing.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@550 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-27 13:46:05 +00:00
wouter
53de4306c6 send recursive queries to test cache drop off.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@549 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-27 11:26:03 +00:00
wouter
96eb624da0 answer non-recursive straight from cache, if possible.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@548 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-27 09:53:16 +00:00
wouter
4ee83871c3 Returns and caches validated replies.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@536 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-21 13:12:10 +00:00
wouter
a4f5349d21 crypto verify routines.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@520 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-15 08:39:00 +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
7d3fc76d0d total allocation tracking.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@507 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-10 09:07:19 +00:00
wouter
a1b7eab9d1 memory indication.
typo fix.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@503 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-09 10:14:32 +00:00
wouter
801bfa406b sigcrypt.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@498 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 15:18:25 +00:00
wouter
80ffffebd1 remove done and supers module interface calls.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@474 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 08:07:50 +00:00
wouter
f5c4688976 prime flag moved.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@470 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 12:59:37 +00:00
wouter
ffae9bc790 module configuration option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@468 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 11:17:30 +00:00
wouter
6bc7ffedb6 random number seed pid-tid fixup, todo.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@463 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-30 09:27:49 +00:00
wouter
2a78688509 Removed unused -C commandline option (was for debug).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@459 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-27 06:41:42 +00:00
wouter
d7201ed226 cycle detection
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@452 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-26 09:29:21 +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
0c94a2932e check of CNAME chain in replies from cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@441 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 06:17:45 +00:00
wouter
d9aac953ba cname chain caching (part).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@440 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-19 15:16:39 +00:00
wouter
9a65e4ba03 please lint
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@439 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-19 14:10:09 +00:00
wouter
2acc4cc764 version.server and consorts support.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@438 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-19 13:50:00 +00:00
wouter
2a09f09ea8 fixup tests, better stats, nicer api supers_walk().
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@424 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-26 15:24:07 +00:00
wouter
b0d9e6c363 Mesh used now.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@423 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-26 13:06:44 +00:00
wouter
a12abdfeca mesh work, now coded mesh service.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@422 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-25 13:54:03 +00:00
wouter
26a83b8c0b further mesh.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@419 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-22 12:39:08 +00:00
wouter
bcea03a902 Mesh design and preparatory cleanup.
- removed unused _node iterator value from rbtree_t. Takes up space.
      - iterator can handle querytargets state without a delegation point
        set, so that a priming(stub) subquery error can be handled.
      - iterator stores if it is priming or not.
      - log_query_info() neater logging.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@418 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-22 10:09:21 +00:00
wouter
bf1ad1c235 fixup query release.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@413 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 10:23:07 +00:00
wouter
b23ac4c8ec Runnables from slumberlist done to clean it up.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@411 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 08:05:16 +00:00
wouter
b8da1acd51 Fixup secondary buffer in case of error callback.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@410 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 07:52:51 +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
678ce4a951 Freeup main module after module states.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@407 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 13:17:07 +00:00
wouter
d63fdceec2 Fixups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@406 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 13:01:30 +00:00
wouter
17bc12ed50 logging for num queries.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@404 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 09:17:09 +00:00
wouter
069e941a12 coredump feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@402 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 07:47:56 +00:00
wouter
a971f1d029 options to harden against very small EDNS bufsize or very large query packets.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@400 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 14:46:14 +00:00
wouter
b68dad48a7 fix of flags in errors and very short bufsizes from edns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@397 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 13:50:43 +00:00
wouter
7ecbf0b24c AXFR handling and non-recursive handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@396 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 12:34:54 +00:00
wouter
f9e2375f93 - nicer layout in stats.c, review 0.3 change.
- spelling improvement, review 0.3 change.
       - uncapped timeout for server selection, so that very fast or slow
         servers will stand out from the rest.
       - target-fetch-policy: "3 2 1 0 0" config setting.
	 and docs.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@395 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-19 12:06:02 +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
047c15c7ca Improve error handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@391 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-15 12:11:44 +00:00
wouter
dfe3ae0dc1 fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@390 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-15 09:13: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
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
777fb87aa5 Tested serval targets, with CNAME's and indirection for recursion and
slumber list.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@374 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 13:21:04 +00:00
wouter
603d3c082c Fixup cname target name readout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@373 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 10:38:02 +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
d21083c609 - priming failure returns SERVFAIL.
- priming gives LAME result, returns SERVFAIL.
       - debug routine to print dns_msg as handled by iterator.
       - memleak in config file stubs fixup.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@370 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 12:54:43 +00:00
wouter
805d748092 No double release of workrequest.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@369 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 10:58:14 +00:00
wouter
f8571f766a - subrequests without parent store in cache and stop.
- worker slumber list for ongoing promiscuous queries.
       - subrequest error handling.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@368 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-05 10:51:47 +00:00
wouter
009134dd04 cache lameness, set reply properly.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@363 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 11:52:10 +00:00
wouter
2553be9532 Random nameserver selection.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@361 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 09:57:02 +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
598f4dd79b multiple subrequests at the same time.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@351 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 14:55:40 +00:00
wouter
1663aca700 init2 and double free fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@349 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 11:45:44 +00:00
wouter
7defbafe09 iterator work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@348 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 11:18:17 +00:00
wouter
ae8d3dbd12 Name change to make naming more uniform.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@345 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 12:31:02 +00:00
wouter
b715da9d6e message lookup and copy to region.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@343 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 10:32:11 +00:00
wouter
38bdf5271c tests need forwarding mode enabled.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@337 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-24 13:41:30 +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
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
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
14ee408f22 Lint fixup. splint gets confused by getrlimit.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@299 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 09:04:11 +00:00
wouter
e10db1a79d Checks ulimit open files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@298 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 07:58:57 +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
c48ece2072 lint fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@291 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 14:07:34 +00:00
wouter
adcc0a69bb EDNS errors.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@290 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-07 14:05:51 +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
ccae57de60 Update rrset.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@285 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 13:48:24 +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
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
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
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
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
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
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
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
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
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
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
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
8f459044b9 Cast to make warning disappear.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@157 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 15:46:28 +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
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
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
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
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
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
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
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
dbb94724a2 Nicer error.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@106 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 14:52:11 +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
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
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
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
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
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
07d06cab43 lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@60 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 14:19:56 +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
a7aa93f585 Small fixed. Get fwdaddr to work on BSD. Memleak fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@52 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 09:57:53 +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
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
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
c74cb80ded doc fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@34 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 12:50:40 +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
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