SynSpam: A New Way to Filter Spam!

December 17, 2009 23:06 pm · 0 comments

by Black

in Open Source,Security tools

All of you must be aware of anti spam tools and know how useful they are. If you are Microsoft Office user, almost every month your spam filters get updated. So do professional services like IronPort etc. SynSpam can be used in addition to those devices!

Consider this – some part of spam never reaches your anti-spam device itself! You wont need to invest in a many devices, plus those you have, wont be loaded with much work. SynSpam can stop most of the spam mails before they get to your mail server by preventing spammers from connecting to your mail server itself! It achieves this by netfilter queues (libipq) which allows a userspace program to drop or accept connections, thereby reducing the amount of spam messages your antispam must process! Best of all this is OPEN SOURCE! It is also designed to consume as few resources as possible! Here is how it works – when a connection is initiated (SYN is received), many tests are performed on the source IP: DNSBL checks, regex applied to the reverse DNS, etc. and the connection attempt is scored. If this score is beyond a threshold value you define, the connection is dropped. You only receive one SYN and you already have blocked the spammer from using your mail server resources!

It has a realtime log analysis page and is designed to consume as few resources as possible! To install synspam you need the following perl modules :

  • IPTables::IPv4::IPQueue
  • NetPacket
  • Sys::syslog

On amd64 architecture, you need a rebuilt version of iptables, iptables-dev and libiptables-ipv4-ipqueue-perl.

Download synspam version 0.2.0 here.

If you enjoyed this article, you might also like:

  • February 9, 2010 -- UPDATE: SynSpam 0.4.0!
    Since we last post about SynSpam here, a lot has changed with it!It now has a blacklisting and w...
  • August 4, 2009 -- SpamBayes – Protect yourself from scams
    SpamBayes will attempt to classify incoming email messages as 'spam', 'ham' (good, non-spam email) o...
  • August 20, 2010 -- UPDATE: XSSer v0.7a!
    All of you web application penetration testers, check out this release of XSSer version 0.7a, for i...
  • August 16, 2010 -- UPDATE: Websecurify 0.7!
    Good news for Websecurify lovers, as we have an updated Websecurify version 0.7 amongst us finally! ...
  • August 10, 2010 -- UPDATE: PacketFence 1.9.0!
    PacketFence is a free and open source network access control (NAC) system and the reason for us wri...
  • August 9, 2010 -- UPDATE: Websecurify 0.7RC2!
    Right on time this time! We have an updated Websecurify version 0.7RC2 amongst us now!“Websecu...
  • August 9, 2010 -- UPDATE: SET v0.6.1!
    The Social Engineer Toolkit has been updated to version 0.6.1!“The Social Engineering Toolkit ...
  • August 5, 2010 -- UPDATE: Fierce Domain Scanner v2!
    Our first post regarding Fierce Domain Scanner can be found here. Now, an updated version 2 of the s...
  • August 3, 2010 -- UPDATE: Websecurify 0.7RC1!
    Also, pretty late with this one (almost 6 days!), but here it is - we have an updated Websecurify ve...

Previous post:

Next post: