Porting mod_virgule to Apace 2.x – part II

After a little more hacking on Monday, I completed the port of mod_virgule to the Apache 2 API. It’s now running natively using the 2.x APR functions directly – no need for the 1.3 compatibility headers at all. I’m going to bang on it a few more days and then shift robots.net over to it. I’ll post the source later this week as well.

I’m doing the work on a new CentOS Linux 4.0 box that I set up to try out CentOS. Most of our boxes still run Red Hat 9 and since Red Hat’s demise I’ve been casting around for a suitable replacement. CentOS seems ideal. It’s basically a community supported, free (as in speech and as in beer) clone of Red Hat Enterprise Linux. So everything is exactly where it should be and works like you’d expect it to.

In other news I just got my hands on one of the New Micros TinyARM 2131 boards. It’s a tiny little ARM microcontroller (1″ x 1.3″) with 32K Flash and 8K RAM. Looks like another gcc cross compiler adventure in the making.

Porting mod_virgule to Apace 2.x

I got mod_virgule working on Apache 2.x this week. I started with the patch for the official codebase that James Henstridge did back in early 2004. While the official mod_virgule hasn’t changed much in the last couple of years, mine has continued to diverge due to patches for libxml2 and other requested features. So it took a little tweaking to get the old Apache 2 patch to work but it still saved a lot of time. I’m not planning on keeping Apache 1.3 compatibility, so I dropped some changes from the original patch related to 1.3 support.

I’ve still got a ways to go before it’s ready for release. At present it relies too heavily on the APR compatibility headers. Once I get things cleaned up, I’ll move robots.net to an Apache 2 server with the new code and give it some good testing. A release should follow shortly after that.

It’s nice to play with some C code again after all the website related Perl coding I do at NCC.

Snow and Spam

I better post this while I’m thinking about it. The last couple of weeks have been way too busy. After a slow December, business really picked up in January and based on the number of new proposals we’ve been cranking out, it hasn’t shown any signs of slowing down yet. Anyway, what’s happened in the last couple of weeks that’s worth telling you about? Hmmm…

I sent a mod_virgule patch to Raph a week or so ago that fixes the duplicate article problem which has been plaguing Advogato. Don’t know if he applied it or not but I’ve been using it on robots.net for a while and haven’t had any dupicate posts.

It actually snowed here in Dallas about a week ago. Real snow like we haven’t had in years. Unfortunately, it was typical Texas weather – 60F one day, heavy snow and 30F the next, and back in the 60s again after that. So most of the snow was gone within 48 hours. But I managed to shoot a few nice photos of it before it melted.

In the never-ending fight to block spam, I’ve finally found a suitable replacement for ORBS. After the demise of ORBS, a whole pile of ORBS clones sprang up and I’ve tried a lot of them. Most had tiny databases, bad data, got too many false positives, or were otherwise unsatisfactory. ORDB, however, has turned out to be the best of the bunch; as good or better than the original. Now, if I could just figure out how to pronounce the name! In addition to ORDB, we’re using SPEWS, the Spamhaus Block List, and our own private block list. We usually block 500-600 spams per day with the current setup (about 90%).