X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=doc%2Fsnomask.html;fp=doc%2Fsnomask.html;h=237a3bef71e66df9d7b63e2cee8216a4531ffb4c;hp=0000000000000000000000000000000000000000;hb=0400a5a6479398d82526785c18c0df8bc8b92dce;hpb=d17e10da972ce5776c60b4c317267c6abe0e1ead diff --git a/doc/snomask.html b/doc/snomask.html new file mode 100644 index 0000000..237a3be --- /dev/null +++ b/doc/snomask.html @@ -0,0 +1,221 @@ + + +SNOMASK - Server Notice Masks + + +
+ +

SNOMASK - Server Notice Masks

+ +Written by Ghostwolf 18th June 1997
+Modified with permission by loki 12th November 1997 +
+


+ +
+This document (hopefully) gives a brief explanation of the use of server +notice masks new to ircu2.10.00. This mask allows clients to specify which +types of server notices they will receive when usermode +s. The mask may +optionally be omitted, and reasonable defaults will be used by the server. +

+Note: the descriptions here will be best understood by those with knowledge +of C syntax. We do not attempt to explain either this or hexadecimal values +in this document, and familiarity with these is assumed of the reader. +

+Usage: + +/mode <nick> +s [+/-][mask] + +

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Mask Hex valueDescription
1SNO_OLDSNO0x1/* unsorted old messages */
2SNO_SERVKILL0x2/* server kills (nick collisions) */
4SNO_OPERKILL0x4/* oper kills */
8SNO_HACK20x8/* desyncs */
16SNO_HACK3 +0x10/* temporary desyncs */
32SNO_UNAUTH0x20/* unauthorized connections */
64SNO_TCPCOMMON0x40/* common TCP or socket errors */
128SNO_TOOMANY0x80/* too many connections */
256SNO_HACK40x100/* Uworld actions on channels */
512SNO_GLINE0x200/* glines */
1024SNO_NETWORK0x400/* net join/break, etc */
2048SNO_IPMISMATCH0x800/* IP mismatches */
4096SNO_THROTTLE0x1000/* host throttle add/remove notices */
8192SNO_OLDREALOP0x2000/* old oper-only messages */
16384SNO_CONNEXIT0x4000/* client connect/exit (ugh) */
32768SNO_AUTO0x8000/* AUTO G-Lines */
65536SNO_DEBUG0x10000/* debugging messages (DEBUGMODE only) */
131072SNO_AUTH0x20000/* iauth status messages */
+
+ +

+ + + + + + + + + + + + + + +
standard +sSNO_DEFAULT (SNO_NETWORK | SNO_OPERKILL | SNO_GLINE)
standard +s when +o/OSNO_DEFAULT | SNO_HACK2 | SNO_HACK4 | SNO_THROTTLE | SNO_OLDSNO)
only opers may setSNO_OPER (SNO_CONNEXIT | SNO_OLDREALOP | SNO_AUTH)
+ +


+

Examples of Usage

+To receive only operkills, use /mode +s 4
+To receive operkills and glines, add the values: +
+
+/mode <nick> +s 516

+ +(512+4=516) +

+

+If you are already receiving some notices and you wish to add notices of +netjoins/breaks use: + +

+/mode Ghostwolf +s +1024

+

+ +

+If you wish to stop receiving netjoin/break notices, but continue to receive +other notices, use: + +

+/mode Ghostwolf +s -1024
+ OR
+/mode Ghostwolf -s +1024
+
+ +

+A user typing /mode Ghostwolf +s will receive netsplits/joins, operkills, and g-lines.

+ +Opers who are +s will additionally receive HACK notices and anything that +was originally in sendto_ops() and wasn't changed. Only opers can choose to +receive connect/exit notices and anything that originally was in +sendtoreal_ops() and hasn't been changed (connect/exit notices also require +a #define in config.h). +

+

+
+If you have further questions about server notices (implementation, etc.),
+please consult the ircu source code and/or e-mail coder-com@undernet.org. +
+

+ +

+ + +Return to main Documents Project page
+
+ + + + + +