]> jfr.im git - solanum.git/commit
Add propagated klines.
authorJilles Tjoelker <redacted>
Fri, 5 Mar 2010 17:36:44 +0000 (18:36 +0100)
committerJilles Tjoelker <redacted>
Fri, 5 Mar 2010 17:36:44 +0000 (18:36 +0100)
commit431a1a2784ef82bb71ea9fdc76c046a390ea6769
treeaac59ad825b41796a8d733b996a89f2d13e8173b
parentc935336b64afad2af6b976fd4aa8f4c1b404604b
Add propagated klines.

A KLINE command without the ON clause now sets a propagated
("global") ban. KLINE commands with the ON clause work as
before.

Propagated klines can only be removed with an UNKLINE command
without the ON clause, and this removes them everywhere.
In fact, they remain in a deactivated state until the latest
expiry ever used for the mask has passed.

Propagated klines are part of the netburst using a new BAN
message and capab. If such a burst has an effect, both the
server name and the original oper are shown in the server
notice.

No checks whatsoever are done on bursted klines at this time.

The system should be extended to XLINE and RESV later.

There is currently no way to list propagated klines,
but TESTLINE works normally.
include/s_conf.h
include/s_serv.h
modules/Makefile.in
modules/core/m_ban.c [new file with mode: 0644]
modules/m_kline.c
src/modules.c
src/s_conf.c
src/s_serv.c