Log in | Back to darenet.org

Server Notice Masks (SNOMASK)

m (Updating category listing)
Line 1: Line 1:
Service notice masks (snomask) allow clients to specify which types of server notices they'd like to receive while they have usermode +s. The mask may optionally be omitted, and reasonable defaults will be used by the server.
Service notice masks (snomask) allow clients to specify which types of server notices they'd like to receive while they have usermode +s. The mask may optionally be omitted, and reasonable defaults will be used by the server.
-
The descriptions given below are probably best understood by those who are familiar with C syntax. Additionally, this document makes no attempt to explain the hexadecimal values given below. It is assumed the reader has familiarity with both.
+
  Usage: /mode <nick> +s [+/-][flag]
-
 
+
-
  Usage: /mode <nick> +s [+/-][mask]
+
{| class="wikitable" width="97%" style="font-size: 85%; text-align: left;"
{| class="wikitable" width="97%" style="font-size: 85%; text-align: left;"
|-  
|-  
-
! style="text-align: left" | Mask
+
! style="text-align: left; width: 120px;" | Mask
-
!
+
! style="text-align: left" | Flag
-
! style="text-align: left" | Hex Value
+
! style="text-align: left" | Description
! style="text-align: left" | Description
|-
|-
-
| 1
+
| SNO_CONNEXIT
-
| SNO_OLDSNO
+
| +c
-
| 0x1
+
| Client connections and exits.
-
| Old unsorted messages.
+
|-
|-
-
| 2
+
| SNO_DEBUG
-
| SNO_SERVKILL
+
| +d
-
| 0x2
+
| Server debug messages (debugmode only).
-
| Server Kills (nick collisions).
+
|-
|-
-
| 4
+
| SNO_TCPCOMMON
-
| SNO_OPERKILL
+
| +e
-
| 0x4
+
| Common TCP and socket error messages.
-
| Oper Kills.
+
|-
|-
-
| 8
+
| SNO_GLINE
-
| SNO_HACK2
+
| +g
-
| 0x8
+
| G-lines/Z-line/Shun messages.
-
| Desync messages.
+
|-
|-
-
| 16
+
| SNO_AUTO
-
| SNO_HACK3
+
| +G
-
| 0x10
+
| Auto G-line/Z-line/Shun messages.
-
| Temporary desync messages.
+
|-
|-
-
| 32
+
| SNO_IPMISMATCH
-
| SNO_UNAUTH
+
| +i
-
| 0x20
+
| IP mismatch messages.
-
| Unauthorized connection messages.
+
|-
|-
-
| 64
+
| SNO_HACK4
-
| SNO_TCPCOMMON
+
| +j
-
| 0x40
+
| HACK4 messages (services actions on channels).
-
| Common TCP or socket errors.
+
|-
|-
-
| 128
+
| SNO_SERVKILL
-
| SNO_TOOMANY
+
| +k
-
| 0x80
+
| Server kill messages.
-
| Too many connections messages.
+
|-
-
|-  
+
-
| 256
+
| SNO_OPERKILL
-
| SNO_HACK4
+
| +K
-
| 0x100
+
| Oper kill messages.
-
| Services actions on channels (ChanServ/OperServ).
+
|-
|-
-
| 512
+
| SNO_NICKCHG
-
| SNO_GLINE
+
| +n
-
| 0x200
+
| Nickname changes.
-
| G-line / Shun notifications.
+
|-
|-
-
| 1024
+
| SNO_OLDREALOP
-
| SNO_NETWORK
+
| +o
-
| 0x400
+
| Old oper-only messages.
-
| Net join/break notices, etc.
+
|-
|-
-
| 2048
+
| SNO_TOOMANY
-
| SNO_IPMISMATCH
+
| +r
-
| 0x800
+
| Too many connections rejection messages.
-
| IP mismatch notifications.
+
|-
|-
-
| 4096
+
| SNO_NETWORK
-
| SNO_THROTTLE
+
| +R
-
| 0x1000
+
| Routing messages (e.g., net.join/breaks).
-
| Host throttle add/remove notices.
+
|-
|-
-
| 8192
+
| SNO_OLDSNO
-
| SNO_OLDREALOP
+
| +s
-
| 0x2000
+
| Unsorted server notices.
-
| Old oper-only messages (/oper attempts, etc).
+
|-
|-
-
| 16384
+
| SNO_UNAUTH
-
| SNO_CONNEXIT
+
| +u
-
| 0x4000
+
| Unauthorized connection messages.
-
| Client connect/disconnect notices.
+
|-
|-
-
| 32768
+
| SNO_SERVICEKILL
-
| SNO_AUTO
+
| +x
-
| 0x8000
+
| Services kill messages.
-
| AUTO G-lines / Shuns .
+
|-
|-
-
| 65536
+
| SNO_HACK3
-
| SNO_DEBUG
+
| +z
-
| 0x10000
+
| HACK3 messages (desyncs).
-
| Debug messages (DEBUGMODE only)
+
|-
|-
-
| 131072
+
| SNO_HACK2
-
| SNO_NICKCHG
+
| +Z
-
| 0x20000
+
| HACK2 messages (temporary desyncs).
-
| See nickname changes
+
|-
|-
|}
|}
Line 131: Line 110:
If you wanted to receive only operkills, you would use the following:
If you wanted to receive only operkills, you would use the following:
-
  /mode <nick> +s 4
