Blocking Zombie Spam Netblocks

Posted by mweber on Nov 30, 2008 9:24 PM EDT
BeginLinux.com; By Mike Weber
Mail this story
Print this story

There are network subnets that have been taken over by Spammers and run by bots. These networks are recorded and documented by Spamhaus and provide you a quick way to modify your firewall to eliminate these know blocks of Spam. You will need to have an iptables firewall and add this section to the firewall which will use the information found in the list to drop the subnets thus taking the load off your Postfix mail server.

In order to implement this, add this section close to the top or your firewall and create a text file in /etc/rc.d called banned. Add one subnet to each line as you see in the actual code below. Please use this information on your own risk…the subnets could change over time.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.