2007-06-07 07:58:02 +00:00
|
|
|
7 June 2007: Wouter
|
|
|
|
- fixup error in double linked list insertion for subqueries and
|
|
|
|
for outbound list of serviced queries for iterator module.
|
|
|
|
- nicer printout of outgoing port selection.
|
|
|
|
|
2007-06-05 07:54:42 +00:00
|
|
|
5 June 2007: Wouter
|
|
|
|
- iterator state finished.
|
2007-06-05 10:51:47 +00:00
|
|
|
- subrequests without parent store in cache and stop.
|
|
|
|
- worker slumber list for ongoing promiscuous queries.
|
|
|
|
- subrequest error handling.
|
2007-06-05 12:54:43 +00:00
|
|
|
- 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.
|
2007-06-05 15:04:01 +00:00
|
|
|
- more small bugs, in scrubber, query compare no ID for lookup,
|
|
|
|
in dname validation for NS targets.
|
|
|
|
- sets entry.key for new special allocs.
|
|
|
|
- lognametypeclass can display unknown types and classes.
|
2007-06-05 07:54:42 +00:00
|
|
|
|
2007-06-04 09:57:02 +00:00
|
|
|
4 June 2007: Wouter
|
|
|
|
- random selection of equally preferred nameserver targets.
|
2007-06-04 11:34:23 +00:00
|
|
|
- reply info copy routine. Reuses existing code.
|
2007-06-04 11:52:10 +00:00
|
|
|
- cache lameness in response handling.
|
|
|
|
- do not touch qstate after worker_process_query because it may have
|
|
|
|
been deleted by that routine.
|
2007-06-04 12:22:38 +00:00
|
|
|
- Prime response state.
|
2007-06-04 13:53:01 +00:00
|
|
|
- Process target response state.
|
|
|
|
- some memcmp changed to dname_compare for case preservation.
|
2007-06-04 09:57:02 +00:00
|
|
|
|
2007-06-01 09:42:31 +00:00
|
|
|
1 June 2007: Wouter
|
|
|
|
- normalize incoming messages. Like unbound-java, with CNAME chain
|
|
|
|
checked, DNAME checked, CNAME's synthesized, glue checked.
|
|
|
|
- sanitize incoming messages.
|
2007-06-01 12:25:38 +00:00
|
|
|
- split msgreply encode functions into own file msgencode.c.
|
2007-06-01 12:52:07 +00:00
|
|
|
- msg_parse to queryinfo/replyinfo conversion more versatile.
|
2007-06-01 20:24:33 +00:00
|
|
|
- process_response, classify response, delegpt_from_message.
|
2007-06-01 09:42:31 +00:00
|
|
|
|
2007-05-31 12:51:36 +00:00
|
|
|
31 May 2007: Wouter
|
|
|
|
- querytargets state.
|
|
|
|
- dname_subdomain_c() routine.
|
|
|
|
- server selection, based on RTT. ip6 is filtered out if not available,
|
|
|
|
and lameness is checked too.
|
|
|
|
- delegation point copy routine.
|
|
|
|
|
2007-05-30 05:39:04 +00:00
|
|
|
30 May 2007: Wouter
|
|
|
|
- removed FLAG_CD from message and rrset caches. This was useful for
|
|
|
|
an agnostic forwarder, but not for a sophisticated (trust value per
|
|
|
|
rrset enabled) cache.
|
2007-05-30 11:18:17 +00:00
|
|
|
- iterator reponse typing.
|
|
|
|
- iterator cname handle.
|
|
|
|
- iterator prime start.
|
|
|
|
- subquery work.
|
2007-05-30 11:45:44 +00:00
|
|
|
- processInitRequest and processInitRequest2.
|
2007-05-30 14:19:56 +00:00
|
|
|
- cache synthesizes referral messages, with DS and NSEC.
|
|
|
|
- processInitRequest3.
|
2007-05-30 14:55:40 +00:00
|
|
|
- if a request creates multiple subrequests these are all activated.
|
2007-05-30 05:39:04 +00:00
|
|
|
|
2007-05-29 10:32:11 +00:00
|
|
|
29 May 2007: Wouter
|
|
|
|
- routines to lock and unlock array of rrsets moved to cache/rrset.
|
|
|
|
- lookup message from msg cache (and copy to region).
|
2007-05-29 12:26:45 +00:00
|
|
|
- fixed cast error in dns msg lookup.
|
|
|
|
- message with duplicate rrset does not increase its TTLs twice.
|
2007-05-29 12:31:02 +00:00
|
|
|
- 'qnamesize' changed to 'qname_len' for similar naming scheme.
|
2007-05-29 10:32:11 +00:00
|
|
|
|
2007-05-25 12:02:37 +00:00
|
|
|
25 May 2007: Wouter
|
|
|
|
- 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.
|
2007-05-25 15:28:20 +00:00
|
|
|
- iterator main functions setup.
|
|
|
|
- dns cache lookup setup.
|
2007-05-25 12:02:37 +00:00
|
|
|
|
2007-05-24 13:24:44 +00:00
|
|
|
24 May 2007: Wouter
|
|
|
|
- small changes to prepare for subqueries.
|
|
|
|
- iterator forwarder feature separated out.
|
|
|
|
- iterator hints stub code, config file stub code, so that first
|
|
|
|
testing can proceed locally.
|
2007-05-24 13:41:30 +00:00
|
|
|
- replay tests now have config option to enable forwarding mode.
|
2007-05-24 13:24:44 +00:00
|
|
|
|
2007-05-23 06:24:01 +00:00
|
|
|
23 May 2007: Wouter
|
|
|
|
- outside network does precise timers for roundtrip estimates for rtt
|
|
|
|
and for setting timeout for UDP. Pending_udp takes milliseconds.
|
2007-05-23 09:34:01 +00:00
|
|
|
- cleaner iterator sockaddr conversion of forwarder address.
|
|
|
|
- iterator/iter_utils and iter_delegpt setup.
|
2007-05-23 14:05:36 +00:00
|
|
|
- root hints.
|
2007-05-23 06:24:01 +00:00
|
|
|
|
2007-05-22 12:36:02 +00:00
|
|
|
22 May 2007: Wouter
|
|
|
|
- outbound query list for modules and support to callback with the
|
|
|
|
outbound entry to the module.
|
|
|
|
- testbound support for new serviced queries.
|
|
|
|
- test for retry to TCP cannot use testbound any longer.
|
2007-05-22 13:40:49 +00:00
|
|
|
- testns test for EDNS fallback, test for TCP fallback already exists.
|
2007-05-22 15:02:39 +00:00
|
|
|
- fixes for no-locking compile.
|
|
|
|
- mini_event timer precision and fix for change in timeouts during
|
|
|
|
timeout callback. Fix for fwd_three tests, performed nonexit query.
|
2007-05-22 12:36:02 +00:00
|
|
|
|
2007-05-21 15:10:55 +00:00
|
|
|
21 May 2007: Wouter
|
|
|
|
- small comment on hash table locking.
|
|
|
|
- outside network serviced queries, contain edns and tcp fallback,
|
|
|
|
and udp retries and rtt timing.
|
|
|
|
|
2007-05-16 12:48:48 +00:00
|
|
|
16 May 2007: Wouter
|
|
|
|
- lruhash_touch() would cause locking order problems. Fixup in
|
|
|
|
lock-verify in case locking cycle is found.
|
|
|
|
- services/cache/rrset.c for rrset cache code.
|
|
|
|
- special rrset_cache LRU updating function that uses the rrset id.
|
|
|
|
- no dependencies calculation when make clean is called.
|
2007-05-16 14:29:46 +00:00
|
|
|
- config settings for infra cache.
|
|
|
|
- daemon code slightly cleaner, only creates caches once.
|
2007-05-16 12:48:48 +00:00
|
|
|
|
2007-05-15 10:53:27 +00:00
|
|
|
15 May 2007: Wouter
|
|
|
|
- host cache code.
|
2007-05-15 13:21:10 +00:00
|
|
|
- unit test for host cache.
|
2007-05-15 10:53:27 +00:00
|
|
|
|
2007-05-14 09:26:03 +00:00
|
|
|
14 May 2007: Wouter
|
|
|
|
- Port to OS/X and Dec Alpha. Printf format and alignment fixes.
|
2007-05-14 10:39:12 +00:00
|
|
|
- extensive lock debug report on join timeout.
|
2007-05-14 13:22:02 +00:00
|
|
|
- proper RTT calculation, in utility code.
|
2007-05-14 15:03:55 +00:00
|
|
|
- setup of services/cache/infra, host cache.
|
2007-05-14 09:26:03 +00:00
|
|
|
|
2007-05-11 14:16:42 +00:00
|
|
|
11 May 2007: Wouter
|
|
|
|
- iterator/iterator.c module.
|
2007-05-11 14:33:38 +00:00
|
|
|
- fixup to pass reply_info in testcode and in netevent.
|
2007-05-11 14:16:42 +00:00
|
|
|
|
2007-05-10 05:37:52 +00:00
|
|
|
10 May 2007: Wouter
|
|
|
|
- created release-0.3 svn tag.
|
2007-05-10 11:53:55 +00:00
|
|
|
- util/module.h
|
|
|
|
- fixed compression - no longer compresses root name.
|
2007-05-10 05:37:52 +00:00
|
|
|
|
2007-05-09 07:00:10 +00:00
|
|
|
9 May 2007: Wouter
|
|
|
|
- outside network cleans up waiting tcp queries on exit.
|
|
|
|
- fallback to TCP.
|
2007-05-09 07:10:55 +00:00
|
|
|
- testbound replay with retry in TCP mode.
|
2007-05-09 07:15:11 +00:00
|
|
|
- tpkg test for retry in TCP mode, against ldns-testns server.
|
2007-05-09 07:58:57 +00:00
|
|
|
- daemon checks max number of open files and complains if not enough.
|
2007-05-09 09:12:44 +00:00
|
|
|
- test where data expires in the cache.
|
2007-05-09 09:55:30 +00:00
|
|
|
- compiletests: fixed empty body ifstatements in alloc.c, in case
|
|
|
|
locks are disabled.
|
2007-05-09 07:00:10 +00:00
|
|
|
|
2007-05-08 13:25:21 +00:00
|
|
|
8 May 2007: Wouter
|
|
|
|
- outgoing network keeps list of available tcp buffers for outgoing
|
|
|
|
tcp queries.
|
|
|
|
- outgoing-num-tcp config option.
|
|
|
|
- outgoing network keeps waiting list of queries waiting for buffer.
|
|
|
|
- netevent supports outgoing tcp commpoints, nonblocking connects.
|
|
|
|
|
2007-05-07 13:17:27 +00:00
|
|
|
7 May 2007: Wouter
|
|
|
|
- EDNS read from query, used to make reply smaller.
|
|
|
|
- advertised edns value constants.
|
2007-05-07 14:05:51 +00:00
|
|
|
- EDNS BADVERS response, if asked for too high edns version.
|
|
|
|
- EDNS extended error reponses once the EDNS record from the query
|
|
|
|
has successfully been parsed.
|
2007-05-07 13:17:27 +00:00
|
|
|
|
2007-05-04 06:56:37 +00:00
|
|
|
4 May 2007: Wouter
|
|
|
|
- msgreply sizefunc is more accurate.
|
2007-05-04 07:34:10 +00:00
|
|
|
- config settings for rrset cache size and slabs.
|
2007-05-04 08:05:56 +00:00
|
|
|
- hashtable insert takes argument so that a thread can use its own
|
|
|
|
alloc cache to store released keys.
|
2007-05-04 10:10:52 +00:00
|
|
|
- alloc cache special_release() locks if necessary.
|
|
|
|
- rrset trustworthiness type added.
|
2007-05-04 12:35:01 +00:00
|
|
|
- thread keeps a scratchpad region for handling messages.
|
2007-05-04 13:01:20 +00:00
|
|
|
- writev used in netevent to write tcp length and data after another.
|
|
|
|
This saves a roundtrip on tcp replies.
|
2007-05-04 13:48:24 +00:00
|
|
|
- test for one rrset updated in the cache.
|
2007-05-04 13:54:55 +00:00
|
|
|
- test for one rrset which is not updated, as it is not deemed
|
|
|
|
trustworthy enough.
|
2007-05-04 14:14:08 +00:00
|
|
|
- test for TTL refreshed in rrset.
|
2007-05-04 06:56:37 +00:00
|
|
|
|
2007-05-03 15:34:03 +00:00
|
|
|
3 May 2007: Wouter
|
|
|
|
- fill refs. Use new parse and encode to answer queries.
|
|
|
|
- stores rrsets in cache.
|
|
|
|
- uses new msgreply format in cache.
|
|
|
|
|
2007-05-02 09:35:19 +00:00
|
|
|
2 May 2007: Wouter
|
|
|
|
- dname unit tests in own file and spread out neatly in functions.
|
|
|
|
- more dname unit tests.
|
2007-05-02 15:31:32 +00:00
|
|
|
- message encoding creates truncated TC flagged messages if they do
|
|
|
|
not fit, and will leave out (whole)rrsets from additional if needed.
|
2007-05-02 09:35:19 +00:00
|
|
|
|
2007-05-01 10:18:37 +00:00
|
|
|
1 May 2007: Wouter
|
|
|
|
- decompress query section, extremely lenient acceptance.
|
|
|
|
But only for answers from other servers, not for plain queries.
|
|
|
|
- compression and decompression test cases.
|
2007-05-01 12:13:29 +00:00
|
|
|
- some stats added.
|
2007-05-01 15:11:53 +00:00
|
|
|
- example.conf interface: line is changed from 127.0.0.1 which leads
|
|
|
|
to problems if used (restricting communication to the localhost),
|
|
|
|
to a documentation and test address.
|
2007-05-01 10:18:37 +00:00
|
|
|
|
2007-04-27 12:42:03 +00:00
|
|
|
27 April 2007: Wouter
|
|
|
|
- removed iov usage, it is not good for dns message encoding.
|
2007-04-27 13:58:59 +00:00
|
|
|
- owner name compression more optimal.
|
|
|
|
- rrsig owner name compression.
|
2007-04-27 14:55:47 +00:00
|
|
|
- rdata domain name compression.
|
2007-04-27 12:42:03 +00:00
|
|
|
|
2007-04-26 07:33:29 +00:00
|
|
|
26 April 2007: Wouter
|
|
|
|
- floating point exception fix in lock-verify.
|
2007-04-26 07:55:51 +00:00
|
|
|
- lint uses make dependency
|
|
|
|
- fixup lint in dname owner domain name compression code.
|
|
|
|
- define for offset range that can be compressed to.
|
2007-04-26 07:33:29 +00:00
|
|
|
|
2007-04-25 11:36:51 +00:00
|
|
|
25 April 2007: Wouter
|
|
|
|
- prettier code; parse_rrset->type kept in host byte order.
|
2007-04-25 15:28:03 +00:00
|
|
|
- datatype used for hashvalue of converted rrsig structure.
|
|
|
|
- unit test compares edns section data too.
|
2007-04-25 11:36:51 +00:00
|
|
|
|
2007-04-24 13:39:23 +00:00
|
|
|
24 April 2007: Wouter
|
|
|
|
- ttl per RR, for RRSIG rrsets and others.
|
|
|
|
- dname_print debug function.
|
|
|
|
- if type is not known, size calc will skip DNAME decompression.
|
|
|
|
- RRSIG parsing and storing and putting in messages.
|
|
|
|
- dnssec enabled unit tests (from nlnetlabs.nl and se queries).
|
|
|
|
- EDNS extraction routine.
|
|
|
|
|
2007-04-20 08:10:07 +00:00
|
|
|
20 April 2007: Wouter
|
|
|
|
- code comes through all of the unit tests now.
|
|
|
|
- disabled warning about spurious extra data.
|
2007-04-20 09:58:32 +00:00
|
|
|
- documented the RRSIG parse plan in msgparse.h.
|
2007-04-24 13:39:23 +00:00
|
|
|
- rrsig reading and outputting.
|
2007-04-20 08:10:07 +00:00
|
|
|
|
2007-04-19 09:48:42 +00:00
|
|
|
19 April 2007: Wouter
|
|
|
|
- fix unit test to actually to tests.
|
|
|
|
- fix write iov helper, and fakevent code.
|
|
|
|
- extra builtin testcase (small packet).
|
|
|
|
- ttl converted to network format in packets.
|
|
|
|
- flags converted correctly
|
|
|
|
- rdatalen off by 2 error fixup.
|
|
|
|
- uses less iov space for header.
|
|
|
|
|
2007-04-18 13:57:01 +00:00
|
|
|
18 April 2007: Wouter
|
|
|
|
- review of msgparse code.
|
|
|
|
- smaller test cases.
|
|
|
|
|
2007-04-17 09:14:45 +00:00
|
|
|
17 April 2007: Wouter
|
|
|
|
- copy and decompress dnames.
|
2007-04-17 09:18:12 +00:00
|
|
|
- store calculated hash value too.
|
2007-04-17 10:18:39 +00:00
|
|
|
- routine to create message out of stored information.
|
2007-04-17 11:56:48 +00:00
|
|
|
- util/data/msgparse.c for message parsing code.
|
2007-04-17 14:03:33 +00:00
|
|
|
- unit test, and first fixes because of test.
|
|
|
|
* forgot rrset_count addition.
|
|
|
|
* did & of ptr on stack for memory position calculation.
|
|
|
|
* dname_pkt_copy forgot to read next label length.
|
2007-04-17 15:18:24 +00:00
|
|
|
- test from file and fixes
|
|
|
|
* double frees fixed in error conditions.
|
|
|
|
* types with less than full rdata allowed by parser.
|
|
|
|
Some dynamic update packets seem to use it.
|
2007-04-17 09:14:45 +00:00
|
|
|
|
2007-04-16 15:21:50 +00:00
|
|
|
16 April 2007: Wouter
|
|
|
|
- following a small change in LDNS, parsing code calculates the
|
|
|
|
memory size to allocate for rrs.
|
|
|
|
- code to handle ID creation.
|
|
|
|
|
2007-04-13 15:00:56 +00:00
|
|
|
13 April 2007: Wouter
|
|
|
|
- parse routines. Code that parses rrsets, rrs.
|
|
|
|
|
2007-04-12 14:02:02 +00:00
|
|
|
12 April 2007: Wouter
|
|
|
|
- dname compare routine that preserves case, with unit tests.
|
|
|
|
|
2007-04-11 14:26:29 +00:00
|
|
|
11 April 2007: Wouter
|
|
|
|
- parse work - dname packet parse, msgparse, querysection parse,
|
|
|
|
start of sectionparse.
|
2007-04-12 14:02:02 +00:00
|
|
|
|
2007-04-10 05:39:12 +00:00
|
|
|
10 April 2007: Wouter
|
|
|
|
- Improved alignment of reply_info packet, nice for 32 and 64 bit.
|
|
|
|
- Put RRset counts in reply_info, because the number of RRs can change
|
|
|
|
due to RRset updates.
|
2007-04-10 07:11:57 +00:00
|
|
|
- import of region-allocator code from nsd.
|
|
|
|
- set alloc special type to ub_packed_rrset_key.
|
|
|
|
Uses lruhash entry overflow chain next pointer in alloc cache.
|
2007-04-10 07:56:05 +00:00
|
|
|
- doxygen documentation for region-allocator.
|
2007-04-10 09:03:05 +00:00
|
|
|
- setup for parse scratch data.
|
2007-04-10 05:39:12 +00:00
|
|
|
|
2007-04-05 14:53:32 +00:00
|
|
|
5 April 2007: Wouter
|
|
|
|
- discussed packed rrset with Jelte.
|
|
|
|
|
2007-04-04 09:47:30 +00:00
|
|
|
4 April 2007: Wouter
|
|
|
|
- moved to version 0.3.
|
|
|
|
- added util/data/dname.c
|
2007-04-04 13:02:13 +00:00
|
|
|
- layout of memory for rrsets.
|
2007-04-04 09:47:30 +00:00
|
|
|
|
2007-04-03 09:17:20 +00:00
|
|
|
3 April 2007: Wouter
|
|
|
|
- detect sign of msghdr.msg_iovlen so that the cast to that type
|
|
|
|
in netevent (which is there to please lint) can be correct.
|
|
|
|
The type on several OSes ranges from int, int32, uint32, size_t.
|
|
|
|
Detects unsigned or signed using math trick.
|
2007-04-03 09:29:09 +00:00
|
|
|
- constants for DNS flags.
|
2007-04-03 09:43:20 +00:00
|
|
|
- compilation without locks fixup.
|
2007-04-03 09:54:16 +00:00
|
|
|
- removed include of unportable header from lookup3.c.
|
2007-04-03 10:01:54 +00:00
|
|
|
- more portable use of struct msghdr.
|
2007-04-03 10:20:59 +00:00
|
|
|
- casts for printf warning portability.
|
2007-04-03 14:17:42 +00:00
|
|
|
- tweaks to tests to port them to the testbed.
|
|
|
|
- 0.2 tag created.
|
2007-04-03 09:17:20 +00:00
|
|
|
|
2007-04-02 10:16:02 +00:00
|
|
|
2 April 2007: Wouter
|
|
|
|
- check sizes of udp received messages, not too short.
|
|
|
|
- review changes. Some memmoves can be memcpys: 4byte aligned.
|
|
|
|
set id correctly on cached answers.
|
2007-04-02 13:58:02 +00:00
|
|
|
- review changes msgreply.c, memleak on error condition. AA flag
|
|
|
|
clear on cached reply. Lowercase queries on hashing.
|
|
|
|
unit test on lowercasing. Test AA bit not set on cached reply.
|
|
|
|
Note that no TTLs are managed.
|
2007-04-02 10:16:02 +00:00
|
|
|
|
2007-03-29 09:26:54 +00:00
|
|
|
29 March 2007: Wouter
|
|
|
|
- writev or sendmsg used when answering from cache.
|
|
|
|
This avoids a copy of the data.
|
2007-03-29 10:00:10 +00:00
|
|
|
- do not do useless byteswap on query id. Store reply flags in uint16
|
|
|
|
for easier access (and no repeated byteswapping).
|
2007-03-29 13:00:36 +00:00
|
|
|
- reviewed code.
|
2007-03-29 13:05:47 +00:00
|
|
|
- configure detects and config.h includes sys/uio.h for writev decl.
|
2007-03-29 09:26:54 +00:00
|
|
|
|
2007-03-28 13:43:50 +00:00
|
|
|
28 March 2007: Wouter
|
|
|
|
- new config option: num-queries-per-thread.
|
|
|
|
- added tpkg test for answering three queries at the same time
|
|
|
|
using one thread (from the query service list).
|
|
|
|
|
2007-03-27 07:57:33 +00:00
|
|
|
27 March 2007: Wouter
|
|
|
|
- added test for cache and not cached answers, in testbound replays.
|
2007-03-27 09:32:08 +00:00
|
|
|
- testbound can give config file and commandline options from the
|
|
|
|
replay file to unbound.
|
|
|
|
- created test that checks if items drop out of the cache.
|
2007-03-27 10:01:39 +00:00
|
|
|
- added word 'partitioned hash table' to documentation on slab hash.
|
|
|
|
A slab hash is a partitioned hash table.
|
2007-03-27 15:21:21 +00:00
|
|
|
- worker can handle multiple queries at a time.
|
2007-03-27 07:57:33 +00:00
|
|
|
|
2007-03-26 10:33:41 +00:00
|
|
|
26 March 2007: Wouter
|
|
|
|
- config settings for slab hash message cache.
|
2007-03-26 15:01:11 +00:00
|
|
|
- test for cached answer.
|
|
|
|
- Fixup deleting fake answer from testbound list.
|
2007-03-26 10:33:41 +00:00
|
|
|
|
2007-03-23 08:25:43 +00:00
|
|
|
23 March 2007: Wouter
|
|
|
|
- review of yesterday's commits.
|
2007-03-23 12:41:38 +00:00
|
|
|
- covered up memory leak of the entry locks.
|
|
|
|
- answers from the cache correctly. Copies flags correctly.
|
2007-03-23 13:12:49 +00:00
|
|
|
- sanity check for incoming query replies.
|
2007-03-23 15:17:11 +00:00
|
|
|
- slabbed hash table. Much nicer contention, need dual cpu to see.
|
2007-03-23 08:25:43 +00:00
|
|
|
|
2007-03-22 11:09:05 +00:00
|
|
|
22 March 2007: Wouter
|
|
|
|
- AIX configure check.
|
|
|
|
- lock-verify can handle references to locks that are created
|
|
|
|
in files it has not yet read in.
|
|
|
|
- threaded hash table test.
|
|
|
|
- unit test runs lock-verify afterwards and checks result.
|
2007-03-22 16:26:14 +00:00
|
|
|
- need writelock to update data on hash_insert.
|
|
|
|
- message cache code, msgreply code.
|
2007-03-22 11:09:05 +00:00
|
|
|
|
2007-03-21 14:34:57 +00:00
|
|
|
21 March 2007: Wouter
|
|
|
|
- unit test of hash table, fixup locking problem in table_grow().
|
|
|
|
- fixup accounting of sizes for removing items from hashtable.
|
|
|
|
- unit test for hash table, single threaded test of integrity.
|
2007-03-21 14:54:37 +00:00
|
|
|
- lock-verify reports errors nicely. More quiet in operation.
|
2007-03-21 14:34:57 +00:00
|
|
|
|
2007-03-16 12:50:21 +00:00
|
|
|
16 March 2007: Wouter
|
|
|
|
- lock-verifier, checks consistent order of locking.
|
|
|
|
|
2007-03-14 10:42:50 +00:00
|
|
|
14 March 2007: Wouter
|
|
|
|
- hash table insert (and subroutines) and lookup implemented.
|
2007-03-14 12:21:03 +00:00
|
|
|
- hash table remove.
|
2007-03-14 14:30:30 +00:00
|
|
|
- unit tests for hash internal bin, lru functions.
|
2007-03-14 10:42:50 +00:00
|
|
|
|
2007-03-13 16:22:24 +00:00
|
|
|
13 March 2007: Wouter
|
|
|
|
- lock_unprotect in checklocks.
|
|
|
|
- util/storage/lruhash.h for LRU hash table structure.
|
|
|
|
|
2007-03-12 14:19:14 +00:00
|
|
|
12 March 2007: Wouter
|
|
|
|
- configure.ac moved to 0.2.
|
|
|
|
- query_info and replymsg util/data structure.
|
|
|
|
|
2007-03-09 09:01:03 +00: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-09 13:37:57 +00:00
|
|
|
- log_hex function to dump hex strings to the logfile.
|
|
|
|
- checklocks zeroes its destroyed lock after checking memory areas.
|
|
|
|
- unit test for alloc.
|
2007-03-09 14:31:48 +00:00
|
|
|
- identifier for union in checklocks to please older compilers.
|
2007-03-09 15:53:02 +00:00
|
|
|
- created 0.1 tag.
|
2007-03-09 09:01:03 +00:00
|
|
|
|
2007-03-08 14:59:41 +00:00
|
|
|
8 March 2007: Wouter
|
|
|
|
- Reviewed checklock code.
|
|
|
|
|
2007-03-07 16:21:31 +00: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 09:49:15 +00:00
|
|
|
6 March 2007: Wouter
|
|
|
|
- Testbed works with threading (different machines, different options).
|
2007-03-06 15:46:17 +00:00
|
|
|
- alloc work, does the special type.
|
2007-03-06 09:49:15 +00:00
|
|
|
|
2007-03-02 09:03:14 +00: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 09:48:31 +00: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 15:03:58 +00:00
|
|
|
- start of alloc framework layout.
|
2007-03-02 09:03:14 +00:00
|
|
|
|
2007-03-01 15:50:57 +00: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 09:28:53 +00:00
|
|
|
27 February 2007: Wouter
|
|
|
|
- ub_thread_join portable definition.
|
|
|
|
- forking is used if no threading is available.
|
2007-02-27 09:41:34 +00:00
|
|
|
Tested, it works, since pipes work across processes as well.
|
|
|
|
Thread_join is replaced with waitpid.
|
2007-02-27 10:33:04 +00:00
|
|
|
- During reloads the daemon will temporarily handle signals,
|
|
|
|
so that they do not result in problems.
|
2007-02-27 10:46:35 +00:00
|
|
|
- Also randomize the outgoing port range for tests.
|
2007-02-27 11:25:44 +00: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 13:55:09 +00:00
|
|
|
- test that uses ldns-testns -f to test threading. Have to answer
|
|
|
|
three queries at the same time.
|
2007-02-27 14:28:20 +00:00
|
|
|
- with verbose=0 operates quietly.
|
2007-02-27 09:28:53 +00:00
|
|
|
|
2007-02-26 09:42:05 +00:00
|
|
|
26 February 2007: Wouter
|
|
|
|
- ub_random code used to select ID and port.
|
2007-02-26 14:49:11 +00:00
|
|
|
- log code prints thread id.
|
|
|
|
- unbound can thread itself, with reload(HUP) and quit working
|
|
|
|
correctly.
|
2007-02-26 16:18:35 +00:00
|
|
|
- don't open pipes for #0, doesn't need it.
|
|
|
|
- listens to SIGTERM, SIGQUIT, SIGINT (all quit) and SIGHUP (reload).
|
2007-02-26 09:42:05 +00:00
|
|
|
|
2007-02-23 10:04:50 +00: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 11:00:55 +00:00
|
|
|
- config file added interface:, chroot: and username:.
|
2007-02-23 13:38:54 +00:00
|
|
|
- config file: directory, logfile, pidfile. And they work too.
|
2007-02-23 15:23:33 +00:00
|
|
|
- will daemonize by default now. Use -d to stay in the foreground.
|
2007-02-23 16:40:58 +00:00
|
|
|
- got BSD random[256 state] code, made it threadsafe. util/random.
|
2007-02-23 10:04:50 +00:00
|
|
|
|
2007-02-22 13:36:29 +00:00
|
|
|
22 February 2007: Wouter
|
|
|
|
- Have a config file. Removed commandline options, moved to config.
|
|
|
|
- tests use config file.
|
|
|
|
|
2007-02-21 09:52:46 +00:00
|
|
|
21 February 2007: Wouter
|
|
|
|
- put -c option in man page.
|
|
|
|
- minievent fd array capped by FD_SETSIZE.
|
|
|
|
|
2007-02-20 11:45:45 +00:00
|
|
|
20 February 2007: Wouter
|
|
|
|
- Added locks code and pthread spinlock detection.
|
2007-02-20 13:25:29 +00:00
|
|
|
- can use no locks, or solaris native thread library.
|
2007-02-20 15:28:27 +00: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 11:45:45 +00:00
|
|
|
|
2007-02-19 15:32:07 +00: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 09:35:27 +00:00
|
|
|
16 February 2007: Wouter
|
|
|
|
- Updated testbed script, works better by using make on remote end.
|
2007-02-16 13:24:09 +00:00
|
|
|
- removed check decls, we can compile without them.
|
2007-02-16 17:13:18 +00:00
|
|
|
- makefile supports LIBOBJ replacements.
|
2007-02-16 17:25:29 +00:00
|
|
|
- docs checks ignore compat code.
|
2007-02-16 21:26:10 +00: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 23:00:31 +00:00
|
|
|
- will not create ip6 sockets if ip6 not on the machine.
|
2007-02-16 09:35:27 +00:00
|
|
|
|
2007-02-15 10:48:43 +00: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 12:54:14 +00:00
|
|
|
- malloc rndstate, so that it is aligned for access.
|
2007-02-15 15:23:24 +00:00
|
|
|
- fixed rbtree cleanup with postorder traverse.
|
|
|
|
- fixed pending messages are deleted when handled.
|
2007-02-15 15:50:22 +00:00
|
|
|
- You can control verbosity; default is not verbose, every -v
|
|
|
|
adds more verbosity.
|
2007-02-15 10:48:43 +00:00
|
|
|
|
2007-02-14 07:23:51 +00:00
|
|
|
14 February 2007: Wouter
|
|
|
|
- Included configure.ac changes from ldns.
|
2007-02-14 08:03:15 +00:00
|
|
|
- detect (some) headers before the standards check.
|
|
|
|
- do not use isblank to test c99, since its not available on solaris9.
|
2007-02-14 10:10:43 +00: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 07:23:51 +00:00
|
|
|
|
2007-02-13 14:00:58 +00:00
|
|
|
13 February 2007: Wouter
|
|
|
|
- work on fake events, first fwd replay works.
|
2007-02-13 15:35:26 +00:00
|
|
|
- events can do timeouts and errors on queries to servers.
|
2007-02-13 15:43:57 +00:00
|
|
|
- test package that runs replay scenarios.
|
2007-02-13 14:00:58 +00:00
|
|
|
|
2007-02-12 16:04:11 +00:00
|
|
|
12 February 2007: Wouter
|
|
|
|
- work on fake events.
|
|
|
|
|
2007-02-09 13:46:11 +00:00
|
|
|
9 February 2007: Wouter
|
|
|
|
- replay file reading.
|
2007-02-09 16:39:47 +00: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 13:46:11 +00:00
|
|
|
|
2007-02-08 12:02:00 +00:00
|
|
|
8 February 2007: Wouter
|
|
|
|
- added tcp test.
|
2007-02-08 14:55:53 +00:00
|
|
|
- replay storage.
|
2007-02-08 16:03:26 +00:00
|
|
|
- testcode/fake_event work.
|
2007-02-08 12:02:00 +00:00
|
|
|
|
2007-02-07 08:50:17 +00: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 10:08:55 +00:00
|
|
|
- set addrlen value when calling recvfrom.
|
|
|
|
- comparison of addrs more portable.
|
2007-02-07 10:18:04 +00:00
|
|
|
- LIBEVENT option for testbed to set libevent directory.
|
2007-02-07 14:18:42 +00:00
|
|
|
- work on tcp input.
|
2007-02-07 08:50:17 +00:00
|
|
|
|
2007-02-06 14:00:52 +00:00
|
|
|
6 February 2007: Wouter
|
|
|
|
- reviewed code and improved in places.
|
|
|
|
|
2007-02-05 11:20:38 +00:00
|
|
|
5 February 2007: Wouter
|
|
|
|
- Picked up stdc99 and other define tests from ldns. Improved
|
|
|
|
POSIX define test to include getaddrinfo.
|
2007-02-05 14:25:07 +00:00
|
|
|
- defined constants for netevent callback error code.
|
2007-02-05 14:57:16 +00:00
|
|
|
- unit test for strisip6.
|
2007-02-05 11:20:38 +00:00
|
|
|
|
2007-02-02 09:48:51 +00:00
|
|
|
2 February 2007: Wouter
|
|
|
|
- Created udp4 and udp6 port arrays to provide service for both
|
|
|
|
address families.
|
2007-02-02 10:13:18 +00:00
|
|
|
- uses IPV6_USE_MIN_MTU for udp6 ,IPV6_V6ONLY to make ip6 sockets.
|
2007-02-02 10:31:25 +00:00
|
|
|
- listens on both ip4 and ip6 ports to provide correct return address.
|
2007-02-02 12:52:40 +00:00
|
|
|
- worker fwder address filled correctly.
|
|
|
|
- fixup timer code.
|
2007-02-02 13:44:00 +00:00
|
|
|
- forwards udp queries and sends answer.
|
2007-02-02 09:48:51 +00:00
|
|
|
|
2007-02-01 15:06:38 +00:00
|
|
|
1 February 2007: Wouter
|
|
|
|
- outside network more UDP work.
|
|
|
|
- moved * closer to type.
|
|
|
|
- comm_timer object and events.
|
|
|
|
|
2007-01-31 06:58:25 +00:00
|
|
|
31 January 2007: Wouter
|
|
|
|
- Added makedist.sh script to make release tarball.
|
2007-01-31 09:32:30 +00: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 11:57:22 +00:00
|
|
|
- copied over rbtree implementation from NSD (BSD licensed too).
|
2007-01-31 15:38:44 +00:00
|
|
|
- outgoing network query service work.
|
2007-01-31 06:58:25 +00:00
|
|
|
|
2007-01-30 13:03:19 +00:00
|
|
|
30 January 2007: Wouter
|
|
|
|
- links in example/ldns-testpkts.c and .h for premade packet support.
|
2007-01-30 16:36:46 +00:00
|
|
|
- added callback argument to listen_dnsport and daemon/worker.
|
2007-01-30 13:03:19 +00:00
|
|
|
|
2007-01-29 13:54:32 +00:00
|
|
|
29 January 2007: Wouter
|
|
|
|
- unbound.8 a short manpage.
|
|
|
|
|
|
|
|
26 January 2007: Wouter
|
2007-01-26 07:55:16 +00:00
|
|
|
- fixed memleak.
|
2007-01-26 09:44:13 +00:00
|
|
|
- make lint works on BSD and Linux (openssl defines).
|
2007-01-26 11:57:09 +00:00
|
|
|
- make tags works.
|
|
|
|
- testbound program start.
|
2007-01-26 07:55:16 +00:00
|
|
|
|
2007-01-29 13:54:32 +00:00
|
|
|
25 January 2007: Wouter
|
2007-01-25 09:47:22 +00:00
|
|
|
- fixed lint so it may work on BSD.
|
2007-01-25 12:39:51 +00: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 16:08:52 +00:00
|
|
|
- created log_assert, that throws assertions to the logfile.
|
|
|
|
- listen_dnsport service. Binds ports.
|
2007-01-25 09:47:22 +00:00
|
|
|
|
2007-01-24 13:46:31 +00:00
|
|
|
24 January 2007: Wouter
|
|
|
|
- cleaned up configure.ac.
|
|
|
|
|
2007-01-23 13:46:18 +00:00
|
|
|
23 January 2007: Wouter
|
|
|
|
- added libevent to configure to link with.
|
|
|
|
- util/netevent setup work.
|
2007-01-23 14:16:52 +00:00
|
|
|
- configure searches for libevent.
|
2007-01-23 16:10:23 +00: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 13:46:18 +00:00
|
|
|
|
2007-01-22 15:23:29 +00:00
|
|
|
22 January 2007: Wouter
|
|
|
|
- Designed header file for network communication.
|
|
|
|
|
2007-01-16 11:54:29 +00:00
|
|
|
16 January 2007: Wouter
|
|
|
|
- added readme.svn and readme.tests.
|
|
|
|
|
2007-01-04 11:03:29 +00:00
|
|
|
4 January 2007: Wouter
|
|
|
|
- Testbed script (run on multiple platforms the test set).
|
2007-01-04 15:30:09 +00:00
|
|
|
Works on Sunos9, Sunos10, FreeBSD 6.1, Fedora core 5.
|
2007-01-04 15:36:51 +00:00
|
|
|
- added unit test tpkg.
|
2007-01-04 11:03:29 +00:00
|
|
|
|
2007-01-03 08:53:52 +00:00
|
|
|
3 January 2007: Wouter
|
|
|
|
- committed first set of files into subversion repository.
|
2007-01-03 09:27:01 +00:00
|
|
|
svn co svn+ssh://unbound.net/svn/unbound
|
|
|
|
You need a ssh login. There is no https access yet.
|
2007-01-03 09:17:12 +00:00
|
|
|
- Added LICENSE, the BSD license.
|
|
|
|
- Added doc/README with compile help.
|
2007-01-03 10:42:32 +00:00
|
|
|
- main program stub and quiet makefile.
|
|
|
|
- minimal logging service (to stderr).
|
2007-01-03 13:17:06 +00:00
|
|
|
- added postcommit hook that serves emails.
|
|
|
|
- added first test 00-lint. postcommit also checks if build succeeds.
|
2007-01-03 14:55:21 +00:00
|
|
|
- 01-doc: doxygen doc target added for html docs. And stringent test
|
|
|
|
on documented files, functions and parameters.
|
2007-01-03 08:53:52 +00:00
|
|
|
|
|
|
|
15 December 2006: Wouter
|
|
|
|
- Created Makefile.in and configure.ac.
|