]>
Commit | Line | Data |
---|---|---|
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> | |
add9f99d | 535 | <para> |
536 | As of charybdis 2.2.0, a channel name can be specified and the | |
537 | RESV will be returned, if there is one. | |
538 | </para> | |
212380e3 | 539 | </sect2> |
540 | <sect2> | |
541 | <title>TESTMASK</title> | |
542 | <cmdsynopsis> | |
543 | <command>TESTMASK</command> | |
544 | <arg choice=plain><replaceable>hostmask</replaceable></arg> | |
545 | <arg><replaceable>gecos</replaceable></arg> | |
546 | </cmdsynopsis> | |
547 | <para> | |
548 | Searches the network for users that match the hostmask and gecos given, | |
549 | returning the number of matching users on this server and other servers. | |
550 | </para> | |
551 | <para> | |
552 | The <replaceable>hostmask</replaceable> is of the form user@host | |
553 | or user@ip/cidr with * and ? wildcards, optionally preceded by | |
554 | nick!. | |
555 | </para> | |
556 | <para> | |
557 | The <replaceable>gecos</replaceable> field accepts the same wildcards | |
558 | as xlines. | |
559 | </para> | |
560 | <para> | |
561 | The IP address checked against is 255.255.255.255 if the IP address | |
562 | is unknown (remote client on a TS5 server) or 0 if the IP address | |
563 | is hidden (auth{} spoof). | |
564 | </para> | |
565 | </sect2> | |
566 | <sect2> | |
567 | <title>LUSERS</title> | |
568 | <cmdsynopsis> | |
569 | <command>LUSERS</command> | |
570 | <arg><replaceable>mask</replaceable></arg> | |
571 | <group> | |
572 | <arg><replaceable>nick</replaceable></arg> | |
573 | <arg><replaceable>server</replaceable></arg> | |
574 | </group> | |
575 | </cmdsynopsis> | |
576 | <para> | |
577 | Shows various user and channel counts. | |
578 | </para> | |
579 | <para> | |
580 | The <replaceable>mask</replaceable> parameter is obsolete | |
581 | but must be used when querying a remote server. | |
582 | </para> | |
583 | </sect2> | |
584 | <sect2> | |
585 | <title>TRACE</title> | |
586 | <cmdsynopsis> | |
587 | <command>TRACE</command> | |
588 | <group> | |
589 | <arg><replaceable>server</replaceable></arg> | |
590 | <arg><replaceable>nick</replaceable></arg> | |
591 | </group> | |
592 | <arg><replaceable>location</replaceable></arg> | |
593 | </cmdsynopsis> | |
594 | <para> | |
595 | With no argument or one argument which is the current server, | |
596 | TRACE gives a list of all connections to the current server | |
597 | and a summary of connection classes. | |
598 | </para> | |
599 | <para> | |
600 | With one argument which is another server, TRACE displays the path | |
601 | to the specified server, and all servers, opers and -i users | |
602 | on that server, along with a summary of connection classes. | |
603 | </para> | |
604 | <para> | |
605 | With one argument which is a client, TRACE displays the | |
606 | path to that client, and that client's information. | |
607 | </para> | |
608 | <para> | |
609 | If location is given, the command is executed on that server; | |
610 | no path is displayed. | |
611 | </para> | |
612 | <para> | |
613 | When listing connections, type, name and class is shown | |
614 | in addition to information depending on the type: | |
615 | </para> | |
616 | <variablelist> | |
617 | <title>TRACE types</title> | |
618 | <varlistentry> | |
619 | <term>Try.</term> | |
620 | <listitem><para> | |
621 | A server we are trying to make a TCP connection to. | |
622 | </para></listitem> | |
623 | </varlistentry> | |
624 | <varlistentry> | |
625 | <term>H.S.</term> | |
626 | <listitem><para> | |
627 | A server we have established a TCP connection to, but is not | |
628 | yet registered. | |
629 | </para></listitem> | |
630 | </varlistentry> | |
631 | <varlistentry> | |
632 | <term>????</term> | |
633 | <listitem><para> | |
634 | An incoming connection that has not yet registered as | |
635 | a user or a server (<quote>unknown</quote>). | |
636 | Shows the username, hostname, IP address | |
637 | and the time the connection has been open. It is possible | |
638 | that the ident or DNS lookups have not completed yet, and in | |
639 | any case no tildes are shown here. | |
640 | Unknown connections may not have a name yet. | |
641 | </para></listitem> | |
642 | </varlistentry> | |
643 | <varlistentry> | |
644 | <term>User</term> | |
645 | <listitem><para> | |
646 | A registered unopered user. | |
647 | Shows the username, hostname, IP address, the time the client | |
648 | has not sent anything (as in STATS l) and the time the user has | |
649 | been idle (from PRIVMSG only, as in WHOIS). | |
650 | </para></listitem> | |
651 | </varlistentry> | |
652 | <varlistentry> | |
653 | <term>Oper</term> | |
654 | <listitem><para> | |
655 | Like User, but opered. | |
656 | </para></listitem> | |
657 | </varlistentry> | |
658 | <varlistentry> | |
659 | <term>Serv</term> | |
660 | <listitem><para> | |
661 | A registered server. | |
662 | Shows the number of servers and users reached via this link, | |
663 | who made this connection and the time the server has not sent | |
664 | anything. | |
665 | </para></listitem> | |
666 | </varlistentry> | |
667 | </variablelist> | |
668 | </sect2> | |
669 | <sect2> | |
670 | <title>ETRACE</title> | |
671 | <cmdsynopsis> | |
672 | <command>ETRACE</command> | |
673 | <arg><replaceable>nick</replaceable></arg> | |
674 | </cmdsynopsis> | |
675 | <para> | |
676 | Shows client information about the given target, or about all local clients if | |
677 | no target is specified. | |
678 | </para> | |
679 | </sect2> | |
680 | <sect2> | |
681 | <title>MASKTRACE</title> | |
682 | <cmdsynopsis> | |
683 | <command>MASKTRACE</command> | |
684 | <arg choice=plain><replaceable>hostmask</replaceable></arg> | |
685 | <arg><replaceable>gecos</replaceable></arg> | |
686 | </cmdsynopsis> | |
687 | <para> | |
688 | Searches the local server or network for users that match the hostmask and gecos given. | |
689 | Network searches require the oper_spy privilege and an '!' | |
690 | before the hostmask. | |
691 | The matching works the same way as TESTMASK. | |
692 | </para> | |
693 | <para> | |
694 | The <replaceable>hostmask</replaceable> is of the form user@host | |
695 | or user@ip/cidr with * and ? wildcards, optionally preceded by | |
696 | nick!. | |
697 | </para> | |
698 | <para> | |
699 | The <replaceable>gecos</replaceable> field accepts the same wildcards | |
700 | as xlines. | |
701 | </para> | |
702 | <para> | |
703 | The IP address field contains 255.255.255.255 if the IP address | |
704 | is unknown (remote client on a TS5 server) or 0 if the IP address | |
705 | is hidden (auth{} spoof). | |
706 | </para> | |
707 | </sect2> | |
708 | <sect2> | |
709 | <title>CHANTRACE</title> | |
710 | <cmdsynopsis> | |
711 | <command>CHANTRACE</command> | |
712 | <arg choice=plain><replaceable>channel</replaceable></arg> | |
713 | </cmdsynopsis> | |
714 | <para> | |
715 | Displays information about users in a channel. | |
716 | Opers with the oper_spy privilege | |
717 | can get the information without being on the channel, | |
718 | by prefixing the channel name with an '!'. | |
719 | </para> | |
720 | <para> | |
721 | The IP address field contains 255.255.255.255 if the IP address | |
722 | is unknown (remote client on a TS5 server) or 0 if the IP address | |
723 | is hidden (auth{} spoof). | |
724 | </para> | |
725 | </sect2> | |
726 | <sect2> | |
727 | <title>SCAN</title> | |
728 | <cmdsynopsis> | |
729 | <command>SCAN UMODES</command> | |
730 | <arg choice=plain>+<replaceable>modes</replaceable>-<replaceable>modes</replaceable></arg> | |
731 | <arg>no-list</arg> | |
732 | <arg>list</arg> | |
733 | <arg>global</arg> | |
734 | <arg>list-max <replaceable>number</replaceable></arg> | |
735 | <arg>mask <replaceable>nick!user@host</replaceable></arg> | |
736 | </cmdsynopsis> | |
737 | <para> | |
738 | Searches the local server or network for users that have the umodes given with + and do not have the umodes given with -. | |
739 | no-list disables the listing of matching users and only shows the count. | |
740 | list enables the listing (default). | |
741 | global extends the search to the entire network instead of local users only. | |
742 | list-max limits the listing of matching users to the given amount. | |
743 | mask causes only users matching the given nick!user@host mask | |
744 | to be selected. Only the displayed host is considered, not the | |
745 | IP address or real host behind dynamic spoofs. | |
746 | </para> | |
747 | <para> | |
748 | The IP address field contains 255.255.255.255 if the IP address | |
749 | is unknown (remote client on a TS5 server) or 0 if the IP address | |
750 | is hidden (auth{} spoof). | |
751 | </para> | |
752 | <para> | |
753 | Network searches where a listing is given or the mask option is used | |
754 | are operspy commands. | |
755 | </para> | |
756 | </sect2> | |
757 | <sect2> | |
758 | <title>CHGHOST</title> | |
759 | <cmdsynopsis> | |
760 | <command>CHGHOST</command> | |
761 | <arg choice=plain><replaceable>nick</replaceable></arg> | |
762 | <arg choice=plain><replaceable>value</replaceable></arg> | |
763 | </cmdsynopsis> | |
764 | <para> | |
765 | Set the hostname associated with a particular nick for the duration of this session. | |
766 | This command is disabled by default because of the abuse potential | |
767 | and little practical use. | |
768 | </para> | |
769 | </sect2> | |
770 | </sect1> | |
771 | <sect1 id="misccommands"> | |
772 | <title>Miscellaneous commands</title> | |
773 | <sect2> | |
774 | <title>ADMIN</title> | |
775 | <cmdsynopsis> | |
776 | <command>ADMIN</command> | |
777 | <group> | |
778 | <arg><replaceable>nick</replaceable></arg> | |
779 | <arg><replaceable>server</replaceable></arg> | |
780 | </group> | |
781 | </cmdsynopsis> | |
782 | <para> | |
783 | Shows the information in the admin{} block. | |
784 | </para> | |
785 | </sect2> | |
786 | <sect2> | |
787 | <title>INFO</title> | |
788 | <cmdsynopsis> | |
789 | <command>INFO</command> | |
790 | <group> | |
791 | <arg><replaceable>nick</replaceable></arg> | |
792 | <arg><replaceable>server</replaceable></arg> | |
793 | </group> | |
794 | </cmdsynopsis> | |
795 | <para> | |
796 | Shows information about the authors of the IRC server, and | |
797 | some information about this server instance. | |
798 | Opers also get a list of configuration options. | |
799 | </para> | |
800 | </sect2> | |
801 | <sect2> | |
802 | <title>TIME</title> | |
803 | <cmdsynopsis> | |
804 | <command>TIME</command> | |
805 | <group> | |
806 | <arg><replaceable>nick</replaceable></arg> | |
807 | <arg><replaceable>server</replaceable></arg> | |
808 | </group> | |
809 | </cmdsynopsis> | |
810 | <para> | |
811 | Shows the local time on the given server, in a human-readable format. | |
812 | </para> | |
813 | </sect2> | |
814 | <sect2> | |
815 | <title>VERSION</title> | |
816 | <cmdsynopsis> | |
817 | <command>VERSION</command> | |
818 | <group> | |
819 | <arg><replaceable>nick</replaceable></arg> | |
820 | <arg><replaceable>server</replaceable></arg> | |
821 | </group> | |
822 | </cmdsynopsis> | |
823 | <para> | |
824 | Shows version information, a few compile/config options, | |
825 | the SID and the 005 numerics. | |
826 | The 005 numeric will be remapped to 105 for remote requests. | |
827 | </para> | |
828 | </sect2> | |
829 | <sect2> | |
830 | <title>STATS</title> | |
831 | <cmdsynopsis> | |
832 | <command>STATS</command> | |
833 | <arg><replaceable>type</replaceable></arg> | |
834 | <group> | |
835 | <arg><replaceable>nick</replaceable></arg> | |
836 | <arg><replaceable>server</replaceable></arg> | |
837 | </group> | |
838 | </cmdsynopsis> | |
839 | <para> | |
840 | Display various statistics and configuration information. | |
841 | </para> | |
842 | <variablelist> | |
843 | <title>Values for <replaceable>type</replaceable></title> | |
844 | <varlistentry> | |
845 | <term>A</term> | |
846 | <listitem> | |
847 | <para>Show DNS servers</para> | |
848 | </listitem> | |
849 | </varlistentry> | |
850 | <varlistentry> | |
851 | <term>b</term> | |
852 | <listitem> | |
853 | <para>Show active nick delays</para> | |
854 | </listitem> | |
855 | </varlistentry> | |
856 | <varlistentry> | |
857 | <term>B</term> | |
858 | <listitem> | |
859 | <para>Show hash statistics</para> | |
860 | </listitem> | |
861 | </varlistentry> | |
862 | <varlistentry> | |
863 | <term>c</term> | |
864 | <listitem> | |
865 | <para>Show connect blocks</para> | |
866 | </listitem> | |
867 | </varlistentry> | |
868 | <varlistentry> | |
869 | <term>d</term> | |
870 | <listitem> | |
871 | <para>Show temporary D:lines</para> | |
872 | </listitem> | |
873 | </varlistentry> | |
874 | <varlistentry> | |
875 | <term>D</term> | |
876 | <listitem> | |
877 | <para>Show permanent D:lines</para> | |
878 | </listitem> | |
879 | </varlistentry> | |
880 | <varlistentry> | |
881 | <term>e</term> | |
882 | <listitem> | |
883 | <para>Show exempt blocks (exceptions to D:lines)</para> | |
884 | </listitem> | |
885 | </varlistentry> | |
886 | <varlistentry> | |
887 | <term>E</term> | |
888 | <listitem> | |
889 | <para>Show events</para> | |
890 | </listitem> | |
891 | </varlistentry> | |
892 | <varlistentry> | |
893 | <term>f</term> | |
894 | <listitem> | |
895 | <para>Show file descriptors</para> | |
896 | </listitem> | |
897 | </varlistentry> | |
898 | <varlistentry> | |
899 | <term>g</term> | |
900 | <listitem> | |
901 | <para>Show pending glines</para> | |
902 | </listitem> | |
903 | </varlistentry> | |
904 | <varlistentry> | |
905 | <term>G</term> | |
906 | <listitem> | |
907 | <para>Show active glines</para> | |
908 | </listitem> | |
909 | </varlistentry> | |
910 | <varlistentry> | |
911 | <term>h</term> | |
912 | <listitem> | |
913 | <para>Show hub_mask/leaf_mask</para> | |
914 | </listitem> | |
915 | </varlistentry> | |
916 | <varlistentry> | |
917 | <term>i</term> | |
918 | <listitem> | |
919 | <para>Show auth blocks, or matched auth blocks</para> | |
920 | </listitem> | |
921 | </varlistentry> | |
922 | <varlistentry> | |
923 | <term>k</term> | |
924 | <listitem> | |
925 | <para>Show temporary K:lines, or matched temporary K:lines</para> | |
926 | </listitem> | |
927 | </varlistentry> | |
928 | <varlistentry> | |
929 | <term>K</term> | |
930 | <listitem> | |
931 | <para>Show permanent K:lines, or matched permanent K:lines</para> | |
932 | </listitem> | |
933 | </varlistentry> | |
934 | <varlistentry> | |
935 | <term>l</term> | |
936 | <listitem> | |
937 | <para> | |
938 | Show hostname and link information about the given nick. | |
939 | With a server name, show information about opers and servers | |
940 | on that server; opers also get information about all local users | |
941 | if they query their own server. | |
942 | </para> | |
943 | </listitem> | |
944 | </varlistentry> | |
945 | <varlistentry> | |
946 | <term>L</term> | |
947 | <listitem> | |
948 | <para>Like l, but show IP address instead of hostname</para> | |
949 | </listitem> | |
950 | </varlistentry> | |
951 | <varlistentry> | |
952 | <term>m</term> | |
953 | <listitem> | |
954 | <para>Show commands and their usage statistics (total counts, total bytes, counts from server connections)</para> | |
955 | </listitem> | |
956 | </varlistentry> | |
957 | <varlistentry> | |
958 | <term>n</term> | |
959 | <listitem> | |
960 | <para>Show blacklist blocks (DNS blacklists) with hit counts.</para> | |
961 | </listitem> | |
962 | </varlistentry> | |
963 | <varlistentry> | |
964 | <term>o</term> | |
965 | <listitem> | |
966 | <para>Show operator blocks</para> | |
967 | </listitem> | |
968 | </varlistentry> | |
969 | <varlistentry> | |
970 | <term>p</term> | |
971 | <listitem> | |
972 | <para>Show logged on network operators which are not set AWAY.</para> | |
973 | </listitem> | |
974 | </varlistentry> | |
975 | <varlistentry> | |
976 | <term>P</term> | |
977 | <listitem> | |
978 | <para>Show listen blocks</para> | |
979 | </listitem> | |
980 | </varlistentry> | |
981 | <varlistentry> | |
982 | <term>q</term> | |
983 | <listitem> | |
984 | <para>Show temporarily resv'ed nicks and channels</para> | |
985 | </listitem> | |
986 | </varlistentry> | |
987 | <varlistentry> | |
988 | <term>Q</term> | |
989 | <listitem> | |
990 | <para>Show permanently resv'ed nicks and channels</para> | |
991 | </listitem> | |
992 | </varlistentry> | |
993 | <varlistentry> | |
994 | <term>r</term> | |
995 | <listitem> | |
996 | <para>Show resource usage by the ircd</para> | |
997 | </listitem> | |
998 | </varlistentry> | |
999 | <varlistentry> | |
1000 | <term>t</term> | |
1001 | <listitem> | |
1002 | <para>Show generic server statistics</para> | |
1003 | </listitem> | |
1004 | </varlistentry> | |
1005 | <varlistentry> | |
1006 | <term>u</term> | |
1007 | <listitem> | |
1008 | <para>Show server uptime</para> | |
1009 | </listitem> | |
1010 | </varlistentry> | |
1011 | <varlistentry> | |
1012 | <term>U</term> | |
1013 | <listitem> | |
1014 | <para>Show shared (c), cluster (C) and service (s) blocks</para> | |
1015 | </listitem> | |
1016 | </varlistentry> | |
1017 | <varlistentry> | |
1018 | <term>v</term> | |
1019 | <listitem> | |
1020 | <para>Show connected servers and brief status</para> | |
1021 | </listitem> | |
1022 | </varlistentry> | |
1023 | <varlistentry> | |
1024 | <term>x</term> | |
1025 | <listitem> | |
1026 | <para>Show temporary X:lines</para> | |
1027 | </listitem> | |
1028 | </varlistentry> | |
1029 | <varlistentry> | |
1030 | <term>X</term> | |
1031 | <listitem> | |
1032 | <para>Show permanent X:lines</para> | |
1033 | </listitem> | |
1034 | </varlistentry> | |
1035 | <varlistentry> | |
1036 | <term>y</term> | |
1037 | <listitem> | |
1038 | <para>Show class blocks</para> | |
1039 | </listitem> | |
1040 | </varlistentry> | |
1041 | <varlistentry> | |
1042 | <term>z</term> | |
1043 | <listitem> | |
1044 | <para>Show memory usage statistics</para> | |
1045 | </listitem> | |
1046 | </varlistentry> | |
1047 | <varlistentry> | |
1048 | <term>Z</term> | |
1049 | <listitem> | |
1050 | <para>Show ziplinks statistics</para> | |
1051 | </listitem> | |
1052 | </varlistentry> | |
1053 | <varlistentry> | |
1054 | <term>?</term> | |
1055 | <listitem> | |
1056 | <para>Show connected servers and sendq information about them</para> | |
1057 | </listitem> | |
1058 | </varlistentry> | |
1059 | </variablelist> | |
1060 | </sect2> | |
1061 | <sect2> | |
1062 | <title>WALLOPS</title> | |
1063 | <cmdsynopsis> | |
1064 | <command>WALLOPS</command> | |
1065 | <arg choice=plain>:<replaceable>message</replaceable></arg> | |
1066 | </cmdsynopsis> | |
1067 | <para> | |
1068 | Sends a WALLOPS message to all users who have the +w umode set. This is for | |
1069 | things you don't mind the whole network knowing about. | |
1070 | </para> | |
1071 | </sect2> | |
1072 | <sect2> | |
1073 | <title>OPERWALL</title> | |
1074 | <cmdsynopsis> | |
1075 | <command>OPERWALL</command> | |
1076 | <arg choice=plain>:<replaceable>message</replaceable></arg> | |
1077 | </cmdsynopsis> | |
1078 | <para> | |
1079 | Sends an OPERWALL message to all opers who have the +z umode set. +z is restricted, | |
1080 | OPERWALL should be considered private communications. | |
1081 | </para> | |
1082 | </sect2> | |
1083 | </sect1> | |
1084 | </chapter> | |
1085 | <!-- Keep this comment at the end of the file | |
1086 | Local variables: | |
1087 | mode: sgml | |
1088 | sgml-omittag:t | |
1089 | sgml-shorttag:t | |
1090 | sgml-namecase-general:t | |
1091 | sgml-general-insert-case:lower | |
1092 | sgml-minimize-attributes:nil | |
1093 | sgml-always-quote-attributes:t | |
1094 | sgml-indent-step:2 | |
1095 | sgml-indent-data:t | |
1096 | sgml-parent-document: ("charybdis-oper-guide.sgml" "book") | |
1097 | sgml-exposed-tags:nil | |
1098 | sgml-local-ecat-files:nil | |
1099 | fill-column:105 | |
1100 | End: | |
1101 | --> |