Server Commands/ZLINE
m |
|||
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
- | < | + | '''Syntax:''' <code>ZLINE [[!][+|-]<mask> [[<target>] <expiration> :<reason>]]</code> |
+ | |||
Z-lines are ip-based bans. They do not wait for an ident response from the connecting user, but immediately close the socket once the user's IP is compared to the Zline list and a match is found. | Z-lines are ip-based bans. They do not wait for an ident response from the connecting user, but immediately close the socket once the user's IP is compared to the Zline list and a match is found. |
Current revision as of 07:13, 10 December 2008
Syntax: ZLINE [[!][+|-]<mask> [[<target>] <expiration> :<reason>]]
Z-lines are ip-based bans. They do not wait for an ident response from the connecting user, but immediately close the socket once the user's IP is compared to the Zline list and a match is found.
! - The "!" prefix is used to forcefully place Z-lines that would otherwise be denied by the server for being "too wide" (e.g. affect too many users). The ability to use this prefix has been disabled on DareNET.
[+|-] - Optional. Specifies whether the Z-line is to be activated or deactivated.
<mask> - This may take the form of *@ipaddress. If not given, or if its not prefixed by "+" or "-", a list of Z-lines will be returned. If the "+" or "-" prefixes are used, then the <expiration> and <reason> parameters must also be given, even if the Z-line already exists.
<target> - specifies what server(s) the Z-line is to be activated/deactivated on. It may be either a server name or * for global. This is rarely used on DareNET due to the fact that OperServ must be used to place global Z-lines.
<expiration> - The expiration can be specified either in seconds or as a formatted time (e.g. 2d5m3s).
<reason> - The reason specifies why the user is being Z-lined. It will be broadcasted to all IRC operators who have the appropriate SNOMASK and to the user(s) being Z-lined.
If the Z-line currently exists, a prefix of "+" will cause an inactive Z-line to be activated, whereas a prefix of "-" will cause an active Z-line to be deactivated. If an attempt is made to modify a Z-line set by a U-lined service, such as OperServ, the change will be forced to be local.