wouter
caca9c3b43
lame cache in bytes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@579 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 10:19:10 +00:00
wouter
4353a39c1b
cname nxdomain fixup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@576 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-09-03 09:13:27 +00:00
wouter
08d5cf38d1
fixup test
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@574 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-31 12:58:23 +00:00
wouter
f4899c8521
can read bind-style config files for trust anchor information.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@569 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-31 07:44:16 +00:00
wouter
f8f907875d
bind config trusted keys read work.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@568 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-30 15:36:23 +00:00
wouter
e97cae4641
Memory cleanup.
...
- caught bad free of un-alloced data in worker_send error case.
- memory accounting for key cache (trust anchors and temporary cache).
- memory accounting fixup for outside network tcp pending waits.
- memory accounting fixup for outside network tcp callbacks.
- memory accounting for iterator fixed storage.
- key cache size and slabs config options.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@566 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-30 12:45:19 +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
47a1d9abba
validate by default.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@563 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-29 13:27:21 +00:00
wouter
d053842ac7
permissive mode feature.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@556 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-28 11:53:27 +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
1b301ed090
larger default infra cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@547 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-24 14:58:36 +00:00
wouter
3e00f0a5e9
refuse unsigned authority section. clean additional section as option.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@543 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-24 09:44:29 +00:00
wouter
ccf456e1db
bogus ttl fixed value, config item.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@540 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-22 12:13:52 +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
c009f0706c
VALIDATE state and positive response validation.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@532 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-20 12:31:12 +00:00
wouter
63872867b7
nsec work, canonical compare routine and tests.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@530 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-17 14:25:42 +00:00
wouter
e173c2f391
ds2ke and nsec work.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@529 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-17 11:41:49 +00:00
wouter
f8f1f71a0d
findkey state.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@528 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-16 15:06:40 +00:00
wouter
cba19c0ad0
key prime, DS test.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@525 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-16 09:33:35 +00:00
wouter
3cdba8352f
verify unit test.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@522 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-15 13:18:32 +00:00
wouter
5cbdac787a
Fixup parser, new test.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@517 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 15:33:07 +00:00
wouter
10ea146a35
enable for lock checks.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@514 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:33:41 +00:00
wouter
77f871b043
please lint and doxygen.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@513 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:18:50 +00:00
wouter
7866ca5398
fixups for memory.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@512 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-14 13:15:36 +00:00
wouter
1025fee04d
makefile nicer in case flex is missing.
...
canonical compare.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@509 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-13 10:27:44 +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
2590097954
debug override date config option.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@505 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-09 15:16:25 +00:00
wouter
24c0426379
rrsig checks.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@502 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-09 09:58:04 +00:00
wouter
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
de42790b48
val_util work.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@497 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 14:30:01 +00:00
wouter
139baa112a
id number change
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@496 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 09:24:20 +00:00
wouter
8760c149a4
security status.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@495 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-07 08:27:23 +00:00
wouter
f5cae3bd4a
dname isroot and dellabel
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@492 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-06 11:06:00 +00:00
wouter
8fab6774c0
oops.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@488 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-03 13:15:30 +00:00
wouter
a5d91710d7
unit test trust anchor storage.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@487 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-03 13:15:16 +00:00
wouter
3ebe325be0
trust anchor storage and config.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@486 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-03 11:51:20 +00:00
wouter
7d81863897
validator, trust anchors.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@482 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 15:45:32 +00:00
wouter
b3cbef4dfc
passing of control between modules.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@479 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-02 12:13:08 +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
b6f4010edf
callbacks via module specific function for walk_supers.
...
part of a move towards multiple modules for meshes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@471 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 14:01:34 +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
8dfb56272f
query flags for detect cycle.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@469 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-08-01 11:29:12 +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
e7df442fe7
todo, plan.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@466 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-31 08:11:48 +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
008a70a139
name change. todo.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@446 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 14:16:02 +00:00
wouter
a161bfbed7
Option to disable sanitize (normalize is still active), speeds up. But
...
some spoofing scenarios become possible. Default is the safe method.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@443 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 09:12:06 +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
00c08bc573
Do not query addresses and configuration.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@434 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-18 08:14:44 +00:00
wouter
904609c3de
please doxygen
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@433 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-17 15:30:39 +00:00
wouter
418bac1638
Remove old forwarder mode, new @port option and tests ported over.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@432 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-17 15:26:45 +00:00
wouter
7729681ca8
forward zones.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@429 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-17 13:45:45 +00:00
wouter
705006ee97
Histogram
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@428 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-27 14:59:44 +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
5441077319
mesh design.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@417 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 15:36:13 +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
5f0e6a96f3
subreq depth fix
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@412 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-21 09:36:27 +00:00
wouter
ccc40ef7c0
fixup CNAME generated by scrubber.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@403 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 08:55:00 +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
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
bb8770b8eb
target fetch policy setting from config structure.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@394 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-18 15:24:14 +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
5eac4754db
no lock checks(file size) and align 64 bits, because otherwise bus error
...
on solaris.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@386 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-13 12:27:18 +00:00
wouter
c3cb973c20
fixup comments for doxygen 1.5
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@383 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-12 14:51:49 +00:00
wouter
1b2aa264a7
uses CNAMEs and DNAMEs from the cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@380 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-11 14:55:10 +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
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
c86cdf5715
Better reference.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@366 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 14:44:27 +00:00
wouter
1b1c3ef566
Process target responses, case preservation.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@365 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 13:53:01 +00:00
wouter
09a50c0c31
Copy replyinfo routine.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@362 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-04 11:34:23 +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
e65bb081d7
doc
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@360 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 20:25:27 +00:00
wouter
e7cd30c7d7
process_response, classify response, delegpt_from_message.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@359 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 20:24:33 +00:00
wouter
2d09b66eac
please lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@358 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:56:18 +00:00
wouter
7eeeb162b0
conversion from parsed message to iterator region storage.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@357 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:52:07 +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
e77f35a9af
cleaner allocation code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@355 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 12:05:48 +00:00
wouter
f1dfcd6207
scrubbing routines.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@354 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-01 09:42:31 +00:00
wouter
ce582a4765
query targets state.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@352 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-31 12:51:36 +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
f8baab03a0
Removed CD bit flags from cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@347 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 05:39:04 +00:00
wouter
650ac20298
partial busy
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@346 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 14:02: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
5508e2c0d9
fixup cast and fixup TTL increase for duplicate rrset messages.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@344 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-29 12:26:45 +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
af1c787ab9
iterator and dns cache work.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@342 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-25 15:28:20 +00:00
wouter
56f5c84d57
- Acknowledge use of unbound-java code in iterator. Nicer readme.
...
- services/cache/dns.c DNS Cache. Hybrid cache uses msgcache and
rrset cache from module environment.
- packed rrset key has type and class as easily accessable struct
members. They are still kept in network format for fast msg encode.
- dns cache find_delegation routine.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@339 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-25 12:02:37 +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
e8b2e8ded2
root hints.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@335 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 14:05:36 +00:00
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