Stockade | |
Caption: | Stockade |
Author: | Centre for Advanced Internet Architectures (CAIA) at Swinburne University of Technology |
Developer: | Malcolm Robb, Grenville Armitage, Adam Black |
Latest Release Version: | 0.2 |
Operating System: | FreeBSD |
Genre: | Spam mitigation |
License: | GPL v2 |
Website: | http://caia.swin.edu.au/stockade/ |
Stockade is a TCP-layer blocking tool written in C++. It denies TCP/IP access to registered IP addresses by using the ipfw packet filter. It targets spam prevention, but may also be used against other attackers (e.g. brute force password crackers.)
This approach leverages the superior determination exhibited by legitimate senders. In this respect, it may be considered similar to greylisting. Originally, the authors conceived an MT Proxy to rate-limit the SMTP connections of messages believed to be spam. That worked by adding a dummynet rule for frequent senders who had been sending messages that triggered an unreliable statistical analysis.[1]
A key limitation of the original scheme was the consumption of local resources (in the SMTP proxy). Stockade approach introduces the notion that an inbound TCP connection may be rejected with some random probability proportional to the level of spam already seen from the connection’s originator over some configurable period of time.[2] That probability is subject to a decay, configured as a halving time period, so that each IP address is eventually rehabilitated. That way, stockade provides for fully automatic spam mitigation.