Stockade (software)

Last updated
Stockade
Original author Centre for Advanced Internet Architectures (CAIA) at Swinburne University of Technology
Developers Malcolm Robb, Grenville Armitage, Adam Black
Stable release
0.2 / March 16, 2007 (2007-03-16)
Operating system FreeBSD
Type Spam mitigation
License GPL v2
Website "STOCKADE - A network-level spam mitigation tool". Archived from the original on 1 March 2011.

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.)

Contents

The rate limiting approach

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. [3]

See also

References

  1. Minh Tran (2004-04-03). "FreeBSD server anti-spam software using automated TCP connection control". CAIA Technical Report 040326A. Swinburne University of Technology . Retrieved 2026-01-15.
  2. Minh Tran, Grenville Armitage (2006-12-19). "Mitigating Email Spam by Statistical Rejection of TCP Connections Using Recent Sender History". Australian Telecommunication Networks and Application Conference 2006. Swinburne University of Technology . Retrieved 2026-01-15.
  3. Minh Tran (2006), p. 2.