2007-03-09 04:01:03 -05:00
|
|
|
9 March 2007: Wouter
|
|
|
|
|
- added rwlock writelock checking.
|
|
|
|
|
So it will keep track of the writelock, and readlocks are enforced
|
|
|
|
|
to not change protected memory areas.
|
|
|
|
|
|
2007-03-08 09:59:41 -05:00
|
|
|
8 March 2007: Wouter
|
|
|
|
|
- Reviewed checklock code.
|
|
|
|
|
|
2007-03-07 11:21:31 -05:00
|
|
|
7 March 2007: Wouter
|
|
|
|
|
- created a wrapper around thread calls that performs some basic
|
|
|
|
|
checking for data race and deadlock, and basic performance
|
|
|
|
|
contention measurement.
|
|
|
|
|
|
2007-03-06 04:49:15 -05:00
|
|
|
6 March 2007: Wouter
|
|
|
|
|
- Testbed works with threading (different machines, different options).
|
2007-03-06 10:46:17 -05:00
|
|
|
- alloc work, does the special type.
|
2007-03-06 04:49:15 -05:00
|
|
|
|
2007-03-02 04:03:14 -05:00
|
|
|
2 March 2007: Wouter
|
|
|
|
|
- do not compile fork funcs unless needed. Otherwise will give
|
|
|
|
|
type errors as their typedefs have not been enabled.
|
|
|
|
|
- log shows thread numbers much more nicely (and portably).
|
2007-03-02 04:48:31 -05:00
|
|
|
- even on systems with nonthreadsafe libevent signal handling,
|
|
|
|
|
unbound will exit if given a signal.
|
|
|
|
|
Reloads will not work, and exit is not graceful.
|
2007-03-02 10:03:58 -05:00
|
|
|
- start of alloc framework layout.
|
2007-03-02 04:03:14 -05:00
|
|
|
|
2007-03-01 10:50:57 -05:00
|
|
|
1 March 2007: Wouter
|
|
|
|
|
- Signals, libevent and threads work well, with libevent patch and
|
|
|
|
|
changes to code (close after event_del).
|
|
|
|
|
- set ipc pipes nonblocking.
|
|
|
|
|
|
2007-02-27 04:28:53 -05:00
|
|
|
27 February 2007: Wouter
|
|
|
|
|
- ub_thread_join portable definition.
|
|
|
|
|
- forking is used if no threading is available.
|
2007-02-27 04:41:34 -05:00
|
|
|
Tested, it works, since pipes work across processes as well.
|
|
|
|
|
Thread_join is replaced with waitpid.
|
2007-02-27 05:33:04 -05:00
|
|
|
- During reloads the daemon will temporarily handle signals,
|
|
|
|
|
so that they do not result in problems.
|
2007-02-27 05:46:35 -05:00
|
|
|
- Also randomize the outgoing port range for tests.
|
2007-02-27 06:25:44 -05:00
|
|
|
- If query list is full, will stop selecting listening ports for read.
|
|
|
|
|
This makes all threads service incoming requests, instead of one.
|
|
|
|
|
No memory is leaking during reloads, service of queries, etc.
|
2007-02-27 08:55:09 -05:00
|
|
|
- test that uses ldns-testns -f to test threading. Have to answer
|
|
|
|
|
three queries at the same time.
|
2007-02-27 09:28:20 -05:00
|
|
|
- with verbose=0 operates quietly.
|
2007-02-27 04:28:53 -05:00
|
|
|
|
2007-02-26 04:42:05 -05:00
|
|
|
26 February 2007: Wouter
|
|
|
|
|
- ub_random code used to select ID and port.
|
2007-02-26 09:49:11 -05:00
|
|
|
- log code prints thread id.
|
|
|
|
|
- unbound can thread itself, with reload(HUP) and quit working
|
|
|
|
|
correctly.
|
2007-02-26 11:18:35 -05:00
|
|
|
- don't open pipes for #0, doesn't need it.
|
|
|
|
|
- listens to SIGTERM, SIGQUIT, SIGINT (all quit) and SIGHUP (reload).
|
2007-02-26 04:42:05 -05:00
|
|
|
|
2007-02-23 05:04:50 -05:00
|
|
|
23 February 2007: Wouter
|
|
|
|
|
- Can do reloads on sigHUP. Everything is stopped, and freed,
|
|
|
|
|
except the listening ports. Then the config file is reread.
|
|
|
|
|
And everything is started again (and listening ports if needed).
|
|
|
|
|
- Ports for queries are shared.
|
2007-02-23 06:00:55 -05:00
|
|
|
- config file added interface:, chroot: and username:.
|
2007-02-23 08:38:54 -05:00
|
|
|
- config file: directory, logfile, pidfile. And they work too.
|
2007-02-23 10:23:33 -05:00
|
|
|
- will daemonize by default now. Use -d to stay in the foreground.
|
2007-02-23 11:40:58 -05:00
|
|
|
- got BSD random[256 state] code, made it threadsafe. util/random.
|
2007-02-23 05:04:50 -05:00
|
|
|
|
2007-02-22 08:36:29 -05:00
|
|
|
22 February 2007: Wouter
|
|
|
|
|
- Have a config file. Removed commandline options, moved to config.
|
|
|
|
|
- tests use config file.
|
|
|
|
|
|
2007-02-21 04:52:46 -05:00
|
|
|
21 February 2007: Wouter
|
|
|
|
|
- put -c option in man page.
|
|
|
|
|
- minievent fd array capped by FD_SETSIZE.
|
|
|
|
|
|
2007-02-20 06:45:45 -05:00
|
|
|
20 February 2007: Wouter
|
|
|
|
|
- Added locks code and pthread spinlock detection.
|
2007-02-20 08:25:29 -05:00
|
|
|
- can use no locks, or solaris native thread library.
|
2007-02-20 10:28:27 -05:00
|
|
|
- added yacc and lex configure, and config file parsing code.
|
|
|
|
|
also makedist.sh, and manpage.
|
|
|
|
|
- put include errno.h in config.h
|
2007-02-20 06:45:45 -05:00
|
|
|
|
2007-02-19 10:32:07 -05:00
|
|
|
19 February 2007: Wouter
|
|
|
|
|
- Created 0.0 svn tag.
|
|
|
|
|
- added acx_pthread.m4 autoconf check for pthreads from
|
|
|
|
|
the autoconf archive. It is GPL-with-autoconf-exception Licensed.
|
|
|
|
|
You can specify --with-pthreads, or --without-pthreads to configure.
|
|
|
|
|
|
2007-02-16 04:35:27 -05:00
|
|
|
16 February 2007: Wouter
|
|
|
|
|
- Updated testbed script, works better by using make on remote end.
|
2007-02-16 08:24:09 -05:00
|
|
|
- removed check decls, we can compile without them.
|
2007-02-16 12:13:18 -05:00
|
|
|
- makefile supports LIBOBJ replacements.
|
2007-02-16 12:25:29 -05:00
|
|
|
- docs checks ignore compat code.
|
2007-02-16 16:26:10 -05:00
|
|
|
- added util/mini-event.c and .h, a select based alternative used with
|
|
|
|
|
./configure --with-libevent=no
|
|
|
|
|
It is limited to 1024 file descriptors, and has less features.
|
2007-02-16 18:00:31 -05:00
|
|
|
- will not create ip6 sockets if ip6 not on the machine.
|
2007-02-16 04:35:27 -05:00
|
|
|
|
2007-02-15 05:48:43 -05:00
|
|
|
15 February 2007: Wouter
|
|
|
|
|
- port to FreeBSD 4.11 Dec Alpha. Also works on Solaris 10 sparc64,
|
|
|
|
|
Solaris 9, FreeBSD 6, Linux i386 and OSX powerpc.
|
2007-02-15 07:54:14 -05:00
|
|
|
- malloc rndstate, so that it is aligned for access.
|
2007-02-15 10:23:24 -05:00
|
|
|
- fixed rbtree cleanup with postorder traverse.
|
|
|
|
|
- fixed pending messages are deleted when handled.
|
2007-02-15 10:50:22 -05:00
|
|
|
- You can control verbosity; default is not verbose, every -v
|
|
|
|
|
adds more verbosity.
|
2007-02-15 05:48:43 -05:00
|
|
|
|
2007-02-14 02:23:51 -05:00
|
|
|
14 February 2007: Wouter
|
|
|
|
|
- Included configure.ac changes from ldns.
|
2007-02-14 03:03:15 -05:00
|
|
|
- detect (some) headers before the standards check.
|
|
|
|
|
- do not use isblank to test c99, since its not available on solaris9.
|
2007-02-14 05:10:43 -05:00
|
|
|
- review of testcode.
|
|
|
|
|
* entries in a RANGE are no longer reversed.
|
|
|
|
|
* print name of file with replay entry parse errors.
|
|
|
|
|
- port to OSX: cast to int for some prints of sizet.
|
|
|
|
|
- Makefile copies ldnstestpkts.c before doing dependencies on it.
|
2007-02-14 02:23:51 -05:00
|
|
|
|
2007-02-13 09:00:58 -05:00
|
|
|
13 February 2007: Wouter
|
|
|
|
|
- work on fake events, first fwd replay works.
|
2007-02-13 10:35:26 -05:00
|
|
|
- events can do timeouts and errors on queries to servers.
|
2007-02-13 10:43:57 -05:00
|
|
|
- test package that runs replay scenarios.
|
2007-02-13 09:00:58 -05:00
|
|
|
|
2007-02-12 11:04:11 -05:00
|
|
|
12 February 2007: Wouter
|
|
|
|
|
- work on fake events.
|
|
|
|
|
|
2007-02-09 08:46:11 -05:00
|
|
|
9 February 2007: Wouter
|
|
|
|
|
- replay file reading.
|
2007-02-09 11:39:47 -05:00
|
|
|
- fake event setup, it creates fake structures, and teardowns,
|
|
|
|
|
added signal callbacks to reply to be able to fake those,
|
|
|
|
|
and main structure of event replay routines.
|
2007-02-09 08:46:11 -05:00
|
|
|
|
2007-02-08 07:02:00 -05:00
|
|
|
8 February 2007: Wouter
|
|
|
|
|
- added tcp test.
|
2007-02-08 09:55:53 -05:00
|
|
|
- replay storage.
|
2007-02-08 11:03:26 -05:00
|
|
|
- testcode/fake_event work.
|
2007-02-08 07:02:00 -05:00
|
|
|
|
2007-02-07 03:50:17 -05:00
|
|
|
7 February 2007: Wouter
|
|
|
|
|
- return answer with the same ID as query was sent with.
|
|
|
|
|
- created udp forwarder test. I've done some effort to make it perform
|
|
|
|
|
quickly. After servers are created, no big sleep statements but
|
|
|
|
|
it checks the logfiles to see if servers have come up. Takes 0.14s.
|
2007-02-07 05:08:55 -05:00
|
|
|
- set addrlen value when calling recvfrom.
|
|
|
|
|
- comparison of addrs more portable.
|
2007-02-07 05:18:04 -05:00
|
|
|
- LIBEVENT option for testbed to set libevent directory.
|
2007-02-07 09:18:42 -05:00
|
|
|
- work on tcp input.
|
2007-02-07 03:50:17 -05:00
|
|
|
|
2007-02-06 09:00:52 -05:00
|
|
|
6 February 2007: Wouter
|
|
|
|
|
- reviewed code and improved in places.
|
|
|
|
|
|
2007-02-05 06:20:38 -05:00
|
|
|
5 February 2007: Wouter
|
|
|
|
|
- Picked up stdc99 and other define tests from ldns. Improved
|
|
|
|
|
POSIX define test to include getaddrinfo.
|
2007-02-05 09:25:07 -05:00
|
|
|
- defined constants for netevent callback error code.
|
2007-02-05 09:57:16 -05:00
|
|
|
- unit test for strisip6.
|
2007-02-05 06:20:38 -05:00
|
|
|
|
2007-02-02 04:48:51 -05:00
|
|
|
2 February 2007: Wouter
|
|
|
|
|
- Created udp4 and udp6 port arrays to provide service for both
|
|
|
|
|
address families.
|
2007-02-02 05:13:18 -05:00
|
|
|
- uses IPV6_USE_MIN_MTU for udp6 ,IPV6_V6ONLY to make ip6 sockets.
|
2007-02-02 05:31:25 -05:00
|
|
|
- listens on both ip4 and ip6 ports to provide correct return address.
|
2007-02-02 07:52:40 -05:00
|
|
|
- worker fwder address filled correctly.
|
|
|
|
|
- fixup timer code.
|
2007-02-02 08:44:00 -05:00
|
|
|
- forwards udp queries and sends answer.
|
2007-02-02 04:48:51 -05:00
|
|
|
|
2007-02-01 10:06:38 -05:00
|
|
|
1 February 2007: Wouter
|
|
|
|
|
- outside network more UDP work.
|
|
|
|
|
- moved * closer to type.
|
|
|
|
|
- comm_timer object and events.
|
|
|
|
|
|
2007-01-31 01:58:25 -05:00
|
|
|
31 January 2007: Wouter
|
|
|
|
|
- Added makedist.sh script to make release tarball.
|
2007-01-31 04:32:30 -05:00
|
|
|
- Removed listen callback layer, did not add anything.
|
|
|
|
|
- Added UDP recv to netevent, worker callback for udp.
|
|
|
|
|
- netevent communication reply storage structure.
|
|
|
|
|
- minimal query header sanity checking for worker.
|
2007-01-31 06:57:22 -05:00
|
|
|
- copied over rbtree implementation from NSD (BSD licensed too).
|
2007-01-31 10:38:44 -05:00
|
|
|
- outgoing network query service work.
|
2007-01-31 01:58:25 -05:00
|
|
|
|
2007-01-30 08:03:19 -05:00
|
|
|
30 January 2007: Wouter
|
|
|
|
|
- links in example/ldns-testpkts.c and .h for premade packet support.
|
2007-01-30 11:36:46 -05:00
|
|
|
- added callback argument to listen_dnsport and daemon/worker.
|
2007-01-30 08:03:19 -05:00
|
|
|
|
2007-01-29 08:54:32 -05:00
|
|
|
29 January 2007: Wouter
|
|
|
|
|
- unbound.8 a short manpage.
|
|
|
|
|
|
|
|
|
|
26 January 2007: Wouter
|
2007-01-26 02:55:16 -05:00
|
|
|
- fixed memleak.
|
2007-01-26 04:44:13 -05:00
|
|
|
- make lint works on BSD and Linux (openssl defines).
|
2007-01-26 06:57:09 -05:00
|
|
|
- make tags works.
|
|
|
|
|
- testbound program start.
|
2007-01-26 02:55:16 -05:00
|
|
|
|
2007-01-29 08:54:32 -05:00
|
|
|
25 January 2007: Wouter
|
2007-01-25 04:47:22 -05:00
|
|
|
- fixed lint so it may work on BSD.
|
2007-01-25 07:39:51 -05:00
|
|
|
- put license into header of every file.
|
|
|
|
|
- created verbosity flag.
|
|
|
|
|
- fixed libevent configure flag.
|
|
|
|
|
- detects event_base_free() in new libevent 1.2 version.
|
|
|
|
|
- getopt in daemon. fatal_exit() and verbose() logging funcs.
|
2007-01-25 11:08:52 -05:00
|
|
|
- created log_assert, that throws assertions to the logfile.
|
|
|
|
|
- listen_dnsport service. Binds ports.
|
2007-01-25 04:47:22 -05:00
|
|
|
|
2007-01-24 08:46:31 -05:00
|
|
|
24 January 2007: Wouter
|
|
|
|
|
- cleaned up configure.ac.
|
|
|
|
|
|
2007-01-23 08:46:18 -05:00
|
|
|
23 January 2007: Wouter
|
|
|
|
|
- added libevent to configure to link with.
|
|
|
|
|
- util/netevent setup work.
|
2007-01-23 09:16:52 -05:00
|
|
|
- configure searches for libevent.
|
2007-01-23 11:10:23 -05:00
|
|
|
- search for libs at end of configure (when other headers and types
|
|
|
|
|
have been found).
|
|
|
|
|
- doxygen works with ATTR_UNUSED().
|
|
|
|
|
- util/netevent implementation.
|
2007-01-23 08:46:18 -05:00
|
|
|
|
2007-01-22 10:23:29 -05:00
|
|
|
22 January 2007: Wouter
|
|
|
|
|
- Designed header file for network communication.
|
|
|
|
|
|
2007-01-16 06:54:29 -05:00
|
|
|
16 January 2007: Wouter
|
|
|
|
|
- added readme.svn and readme.tests.
|
|
|
|
|
|
2007-01-04 06:03:29 -05:00
|
|
|
4 January 2007: Wouter
|
|
|
|
|
- Testbed script (run on multiple platforms the test set).
|
2007-01-04 10:30:09 -05:00
|
|
|
Works on Sunos9, Sunos10, FreeBSD 6.1, Fedora core 5.
|
2007-01-04 10:36:51 -05:00
|
|
|
- added unit test tpkg.
|
2007-01-04 06:03:29 -05:00
|
|
|
|
2007-01-03 03:53:52 -05:00
|
|
|
3 January 2007: Wouter
|
|
|
|
|
- committed first set of files into subversion repository.
|
2007-01-03 04:27:01 -05:00
|
|
|
svn co svn+ssh://unbound.net/svn/unbound
|
|
|
|
|
You need a ssh login. There is no https access yet.
|
2007-01-03 04:17:12 -05:00
|
|
|
- Added LICENSE, the BSD license.
|
|
|
|
|
- Added doc/README with compile help.
|
2007-01-03 05:42:32 -05:00
|
|
|
- main program stub and quiet makefile.
|
|
|
|
|
- minimal logging service (to stderr).
|
2007-01-03 08:17:06 -05:00
|
|
|
- added postcommit hook that serves emails.
|
|
|
|
|
- added first test 00-lint. postcommit also checks if build succeeds.
|
2007-01-03 09:55:21 -05:00
|
|
|
- 01-doc: doxygen doc target added for html docs. And stringent test
|
|
|
|
|
on documented files, functions and parameters.
|
2007-01-03 03:53:52 -05:00
|
|
|
|
|
|
|
|
15 December 2006: Wouter
|
|
|
|
|
- Created Makefile.in and configure.ac.
|