ergochat / ergo

A modern IRC server (daemon/ircd) written in Go.
https://ergo.chat/
MIT License
2.26k stars 179 forks source link

[Feature request] Spamfilter for channels, notices, privmsg. #1799

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello,

All modern IRCD has or almost all has this feature when I can add some "link" "words" to be filtered, before it reach the client.

Block, dline, warn(client & opers). For example.

This prevents spambots that connect and mp users with some bad links or invitations to others networks.

Thanks.

Mikaela commented 2 years ago

For what it's worth, the list-delay option has been blocking spambots quite well so far.

ghost commented 2 years ago

Hi, thanks for replies. This is quite useless because of other's kind of spam. Right now people can just connect and paste an invitation link to others networks and bots putting naked girls urls in privmsg and channels.

I'm talking about a filter, not delay stuff.

avdb13 commented 2 years ago

How would this spam filter be invoked? Would the words to be filtered be put in a configuration file?

avdb13 commented 2 years ago

For what it's worth, the list-delay option has been blocking spambots quite well so far.

list-delay can easily be circumvented by keeping the connection open for a while. OP wants to filter incoming messages.