Commit Graph

694 Commits

Author SHA1 Message Date
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