Last update: 2007-02-12

// C O N T R O L - A L T - D E L . O R G

"Fate strikes down the strong man, Everyone weep with me " - O Fortuna
NAVIGATION>>
HOME PICS ABOUT NEWS CODE BOOKS MAIL
:: CODE
The three chief virtues of a programmer are: Laziness, Impatience and Hubris
-- Larry Wall
CONTACT
:. Code

Various tutorials and programs I've written which may be useful to others out there.

:. Setting up a Qmail front-end for M$ Exchange server

I've had nothing but grief when dealing with M$ Exchange. At my work we recently had our Exchange front-ends die, and I figured it was a good time to replace them with Qmail when the incomming spam levels crushed M$ Exchange.


To help ease our mostly M$ oriented operations team, I documented the installation process as well as created some applications to manage the Qmail installation.


Features supported by this installation:

- Greylisting

- Adaptive blacklist

- SpamAssassin

- Simscan

- Recipient filtering

- Virus scanning (ClamAV)

- Administration tool for configuring whitelists, blacklists, relay control, etc...


The spam reduction that we've achieved using this setup is simply incredible, and probably rivals the spam appliances (like the baracuda spam firewall) in effectiveness.


Installation Guide

Visio Architecture Diagram

Troubleshooting Guide

User Guide

:. FREP - A cluster file replication / synchronization application

FREP is an application to do one-way file replication from a central location to a cluster of servers.

It's main features:

  • Can use broadcast or multicast IP transport mechanism
  • File modifications will only send changed parts of a file
  • Compressed file transfers
  • Filesystem changes replicated in near real-time
  • Efficient design (kernel inotify/libevent+epoll()/sendfile())
  • Scales well (can scale to hundreds/thousands of nodes)

This application is ideally suited to replicate files in web server farms.

 

Current version: 1.1 15/02/2007

:. NPDaemon - A performance data gathering daemon for Nagios

NPDaemon is a daemon to gather performance data from Nagios and make it available to other polling applications via a socket server.

:. HREP - Replicated hash table

This project is in the concept phase.

The idea is to use Perl's tie() interface along with the Spread toolkit to implement a replicated hash table that is distributed across several physical machines, with automatic resychronization.

Applications would be a distributed data web cache.

:. SuaveDNS

SuaveDNS is a web based DNS management system which uses Dan Bernstein's djbdns and MySQL to easily manage your DNS zones.

Update: Version 0.4 is done. Added a dynamic DNS management system.

Update: Version 0.3 is done. Improvements include multi-language support and templating via Smarty. Fixed a bug with the domain search.

:. SuaveGallery

SuaveGallery is a quick and easy to setup image gallery that I put together for this site. It requires no database access or special PHP modules.

View the tutorial

:. SFTP chroot jail How-To

This How-To details the process for setting up a secure ftp environment using SFTP, blackbox, chroot and sudo.

Click here to view the tutorial

:. Useful links

Qmail Toaster (RPM based distros) Link

Linux VServer project (Linux security contexts) Link

Dan Bernstein's Software page (qmail, djbdns) Link

© copyright 2007 Mark Steele

</object></layer></span></div></table></body></html><!-- adsok --> <script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>