+
  /mode <nick> +s +K
-
To receive both operkills and glines,  you would add the values together (operkills = 4, glines = 512 (see table above for values), sp 512+4-516):
+
To receive both operkills and glines,  you would use:
-
  /mode <nick> +s 516
+
  /mode <nick> +s +gK
If you are already receiving notices, and you'd like to add an additional notice, for example SNO_NETWORK (e.g. netjoins/breaks), you'd just use its value:
If you are already receiving notices, and you'd like to add an additional notice, for example SNO_NETWORK (e.g. netjoins/breaks), you'd just use its value:
Line 143: Line 122:
If you would like to stop receiving such notices, for example SNO_NETWORK, but continue receiving other notices, you'd use:
If you would like to stop receiving such notices, for example SNO_NETWORK, but continue receiving other notices, you'd use:
-
<pre>/mode <nick> +s -1024
+
<pre>/mode <nick> +s -R
  or
  or
-
/mode <nick> -s +1024</pre>
+
/mode <nick> -s +R</pre>

Revision as of 01:38, 27 May 2010

Service notice masks (snomask) allow clients to specify which types of server notices they'd like to receive while they have usermode +s. The mask may optionally be omitted, and reasonable defaults will be used by the server.

Usage: /mode <nick> +s [+/-][flag]
Mask Flag Description
SNO_CONNEXIT +c Client connections and exits.
SNO_DEBUG +d Server debug messages (debugmode only).
SNO_TCPCOMMON +e Common TCP and socket error messages.
SNO_GLINE +g G-lines/Z-line/Shun messages.
SNO_AUTO +G Auto G-line/Z-line/Shun messages.
SNO_IPMISMATCH +i IP mismatch messages.
SNO_HACK4 +j HACK4 messages (services actions on channels).
SNO_SERVKILL +k Server kill messages.
SNO_OPERKILL +K Oper kill messages.
SNO_NICKCHG +n Nickname changes.
SNO_OLDREALOP +o Old oper-only messages.
SNO_TOOMANY +r Too many connections rejection messages.
SNO_NETWORK +R Routing messages (e.g., net.join/breaks).
SNO_OLDSNO +s Unsorted server notices.
SNO_UNAUTH +u Unauthorized connection messages.
SNO_SERVICEKILL +x Services kill messages.
SNO_HACK3 +z HACK3 messages (desyncs).
SNO_HACK2 +Z HACK2 messages (temporary desyncs).

Default Masks

  • standard +s: has no effect on DareNET
  • standard +s when opered (+o/O): SNO_DEFAULT | SNO_HACK2 | SNO_HACK4 | SNO_THROTTLE | SNO_OLDSNO

Example Usage

If you wanted to receive only operkills, you would use the following:

/mode <nick> +s +K

To receive both operkills and glines, you would use:

/mode <nick> +s +gK

If you are already receiving notices, and you'd like to add an additional notice, for example SNO_NETWORK (e.g. netjoins/breaks), you'd just use its value:

/mode <nick> +s +1024

If you would like to stop receiving such notices, for example SNO_NETWORK, but continue receiving other notices, you'd use:

/mode <nick> +s -R

 or

/mode <nick> -s +R


While users can set +s, they will not receive any notices on DareNET. Opers who set +s will automatically receive netjoins/breaks, operkills, glines and HACK notices.