Friday, September 12, 2008

MaraDNS 1.3.12 release

Earlier this week, I packed up and uploaded MaraDNS 1.3.12 to the webpage. Yesterday afternoon, I updated the download link to point to the new release of MaraDNS. Today I have updated the MaraDNS.org changelog page and am finally announcing this release of MaraDNS.

The most significant change is that deadwood-2 is updated to Deadwood version 2.02 (a stable release of Deadwood; I have fixed the bugs that made it difficult to use as a non-recursive DNS cache). I also have forwarded ported the MaraDNS 1.3.07.09 bugfixes.

Additionally, I have uploaded MaraDNS 1.3.07.09 to MaraDNS' sourceforge page earlier this week.

Tuesday, September 2, 2008

MaraDNS snapshot update: FreeBSD logging issues resolved

Since someone who is sponsoring MaraDNS a little uses FreeBSD on the server side, yesterday I downloaded VMware player, and a FreeBSD 7.0 image at ThoughtPolice.co.uk.

I was able to reproduce and resolve the problem with "duende" (MaraDNS' daemonizer) not logging messages.

There are two ways of resolving it, one that the sysadmin can implement, and one that I have implemented.

It would appear that FreeBSD's syslog daemon does not log Duende's messages by default. In order to fix this, we first must create a /var/log/daemon file, which will log all of MaraDNS' messages (or any other messages created by a program that logs files with a "facility" of LOG_DAEMON and a priority of LOG_INFO).

Next, we need to edit /etc/syslog.conf to add a line like this:

daemon.info /var/log/daemon

Please be sure to add this line *before* any lines that begin with a '!' character or a '+' character in the /etc/syslog.conf file.

This is the fix for MaraDNS 1.2 and stable MaraDNS 1.3.

For the development 1.3 branch, I changed the Duende code to have it so, when compiled in FreeBSD (#ifdef __FREEBSD__), it logs messages as "daemon.alert" (which is logged in FreeBSD's default /etc/syslog.conf) instead of "daemon.info" (which isn't logged).

I have updated the MaraDNS snapshot to incorporate this change:

http://www.maradns.org/download/snap/1.3/200809/

It took me about a day to find the issue and resolve this; a lot of the work was just getting FreeBSD working in VMware. Things like configuring the virtual interface VMware uses and then figuring out how to ssh to and from the VMware instance of FreeBSD (ssh 192.168.72.128 -l username). Once that was going, it didn't take too long to fix the Duende problem ("man syslog" helped a lot)

Monday, September 1, 2008

MaraDNS snapshot update; ObHack 004a release

I have just released a new snapshot of MaraDNS. The big changes are:
  • Deadwood 2 updated to Deadwood 2.02. This version has a couple of bugfixes that make it a usable thread-free security-aware forwarding cache resolver.
  • BSD updates: This version should compile fine in the various BSDs out there. There is a report Duende doesn't run on FreeBSD; if anyone using FreeBSD wants to fix Duende's code, please sent a patch to the mailing list (UPDATE: Someone is sponsoring fixing this bug, so I'm downloading a VMware image of FreeBSD as I type this)
It is available here:

http://www.maradns.org/download/1.3/snap/200809

I have also released ObHack 004a today. This release is a new stable release and I have no plans to add any new features to ObHack at this point, but welcome bug reports. It can be downloaded here:

http://www.samiam.org/slump/