]> jfr.im git - irc/freenode/web-7.0.git/blame - content/news/2018-09-24-spamfilter.md
Freenode foss (#507)
[irc/freenode/web-7.0.git] / content / news / 2018-09-24-spamfilter.md
CommitLineData
99ffeb40
EK
1---
2author: edk
3date: 2018-09-24 17:47:00+00:00
4slug: spamfilter
5title: Spam filtering
6category: freenode
7category: announcements
8---
9
10Hi,
11
12As most of you are aware, we've been experiencing significant spam over the
13past few weeks. As a result, we have decided to roll out a server-side spam
14filter. Unlike our current spam-mitigating techniques, this system applies to
15private messages and does not let the first matching line get through.
16
17Various ethical concerns have been raised over the course of introducing this
18feature. They'll be addressed below. The short version, though, is that the
19system has various limitations built in designed to prevent operator abuse.
20Only a tiny bit of information can get out of the filters, and they do not have
21access to much information themselves, to the extent that we believe the
22obvious ways to abuse such a feature are impractical.
23
24We've historically been reluctant to take steps like this, and we remain so,
25but we believe the disruption has reached such a level that this is necessary
a498e01e
EK
26to allow the communities using freenode to collaborate effectively. The prior
27complement of anti-spam measures represents our preferred approach, and we
f7f6f77c 28intend to employ this only when they prove insufficient to minimize disruption.
99ffeb40 29
9c6b18df
EK
30For the technically inclined, you can view the changes
31[here](https://github.com/freenode/ircd-seven/compare/000aa02980b812a18652fc2cc21041eb7adc980b...6ffdaf49400643a922fc9086f7a645ddd07013a6).
3090c82a 32
99ffeb40
EK
33
34- _Could this be used to spy on users?_ Which filter a user matched is not
35 reported to staff, only that one did. This limits the theoretical maximum
36 rate of passive monitoring to one bit per message, far less than the
37 information content of conversations.
38
a498e01e
EK
39 Recipients of private messages are not included in the line that filters
40 match on, so staff cannot use spam filters to see who is talking to whom.
99ffeb40
EK
41
42- _Could this be used to shadowban users?_ No. If a filter blocks a message,
43 its sender is either disconnected from the network or sent an error message.
44
a498e01e
EK
45 Currently, the filter system is configured not to use the nick, username, or
46 hostname for filter matching, so it can't discriminate against particular
47 users at all.
99ffeb40
EK
48
49
50The exact information filters "see" is as follows:
51
52- The type of message (PRIVMSG/NOTICE)
53- The target of the message, if that target is a channel. For private
54 messages, filters can see that they are PMs but not who their target is.
55- Whether or not the sender is identified (but not their account name)
56- The full contents of the message
57
58The code can be configured to filter on the `nick!user@host` of the sender. We
59haven't enabled this, and have no current plans to, but this is subject to
60change should the nature of the spam demand it.
61
62Filtering is always performed on the server originating a message, and inside
63the ircd process. This system will never cause a message to be distributed
64more widely than before.
65
66Staff can, as always, answer your questions about this change, and we welcome
67constructive feedback. Private messages to staff are not subject to filtering.