2 2981fe9e 2003-11-05 alex .\" $Id: ngircd.conf.5,v 1.12 2003/11/05 21:41:02 alex Exp $
4 8d5e1700 2003-05-02 alex .TH ngircd.conf 5 "Mai 2003" ngircd "ngIRCd Manual"
6 a004f344 2003-03-10 alex ngircd.conf \- configuration file of ngIRCd
8 ac5c8bea 2002-04-02 alex .B /usr/local/etc/ngircd.conf
9 ac5c8bea 2002-04-02 alex .SH DESCRIPTION
10 ff019dd7 2003-03-10 alex .BR ngircd.conf
11 a004f344 2003-03-10 alex is the configuration file for
12 ff019dd7 2003-03-10 alex .BR ngircd (8)
13 ff019dd7 2003-03-10 alex which you should adept to your local preferences and needs.
14 10edb7c7 2003-03-10 alex .SH "FILE FORMAT"
15 a004f344 2003-03-10 alex The file consists of sections and parameters. A section begins with the name
16 a004f344 2003-03-10 alex of the section in square brackets and continues until the next section
19 a004f344 2003-03-10 alex Sections contain parameters of the form
27 a004f344 2003-03-10 alex Any line beginning with a semicolon (';') or a hash ('#') character is
28 a004f344 2003-03-10 alex treated as a comment and ignored.
30 a004f344 2003-03-10 alex The file format is line-based - that means, each newline-terminated line
31 a004f344 2003-03-10 alex represents either a comment, a section name or a parameter.
33 a004f344 2003-03-10 alex Section and parameter names are not case sensitive.
34 10edb7c7 2003-03-10 alex .SH "SECTION OVERVIEW"
35 a004f344 2003-03-10 alex The file is separated in four blocks: [Global], [Operator], [Server],
36 a004f344 2003-03-10 alex and [Channel].
40 a004f344 2003-03-10 alex section, there is the main configuration like the server name and the
41 a004f344 2003-03-10 alex ports, on which the server should be listening. IRC operators of this
42 a004f344 2003-03-10 alex server are defined in
43 a004f344 2003-03-10 alex .I [Operator]
46 a004f344 2003-03-10 alex is the section where server links are configured. And
47 a004f344 2003-03-10 alex .I [Channel]
48 a004f344 2003-03-10 alex blocks are used to configure pre-defined ("persistent") IRC channels.
49 a004f344 2003-03-10 alex .SH [GLOBAL]
52 a004f344 2003-03-10 alex section is used to define the server main configuration, like the server
53 a004f344 2003-03-10 alex name and the ports on which the server should be listening.
56 a004f344 2003-03-10 alex Server name in the IRC network
59 a004f344 2003-03-10 alex Info text of the server. This will be shown by WHOIS and LINKS requests for
62 10edb7c7 2003-03-10 alex \fBAdminInfo1\fR, \fBAdminInfo2\fR, \fBAdminEMail\fR
63 a004f344 2003-03-10 alex Information about the server and the administrator, used by the ADMIN
67 a004f344 2003-03-10 alex Ports on which the server should listen. There may be more than one port,
68 a004f344 2003-03-10 alex separated with ';'. Default: 6667.
70 e33ab903 2003-09-11 alex \fBListen\fR
71 e33ab903 2003-09-11 alex The ip address on which the server should listen. Default is empty, so
72 e33ab903 2003-09-11 alex the server listens on all configured ip addresses and interfaces.
74 10edb7c7 2003-03-10 alex \fBMotdFile\fR
75 a004f344 2003-03-10 alex Text file with the "message of the day" (MOTD). This message will be shown
76 a004f344 2003-03-10 alex to all users connecting to the server.
78 10edb7c7 2003-03-10 alex \fBServerUID\fR
79 a004f344 2003-03-10 alex User ID under which the server should run; you can use the name of the user
80 a004f344 2003-03-10 alex or the numerical ID.
83 a004f344 2003-03-10 alex .B Attention:
85 a004f344 2003-03-10 alex For this to work the server must have been
86 a004f344 2003-03-10 alex started with root privileges! In addition, the configuration and MOTD files
87 a004f344 2003-03-10 alex must be readable by this user, otherwise RESTART and REHASH won't work!
90 10edb7c7 2003-03-10 alex \fBServerGID\fR
91 ff019dd7 2003-03-10 alex Group ID under which the ngIRCd should run; you can use the name of the
92 a004f344 2003-03-10 alex group or the numerical ID.
95 a004f344 2003-03-10 alex .B Attention:
97 a004f344 2003-03-10 alex For this to work the server must have
98 a004f344 2003-03-10 alex been started with root privileges!
101 10edb7c7 2003-03-10 alex \fBPingTimeout\fR
102 a004f344 2003-03-10 alex After <PingTimeout> seconds of inactivity the server will send a PING to
103 a004f344 2003-03-10 alex the peer to test whether it is alive or not. Default: 120.
105 10edb7c7 2003-03-10 alex \fBPongTimeout\fR
106 a004f344 2003-03-10 alex If a client fails to answer a PING with a PONG within <PongTimeout>
107 a004f344 2003-03-10 alex seconds, it will be disconnected by the server. Default: 20.
109 10edb7c7 2003-03-10 alex \fBConnectRetry\fR
110 a004f344 2003-03-10 alex The server tries every <ConnectRetry> seconds to establish a link to not yet
111 a004f344 2003-03-10 alex (or no longer) connected servers. Default: 60.
113 10edb7c7 2003-03-10 alex \fBOperCanUseMode\fR
114 a004f344 2003-03-10 alex Should IRC Operators be allowed to use the MODE command even if they are
115 a004f344 2003-03-10 alex not(!) channel-operators? Default: no.
117 10edb7c7 2003-03-10 alex \fBMaxConnections\fR
118 a004f344 2003-03-10 alex Maximum number of simultaneous connection the server is allowed to accept
119 a004f344 2003-03-10 alex (<=0: unlimited). Default: -1.
121 2981fe9e 2003-11-05 alex \fBMaxConnectionsIP\fR
122 2981fe9e 2003-11-05 alex Maximum number of simultaneous connections from a single IP address that
123 2981fe9e 2003-11-05 alex the server will accept (<=0: unlimited). This configuration options lowers
124 2981fe9e 2003-11-05 alex the risk of denial of service attacks (DoS). Default: 5.
126 10edb7c7 2003-03-10 alex \fBMaxJoins\fR
127 a004f344 2003-03-10 alex Maximum number of channels a user can be member of (<=0: no limit).
128 a004f344 2003-03-10 alex Default: 10.
129 a004f344 2003-03-10 alex .SH [OPERATOR]
130 a004f344 2003-03-10 alex .I [Operator]
131 a004f344 2003-03-10 alex sections are used to define IRC Operators. There may be more than one
132 a004f344 2003-03-10 alex .I [Operator]
133 a004f344 2003-03-10 alex block, one for each local operator.
136 a004f344 2003-03-10 alex ID of the operator (may be different of the nick name).
138 10edb7c7 2003-03-10 alex \fBPassword\fR
139 a004f344 2003-03-10 alex Password of the IRC operator.
140 a004f344 2003-03-10 alex .SH [SERVER]
141 a004f344 2003-03-10 alex Other servers are configured in
142 a004f344 2003-03-10 alex .I [Server]
143 ff019dd7 2003-03-10 alex sections. If you configure a port for the connection, then this ngIRCd
144 ff019dd7 2003-03-10 alex tries to connect to to the other server on the given port; if not, it waits
145 a004f344 2003-03-10 alex for the other server to connect.
147 a004f344 2003-03-10 alex The ngIRCd allows "server groups": You can assign an "ID" to every server
148 a004f344 2003-03-10 alex with which you want this ngIRCd to link. If a server of a group won't
149 a004f344 2003-03-10 alex answer, the ngIRCd tries to connect to the next server in the given group.
150 ff019dd7 2003-03-10 alex But ngIRCd never tries to connect to two servers with the same group ID.
152 ff019dd7 2003-03-10 alex There may be more than one
153 ff019dd7 2003-03-10 alex .I [Server]
157 a004f344 2003-03-10 alex IRC name of the server
160 a004f344 2003-03-10 alex Internet host name of the peer
163 a004f344 2003-03-10 alex Port of the server to which the ngIRCd should connect. If you assign no port
164 a004f344 2003-03-10 alex the ngIRCd waits for incoming connections.
166 10edb7c7 2003-03-10 alex \fBMyPassword\fR
167 a004f344 2003-03-10 alex Own password for this connection. This password has to be configured as
168 a004f344 2003-03-10 alex "PeerPassword" on the other server.
170 10edb7c7 2003-03-10 alex \fBPeerPassword\fR
171 a004f344 2003-03-10 alex Foreign password for this connection. This password has to be configured as
172 a004f344 2003-03-10 alex "MyPassword" on the other server.
174 10edb7c7 2003-03-10 alex \fBGroup\fR
175 a004f344 2003-03-10 alex Group of this server (optional).
176 ff019dd7 2003-03-10 alex .SH [CHANNEL]
177 ff019dd7 2003-03-10 alex Pre-defined channels can be configured in
178 ff019dd7 2003-03-10 alex .I [Channel]
179 ff019dd7 2003-03-10 alex sections. Such channels are created by the server when starting up and even
180 ff019dd7 2003-03-10 alex persist when there are no more members left.
182 a004f344 2003-03-10 alex Persistent channels are marked with the mode 'P', which can be set and unset
183 a004f344 2003-03-10 alex by IRC operators like other modes on the fly.
185 ff019dd7 2003-03-10 alex There may be more than one
186 ff019dd7 2003-03-10 alex .I [Channel]
190 a004f344 2003-03-10 alex Name of the channel
192 10edb7c7 2003-03-10 alex \fBTopic\fR
193 a004f344 2003-03-10 alex Topic for this channel
195 10edb7c7 2003-03-10 alex \fBModes\fR
196 a004f344 2003-03-10 alex Initial channel modes.
198 ff019dd7 2003-03-10 alex It's wise to use "ngircd --configtest" to validate the configuration file
199 ff019dd7 2003-03-10 alex after changing it. See
200 ff019dd7 2003-03-10 alex .BR ngircd (8)
201 ff019dd7 2003-03-10 alex for details.
203 1c6dec3f 2002-04-02 alex Alexander Barton,
204 1c6dec3f 2002-04-02 alex .UR mailto:alex@barton.de
205 1c6dec3f 2002-04-02 alex alex@barton.de
209 1c6dec3f 2002-04-02 alex .UR http://arthur.ath.cx/~alex/ngircd/
210 1c6dec3f 2002-04-02 alex http://arthur.ath.cx/~alex/ngircd/
212 ac5c8bea 2002-04-02 alex .SH "SEE ALSO"
213 ac5c8bea 2002-04-02 alex .BR ngircd (8)