Main Contents

Microsoft Exchange Un-Intelligent Mail Filter

March 17, 2008

I discovered an annoying problem with Microsoft Exchange Intelligent Mail Filter (IMF) recently. First, IMF works like this: It scans inbound e-mail and if it determines it to be SPAM or UCE of any kind, it will assign it a number from 1 to 9 and add an extra e-mail header to the email. The [...]

Filed under: Microsoft, Network, Windows | Comments (0)

Using Cacti Plugin Architecture with Gentoo

March 12, 2008

Cacti Plugins are great tools to extend your Cacti capabilities. I ran into an issue with Cacti 0.8.7b on Gentoo after installing the Plugin Architecture (http://cactiusers.org/). The error was:
Warning: include(/var/www/localhost/htdocs/cacti/lib/adodb/adodb.inc.php) [function.include]: failed to open stream: No such file or directory in /var/www/localhost/htdocs/cacti/include/global.php on line 191

Warning: include() [function.include]: Failed opening ‘/var/www/localhost/htdocs/cacti/lib/adodb/adodb.inc.php’ for inclusion (include_path=’.:/usr/share/php5:/usr/share/php’) in [...]

Filed under: Linux, Network | Comments (1)

My iptables firewall script

March 6, 2008

This generic iptables script seems to work pretty well for myself and several sites I administer. It provides samples for a firewall with NAT, multiple public IP address, PPPoE, site-to-site VPN’s, port translation, packet logging and more.

#!/bin/bash

##Using PPPoE, set the Public Interface to ppp0
PUB_IF=’ppp0′
PUB_IP=’4.5.6.1′

##Private Internal network
PRI_IF=’eth0′
PRI_IP=’10.1.0.1′
PRI_NET=’10.1.0.0/24′
PRI_BC=’10.1.0.255′

##Private DSL network (only DSL modem [...]

Filed under: Linux, Network, Windows | Comments (0)