The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog | Stats

1.1/SNOMASK

From the makers of InspIRCd.

Jump to: navigation, search
1.1 Documentation 1.2 Documentation 2.0 Documentation 2.1 Documentation

SNOMASK (server notice mask) is a system whereby messages sent by the IRCd can be categorized and split into groups. This allows an IRC operator to filter out messages they are not interested in, such as local connects or kill messages.

Contents

Enabling SNOMASK

To enable SNOMASK, set usermode +n, and provide the server notice masks you want as a parameter to the mode, for example, to see local and remote connects and quits, send the command:

/MODE Yournick +n +cCqQ

To enable SNOMASK upon oper set the modes in the type block, for example:

 <type name="GlobalOp" classes="OperChat BanControl HostCloak Modular" host="globalop.chatspike.net" modes="+n +cCqQ">

NOTE: This requires the m_opermodes.so module to be loaded.

To remove a server notice mask, set usermode +n again, but remove masks by sending a 'negative' change:

/MODE Yournick +n -CQ

This would remove remote connect and quit notices for example.

To disable all server notice masks, simply remove +n entirely:

/MODE Yournick -n

Please note that usermode +n implies usermode +s. If you send usermode +n, and you do not have usermode +s set, then the server will automatically set +s upon you. A list of the valid server notice masks and what they do is listed below.

Valid Server Notice Masks

Core Server Notice Masks

These are the server notice masks implemented by the core. Modules may implement extra notice masks.


Notice Mask Function
C Allows receipt of remote connect messages
c Allows receipt of local connect messages
Q Allows receipt of remote quit messages
q Allows receipt of local quit messages
k Allows receipt of local kill messages)
K Allows receipt of remote kill messages
l Allows receipt of linking related messages
o Allows receipt of oper-up, oper-down, and oper-failure messages
d Allows receipt of general (and sometimes random) debug messages
x Allows receipt of Xline notice (g/z/q/k/e)
t Allows receipt of attempts to use /STATS (local and remote)
f Allows receipt of flooding notices

Module Server Notice Masks

Notice Mask Function
g m_globops - Allows receipt of globops
O m_override - Allows receipt of use of oper-override
n m_seenicks - See local nickname changes
N m_seenicks - See remote nickname changes
j m_chancreate - Allows receipt of channel creation notices

Differences between InspIRCd SNOMASK and other ircds

  • In other IRC servers, SNOMASK characters are normally set as a parameter to +s rather than +n. In InspIRCd, we decided not to directly give +s a parameter, as the RFC documents do not state that +s should have a parameter. Therefore, putting the notice masks into an unlisted mode letter (+n) means that it cannot break any clients which make any assumptions about the behaviour of +s.
  • In other IRC servers, normal users may set server notice masks upon themselves, however they will most likely have no effect. In InspIRCd, normal users may not set server notice masks upon themselves at all and are prevented by the IRCd.
Personal tools
head
Navigation
head
head
head
head
 
head
head
Toolbox
head
head