pinnwand icon indicating copy to clipboard operation
pinnwand copied to clipboard

Provide some sort of anti-spam mechanic

Open supakeen opened this issue 4 years ago • 5 comments

I know this is a hotly debated topic but some sort of scoring for spam that can optionally be enabled in the configuration would be a good thing to have.

At bpaste there are a lot of spambots that create pastes with many links in them, an initial implementation could score based on the link count available.

supakeen avatar Aug 29 '20 09:08 supakeen

Devil's advocate: Debugging web server configuration is a very reasonable, possibly common, legitimate usecase for a pastebin, and server logs contain hundreds, if not thousands of URLs

tritium21 avatar Aug 29 '20 11:08 tritium21

Hah, I hadn't thought about the fact that people do share access logs directly, this needs some more thought in that case. Perhaps if it's a configuration option that can be set per-instance the impact is somewhat more limited.

supakeen avatar Aug 29 '20 16:08 supakeen

Perhaps set up rate limiting on the submission form in your webserver software. Apache has mod_qos as one option.

Forza-tng avatar Mar 12 '21 16:03 Forza-tng

This is again relevant as another hoster encountered an issue with their pastebin being spammed.

supakeen avatar Apr 29 '21 19:04 supakeen

Maybe we can identify some ratio between links and overall text and penalize the IP address in question in relation to that ratio, so the more links they post the more they have to wait before posting again, which could in fact increase exponentionally.

It was my setup that was being spammed. The bots came in 3-5 minute intervals from 4-5 different IP addresses.

mweinelt avatar Apr 30 '21 02:04 mweinelt