The trap does not block them
They simply attack into the void.

When a bot knocks on the port, the AGL daemon accepts the connection. It masquerades as a legitimate service and plunges the attacker into an endless waiting cycle. To ensure attackers reliably fall into the trap, the port is opened completely to all requests.

Viscous by design

The attacker's data stream is absorbed by a fictitious socket. For the attacker, this means a complete loss of resources: they waste their descriptors, RAM, and CPU time waiting for a response that will never come. At the OS kernel level, this process is held in an infinite loop, simulating a legitimate service.

Mathematically indistinguishable

Base interval — The primary time we hold the attacker (default 13 sec). Jitter variance — ±8 sec, range 1–300. The mathematics of rand.Intn() deprives advanced scanners of the ability to detect deception by timing, and also allows the identification of even more advanced scanners.

Attacker profiles

Ubuntu Standard

The most popular target. Bots trust it instantly.

Legacy Enterprise

The standard for scanners looking for outdated systems.

Embedded IoT

Emulation of routers and IoT devices to intercept specialized attacks.

Stealth Void

Complete silence. A special banner for covert data collection.

Measured, not promised

9–16KB
Memory consumption per bot
100
Maximum concurrent connections (default)
1000
Load ceiling (maximum)
~16MB
Total RAM consumption at maximum load

The MaxConn option serves to intentionally limit concurrent attacker connections. This protects file descriptors and RAM by pre-calculating memory consumption by attackers. Tests on 100 bots showed consumption: from 16 to 9 KB per connection, during cold and warm runs.

Victims carry labels

The complex analyzes and classifies attackers first by their primary actions:
PASSIVE_SCANNER — Scanner waited for the connection to end
AGGRESSIVE_SCANNER — Scanner decided to break out, or its waiting time expired.

It is also possible to determine the recorded reasons for the closure of any session:
FIN — Termination
RST — Refusal
TIMEOUT — Timeout
OUR_CLOSE — Our cancellation

Protection against self-lockout

SSH protection: If a live OpenSSH service is still listening on port 22, the trap simply does not start. This guarantees that the administrator will never be locked out during installation.

Every touch is recorded

tarpit_report.log — tail -n 2
[0] Start Date/Time [1] TarpitID [2] IP [3] Plan [4] Actual [5] Behavior [6] Country [7] SourcePort [8] Token [9] MSS [10] SndCwnd [11] RcvSpace [12] RTT [13] TotalRetrans [14] State [15] Retransmits [16] Probes [17] SndWscale [18] RcvWscale [19] CloseReason [20] IATCount [21] IATSumMs [22] IATMinMs [23] IATMaxMs [24] IATSumSqMs [25] ReadTiny [26] ReadSmall [27] ReadMedium [28] ReadLarge [29] WriteLatencyMs
1991-09-18 11:5X:XX TARPIT:XXXX 94.x.x.x 16 sec 11 sec AGGRESSIVE_SCANNER France 41135 18CDB...B00E_41135 744 10 14480 202 0 8 0 0 7 7 FIN 1 70 70 70 4900 1 0 1 0 10207
1991-09-18 11:5X:XX TARPIT:XXXX 195.x.x.x 10 sec 10 sec PASSIVE_SCANNER Germany 44034 18CDB...FEF12A6B_44034 1136 10 14480 44 0 1 0 0 7 7 TIMEOUT 1 0 0 0 0 0 1 1 0 8069
1991-09-18 11:5X:XX TARPIT:XXXX 77.x.x.x 13 sec 8 sec AGGRESSIVE_SCANNER United Kingdom 56106 18CDB...63BED7_56106 536 10 14480 2756 2 8 0 0 7 7 FIN 0 0 0 0 0 0 1 0 0 7189
1991-09-18 11:5X:XX TARPIT:XXXX 62.x.x.x 9 sec 9 sec PASSIVE_SCANNER Iran 4208 18CDB...FC57E2_4208 1408 10 14480 65 0 1 0 0 11 7 TIMEOUT 2 0 0 0 0 0 1 0 2 6075
1991-09-18 11:5X:XX TARPIT:XXXX 116.x.x.x 7 sec 7 sec PASSIVE_SCANNER Korea 27624 18CDB...643B0E0_27624 976 10 14480 928 0 1 0 0 9 7 TIMEOUT 1 193 193 193 37249 1 0 1 0 5260
1991-09-18 11:5X:XX TARPIT:XXXX 94.x.x.x 11 sec 11 sec PASSIVE_SCANNER France 50889 18CDB...9900DC_50889 744 10 14480 200 0 1 0 0 7 7 TIMEOUT 1 825 825 825 680625 1 0 1 0 9973

Full dossier — 30 metrics across three echelons, see Forensics.