review commands.rst style
This commit is contained in:
parent
b12af1dbb1
commit
1e04a8dd8c
1 changed files with 243 additions and 288 deletions
|
@ -5,16 +5,16 @@ Network management commands
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. note:: All commands and names are case insensitive. Parameters
|
.. note:: All commands and names are case insensitive. Parameters
|
||||||
consisting of one or more separate letters, such as in MODE,
|
consisting of one or more separate letters, such as in ``MODE``,
|
||||||
STATS and WHO, are case sensitive.
|
``STATS`` and ``WHO``, are case sensitive.
|
||||||
|
|
||||||
CONNECT
|
CONNECT
|
||||||
-------
|
-------
|
||||||
|
|
||||||
CONNECT
|
::
|
||||||
target
|
|
||||||
port
|
CONNECT target [port] [source]
|
||||||
source
|
|
||||||
Initiate a connection attempt to server target. If a port is given,
|
Initiate a connection attempt to server target. If a port is given,
|
||||||
connect to that port on the target, otherwise use the one given in
|
connect to that port on the target, otherwise use the one given in
|
||||||
``ircd.conf``. If source is given, tell that server to initiate the
|
``ircd.conf``. If source is given, tell that server to initiate the
|
||||||
|
@ -26,9 +26,10 @@ To use the default port with source, specify 0 for port.
|
||||||
SQUIT
|
SQUIT
|
||||||
-----
|
-----
|
||||||
|
|
||||||
SQUIT
|
::
|
||||||
server
|
|
||||||
reason
|
SQUIT server [reason]
|
||||||
|
|
||||||
Closes down the link to server from this side of the network. If a
|
Closes down the link to server from this side of the network. If a
|
||||||
reason is given, it will be sent out in the server notices on both sides
|
reason is given, it will be sent out in the server notices on both sides
|
||||||
of the link.
|
of the link.
|
||||||
|
@ -36,62 +37,56 @@ of the link.
|
||||||
REHASH
|
REHASH
|
||||||
------
|
------
|
||||||
|
|
||||||
REHASH
|
::
|
||||||
BANS
|
|
||||||
DNS
|
REHASH [BANS | DNS | MOTD | OMOTD | TKLINES | TDLINES | TXLINES | TRESVS | REJECTCACHE | HELP] [server]
|
||||||
MOTD
|
|
||||||
OMOTD
|
|
||||||
TKLINES
|
|
||||||
TDLINES
|
|
||||||
TXLINES
|
|
||||||
TRESVS
|
|
||||||
REJECTCACHE
|
|
||||||
HELP
|
|
||||||
server
|
|
||||||
With no parameter given, ``ircd.conf`` will be reread and parsed. The
|
With no parameter given, ``ircd.conf`` will be reread and parsed. The
|
||||||
server argument is a wildcard match of server names.
|
server argument is a wildcard match of server names.
|
||||||
|
|
||||||
BANS
|
``BANS``
|
||||||
Rereads ``kline.conf``, ``dline.conf``, ``xline.conf``,
|
Rereads ``kline.conf``, ``dline.conf``, ``xline.conf``,
|
||||||
``resv.conf`` and their .perm variants
|
``resv.conf`` and their .perm variants
|
||||||
|
|
||||||
DNS
|
``DNS``
|
||||||
Reread ``/etc/resolv.conf``.
|
Reread ``/etc/resolv.conf``.
|
||||||
|
|
||||||
MOTD
|
``MOTD``
|
||||||
Reload the MOTD file
|
Reload the ``MOTD`` file
|
||||||
|
|
||||||
OMOTD
|
``OMOTD``
|
||||||
Reload the operator MOTD file
|
Reload the operator ``MOTD`` file
|
||||||
|
|
||||||
TKLINES
|
``TKLINES``
|
||||||
Clears temporary K:lines.
|
Clears temporary ``K:lines``.
|
||||||
|
|
||||||
TDLINES
|
``TDLINES``
|
||||||
Clears temporary D:lines.
|
Clears temporary ``D:lines``.
|
||||||
|
|
||||||
TXLINES
|
``TXLINES``
|
||||||
Clears temporary X:lines.
|
Clears temporary ``X:lines``.
|
||||||
|
|
||||||
TRESVS
|
``TRESVS``
|
||||||
Clears temporary reservations.
|
Clears temporary reservations.
|
||||||
|
|
||||||
REJECTCACHE
|
``REJECTCACHE``
|
||||||
Clears the client rejection cache.
|
Clears the client rejection cache.
|
||||||
|
|
||||||
HELP
|
``HELP``
|
||||||
Refreshes the help system cache.
|
Refreshes the help system cache.
|
||||||
|
|
||||||
RESTART
|
RESTART
|
||||||
-------
|
-------
|
||||||
|
|
||||||
RESTART
|
::
|
||||||
server
|
|
||||||
|
RESTART server
|
||||||
|
|
||||||
Cause an immediate total shutdown of the IRC server, and restart from
|
Cause an immediate total shutdown of the IRC server, and restart from
|
||||||
scratch as if it had just been executed.
|
scratch as if it had just been executed.
|
||||||
|
|
||||||
This reexecutes the ircd using the compiled-in path, visible as SPATH in
|
This reexecutes the ircd using the compiled-in path, visible as ``SPATH`` in
|
||||||
INFO.
|
``INFO``.
|
||||||
|
|
||||||
.. note:: This command cannot be used remotely. The server name is
|
.. note:: This command cannot be used remotely. The server name is
|
||||||
used only as a safety measure.
|
used only as a safety measure.
|
||||||
|
@ -99,8 +94,10 @@ INFO.
|
||||||
DIE
|
DIE
|
||||||
---
|
---
|
||||||
|
|
||||||
DIE
|
::
|
||||||
server
|
|
||||||
|
DIE server
|
||||||
|
|
||||||
Immediately terminate the IRC server, after sending notices to all
|
Immediately terminate the IRC server, after sending notices to all
|
||||||
connected clients and servers
|
connected clients and servers
|
||||||
|
|
||||||
|
@ -110,44 +107,34 @@ connected clients and servers
|
||||||
SET
|
SET
|
||||||
---
|
---
|
||||||
|
|
||||||
SET
|
::
|
||||||
ADMINSTRING
|
|
||||||
AUTOCONN
|
|
||||||
AUTOCONNALL
|
|
||||||
FLOODCOUNT
|
|
||||||
IDENTTIMEOUT
|
|
||||||
MAX
|
|
||||||
OPERSTRING
|
|
||||||
SPAMNUM
|
|
||||||
SPAMTIME
|
|
||||||
SPLITMODE
|
|
||||||
SPLITNUM
|
|
||||||
SPLITUSERS
|
|
||||||
value
|
|
||||||
The SET command sets a runtime-configurable value.
|
|
||||||
|
|
||||||
Most of the ``ircd.conf`` equivalents have a default\_ prefix and are
|
SET [ ADMINSTRING | AUTOCONN | AUTOCONNALL | FLOODCOUNT | IDENTTIMEOUT | MAX | OPERSTRING | SPAMNUM | SPAMTIME | SPLITMODE | SPLITNUM | SPLITUSERS ] value
|
||||||
only read on startup. SET is the only way to change these at run time.
|
|
||||||
|
The ``SET`` command sets a runtime-configurable value.
|
||||||
|
|
||||||
|
Most of the ``ircd.conf`` equivalents have a ``default_prefix`` and are
|
||||||
|
only read on startup. ``SET`` is the only way to change these at run time.
|
||||||
|
|
||||||
Most of the values can be queried by omitting value.
|
Most of the values can be queried by omitting value.
|
||||||
|
|
||||||
ADMINSTRING
|
``ADMINSTRING``
|
||||||
Sets string shown in WHOIS for admins. (umodes +o and +a set, umode
|
Sets string shown in ``WHOIS`` for admins. (umodes +o and +a set, umode
|
||||||
+S not set).
|
+S not set).
|
||||||
|
|
||||||
AUTOCONN
|
``AUTOCONN``
|
||||||
Sets auto-connect on or off for a particular server. Takes two
|
Sets auto-connect on or off for a particular server. Takes two
|
||||||
parameters, server name and new state.
|
parameters, server name and new state.
|
||||||
|
|
||||||
To see these values, use /stats c. Changes to this are lost on a
|
To see these values, use ``/stats c``. Changes to this are lost on a
|
||||||
rehash.
|
rehash.
|
||||||
|
|
||||||
AUTOCONNALL
|
``AUTOCONNALL``
|
||||||
Globally sets auto-connect on or off. If disabled, no automatic
|
Globally sets auto-connect on or off. If disabled, no automatic
|
||||||
connections are done; if enabled, automatic connections are done
|
connections are done; if enabled, automatic connections are done
|
||||||
following the rules for them.
|
following the rules for them.
|
||||||
|
|
||||||
FLOODCOUNT
|
``FLOODCOUNT``
|
||||||
The number of lines allowed to be sent to a connection before
|
The number of lines allowed to be sent to a connection before
|
||||||
throttling it due to flooding. Note that this variable is used for
|
throttling it due to flooding. Note that this variable is used for
|
||||||
both channels and clients.
|
both channels and clients.
|
||||||
|
@ -155,47 +142,47 @@ FLOODCOUNT
|
||||||
For channels, op or voice overrides this; for users, IRC operator
|
For channels, op or voice overrides this; for users, IRC operator
|
||||||
status or op or voice on a common channel overrides this.
|
status or op or voice on a common channel overrides this.
|
||||||
|
|
||||||
IDENTTIMEOUT
|
``IDENTTIMEOUT``
|
||||||
Timeout for requesting ident from a client.
|
Timeout for requesting ident from a client.
|
||||||
|
|
||||||
MAX
|
``MAX``
|
||||||
Sets the maximum number of connections to value.
|
Sets the maximum number of connections to value.
|
||||||
|
|
||||||
This number cannot exceed maxconnections - MAX\_BUFFER.
|
This number cannot exceed maxconnections - ``MAX_BUFFER``.
|
||||||
maxconnections is the rlimit for number of open files. MAX\_BUFFER
|
maxconnections is the rlimit for number of open files. ``MAX_BUFFER``
|
||||||
is defined in config.h, normally 60.
|
is defined in config.h, normally 60.
|
||||||
|
|
||||||
MAXCLIENTS is an alias for this.
|
``MAXCLIENTS`` is an alias for this.
|
||||||
|
|
||||||
OPERSTRING
|
``OPERSTRING``
|
||||||
Sets string shown in WHOIS for opers (umode +o set, umodes +a and +S
|
Sets string shown in ``WHOIS`` for opers (umode ``+o`` set, umodes ``+a`` and ``+S``
|
||||||
not set).
|
not set).
|
||||||
|
|
||||||
SPAMNUM
|
``SPAMNUM``
|
||||||
Sets how many join/parts to channels constitutes a possible spambot.
|
Sets how many join/parts to channels constitutes a possible spambot.
|
||||||
|
|
||||||
SPAMTIME
|
``SPAMTIME``
|
||||||
Below this time on a channel counts as a join/part as above.
|
Below this time on a channel counts as a join/part as above.
|
||||||
|
|
||||||
SPLITMODE
|
``SPLITMODE``
|
||||||
Sets splitmode to value:
|
Sets splitmode to value:
|
||||||
|
|
||||||
ON
|
``ON``
|
||||||
splitmode is permanently on
|
splitmode is permanently on
|
||||||
|
|
||||||
OFF
|
``OFF``
|
||||||
splitmode is permanently off (default if no\_create\_on\_split
|
splitmode is permanently off (default if ``no_create_on_split``
|
||||||
and no\_join\_on\_split are disabled)
|
and ``no_join_on_split`` are disabled)
|
||||||
|
|
||||||
AUTO
|
``AUTO``
|
||||||
ircd chooses splitmode based on SPLITUSERS and SPLITNUM (default
|
ircd chooses splitmode based on ``SPLITUSERS`` and ``SPLITNUM`` (default
|
||||||
if no\_create\_on\_split or no\_join\_on\_split are enabled)
|
if ``no_create_on_split`` or ``no_join_on_split`` are enabled)
|
||||||
|
|
||||||
SPLITUSERS
|
``SPLITUSERS``
|
||||||
Sets the minimum amount of users needed to deactivate automatic
|
Sets the minimum amount of users needed to deactivate automatic
|
||||||
splitmode.
|
splitmode.
|
||||||
|
|
||||||
SPLITNUM
|
``SPLITNUM``
|
||||||
Sets the minimum amount of servers needed to deactivate automatic
|
Sets the minimum amount of servers needed to deactivate automatic
|
||||||
splitmode. Only servers that have finished bursting count for this.
|
splitmode. Only servers that have finished bursting count for this.
|
||||||
|
|
||||||
|
@ -205,9 +192,10 @@ User management commands
|
||||||
KILL
|
KILL
|
||||||
----
|
----
|
||||||
|
|
||||||
KILL
|
::
|
||||||
nick
|
|
||||||
reason
|
KILL nick [reason]
|
||||||
|
|
||||||
Disconnects the user with the given nick from the server they are
|
Disconnects the user with the given nick from the server they are
|
||||||
connected to, with the reason given, if present, and broadcast a server
|
connected to, with the reason given, if present, and broadcast a server
|
||||||
notice announcing this.
|
notice announcing this.
|
||||||
|
@ -223,107 +211,84 @@ completed registering.
|
||||||
KLINE
|
KLINE
|
||||||
-----
|
-----
|
||||||
|
|
||||||
KLINE
|
::
|
||||||
length
|
|
||||||
user
|
KLINE [length] [user@host | user@a.b.c.d] [ON servername] [:reason]
|
||||||
@
|
|
||||||
host
|
Adds a ``K:line`` to ``kline.conf`` to ban the given ``user@host`` from using
|
||||||
user
|
|
||||||
@
|
|
||||||
a
|
|
||||||
.
|
|
||||||
b
|
|
||||||
.
|
|
||||||
c
|
|
||||||
.
|
|
||||||
d
|
|
||||||
ON
|
|
||||||
servername
|
|
||||||
:
|
|
||||||
reason
|
|
||||||
Adds a K:line to ``kline.conf`` to ban the given user@host from using
|
|
||||||
that server.
|
that server.
|
||||||
|
|
||||||
If the optional parameter length is given, the K:line will be temporary
|
If the optional parameter length is given, the ``K:line`` will be temporary
|
||||||
(i.e. it will not be stored on disk) and last that long in minutes.
|
(i.e. it will not be stored on disk) and last that long in minutes.
|
||||||
|
|
||||||
If an IP address is given, the ban will be against all hosts matching
|
If an IP address is given, the ban will be against all hosts matching
|
||||||
that IP regardless of DNS. The IP address can be given as a full address
|
that IP regardless of DNS. The IP address can be given as a full address
|
||||||
(192.168.0.1), as a CIDR mask (192.168.0.0/24), or as a glob
|
(``192.168.0.1``), as a CIDR mask (``192.168.0.0/24``), or as a glob
|
||||||
(192.168.0.\*).
|
(``192.168.0.*``).
|
||||||
|
|
||||||
All clients matching the K:line will be disconnected from the server
|
All clients matching the ``K:line`` will be disconnected from the server
|
||||||
immediately.
|
immediately.
|
||||||
|
|
||||||
If a reason is specified, it will be sent to the client when they are
|
If a reason is specified, it will be sent to the client when they are
|
||||||
disconnected, and whenever a connection is attempted which is banned.
|
disconnected, and whenever a connection is attempted which is banned.
|
||||||
|
|
||||||
If the ON part is specified, the K:line is set on servers matching the
|
If the ON part is specified, the ``K:line`` is set on servers matching the
|
||||||
given mask (provided a matching shared{} block exists there). Otherwise,
|
given mask (provided a matching ``shared{}`` block exists there). Otherwise,
|
||||||
if specified in a cluster{} block, the K:Line will be propagated across
|
if specified in a ``cluster{}`` block, the ``K:Line`` will be propagated across
|
||||||
the network accordingly.
|
the network accordingly.
|
||||||
|
|
||||||
UNKLINE
|
UNKLINE
|
||||||
-------
|
-------
|
||||||
|
|
||||||
UNKLINE
|
::
|
||||||
user
|
|
||||||
@
|
UNKLINE user@host [ON servername]
|
||||||
host
|
|
||||||
ON
|
Will attempt to remove a ``K:line`` matching ``user@host`` from ``kline.conf``,
|
||||||
servername
|
and will flush a temporary ``K:line``.
|
||||||
Will attempt to remove a K:line matching user@host from ``kline.conf``,
|
|
||||||
and will flush a temporary K:line.
|
|
||||||
|
|
||||||
XLINE
|
XLINE
|
||||||
-----
|
-----
|
||||||
|
|
||||||
XLINE
|
::
|
||||||
length
|
|
||||||
mask
|
|
||||||
ON
|
|
||||||
servername
|
|
||||||
:
|
|
||||||
reason
|
|
||||||
Works similarly to KLINE, but matches against the real name field. The
|
|
||||||
wildcards are \* (any sequence), ? (any character), # (a digit) and @ (a
|
|
||||||
letter); wildcard characters can be escaped with a backslash. The
|
|
||||||
sequence \\s matches a space.
|
|
||||||
|
|
||||||
All clients matching the X:line will be disconnected from the server
|
XLINE [length] mask [ON servername] [:reason]
|
||||||
|
|
||||||
|
Works similarly to ``KLINE``, but matches against the real name field. The
|
||||||
|
wildcards are ``*`` (any sequence), ``?`` (any character), ``#`` (a digit) and ``@`` (a
|
||||||
|
letter); wildcard characters can be escaped with a backslash. The
|
||||||
|
sequence ``\s`` matches a space.
|
||||||
|
|
||||||
|
All clients matching the ``X:line`` will be disconnected from the server
|
||||||
immediately.
|
immediately.
|
||||||
|
|
||||||
The reason is never sent to users. Instead, they will be exited with
|
The reason is never sent to users. Instead, they will be exited with
|
||||||
“Bad user info”.
|
"Bad user info".
|
||||||
|
|
||||||
If the ON part is specified, the X:line is set on servers matching the
|
If the ON part is specified, the ``X:line`` is set on servers matching the
|
||||||
given mask (provided a matching shared{} block exists there). Otherwise,
|
given mask (provided a matching ``shared{}`` block exists there). Otherwise,
|
||||||
if specified in a cluster{} block, the X:line will be propagated across
|
if specified in a ``cluster{}`` block, the ``X:line`` will be propagated across
|
||||||
the network accordingly.
|
the network accordingly.
|
||||||
|
|
||||||
UNXLINE
|
UNXLINE
|
||||||
-------
|
-------
|
||||||
|
|
||||||
UNXLINE
|
::
|
||||||
mask
|
|
||||||
ON
|
UNXLINE mask [ON servername]
|
||||||
servername
|
|
||||||
Will attempt to remove an X:line from ``xline.conf``, and will flush a
|
Will attempt to remove an ``X:line`` from ``xline.conf``, and will flush a
|
||||||
temporary X:line.
|
temporary ``X:line``.
|
||||||
|
|
||||||
RESV
|
RESV
|
||||||
----
|
----
|
||||||
|
|
||||||
RESV
|
::
|
||||||
length
|
|
||||||
channel
|
RESV [length] [channel | mask] [ON servername] [:reason]
|
||||||
mask
|
|
||||||
ON
|
|
||||||
servername
|
|
||||||
:
|
|
||||||
reason
|
|
||||||
If used on a channel, “jupes” the channel locally. Joins to the channel
|
If used on a channel, “jupes” the channel locally. Joins to the channel
|
||||||
will be disallowed and generate a server notice on +y, and users will
|
will be disallowed and generate a server notice on ``+y``, and users will
|
||||||
not be able to send to the channel. Channel jupes cannot contain
|
not be able to send to the channel. Channel jupes cannot contain
|
||||||
wildcards.
|
wildcards.
|
||||||
|
|
||||||
|
@ -340,96 +305,79 @@ oper-only.
|
||||||
The reason is never sent to users.
|
The reason is never sent to users.
|
||||||
|
|
||||||
If the ON part is specified, the resv is set on servers matching the
|
If the ON part is specified, the resv is set on servers matching the
|
||||||
given mask (provided a matching shared{} block exists there). Otherwise,
|
given mask (provided a matching ``shared{}`` block exists there). Otherwise,
|
||||||
if specified in a cluster{} block, the resv will be propagated across
|
if specified in a ``cluster{}`` block, the resv will be propagated across
|
||||||
the network accordingly.
|
the network accordingly.
|
||||||
|
|
||||||
UNRESV
|
UNRESV
|
||||||
------
|
------
|
||||||
|
|
||||||
UNRESV
|
::
|
||||||
channel
|
|
||||||
mask
|
UNRESV [channel | mask] [ON servername]
|
||||||
ON
|
|
||||||
servername
|
|
||||||
Will attempt to remove a resv from ``resv.conf``, and will flush a
|
Will attempt to remove a resv from ``resv.conf``, and will flush a
|
||||||
temporary resv.
|
temporary resv.
|
||||||
|
|
||||||
DLINE
|
DLINE
|
||||||
-----
|
-----
|
||||||
|
|
||||||
DLINE
|
::
|
||||||
length
|
|
||||||
a
|
|
||||||
.
|
|
||||||
b
|
|
||||||
.
|
|
||||||
c
|
|
||||||
.
|
|
||||||
d
|
|
||||||
ON
|
|
||||||
servername
|
|
||||||
:
|
|
||||||
reason
|
|
||||||
Adds a D:line to ``dline.conf``, which will deny any connections from
|
|
||||||
the given IP address. The IP address can be given as a full address
|
|
||||||
(192.168.0.1) or as a CIDR mask (192.168.0.0/24).
|
|
||||||
|
|
||||||
If the optional parameter length is given, the D:line will be temporary
|
DLINE [length] a.b.c.d [ON servername] [:reason]
|
||||||
|
|
||||||
|
Adds a ``D:line`` to ``dline.conf``, which will deny any connections from
|
||||||
|
the given IP address. The IP address can be given as a full address
|
||||||
|
(``192.168.0.1``) or as a CIDR mask (``192.168.0.0/24``).
|
||||||
|
|
||||||
|
If the optional parameter length is given, the ``D:line`` will be temporary
|
||||||
(i.e. it will not be stored on disk) and last that long in minutes.
|
(i.e. it will not be stored on disk) and last that long in minutes.
|
||||||
|
|
||||||
All clients matching the D:line will be disconnected from the server
|
All clients matching the ``D:line`` will be disconnected from the server
|
||||||
immediately.
|
immediately.
|
||||||
|
|
||||||
If a reason is specified, it will be sent to the client when they are
|
If a reason is specified, it will be sent to the client when they are
|
||||||
disconnected, and, if dline\_reason is enabled, whenever a connection is
|
disconnected, and, if ``dline_reason`` is enabled, whenever a connection is
|
||||||
attempted which is banned.
|
attempted which is banned.
|
||||||
|
|
||||||
D:lines are less load on a server, and may be more appropriate if
|
``D:lines`` are less load on a server, and may be more appropriate if
|
||||||
somebody is flooding connections.
|
somebody is flooding connections.
|
||||||
|
|
||||||
If the ON part is specified, the D:line is set on servers matching the
|
If the ON part is specified, the ``D:line`` is set on servers matching the
|
||||||
given mask (provided a matching shared{} block exists there, which is
|
given mask (provided a matching ``shared{}`` block exists there, which is
|
||||||
not the case by default). Otherwise, the D:Line will be set on the local
|
not the case by default). Otherwise, the D:Line will be set on the local
|
||||||
server only.
|
server only.
|
||||||
|
|
||||||
Only exempt{} blocks exempt from D:lines. Being a server or having
|
Only ``exempt{}`` blocks exempt from ``D:lines``. Being a server or having
|
||||||
kline\_exempt in auth{} does *not* exempt (different from K/G/X:lines).
|
``kline_exempt`` in ``auth{}`` does *not* exempt (different from ``K/G/X:lines``).
|
||||||
|
|
||||||
UNDLINE
|
UNDLINE
|
||||||
-------
|
-------
|
||||||
|
|
||||||
UNDLINE
|
::
|
||||||
a.b.c.d
|
|
||||||
ON
|
UNDLINE a.b.c.d [ON servername]
|
||||||
servername
|
|
||||||
Will attempt to remove a D:line from ``dline.conf``, and will flush a
|
Will attempt to remove a ``D:line`` from ``dline.conf``, and will flush a
|
||||||
temporary D:line.
|
temporary ``D:line``.
|
||||||
|
|
||||||
TESTGECOS
|
TESTGECOS
|
||||||
---------
|
---------
|
||||||
|
|
||||||
TESTGECOS
|
::
|
||||||
gecos
|
|
||||||
|
TESTGECOS gecos
|
||||||
|
|
||||||
Looks up X:Lines matching the given gecos.
|
Looks up X:Lines matching the given gecos.
|
||||||
|
|
||||||
TESTLINE
|
TESTLINE
|
||||||
--------
|
--------
|
||||||
|
|
||||||
TESTLINE
|
::
|
||||||
nick
|
|
||||||
!
|
TESTLINE [nick!] [user@host | a.b.c.d]
|
||||||
user
|
|
||||||
@
|
Looks up the given hostmask or IP address and reports back on any ``auth{}``
|
||||||
host
|
|
||||||
a
|
|
||||||
.
|
|
||||||
b
|
|
||||||
.
|
|
||||||
c
|
|
||||||
.
|
|
||||||
d
|
|
||||||
Looks up the given hostmask or IP address and reports back on any auth{}
|
|
||||||
blocks, D: or K: lines found. If nick is given, also searches for nick
|
blocks, D: or K: lines found. If nick is given, also searches for nick
|
||||||
resvs.
|
resvs.
|
||||||
|
|
||||||
|
@ -440,7 +388,7 @@ This command will not perform DNS lookups; for best results you must
|
||||||
testline a host and its IP form.
|
testline a host and its IP form.
|
||||||
|
|
||||||
The given username should begin with a tilde (~) if identd is not in
|
The given username should begin with a tilde (~) if identd is not in
|
||||||
use. As of charybdis 2.1.1, no\_tilde and username truncation will be
|
use. As of charybdis 2.1.1, ``no_tilde`` and username truncation will be
|
||||||
taken into account like in the normal client access check.
|
taken into account like in the normal client access check.
|
||||||
|
|
||||||
As of charybdis 2.2.0, a channel name can be specified and the RESV will
|
As of charybdis 2.2.0, a channel name can be specified and the RESV will
|
||||||
|
@ -449,9 +397,10 @@ be returned, if there is one.
|
||||||
TESTMASK
|
TESTMASK
|
||||||
--------
|
--------
|
||||||
|
|
||||||
TESTMASK
|
::
|
||||||
hostmask
|
|
||||||
gecos
|
TESTMASK hostmask [gecos]
|
||||||
|
|
||||||
Searches the network for users that match the hostmask and gecos given,
|
Searches the network for users that match the hostmask and gecos given,
|
||||||
returning the number of matching users on this server and other servers.
|
returning the number of matching users on this server and other servers.
|
||||||
|
|
||||||
|
@ -460,17 +409,17 @@ wildcards, optionally preceded by nick!.
|
||||||
|
|
||||||
The gecos field accepts the same wildcards as xlines.
|
The gecos field accepts the same wildcards as xlines.
|
||||||
|
|
||||||
The IP address checked against is 255.255.255.255 if the IP address is
|
The IP address checked against is ``255.255.255.255`` if the IP address is
|
||||||
unknown (remote client on a TS5 server) or 0 if the IP address is hidden
|
unknown (remote client on a TS5 server) or 0 if the IP address is hidden
|
||||||
(auth{} spoof).
|
(``auth{}`` spoof).
|
||||||
|
|
||||||
LUSERS
|
LUSERS
|
||||||
------
|
------
|
||||||
|
|
||||||
LUSERS
|
::
|
||||||
mask
|
|
||||||
nick
|
LUSERS [mask] [nick | server]
|
||||||
server
|
|
||||||
Shows various user and channel counts.
|
Shows various user and channel counts.
|
||||||
|
|
||||||
The mask parameter is obsolete but must be used when querying a remote
|
The mask parameter is obsolete but must be used when querying a remote
|
||||||
|
@ -479,10 +428,10 @@ server.
|
||||||
TRACE
|
TRACE
|
||||||
-----
|
-----
|
||||||
|
|
||||||
TRACE
|
::
|
||||||
server
|
|
||||||
nick
|
TRACE [server | nick] [location]
|
||||||
location
|
|
||||||
With no argument or one argument which is the current server, TRACE
|
With no argument or one argument which is the current server, TRACE
|
||||||
gives a list of all connections to the current server and a summary of
|
gives a list of all connections to the current server and a summary of
|
||||||
connection classes.
|
connection classes.
|
||||||
|
@ -531,16 +480,20 @@ Serv
|
||||||
ETRACE
|
ETRACE
|
||||||
------
|
------
|
||||||
|
|
||||||
ETRACE
|
::
|
||||||
nick
|
|
||||||
|
ETRACE [nick]
|
||||||
|
|
||||||
Shows client information about the given target, or about all local
|
Shows client information about the given target, or about all local
|
||||||
clients if no target is specified.
|
clients if no target is specified.
|
||||||
|
|
||||||
PRIVS
|
PRIVS
|
||||||
-----
|
-----
|
||||||
|
|
||||||
PRIVS
|
::
|
||||||
nick
|
|
||||||
|
PRIVS [nick]
|
||||||
|
|
||||||
Displays effective operator privileges for the specified nick, or for
|
Displays effective operator privileges for the specified nick, or for
|
||||||
yourself if no nick is given. This includes all privileges from the
|
yourself if no nick is given. This includes all privileges from the
|
||||||
operator block, the name of the operator block and those privileges from
|
operator block, the name of the operator block and those privileges from
|
||||||
|
@ -553,50 +506,45 @@ extension, you will not receive a reply.
|
||||||
MASKTRACE
|
MASKTRACE
|
||||||
---------
|
---------
|
||||||
|
|
||||||
MASKTRACE
|
::
|
||||||
hostmask
|
|
||||||
gecos
|
MASKTRACE hostmask [gecos]
|
||||||
|
|
||||||
Searches the local server or network for users that match the hostmask
|
Searches the local server or network for users that match the hostmask
|
||||||
and gecos given. Network searches require the oper\_spy privilege and an
|
and gecos given. Network searches require the ``oper_spy`` privilege and an
|
||||||
'!' before the hostmask. The matching works the same way as TESTMASK.
|
'!' before the hostmask. The matching works the same way as TESTMASK.
|
||||||
|
|
||||||
The hostmask is of the form user@host or user@ip/cidr with \* and ?
|
The hostmask is of the form ``user@host`` or ``user@ip/cidr`` with ``*`` and ``?``
|
||||||
wildcards, optionally preceded by nick!.
|
wildcards, optionally preceded by ``nick!``.
|
||||||
|
|
||||||
The gecos field accepts the same wildcards as xlines.
|
The gecos field accepts the same wildcards as xlines.
|
||||||
|
|
||||||
The IP address field contains 255.255.255.255 if the IP address is
|
The IP address field contains ``255.255.255.255`` if the IP address is
|
||||||
unknown (remote client on a TS5 server) or 0 if the IP address is hidden
|
unknown (remote client on a TS5 server) or ``0`` if the IP address is hidden
|
||||||
(auth{} spoof).
|
(``auth{}`` spoof).
|
||||||
|
|
||||||
CHANTRACE
|
CHANTRACE
|
||||||
---------
|
---------
|
||||||
|
|
||||||
CHANTRACE
|
::
|
||||||
channel
|
|
||||||
Displays information about users in a channel. Opers with the oper\_spy
|
|
||||||
privilege can get the information without being on the channel, by
|
|
||||||
prefixing the channel name with an '!'.
|
|
||||||
|
|
||||||
The IP address field contains 255.255.255.255 if the IP address is
|
CHANTRACE channel
|
||||||
unknown (remote client on a TS5 server) or 0 if the IP address is hidden
|
|
||||||
(auth{} spoof).
|
Displays information about users in a channel. Opers with the ``oper_spy``
|
||||||
|
privilege can get the information without being on the channel, by
|
||||||
|
prefixing the channel name with an ``!``.
|
||||||
|
|
||||||
|
The IP address field contains ``255.255.255.255`` if the IP address is
|
||||||
|
unknown (remote client on a TS5 server) or ``0`` if the IP address is hidden
|
||||||
|
(``auth{}`` spoof).
|
||||||
|
|
||||||
SCAN
|
SCAN
|
||||||
----
|
----
|
||||||
|
|
||||||
SCAN UMODES
|
::
|
||||||
+
|
|
||||||
modes
|
SCAN UMODES +modes-modes [no-list] [list] [global] [list-max number] [mask nick!user@host]
|
||||||
-
|
|
||||||
modes
|
|
||||||
no-list
|
|
||||||
list
|
|
||||||
global
|
|
||||||
list-max
|
|
||||||
number
|
|
||||||
mask
|
|
||||||
nick!user@host
|
|
||||||
Searches the local server or network for users that have the umodes
|
Searches the local server or network for users that have the umodes
|
||||||
given with + and do not have the umodes given with -. no-list disables
|
given with + and do not have the umodes given with -. no-list disables
|
||||||
the listing of matching users and only shows the count. list enables the
|
the listing of matching users and only shows the count. list enables the
|
||||||
|
@ -606,18 +554,19 @@ users to the given amount. mask causes only users matching the given
|
||||||
nick!user@host mask to be selected. Only the displayed host is
|
nick!user@host mask to be selected. Only the displayed host is
|
||||||
considered, not the IP address or real host behind dynamic spoofs.
|
considered, not the IP address or real host behind dynamic spoofs.
|
||||||
|
|
||||||
The IP address field contains 255.255.255.255 if the IP address is
|
The IP address field contains ``255.255.255.255`` if the IP address is
|
||||||
unknown (remote client on a TS5 server) or 0 if the IP address is hidden
|
unknown (remote client on a TS5 server) or 0 if the IP address is hidden
|
||||||
(auth{} spoof).
|
(``auth{}`` spoof).
|
||||||
|
|
||||||
Network searches where a listing is given are operspy commands.
|
Network searches where a listing is given are operspy commands.
|
||||||
|
|
||||||
CHGHOST
|
CHGHOST
|
||||||
-------
|
-------
|
||||||
|
|
||||||
CHGHOST
|
::
|
||||||
nick
|
|
||||||
value
|
CHGHOST nick value
|
||||||
|
|
||||||
Set the hostname associated with a particular nick for the duration of
|
Set the hostname associated with a particular nick for the duration of
|
||||||
this session. This command is disabled by default because of the abuse
|
this session. This command is disabled by default because of the abuse
|
||||||
potential and little practical use.
|
potential and little practical use.
|
||||||
|
@ -628,17 +577,19 @@ Miscellaneous commands
|
||||||
ADMIN
|
ADMIN
|
||||||
-----
|
-----
|
||||||
|
|
||||||
ADMIN
|
::
|
||||||
nick
|
|
||||||
server
|
ADMIN [nick | server]
|
||||||
Shows the information in the admin{} block.
|
|
||||||
|
Shows the information in the ``admin{}`` block.
|
||||||
|
|
||||||
INFO
|
INFO
|
||||||
----
|
----
|
||||||
|
|
||||||
INFO
|
::
|
||||||
nick
|
|
||||||
server
|
INFO [nick | server]
|
||||||
|
|
||||||
Shows information about the authors of the IRC server, and some
|
Shows information about the authors of the IRC server, and some
|
||||||
information about this server instance. Opers also get a list of
|
information about this server instance. Opers also get a list of
|
||||||
configuration options.
|
configuration options.
|
||||||
|
@ -646,17 +597,19 @@ configuration options.
|
||||||
TIME
|
TIME
|
||||||
----
|
----
|
||||||
|
|
||||||
TIME
|
::
|
||||||
nick
|
|
||||||
server
|
TIME [nick | server]
|
||||||
|
|
||||||
Shows the local time on the given server, in a human-readable format.
|
Shows the local time on the given server, in a human-readable format.
|
||||||
|
|
||||||
VERSION
|
VERSION
|
||||||
-------
|
-------
|
||||||
|
|
||||||
VERSION
|
::
|
||||||
nick
|
|
||||||
server
|
VERSION [nick | server]
|
||||||
|
|
||||||
Shows version information, a few compile/config options, the SID and the
|
Shows version information, a few compile/config options, the SID and the
|
||||||
005 numerics. The 005 numeric will be remapped to 105 for remote
|
005 numerics. The 005 numeric will be remapped to 105 for remote
|
||||||
requests.
|
requests.
|
||||||
|
@ -664,10 +617,10 @@ requests.
|
||||||
STATS
|
STATS
|
||||||
-----
|
-----
|
||||||
|
|
||||||
STATS
|
::
|
||||||
type
|
|
||||||
nick
|
STATS [type] [nick | server]
|
||||||
server
|
|
||||||
Display various statistics and configuration information.
|
Display various statistics and configuration information.
|
||||||
|
|
||||||
A
|
A
|
||||||
|
@ -683,13 +636,13 @@ c
|
||||||
Show connect blocks
|
Show connect blocks
|
||||||
|
|
||||||
d
|
d
|
||||||
Show temporary D:lines
|
Show temporary ``D:lines``
|
||||||
|
|
||||||
D
|
D
|
||||||
Show permanent D:lines
|
Show permanent ``D:lines``
|
||||||
|
|
||||||
e
|
e
|
||||||
Show exempt blocks (exceptions to D:lines)
|
Show exempt blocks (exceptions to ``D:lines``)
|
||||||
|
|
||||||
E
|
E
|
||||||
Show events
|
Show events
|
||||||
|
@ -698,16 +651,16 @@ f
|
||||||
Show file descriptors
|
Show file descriptors
|
||||||
|
|
||||||
h
|
h
|
||||||
Show hub\_mask/leaf\_mask
|
Show ``hub_mask``/``leaf_mask``
|
||||||
|
|
||||||
i
|
i
|
||||||
Show auth blocks, or matched auth blocks
|
Show auth blocks, or matched auth blocks
|
||||||
|
|
||||||
k
|
k
|
||||||
Show temporary K:lines, or matched K:lines
|
Show temporary ``K:lines``, or matched ``K:lines``
|
||||||
|
|
||||||
K
|
K
|
||||||
Show permanent K:lines, or matched K:lines
|
Show permanent ``K:lines``, or matched ``K:lines``
|
||||||
|
|
||||||
l
|
l
|
||||||
Show hostname and link information about the given nick. With a
|
Show hostname and link information about the given nick. With a
|
||||||
|
@ -763,10 +716,10 @@ v
|
||||||
Show connected servers and brief status
|
Show connected servers and brief status
|
||||||
|
|
||||||
x
|
x
|
||||||
Show temporary X:lines with hit counts
|
Show temporary ``X:lines`` with hit counts
|
||||||
|
|
||||||
X
|
X
|
||||||
Show permanent X:lines with hit counts since last rehash bans
|
Show permanent ``X:lines`` with hit counts since last rehash bans
|
||||||
|
|
||||||
y
|
y
|
||||||
Show class blocks
|
Show class blocks
|
||||||
|
@ -783,17 +736,19 @@ Z
|
||||||
WALLOPS
|
WALLOPS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
WALLOPS
|
::
|
||||||
:
|
|
||||||
message
|
WALLOPS :message
|
||||||
|
|
||||||
Sends a WALLOPS message to all users who have the +w umode set. This is
|
Sends a WALLOPS message to all users who have the +w umode set. This is
|
||||||
for things you don't mind the whole network knowing about.
|
for things you don't mind the whole network knowing about.
|
||||||
|
|
||||||
OPERWALL
|
OPERWALL
|
||||||
--------
|
--------
|
||||||
|
|
||||||
OPERWALL
|
::
|
||||||
:
|
|
||||||
message
|
OPERWALL :message
|
||||||
|
|
||||||
Sends an OPERWALL message to all opers who have the +z umode set. +z is
|
Sends an OPERWALL message to all opers who have the +z umode set. +z is
|
||||||
restricted, OPERWALL should be considered private communications.
|
restricted, OPERWALL should be considered private communications.
|
||||||
|
|
Loading…
Reference in a new issue