Commit Graph

3064 Commits

Author SHA1 Message Date
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
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
2c905351c4 docs fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@119 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 17:25:29 +00:00
wouter
530019f56a makefile supports libobj replacements.
check for ldns later - since it breaks compile checks after that.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@117 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 17:13:18 +00:00
wouter
9178d80bf0 no check decls.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@111 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 13:24:09 +00:00
wouter
e71fe24ab2 Updated testbed script.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@110 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 09:35: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
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
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
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
e516d77f32 Improved: no more 'failed' lines.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@95 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 08:03:15 +00:00
wouter
1869874519 configure changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@94 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 07:23:51 +00:00
wouter
48fcca3f97 Test package for replay scenarios.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@92 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 15:43:57 +00:00
wouter
7792e97860 Replay works. Nicer print of steps taken. Two example replays, forward one
query and forward but a timeout happens.
Both run in 0.1 sec; even the timeout, since it is triggered from the input
file not by waiting.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@91 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 15:35:26 +00:00
wouter
266cbfe2a2 replay works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@90 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-13 14:00:58 +00:00
wouter
1e73129b15 Work on fake events.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@89 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-12 16:04:11 +00:00
wouter
24259ffb61 replay work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@88 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 16:39:47 +00:00
wouter
57caa95e06 replay file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@85 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-09 13:46:11 +00:00
wouter
bfebfbab5c Fake event start.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@82 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 16:03:26 +00:00
wouter
bd15825649 replay code files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@81 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 14:55:53 +00:00
wouter
233dadfd55 TCP test. Query sent with dig +tcp.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@79 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-08 12:02:00 +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
b315358011 libevent option for testbed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@74 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:18:04 +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
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
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
e4b530f330 added unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@67 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 14:57:16 +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
38375597e0 configure improvement.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@62 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 11:20:38 +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
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
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
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
9ee43766c6 makedist.sh
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@44 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 06:58:25 +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
0194bfe7f6 ldns-testpkts.c and .h copied over and used as well.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@41 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-30 13:03:19 +00:00
wouter
51c90b807e man page.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@40 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-29 13:54:32 +00:00
wouter
0fab65f4ab testbound program.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@39 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-26 11:57:09 +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
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
bbb5d8a1dd Lint fix. Headers check after ssl detected.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@31 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 09:47:22 +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
90c70ff376 Fixed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@28 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-23 14:16:52 +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
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
8cafe253cf Added READMEs.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@22 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-16 11:54:29 +00:00
wouter
3ec6043376 Unit test tpkg.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@18 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 15:36:51 +00:00
wouter
0020689f5a testbed update.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@17 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 15:30:09 +00:00
wouter
3f2ee10e64 testbed scripts.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@12 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-04 11:03: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
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
wouter
e724d3bcc3 nicer readme
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 09:27:01 +00:00
wouter
7707240f4a Added licenses, this is the BSD license.
(I copied the file from the NSD source package ;) )


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 09:17:12 +00:00
wouter
60c38e2190 Created trunk/
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-03 08:53:52 +00:00