Snomasks

From BLCKND Wiki
Jump to navigation Jump to search

Snomasks are server notice masks. It's a special type of user mode that controls which server notices you will receive. Only IRCOps can set snomasks.

Snomasks can be set by: /MODE yournick +s SNOMASK, for example: /MODE yournick +s +cF. To remove certain snomasks, use something like: /MODE yournick +s -c, or to remove all snomasks use /MODE yournick -s.

Server notices look like this: -irc1.example.org- connect.LOCAL_CLIENT_DISCONNECT [info] Client connecting: Nick ([email protected]) [198.51.100.1] [class: clients] [reputation: 1000]. Additionally, in UnrealIRCd 6, JSON data can be included as well, which can be useful for client coders, scripts or bots, see Enabling on IRC under JSON logging.

Jump to the right section below, depending on your version: UnrealIRCd 5 or UnrealIRCd 6

UnrealIRCd 6[edit]

IMPORTANT: In UnrealIRCd 6 the snomask letters are different compared to UnrealIRCd 5!!

In UnrealIRCd 6 the available snomasks are:

Snomask Description
b Server bans (KLINE, GLINE, SHUN, etc)
B Messages from the DNS blacklist module
c Local client connects
C Remote client connects (on other servers, except services/u-lines)
d Rejected DCC's due to Deny dcc blocks
D Debugging / junk (not recommended to set, can be noisy about completely harmless things)
f flood notices (recommended)
j joins, parts and kicks
k kill notices (/KILL usage)
n Local nick changes
N Remote nick change notices
q Deny nick (QLINE) rejection notices
s Server notices: all other notices that do not fit in the other snomasks (includes very important messages, highly recommended to set)
S Spamfilter hits
o IRCOp overriding in channels (OperOverride)
O IRCOp changing user properties (/CHGNAME, /CHGIDENT, /CHGHOST, ..) or forcing a user to do things (/SAJOIN, /SAPART)
v VHOST usage

In UnrealIRCd 6 you can also create your own (new) snomasks via the log block.

You can control which snomasks IRCOps receive by default via set::snomask-on-oper, or in specific oper blocks via oper::snomask.

UnrealIRCd 5[edit]

In UnrealIRCd 5 the available snomasks are:

Snomask Module Description
b blacklist Messages from the DNS blacklist module
c built-in Local connects
D snomasks/dccreject Rejected DCC's due to Deny dcc blocks
F built-in Far connects (from other servers, except from U-lines like Services)
f built-in flood notices
k built-in kill notices
e built-in 'eyes' notices - a bit verbose (?)
j built-in Junk notices (noisy, possibly harmless things, mostly for debugging)
v built-in VHOST usage
G built-in GLINE and SHUN usage
n built-in Local nick changes
N built-in Remote nick change notices
q built-in Deny nick (QLINE) rejection notices
s built-in Receives server notices (includes the most important messages)
S built-in Spamfilter hits
o built-in Oper-up notices (/OPER usage)

You can control which snomasks IRCOps receive by default via set::snomask-on-oper, or in specific oper blocks via oper::snomask.

[[1]]
Interdome (talk) 21:12, 3 September 2022 (CEST)