tarpitd.py
Slow your enemy down.
tarpitd.py is a lightweight, single-file network tarpit tool that deliberately delays or disrupts client connections by sending slow or malformed responses.
It implements a variety of response patterns that emulate common Internet services, intentionally disrupting client activities or even triggering crashes. This deceleration mechanism is particularly useful for deterring malicious or misbehaving clients, all while maintaining a low resource footprint. Start by reading the introductory tutorial, then check the Unix-style User Manual for more information.
Features
Lightweight
The tool is purposefully designed as a single, streamlined file, ensuring a quick and easy download. Not memory-intensive or CPU-intensive. Actually, it's "sleep-intensive".
Multi-protocol Support
tarpitd.py isn’t limited to one communication standard: it is built with flexibility in mind. Whether the connection attempt uses SSH, HTTP, or even the robust standards of TLS, this tarpit is equipped to decelerating them all.
Structured Logging
With its integration of the Python standard library’s logging module, tarpitd.py offers advanced logging capabilities. It captures detailed client connection data and outputs this information in a machine-friendly JSONL format
Client Verification
A standout feature of tarpitd.py is its ability to check client before sending response. It ensures that each client receives the appropriate reply, and enable the ability to trick null probing.