Thursday, August 20, 2009

Deadwood 2.4.06 released: ip_blacklist support

I have released Deadwood 2.4.06; this release of Deadwood has ip_blacklist support.

This is useful if you have one of those annoying ISPs who take "not there" queries or otherwise performs "NXDOMAIN redirection". Simply add the IPs your ISP directs to you when you should get a NXDOMAIN, and Deadwood will convert any DNS response with one of the offending IPs in to a "not there" DNS reply.

Note that Deadwood will not convert cached entries this way; if you wish to use this feature and have used earlier versions of Deadwood, please delete your Deadwood cache first.

It can be downloaded for both CentOS Linux (as source code) and Windows here:

http://maradns.org/deadwood/testing

Wednesday, August 19, 2009

Deadwood updates

IPv6 now works with Deadwood and there's a new SQA regression to test the ip_blacklist feature. In addition, the synthetic "not there" reply now correctly echoes the client's ID, and another test caught a floating point exception ("foo % a" in C needs to make sure a is 0 or bad things happen) in some of the code I added before in the 2.4 branch of Deadwood.

I've updated the tests and should be able to release Deadwood 2.4.06 tomorrow.

In the meantime:

http://maradns.org/deadwood/snap/

Tuesday, August 18, 2009

New Deadwood snapshot

Deadwood now sends out synthetic 0-TTL "not there" replies when given an answer with an IP on the ip_blacklist. Next:
  • IPv6 support for blacklisted IPs
  • SQA regression
  • Release Deadwood 2.4.06
In the meantime:

http://maradns.org/deadwood/snap/

Monday, August 17, 2009

New Deadwood snapshot: Workaround for ISPs' error pages

Well, surfing the net this weekend, I discovered that those annoying little "error pages" (usually filled with ads) that some ISPs hoist on customers when they misspell a URL or otherwise go to a page without a DNS entry are actually a potential security problem.

That in mind, I have implemented a new dwood2rc parameter: ip_blacklist. Should an IP appear in an answer that is in the ip_blacklist, Deadwood will reject the answer. I have already implemented and documented the new feature, but I need to make these kinds of answers proper "nothere" replies (not actual NXDOMAINs for technical reasons), add IPv6 support (done in some parts of the code but not all of it), add a SQA regression, then I should be done with this feature.

For people who want to try out the feature in the meantime, it's here:

http://www.maradns.org/deadwood/snap/

Friday, August 14, 2009

New Deadwood snapshot; new MaraDNS timeline

I have started work on having it so multiple identical "in flight" DNS requests only send one query to the remote server. This is to minimize a possible security problem.



I have decided to revise the MaraDNS timeline. The current MaraDNS timeline is as follows:
  • MaraDNS 1.0 will be supported for critical security fixes only until December 21, 2010. Should a security bug be discovered just before the cut-off date, requiring changes so that the patched version would be released after December 21, I will simply remove MaraDNS 1.0.
  • MaraDNS 1.2 is only supported for critical security fixes, and only until December 21, 2010. As per 1.0, should a security bug be discovered just before the cut-off date, requiring changes so that the patched version would be released after December 21, I will simply remove MaraDNS 1.2.
  • MaraDNS 1.3.07 will be supported only for critical security patches for the foreseeable future. A EOL date will be announced when and if MaraDNS 2.0 is released.
  • Critical bug fixes will be applied to the 1.3.post-7 branch of MaraDNS for the foreseeable future.
  • I have no planned release date for MaraDNS 2.0. Indeed, at this point, I've decided to not even promise that MaraDNS 2.0 will be released. I hope it is, but I just don't like having a commitment to, say, release MaraDNS 2.0 before the end of the year looming over me.
What does this mean? It means that, while I still support MaraDNS (and appreciate all of the donations I have received), I'm not making enough money with MaraDNS for me to commit to releasing MaraDNS 2.0.

I'm having a lot of fun working on Deadwood, and I really hope to finish up the Deadwood code and release MaraDNS 2.0 by the end of the year, but, no promises. Since I'm not making much money doing this, this is "for fun and for free". Timelines and deadlines are not fun. So, I'm getting rid of them.

Monday, August 10, 2009

Deadwood and MaraDNS snapshot updates

I have released minor updates to the MaraDNS and Deadwood snapshots today; both are documentation-only changes. There were a couple of remaining references to the 2.3 DeadwoodTCP service in the README.txt for the Windows version of Deadwood; I have removed these.

In addition, I fixed the HTML a little for the MaraDNS download page and updated the copy of MaraDNS.org in the MaraDNS tarball.

The Deadwood snapshot can be downloaded here and the MaraDNS snapshot is here.

Sunday, August 9, 2009

Deadwood roadmap: Consolidate multiple requests for the same name

My next plan for Deadwood is to consolidate multiple requests for the same hostname. In other words, if one user asks for "www.example.com", and while we wait for the answer for "www.example.com" upstream, another user makes the same request, instead of processing it as a separate request, it makes more sense to attach the new request to the already-in-place request for "www.example.com", and send the reply back to both requesters at the same time once we get the answer upstream.

Doing things this way improves security.