top | item 43837543

(no title)

shishcat | 10 months ago

This will waste your bandwidth and resources too

discuss

order

sgc|10 months ago

The idea is to trickle it very slowly, like keeping a cat occupied with a ball of fluff in the corner.

uniqueuid|10 months ago

Cats also have timeouts set for balls of fluff. They usually get bored at some point and either go away or attack you :)

jeroenhd|10 months ago

If the bot is connecting over IPv4, you only have a couple thousand connections before your server starts needing to mess with shared sockets and other annoying connectivity tricks.

I don't think it's a terrible problem to solve these days, especially if you use one of the tarpitting implementations that use nftables/iptables/eBPF, but if you have one of those annoying Chinese bot farms with thousands of IP addresses hitting your server in turn (Huawei likes to do this), you may need to think twice before deploying this solution.

stavros|10 months ago

Yes but you still need to keep a connection open to them. This is a sort of reverse SlowLoris attack, though.

CydeWeys|10 months ago

Yeah but in the mean time it's tying up a connection on your webserver.