James Stephens

March 24, 2006

Iptables On A Linksys-Cisco WRT54GL Broadband Router HOWTO

Filed under: Iptables — James Stephens @ 4:24 pm

Following on from the announcement of a renewed commitment to Linux by Linksys-Cisco and the release of the Linux-compatible WRT54GL Wireless-G series broadband router (discussed here), this post details how to run Iptables on a Linksys-Cisco WRT54GL router via firmware from DD-WRT. A fully functional example Iptables script is provided to get you started.
(more…)

March 21, 2006

Backup/Restore Scripts For Imaging/Cloning Disks Using Partimage Under Linux

Filed under: Unix Scripts — James Stephens @ 9:57 am

In a recent post some advantages were discussed in using Partimage over g4u and Symantec Ghost. Following on from that, example scripts and a simple methodology are provided below to backup and restore Linux partitions using partimage run from a client system, to a remote server running partimaged.
(more…)

March 20, 2006

Problems And Solutions With Imaging/Cloning Disks Under Linux

Filed under: Linux — James Stephens @ 11:10 am

This post talks about some of the problems and solutions myself and other staff have discovered in trying to Ghost/image/clone Linux systems using Symantec Ghost, g4u, and Partimage.
(more…)

March 17, 2006

Scripting Partition Creation In Linux Using Fdisk

Filed under: Unix Scripts — James Stephens @ 8:19 pm

This post details a way to script partition creation under Linux using fdisk. I was originally trying to use sfdisk to perform this task as it is designed to be scriptable, reading lines of the form

     

where each line fills one partition descripton. The problem for me was that sfdisk only appears to accept partition sizes defined in cylinders; for partitioning similar sized disks with different geometries this is inconvenient.
(more…)

March 8, 2006

The Problem With Spamassassin’s AutoWhitelist Feature

Filed under: Spam Filtering — James Stephens @ 11:43 am

I have recently disabled Spamassassin’s autowhitelist feature.
(more…)

February 23, 2006

A Graphical Tool For File, Directory, CVS And Subversion Diff Viewing

Filed under: Linux — James Stephens @ 9:00 am

Fldiff is a useful and simple to use graphical differencing program that supports file, directory, CVS, and Subversion diff viewing.
(more…)

February 21, 2006

Adding A Custom Header In Mimedefang To Identify Defanged Messages As Possible Spam

Filed under: Spam Filtering — James Stephens @ 9:00 am

This post details how to add a custom header in Mimedefang. It’s purpose here is to tag email from which attachments are removed, making it easier for spamassassin to identify and operate on such messages.
(more…)

February 17, 2006

How To Configure Junk Mail Settings In Mozilla Thunderbird v1.0.x And v1.5

Filed under: Spam Filtering — James Stephens @ 11:42 am

Mozilla Thunderbird possesses excellent junk mail controls which through Bayesian analysis of your email and careful training are capable of learning which messages are ham and which messages are spam.
(more…)

February 15, 2006

How To Perform In-Place Editing Of A File Using Perl

Filed under: Linux, Unix Scripts — James Stephens @ 8:04 am

This post describes how to perform in-place editing of a file using Perl.
(more…)

February 14, 2006

Configuring Mozilla/Firefox To Open Postscript Files In A Separate Window Under Linux

Filed under: Linux — James Stephens @ 10:35 am

The default behaviour of Mozilla/Firefox is to open Postscript files within the browser. This post details how to change that behaviour so that they open in a separate application window.
(more…)

February 13, 2006

A Workaround In Spamassassin For Dealing With Spam To Spoofed Email Addresses

Filed under: Spam Filtering — James Stephens @ 11:22 am

This post documents a workaround I have put in place in spamassassin for the increasing amount of spam being receiving to the spoofed address all@ourdomain. Some users are receiving over 20 such messages a day .. all spam. The workaround is equally relevant for other addresses where mail isn’t expected from offsite.
(more…)

February 10, 2006

Configuring Mozilla/Firefox To Open PDF Files In A Separate Window Under Linux

Filed under: Linux — James Stephens @ 4:20 pm

The default behaviour of Mozilla/Firefox is to open PDF files within the browser. This post details how to change that behaviour so that they open in a separate application window.
(more…)

February 9, 2006

Confusing Rules In The Default Iptables Configuration Under Fedora And RedHat Enterprise Linux

Filed under: Iptables — James Stephens @ 7:40 pm

I have seen posts in a number of online forums to the effect that a couple of rules in the default Iptables firewall configuration under Fedora and Redhat Enterprise Linux are causing confusion.
(more…)

January 31, 2006

Configuring Vacation Mail With Procmail

Filed under: Unix Scripts — James Stephens @ 2:44 pm

If you use procmail to filter messages, setup vacation email response via your /home/USER/.procmailrc rather than the vacation program.
(more…)

A Fix For The “crtbegin.o: No such file or directory” Compile Problem

Filed under: Linux — James Stephens @ 1:27 pm

If you have different versions of Linux served by a common compiler, you will have problems. This crops up for us from time to time with the PGI compiler suite.
(more…)

Older Posts »

Powered by WordPress