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
67c0d014b9
fixup callbacks deletion.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@405 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-20 09:52:32 +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
9c569777fb
Small off by one in targetcount and double-callback fixup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@389 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-15 08:40:30 +00:00
wouter
1d8bbf7410
slightly more verbose, on retries and dropped replies.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@388 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-13 15:14:23 +00:00
wouter
3359dd17ae
addr fixup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@387 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-13 14:47:01 +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
d5f4c43b9d
lookup cname not in msg cache, but rrset cache.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@378 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 15:25:24 +00:00
wouter
6947de13ee
ip6 functionality.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@376 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 15:04:27 +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
1307e18f33
fixup double linked list insertion code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@372 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-07 07:58:02 +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
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
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
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
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
65089d3ea0
state init3.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@350 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-30 14:19:56 +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
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
eac331b9ee
fixup lock code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@340 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-25 12:20:18 +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
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
d9c43911b2
please lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@333 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-23 06:27:23 +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
87302b3d9b
EDNS test.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@329 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-22 13:40:49 +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
a2840c9a00
doc fix.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@323 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 15:12:03 +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
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
7310159d0a
Host cache setup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@318 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-14 15:03:55 +00:00
wouter
e641ee09fd
Fixup tests.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@312 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:33:38 +00:00
wouter
401583e12b
iterator module.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@311 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-11 14:16:42 +00:00
wouter
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
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
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
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
95ec45c352
Use random (thread safe version).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@145 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 09:42:05 +00:00
wouter
e4d057d315
New config options.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@138 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 11:00:55 +00:00
wouter
3d6f070744
Ports are shared and you can kill -HUP to do a reload (of config file).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@137 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 10:04:50 +00:00
wouter
df0bfecb92
daemon code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@136 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-22 16:22:54 +00:00
wouter
6adf23c507
config file is used.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@135 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-22 13:36:29 +00:00
wouter
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
6827573be5
Small fixes, makes unbound 0.0 work on SunOS4 sparc.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@123 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 23:00:31 +00:00
wouter
14ad0c22ab
cast for less warnings
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@122 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 21:39:25 +00:00
wouter
a08460abbd
Compilation fixes for portability.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@120 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 18:21:14 +00:00
wouter
597cee7d5b
configure compat replacements. start of ip6 ifdefing.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@113 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 15:18:52 +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
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
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
7e335eadfd
please lint and doxygen.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@73 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:11:26 +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
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
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
7a095abb6a
extra define
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@64 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 13:52:54 +00:00
wouter
ca1b2ec0f0
Functioning DNS udp forwarding.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@59 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 13:44:00 +00:00
wouter
44f08bbf93
Commandline options to set forwarder, udp timeout.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@58 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 12:52:40 +00:00
wouter
d7e39e8e3b
Listen to both 4 and 6.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@57 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:31:25 +00:00
wouter
b495764c09
lint fix.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@56 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:21:13 +00:00
wouter
789cabe66f
Build fixed.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@55 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:19:54 +00:00
wouter
66c41ab563
doxygen
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@54 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:19:08 +00:00
wouter
c88a8e33df
IPV6_V6ONLY and IP6_MIN_MTU socket options needed.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@53 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 10:13:18 +00:00
wouter
b036b6c474
udp4 and udp6.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@51 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 09:48:51 +00:00
wouter
2beefc6aaf
lint
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@50 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-01 15:08:58 +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
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
6d35951880
fixup lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@36 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 16:17:17 +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