]> jfr.im git - irc/rqf/shadowircd.git/blame - doc/sgml/oper-guide/commands.sgml
[svn] Backport from early 3.x:
[irc/rqf/shadowircd.git] / doc / sgml / oper-guide / commands.sgml
CommitLineData
212380e3 1 <chapter id="commands">
2 <title>Operator Commands</title>
3 <sect1>
4 <title>Network management commands</title>
5 <note>
6 <para>
7 Except STATS letters, all commands and names are case insensitive.
8 </para>
9 </note>
10 <sect2>
11 <title>CONNECT</title>
12 <cmdsynopsis><command>CONNECT</command>
13 <arg choice=plain><replaceable>target</replaceable></arg>
14 <arg><replaceable>port</replaceable></arg>
15 <arg><replaceable>source</replaceable></arg>
16 </cmdsynopsis>
17 <para>
18 Initiate a connection attempt to server <replaceable class=parameter>target</replaceable>. If a port is
19 given, connect to that port on the target, otherwise use the one given in <filename>ircd.conf</filename>. If
20 <replaceable class=parameter>source</replaceable> is given, tell that server to initiate the connection
21 attempt, otherwise it will be made from the server you are attached to.
22 </para>
23 </sect2>
24 <sect2>
25 <title>SQUIT</title>
26 <cmdsynopsis>
27 <command>SQUIT</command>
28 <arg choice=plain><replaceable>server</replaceable></arg>
29 <arg><replaceable>reason</replaceable></arg>
30 </cmdsynopsis>
31 <para>
32 Closes down the link to <replaceable>server</replaceable> from this side of the network. If a reason is
33 given, it will be sent out in the server notices on both sides of the link.
34 </para>
35 </sect2>
36 <sect2>
37 <title>REHASH</title>
38 <cmdsynopsis>
39 <command>REHASH</command>
40 <group>
41 <arg>BANS</arg>
42 <arg>DNS</arg>
43 <arg>MOTD</arg>
44 <arg>OMOTD</arg>
45 <arg>GLINES</arg>
46 <arg>PGLINES</arg>
47 <arg>TKLINES</arg>
48 <arg>TDLINES</arg>
49 <arg>TXLINES</arg>
50 <arg>TRESVS</arg>
51 <arg>REJECTCACHE</arg>
52 <arg>HELP</arg>
53 </group>
54 <arg><replaceable>server</replaceable></arg>
55 </cmdsynopsis>
56 <para>
57 With no parameter given, <filename>ircd.conf</filename> will be reread and parsed.
58 The server argument is a wildcard match of server names.
59 </para>
60 <variablelist>
61 <title>Parameters</title>
62 <varlistentry>
63 <term>BANS</term>
64 <listitem>
65 <para>Rereads <filename>kline.conf</filename>, <filename>dline.conf</filename>, <filename>xline.conf</filename>, <filename>resv.conf</filename> and their .perm variants</para>
66 </listitem>
67 </varlistentry>
68 <varlistentry>
69 <term>DNS</term>
70 <listitem>
71 <para>Reread <filename>/etc/resolv.conf</filename>.</para>
72 </listitem>
73 </varlistentry>
74 <varlistentry>
75 <term>MOTD</term>
76 <listitem>
77 <para>Reload the MOTD file</para>
78 </listitem>
79 </varlistentry>
80 <varlistentry>
81 <term>OMOTD</term>
82 <listitem>
83 <para>Reload the operator MOTD file</para>
84 </listitem>
85 </varlistentry>
86 <varlistentry>
87 <term>GLINES</term>
88 <listitem>
89 <para>Clears G:lines.</para>
90 </listitem>
91 </varlistentry>
92 <varlistentry>
93 <term>PGLINES</term>
94 <listitem>
95 <para>Clears pending G:lines.</para>
96 </listitem>
97 </varlistentry>
98 <varlistentry>
99 <term>TKLINES</term>
100 <listitem>
101 <para>Clears temporary K:lines.</para>
102 </listitem>
103 </varlistentry>
104 <varlistentry>
105 <term>TDLINES</term>
106 <listitem>
107 <para>Clears temporary D:lines.</para>
108 </listitem>
109 </varlistentry>
110 <varlistentry>
111 <term>TXLINES</term>
112 <listitem>
113 <para>Clears temporary X:lines.</para>
114 </listitem>
115 </varlistentry>
116 <varlistentry>
117 <term>TRESVS</term>
118 <listitem>
119 <para>Clears temporary reservations.</para>
120 </listitem>
121 </varlistentry>
122 <varlistentry>
123 <term>REJECTCACHE</term>
124 <listitem>
125 <para>Clears the client rejection cache.</para>
126 </listitem>
127 </varlistentry>
128 <varlistentry>
129 <term>HELP</term>
130 <listitem>
131 <para>Refreshes the help system cache.</para>
132 </listitem>
133 </varlistentry>
134 </variablelist>
135 </sect2>
136 <sect2>
137 <title>RESTART</title>
138 <cmdsynopsis>
139 <command>RESTART</command>
140 <arg choice=plain><replaceable>server</replaceable></arg>
141 </cmdsynopsis>
142 <para>
143 Cause an immediate total shutdown of the IRC server, and restart from scratch as if it had just been executed.
144 </para>
145 <para>
146 This reexecutes the ircd using the compiled-in path, visible
147 as SPATH in INFO.
148 </para>
149 <note>
150 <para>This command cannot be used remotely. The server name is used only as a safety measure.</para>
151 </note>
152 </sect2>
153 <sect2>
154 <title>DIE</title>
155 <cmdsynopsis>
156 <command>DIE</command>
157 <arg choice=plain><replaceable>server</replaceable></arg>
158 </cmdsynopsis>
159 <para>Immediately terminate the IRC server, after sending notices to all connected clients and servers</para>
160 <note>
161 <para>This command cannot be used remotely. The server name is used only as a safety measure.</para>
162 </note>
163 </sect2>
164 <sect2>
165 <title>SET</title>
166 <cmdsynopsis>
167 <command>SET</command>
168 <group>
169 <arg>LOG</arg>
170 <arg>MAX</arg>
171 <arg>SPLITDELAY</arg>
172 <arg>SMALLNET</arg>
173 <arg>SPAMNUM</arg>
174 <arg>SPAMTIME</arg>
175 </group>
176 <arg choice=plain><replaceable>value</replaceable></arg>
177 </cmdsynopsis>
178 <para>The SET command sets a runtime-configurable value</para>
179 <variablelist>
180 <varlistentry>
181 <term>LOG</term>
182 <listitem>
183 <para>Logging level for ircd.log and syslog</para>
184 </listitem>
185 </varlistentry>
186 </variablelist>
187 <variablelist>
188 <varlistentry>
189 <term>MAX</term>
190 <listitem>
191 <para>Set the maximum connections allowed (may not exceed the compiled-in value HARD_FDLIMIT)</para>
192 </listitem>
193 </varlistentry>
194 <varlistentry>
195 <term>DRONETIME</term>
196 <listitem>
197 <para>Number of seconds in which DRONECOUNT messages must occur to trip the drone alarm</para>
198 </listitem>
199 </varlistentry>
200 <varlistentry>
201 <term>DRONECOUNT</term>
202 <listitem>
203 <para>Number of messages which constitutes a drone flood. 0 disables drone flood checking.</para>
204 </listitem>
205 </varlistentry>
206 <varlistentry>
207 <term>SPLITDELAY</term>
208 <listitem>
209 <para>Number of minutes after a connect burst begins until joining an empty channel will give you ops</para>
210 </listitem>
211 </varlistentry>
212 <varlistentry>
213 <term>SMALLNET</term>
214 <listitem>
215 <para>Sets the number of servers which are needed to constitute <quote>attached to the network</quote>, as opposed to <quote>split</quote></para>
216 </listitem>
217 </varlistentry>
218 <varlistentry>
219 <term>SPAMNUM</term>
220 <listitem>
221 <para>Sets the number of JOINs/PARTs which constitutes a possible spambot</para>
222 </listitem>
223 </varlistentry>
224 <varlistentry>
225 <term>SPAMTIME</term>
226 <listitem>
227 <para>Staying on a channel for less than this length of time adds to the SPAMNUM count</para>
228 </listitem>
229 </varlistentry>
230 </variablelist>
231 </sect2>
232 </sect1>
233 <sect1 id="usercommands">
234 <title>User management commands</title>
235 <sect2>
236 <title>KILL</title>
237 <cmdsynopsis>
238 <command>KILL</command>
239 <arg choice=plain><replaceable>nick</replaceable></arg>
240 <arg><replaceable>reason</replaceable></arg>
241 </cmdsynopsis>
242 <para>
243 Disconnects the user with the given nick from the server they are connected to,
244 with the reason given, if present, and broadcast a server notice announcing this.
245 </para>
246 <para>
247 Your nick and the reason will appear on channels.
248 </para>
249 </sect2>
250 <sect2>
251 <title>CLOSE</title>
252 <para>
253 Closes all connections from and to clients and servers who have not completed registering.
254 </para>
255 </sect2>
256 <sect2>
257 <title>KLINE</title>
258 <cmdsynopsis>
259 <command>KLINE</command>
260 <arg><replaceable>length</replaceable></arg>
261 <group>
262 <arg choice=plain><replaceable>user</replaceable>@<replaceable>host</replaceable></arg>
263 <arg choice=plain><replaceable>user</replaceable>@<replaceable>a</replaceable>.<replaceable>b</replaceable>.<replaceable>c</replaceable>.<replaceable>d</replaceable></arg>
264 </group>
265 <arg>ON <replaceable>servername</replaceable></arg>
266 <arg>:<replaceable>reason</replaceable></arg>
267 </cmdsynopsis>
268 <para>
269 Adds a K:line to <filename>kline.conf</filename> to ban the given user@host from using that
270 server.
271 </para>
272 <para>
273 If the optional parameter <replaceable>length</replaceable> is given, the K:line will
274 be temporary (i.e. it will not be stored on disk) and last that
275 long in minutes.
276 </para>
277 <para>
278 If an IP address is given, the ban will be against all hosts matching that IP regardless
279 of DNS. The IP address can be given as a full address (192.168.0.1), as a CIDR mask
280 (192.168.0.0/24), or as a glob (192.168.0.*).
281 </para>
282 <para>
283 All clients matching the K:line will be disconnected from the server immediately.
284 </para>
285 <para>
286 If a reason is specified, it will be sent to the client when they are disconnected, and
287 whenever a connection is attempted which is banned.
288 </para>
289 <para>
290 If the ON part is specified, the K:line is set on servers matching
291 the given mask (provided a matching shared{} block exists there).
292 Otherwise, if specified in a cluster{} block, the K:Line will be
293 propagated across the network accordingly.
294 </para>
295 </sect2>
296 <sect2>
297 <title>UNKLINE</title>
298 <cmdsynopsis>
299 <command>UNKLINE</command>
300 <arg choice=plain><replaceable>user</replaceable>@<replaceable>host</replaceable></arg>
301 <arg>ON <replaceable>servername</replaceable></arg>
302 </cmdsynopsis>
303 <para>
304 Will attempt to remove a K:line matching user@host from <filename>kline.conf</filename>, and will flush
305 a temporary K:line.
306 </para>
307 </sect2>
308 <sect2>
309 <title>XLINE</title>
310 <cmdsynopsis>
311 <command>XLINE</command>
312 <arg><replaceable>length</replaceable></arg>
313 <arg choice=plain><replaceable>mask</replaceable></arg>
314 <arg>ON <replaceable>servername</replaceable></arg>
315 <arg>:<replaceable>reason</replaceable></arg>
316 </cmdsynopsis>
317 <para>
318 Works similarly to KLINE, but matches against the real name field.
319 The wildcards are * (any sequence), ? (any character),
320 # (a digit) and @ (a letter); wildcard characters can be
321 escaped with a backslash.
322 </para>
323 <para>
324 Use \s for a space; this currently interferes with the
325 check whether the mask is already xlined and UNXLINE.
326 </para>
327 <para>
328 All clients matching the X:line will be disconnected from the server immediately.
329 </para>
330 <para>
331 The reason is never sent to users. Instead, they will be exited
332 with <quote>Bad user info</quote>.
333 </para>
334 <para>
335 If the ON part is specified, the X:line is set on servers matching
336 the given mask (provided a matching shared{} block exists there).
337 Otherwise, if specified in a cluster{} block, the X:line will be
338 propagated across the network accordingly.
339 </para>
340 </sect2>
341 <sect2>
342 <title>UNXLINE</title>
343 <cmdsynopsis>
344 <command>UNXLINE</command>
345 <arg choice=plain><replaceable>mask</replaceable></arg>
346 <arg>ON <replaceable>servername</replaceable></arg>
347 </cmdsynopsis>
348 <para>
349 Will attempt to remove an X:line from <filename>xline.conf</filename>, and will flush
350 a temporary X:line.
351 </para>
352 </sect2>
353 <sect2>
354 <title>RESV</title>
355 <cmdsynopsis>
356 <command>RESV</command>
357 <arg><replaceable>length</replaceable></arg>
358 <group>
359 <arg choice=plain><replaceable>channel</replaceable></arg>
360 <arg choice=plain><replaceable>mask</replaceable></arg>
361 </group>
362 <arg>ON <replaceable>servername</replaceable></arg>
363 <arg>:<replaceable>reason</replaceable></arg>
364 </cmdsynopsis>
365 <para>
366 If used on a channel, <quote>jupes</quote> the channel locally. Joins to the
367 channel will be disallowed and generate a server notice on +y, and
368 users will not be able to send to the channel. Channel jupes cannot
369 contain wildcards.
370 </para>
371 <para>
372 If used on a nickname mask, prevents local users from using a nick
373 matching the mask (the same wildcard characters as xlines). There
374 is no way to exempt the initial nick from this.
375 </para>
376 <para>
377 In neither case will current users of the nick or channel be
378 kicked or disconnected.
379 </para>
380 <para>
381 This facility is not designed to make certain nicks
382 or channels oper-only.
383 </para>
384 <para>
385 The reason is never sent to users.
386 </para>
387 <para>
388 If the ON part is specified, the resv is set on servers matching
389 the given mask (provided a matching shared{} block exists there).
390 Otherwise, if specified in a cluster{} block, the resv will be
391 propagated across the network accordingly.
392 </para>
393 </sect2>
394 <sect2>
395 <title>UNRESV</title>
396 <cmdsynopsis>
397 <command>UNRESV</command>
398 <group>
399 <arg choice=plain><replaceable>channel</replaceable></arg>
400 <arg choice=plain><replaceable>mask</replaceable></arg>
401 </group>
402 <arg>ON <replaceable>servername</replaceable></arg>
403 </cmdsynopsis>
404 <para>
405 Will attempt to remove a resv from <filename>resv.conf</filename>, and will flush
406 a temporary resv.
407 </para>
408 </sect2>
409 <sect2>
410 <title>DLINE</title>
411 <cmdsynopsis>
412 <command>DLINE</command>
413 <arg><replaceable>length</replaceable></arg>
414 <arg choice=plain><replaceable>a</replaceable>.<replaceable>b</replaceable>.<replaceable>c</replaceable>.<replaceable>d</replaceable></arg>
415 <arg>:<replaceable>reason</replaceable></arg>
416 </cmdsynopsis>
417 <para>
418 Adds a D:line to <filename>dline.conf</filename>, which will deny any connections
419 from the given IP address.
5366977b 420 The IP address can be given as a full address (192.168.0.1) or
421 as a CIDR mask (192.168.0.0/24).
212380e3 422 </para>
423 <para>
424 If the optional parameter <replaceable>length</replaceable> is given, the D:line will
425 be temporary (i.e. it will not be stored on disk) and last that
426 long in minutes.
427 </para>
428 <para>
429 If a reason is specified, it will be sent to the client when they are disconnected, and,
430 if dline_reason is enabled,
431 whenever a connection is attempted which is banned.
432 </para>
433 <para>
434 D:lines are less load on a server, and may be more appropriate if somebody is flooding
435 connections.
436 </para>
437 <para>
438 D:lines cannot be set remotely on other servers.
439 </para>
440 <para>
441 Only exempt{} blocks exempt from D:lines on initial connection.
442 Being a server or having kline_exempt in auth{} does
443 <emphasis>not</emphasis> exempt (different from K/G/X:lines).
444 </para>
445 </sect2>
446 <sect2>
447 <title>UNDLINE</title>
448 <cmdsynopsis>
449 <command>UNDLINE</command>
450 <arg choice=plain><replaceable>a.b.c.d</replaceable></arg>
451 </cmdsynopsis>
452 <para>
453 Will attempt to remove a D:line from <filename>dline.conf</filename>, and will flush
454 a temporary D:line.
455 </para>
456 </sect2>
457 <sect2>
458 <title>GLINE</title>
459 <cmdsynopsis>
460 <command>GLINE</command>
461 <group>
462 <arg choice=plain><replaceable>user</replaceable>@<replaceable>host</replaceable></arg>
463 <arg choice=plain><replaceable>user</replaceable>@<replaceable>a</replaceable>.<replaceable>b</replaceable>.<replaceable>c</replaceable>.<replaceable>d</replaceable></arg>
464 </group>
465 <arg choice=plain>:<replaceable>reason</replaceable></arg>
466 </cmdsynopsis>
467 <para>
468 Attempts to add a network-wide ban for the given mask.
469 It takes three different opers on three different servers
470 requesting the same G:line to have it triggered for a configured
471 time.
472 </para>
473 <para>
474 Once triggered, a G:line is similar to a temporary K:line on
475 each server. No further propagation or on-disk storage is done.
476 </para>
477 <note><para>
478 This command can be enabled or disabled in the configuration file.
479 If it is disabled, no oper on the server can issue a G:line and no
480 G:lined user is banned, but G:lines are still propagated to other
481 servers which may have G:lines enabled.
482 </para></note>
483 </sect2>
484 <sect2>
485 <title>UNGLINE</title>
486 <cmdsynopsis>
487 <command>UNGLINE</command>
488 <group>
489 <arg choice=plain><replaceable>user</replaceable>@<replaceable>host</replaceable></arg>
490 <arg choice=plain><replaceable>user</replaceable>@<replaceable>a</replaceable>.<replaceable>b</replaceable>.<replaceable>c</replaceable>.<replaceable>d</replaceable></arg>
491 </group>
492 </cmdsynopsis>
493 <para>
494 Removes the given G:line on this server.
495 </para>
496 </sect2>
497 <sect2>
498 <title>TESTGECOS</title>
499 <cmdsynopsis>
500 <command>TESTGECOS</command>
501 <arg choice=plain><replaceable>gecos</replaceable></arg>
502 </cmdsynopsis>
503 <para>
504 Looks up X:Lines matching the given gecos.
505 </para>
506 </sect2>
507 <sect2>
508 <title>TESTLINE</title>
509 <cmdsynopsis>
510 <command>TESTLINE</command>
511 <arg><replaceable>nick</replaceable>!</arg>
512 <group>
513 <arg choice=plain><replaceable>user</replaceable>@<replaceable>host</replaceable></arg>
514 <arg choice=plain><replaceable>a</replaceable>.<replaceable>b</replaceable>.<replaceable>c</replaceable>.<replaceable>d</replaceable></arg>
515 </group>
516 </cmdsynopsis>
517 <para>
518 Looks up the given hostmask or IP address and reports back on any auth{} blocks, D:, G:, or K: lines found.
519 If <replaceable>nick</replaceable> is given, also searches for
520 nick resvs.
521 </para>
522 <para>
523 For temporary items the number of minutes until the item expires
524 is shown (as opposed to the hit count in STATS q/Q/x/X).
525 </para>
526 <para>
527 This command will not perform DNS lookups; for best
528 results you must testline a host and its IP form.
529 </para>
530 <para>
531 The given username should begin with a tilde (~) if identd is not
532 in use. As of charybdis 2.1.1, no_tilde and username truncation will
533 be taken into account like in the normal client access check.
534 </para>
535 </sect2>
536 <sect2>
537 <title>TESTMASK</title>
538 <cmdsynopsis>
539 <command>TESTMASK</command>
540 <arg choice=plain><replaceable>hostmask</replaceable></arg>
541 <arg><replaceable>gecos</replaceable></arg>
542 </cmdsynopsis>
543 <para>
544 Searches the network for users that match the hostmask and gecos given,
545 returning the number of matching users on this server and other servers.
546 </para>
547 <para>
548 The <replaceable>hostmask</replaceable> is of the form user@host
549 or user@ip/cidr with * and ? wildcards, optionally preceded by
550 nick!.
551 </para>
552 <para>
553 The <replaceable>gecos</replaceable> field accepts the same wildcards
554 as xlines.
555 </para>
556 <para>
557 The IP address checked against is 255.255.255.255 if the IP address
558 is unknown (remote client on a TS5 server) or 0 if the IP address
559 is hidden (auth{} spoof).
560 </para>
561 </sect2>
562 <sect2>
563 <title>LUSERS</title>
564 <cmdsynopsis>
565 <command>LUSERS</command>
566 <arg><replaceable>mask</replaceable></arg>
567 <group>
568 <arg><replaceable>nick</replaceable></arg>
569 <arg><replaceable>server</replaceable></arg>
570 </group>
571 </cmdsynopsis>
572 <para>
573 Shows various user and channel counts.
574 </para>
575 <para>
576 The <replaceable>mask</replaceable> parameter is obsolete
577 but must be used when querying a remote server.
578 </para>
579 </sect2>
580 <sect2>
581 <title>TRACE</title>
582 <cmdsynopsis>
583 <command>TRACE</command>
584 <group>
585 <arg><replaceable>server</replaceable></arg>
586 <arg><replaceable>nick</replaceable></arg>
587 </group>
588 <arg><replaceable>location</replaceable></arg>
589 </cmdsynopsis>
590 <para>
591 With no argument or one argument which is the current server,
592 TRACE gives a list of all connections to the current server
593 and a summary of connection classes.
594 </para>
595 <para>
596 With one argument which is another server, TRACE displays the path
597 to the specified server, and all servers, opers and -i users
598 on that server, along with a summary of connection classes.
599 </para>
600 <para>
601 With one argument which is a client, TRACE displays the
602 path to that client, and that client's information.
603 </para>
604 <para>
605 If location is given, the command is executed on that server;
606 no path is displayed.
607 </para>
608 <para>
609 When listing connections, type, name and class is shown
610 in addition to information depending on the type:
611 </para>
612 <variablelist>
613 <title>TRACE types</title>
614 <varlistentry>
615 <term>Try.</term>
616 <listitem><para>
617 A server we are trying to make a TCP connection to.
618 </para></listitem>
619 </varlistentry>
620 <varlistentry>
621 <term>H.S.</term>
622 <listitem><para>
623 A server we have established a TCP connection to, but is not
624 yet registered.
625 </para></listitem>
626 </varlistentry>
627 <varlistentry>
628 <term>????</term>
629 <listitem><para>
630 An incoming connection that has not yet registered as
631 a user or a server (<quote>unknown</quote>).
632 Shows the username, hostname, IP address
633 and the time the connection has been open. It is possible
634 that the ident or DNS lookups have not completed yet, and in
635 any case no tildes are shown here.
636 Unknown connections may not have a name yet.
637 </para></listitem>
638 </varlistentry>
639 <varlistentry>
640 <term>User</term>
641 <listitem><para>
642 A registered unopered user.
643 Shows the username, hostname, IP address, the time the client
644 has not sent anything (as in STATS l) and the time the user has
645 been idle (from PRIVMSG only, as in WHOIS).
646 </para></listitem>
647 </varlistentry>
648 <varlistentry>
649 <term>Oper</term>
650 <listitem><para>
651 Like User, but opered.
652 </para></listitem>
653 </varlistentry>
654 <varlistentry>
655 <term>Serv</term>
656 <listitem><para>
657 A registered server.
658 Shows the number of servers and users reached via this link,
659 who made this connection and the time the server has not sent
660 anything.
661 </para></listitem>
662 </varlistentry>
663 </variablelist>
664 </sect2>
665 <sect2>
666 <title>ETRACE</title>
667 <cmdsynopsis>
668 <command>ETRACE</command>
669 <arg><replaceable>nick</replaceable></arg>
670 </cmdsynopsis>
671 <para>
672 Shows client information about the given target, or about all local clients if
673 no target is specified.
674 </para>
675 </sect2>
676 <sect2>
677 <title>MASKTRACE</title>
678 <cmdsynopsis>
679 <command>MASKTRACE</command>
680 <arg choice=plain><replaceable>hostmask</replaceable></arg>
681 <arg><replaceable>gecos</replaceable></arg>
682 </cmdsynopsis>
683 <para>
684 Searches the local server or network for users that match the hostmask and gecos given.
685 Network searches require the oper_spy privilege and an '!'
686 before the hostmask.
687 The matching works the same way as TESTMASK.
688 </para>
689 <para>
690 The <replaceable>hostmask</replaceable> is of the form user@host
691 or user@ip/cidr with * and ? wildcards, optionally preceded by
692 nick!.
693 </para>
694 <para>
695 The <replaceable>gecos</replaceable> field accepts the same wildcards
696 as xlines.
697 </para>
698 <para>
699 The IP address field contains 255.255.255.255 if the IP address
700 is unknown (remote client on a TS5 server) or 0 if the IP address
701 is hidden (auth{} spoof).
702 </para>
703 </sect2>
704 <sect2>
705 <title>CHANTRACE</title>
706 <cmdsynopsis>
707 <command>CHANTRACE</command>
708 <arg choice=plain><replaceable>channel</replaceable></arg>
709 </cmdsynopsis>
710 <para>
711 Displays information about users in a channel.
712 Opers with the oper_spy privilege
713 can get the information without being on the channel,
714 by prefixing the channel name with an '!'.
715 </para>
716 <para>
717 The IP address field contains 255.255.255.255 if the IP address
718 is unknown (remote client on a TS5 server) or 0 if the IP address
719 is hidden (auth{} spoof).
720 </para>
721 </sect2>
722 <sect2>
723 <title>SCAN</title>
724 <cmdsynopsis>
725 <command>SCAN UMODES</command>
726 <arg choice=plain>+<replaceable>modes</replaceable>-<replaceable>modes</replaceable></arg>
727 <arg>no-list</arg>
728 <arg>list</arg>
729 <arg>global</arg>
730 <arg>list-max <replaceable>number</replaceable></arg>
731 <arg>mask <replaceable>nick!user@host</replaceable></arg>
732 </cmdsynopsis>
733 <para>
734 Searches the local server or network for users that have the umodes given with + and do not have the umodes given with -.
735 no-list disables the listing of matching users and only shows the count.
736 list enables the listing (default).
737 global extends the search to the entire network instead of local users only.
738 list-max limits the listing of matching users to the given amount.
739 mask causes only users matching the given nick!user@host mask
740 to be selected. Only the displayed host is considered, not the
741 IP address or real host behind dynamic spoofs.
742 </para>
743 <para>
744 The IP address field contains 255.255.255.255 if the IP address
745 is unknown (remote client on a TS5 server) or 0 if the IP address
746 is hidden (auth{} spoof).
747 </para>
748 <para>
749 Network searches where a listing is given or the mask option is used
750 are operspy commands.
751 </para>
752 </sect2>
753 <sect2>
754 <title>CHGHOST</title>
755 <cmdsynopsis>
756 <command>CHGHOST</command>
757 <arg choice=plain><replaceable>nick</replaceable></arg>
758 <arg choice=plain><replaceable>value</replaceable></arg>
759 </cmdsynopsis>
760 <para>
761 Set the hostname associated with a particular nick for the duration of this session.
762 This command is disabled by default because of the abuse potential
763 and little practical use.
764 </para>
765 </sect2>
766 </sect1>
767 <sect1 id="misccommands">
768 <title>Miscellaneous commands</title>
769 <sect2>
770 <title>ADMIN</title>
771 <cmdsynopsis>
772 <command>ADMIN</command>
773 <group>
774 <arg><replaceable>nick</replaceable></arg>
775 <arg><replaceable>server</replaceable></arg>
776 </group>
777 </cmdsynopsis>
778 <para>
779 Shows the information in the admin{} block.
780 </para>
781 </sect2>
782 <sect2>
783 <title>INFO</title>
784 <cmdsynopsis>
785 <command>INFO</command>
786 <group>
787 <arg><replaceable>nick</replaceable></arg>
788 <arg><replaceable>server</replaceable></arg>
789 </group>
790 </cmdsynopsis>
791 <para>
792 Shows information about the authors of the IRC server, and
793 some information about this server instance.
794 Opers also get a list of configuration options.
795 </para>
796 </sect2>
797 <sect2>
798 <title>TIME</title>
799 <cmdsynopsis>
800 <command>TIME</command>
801 <group>
802 <arg><replaceable>nick</replaceable></arg>
803 <arg><replaceable>server</replaceable></arg>
804 </group>
805 </cmdsynopsis>
806 <para>
807 Shows the local time on the given server, in a human-readable format.
808 </para>
809 </sect2>
810 <sect2>
811 <title>VERSION</title>
812 <cmdsynopsis>
813 <command>VERSION</command>
814 <group>
815 <arg><replaceable>nick</replaceable></arg>
816 <arg><replaceable>server</replaceable></arg>
817 </group>
818 </cmdsynopsis>
819 <para>
820 Shows version information, a few compile/config options,
821 the SID and the 005 numerics.
822 The 005 numeric will be remapped to 105 for remote requests.
823 </para>
824 </sect2>
825 <sect2>
826 <title>STATS</title>
827 <cmdsynopsis>
828 <command>STATS</command>
829 <arg><replaceable>type</replaceable></arg>
830 <group>
831 <arg><replaceable>nick</replaceable></arg>
832 <arg><replaceable>server</replaceable></arg>
833 </group>
834 </cmdsynopsis>
835 <para>
836 Display various statistics and configuration information.
837 </para>
838 <variablelist>
839 <title>Values for <replaceable>type</replaceable></title>
840 <varlistentry>
841 <term>A</term>
842 <listitem>
843 <para>Show DNS servers</para>
844 </listitem>
845 </varlistentry>
846 <varlistentry>
847 <term>b</term>
848 <listitem>
849 <para>Show active nick delays</para>
850 </listitem>
851 </varlistentry>
852 <varlistentry>
853 <term>B</term>
854 <listitem>
855 <para>Show hash statistics</para>
856 </listitem>
857 </varlistentry>
858 <varlistentry>
859 <term>c</term>
860 <listitem>
861 <para>Show connect blocks</para>
862 </listitem>
863 </varlistentry>
864 <varlistentry>
865 <term>d</term>
866 <listitem>
867 <para>Show temporary D:lines</para>
868 </listitem>
869 </varlistentry>
870 <varlistentry>
871 <term>D</term>
872 <listitem>
873 <para>Show permanent D:lines</para>
874 </listitem>
875 </varlistentry>
876 <varlistentry>
877 <term>e</term>
878 <listitem>
879 <para>Show exempt blocks (exceptions to D:lines)</para>
880 </listitem>
881 </varlistentry>
882 <varlistentry>
883 <term>E</term>
884 <listitem>
885 <para>Show events</para>
886 </listitem>
887 </varlistentry>
888 <varlistentry>
889 <term>f</term>
890 <listitem>
891 <para>Show file descriptors</para>
892 </listitem>
893 </varlistentry>
894 <varlistentry>
895 <term>g</term>
896 <listitem>
897 <para>Show pending glines</para>
898 </listitem>
899 </varlistentry>
900 <varlistentry>
901 <term>G</term>
902 <listitem>
903 <para>Show active glines</para>
904 </listitem>
905 </varlistentry>
906 <varlistentry>
907 <term>h</term>
908 <listitem>
909 <para>Show hub_mask/leaf_mask</para>
910 </listitem>
911 </varlistentry>
912 <varlistentry>
913 <term>i</term>
914 <listitem>
915 <para>Show auth blocks, or matched auth blocks</para>
916 </listitem>
917 </varlistentry>
918 <varlistentry>
919 <term>k</term>
920 <listitem>
921 <para>Show temporary K:lines, or matched temporary K:lines</para>
922 </listitem>
923 </varlistentry>
924 <varlistentry>
925 <term>K</term>
926 <listitem>
927 <para>Show permanent K:lines, or matched permanent K:lines</para>
928 </listitem>
929 </varlistentry>
930 <varlistentry>
931 <term>l</term>
932 <listitem>
933 <para>
934 Show hostname and link information about the given nick.
935 With a server name, show information about opers and servers
936 on that server; opers also get information about all local users
937 if they query their own server.
938 </para>
939 </listitem>
940 </varlistentry>
941 <varlistentry>
942 <term>L</term>
943 <listitem>
944 <para>Like l, but show IP address instead of hostname</para>
945 </listitem>
946 </varlistentry>
947 <varlistentry>
948 <term>m</term>
949 <listitem>
950 <para>Show commands and their usage statistics (total counts, total bytes, counts from server connections)</para>
951 </listitem>
952 </varlistentry>
953 <varlistentry>
954 <term>n</term>
955 <listitem>
956 <para>Show blacklist blocks (DNS blacklists) with hit counts.</para>
957 </listitem>
958 </varlistentry>
959 <varlistentry>
960 <term>o</term>
961 <listitem>
962 <para>Show operator blocks</para>
963 </listitem>
964 </varlistentry>
965 <varlistentry>
966 <term>p</term>
967 <listitem>
968 <para>Show logged on network operators which are not set AWAY.</para>
969 </listitem>
970 </varlistentry>
971 <varlistentry>
972 <term>P</term>
973 <listitem>
974 <para>Show listen blocks</para>
975 </listitem>
976 </varlistentry>
977 <varlistentry>
978 <term>q</term>
979 <listitem>
980 <para>Show temporarily resv'ed nicks and channels</para>
981 </listitem>
982 </varlistentry>
983 <varlistentry>
984 <term>Q</term>
985 <listitem>
986 <para>Show permanently resv'ed nicks and channels</para>
987 </listitem>
988 </varlistentry>
989 <varlistentry>
990 <term>r</term>
991 <listitem>
992 <para>Show resource usage by the ircd</para>
993 </listitem>
994 </varlistentry>
995 <varlistentry>
996 <term>t</term>
997 <listitem>
998 <para>Show generic server statistics</para>
999 </listitem>
1000 </varlistentry>
1001 <varlistentry>
1002 <term>u</term>
1003 <listitem>
1004 <para>Show server uptime</para>
1005 </listitem>
1006 </varlistentry>
1007 <varlistentry>
1008 <term>U</term>
1009 <listitem>
1010 <para>Show shared (c), cluster (C) and service (s) blocks</para>
1011 </listitem>
1012 </varlistentry>
1013 <varlistentry>
1014 <term>v</term>
1015 <listitem>
1016 <para>Show connected servers and brief status</para>
1017 </listitem>
1018 </varlistentry>
1019 <varlistentry>
1020 <term>x</term>
1021 <listitem>
1022 <para>Show temporary X:lines</para>
1023 </listitem>
1024 </varlistentry>
1025 <varlistentry>
1026 <term>X</term>
1027 <listitem>
1028 <para>Show permanent X:lines</para>
1029 </listitem>
1030 </varlistentry>
1031 <varlistentry>
1032 <term>y</term>
1033 <listitem>
1034 <para>Show class blocks</para>
1035 </listitem>
1036 </varlistentry>
1037 <varlistentry>
1038 <term>z</term>
1039 <listitem>
1040 <para>Show memory usage statistics</para>
1041 </listitem>
1042 </varlistentry>
1043 <varlistentry>
1044 <term>Z</term>
1045 <listitem>
1046 <para>Show ziplinks statistics</para>
1047 </listitem>
1048 </varlistentry>
1049 <varlistentry>
1050 <term>?</term>
1051 <listitem>
1052 <para>Show connected servers and sendq information about them</para>
1053 </listitem>
1054 </varlistentry>
1055 </variablelist>
1056 </sect2>
1057 <sect2>
1058 <title>WALLOPS</title>
1059 <cmdsynopsis>
1060 <command>WALLOPS</command>
1061 <arg choice=plain>:<replaceable>message</replaceable></arg>
1062 </cmdsynopsis>
1063 <para>
1064 Sends a WALLOPS message to all users who have the +w umode set. This is for
1065 things you don't mind the whole network knowing about.
1066 </para>
1067 </sect2>
1068 <sect2>
1069 <title>OPERWALL</title>
1070 <cmdsynopsis>
1071 <command>OPERWALL</command>
1072 <arg choice=plain>:<replaceable>message</replaceable></arg>
1073 </cmdsynopsis>
1074 <para>
1075 Sends an OPERWALL message to all opers who have the +z umode set. +z is restricted,
1076 OPERWALL should be considered private communications.
1077 </para>
1078 </sect2>
1079 </sect1>
1080 </chapter>
1081<!-- Keep this comment at the end of the file
1082Local variables:
1083mode: sgml
1084sgml-omittag:t
1085sgml-shorttag:t
1086sgml-namecase-general:t
1087sgml-general-insert-case:lower
1088sgml-minimize-attributes:nil
1089sgml-always-quote-attributes:t
1090sgml-indent-step:2
1091sgml-indent-data:t
1092sgml-parent-document: ("charybdis-oper-guide.sgml" "book")
1093sgml-exposed-tags:nil
1094sgml-local-ecat-files:nil
1095fill-column:105
1096End:
1097-->