Chapter 4. Operator Commands

Table of Contents
4.1. Network management commands
4.2. User management commands
4.3. Miscellaneous commands

4.1. Network management commands

Note: All commands and names are case insensitive.

4.1.1. CONNECT

CONNECT target [port] [source]

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 ircd.conf. If source is given, tell that server to initiate the connection attempt, otherwise it will be made from the server you are attached to.

4.1.2. SQUIT

SQUIT server [reason]

Closes down the link to server from the current server. If a reason is given, it will be sent out in the server notices on both sides of the link.

4.1.3. REHASH

REHASH [DNS | IP | TKLINES | GC | MOTD | OMOTD | HELP | DLINES] [server]

With no parameter given, ircd.conf will be re-read and parsed. If any arguments are given, both must be given. The server argument may be '*' for "all servers".

Parameters

DNS

Re-read /etc/resolv.conf

IP

Reload the internal IP hash. Don't use it unless you know what that means.

TKLINES

Clear all temporary K:lines

GC

Force immediate garbage collection

MOTD

Reload the MOTD file

OMOTD

Reload the operator MOTD file

HELP

Reload the help file

DLINES

Rehash D:lines

4.1.4. RESTART

Cause an immediate total shutdown of the IRC server, and restart from scratch as if it had just been executed.

4.1.5. DIE

DIE server [reason]

Immediately terminate the IRC server, after sending notices to all connected clients and servers, optionally with the given reason

Note: This command cannot be used remotely. The server name is used only as a safety measure.

4.1.6. HTM

HTM [ON | OFF | TO rate | QUIET | NOISY]

With no parameters, the server will return the current HTM rate and status

High Traffic Mode controls how the server polls it's connections. When HTM is on, the server will poll server and high-priority connections more often, making it more efficient on those connections. This will make it notably less efficient at handling normal local client traffic.

ON

Forces HTM on

OFF

Forces HTM off

TO rate

Sets the traffic level at which the server will automatically switch HTM on until things calm down

QUIET

Prevents the server from notifying the operators when HTM is activated/deactivated

NOISY

Makes the server notify operators when HTM is activated/deactivated

4.1.7. SET

SET [LOG | MAX | FLUDNUM | FLUDTIME | FLUDBLOCK | SPLITDELAY | SMALLNET | SPAMNUM | SPAMTIME] value

The SET command sets a runtime-configurable value

LOG

Logging level for ircd.log and syslog

MAX

Set the maximum connections allowed (may not exceed the compiled-in value HARD_FDLIMIT)

FLUDNUM

The number of messages needed to trip the flud alarm

FLUDTIME

Number of seconds in which FLUDNUM messages must occur to trip the flud alarm

FLUDBLOCK

Number of seconds to block fluds for. 0 disables flud checking.

DRONETIME

Number of seconds in which DRONECOUNT messages must occur to trip the drone alarm

DRONECOUNT

Number of messages which constitutes a drone flood. 0 disables drone flood checking.

SPLITDELAY

Number of minutes after a connect burst begins until joining an empty channel will give you ops

SMALLNET

Sets the number of servers which are needed to constitute "attached to the network", as opposed to "split"

SPAMNUM

Sets the number of JOINs/PARTs which constitutes a possible spambot

SPAMTIME

Staying on a channel for less than this length of time adds to the SPAMNUM count

4.1.8. HASH

Shows some internal hashing statistics. If you don't know what it means, don't use it.

4.1.9. DNS

Shows some statistics about the internal asynchronous resolver. If you don't know what it means, don't use it.