1 03d5fd6c 2002-12-18 alex # $Id: sample-ngircd.conf,v 1.4 2002/12/18 12:19:07 alex Exp $
4 bf84670a 2002-11-08 alex # This is a sample configuration for the ngIRCd, which must adept to the
5 bf84670a 2002-11-08 alex # local preferences and needs.
7 bf84670a 2002-11-08 alex # Comments are started with "#" or ";".
9 bf84670a 2002-11-08 alex # Author: Alexander Barton, <alex@barton.de>
10 bf84670a 2002-11-08 alex # Translation by Ilja Osthoff, <ilja@glide.ath.cx>
15 bf84670a 2002-11-08 alex # In the [global] section of this file, there is the place of the
16 bf84670a 2002-11-08 alex # main server configuration. Needed is only the variable "Name",
17 bf84670a 2002-11-08 alex # Info you can adjust, if you like to. For all the others variables,
18 bf84670a 2002-11-08 alex # you can use the defaults, this means you can leave it by default.
20 bf84670a 2002-11-08 alex # Server name in the IRC-network
21 bf84670a 2002-11-08 alex Name = irc.the.net
23 bf84670a 2002-11-08 alex # Info-text of the server. This will be shown i.e. by a WHOIS- or
24 bf84670a 2002-11-08 alex # LINKS-request.
25 bf84670a 2002-11-08 alex Info = Server Info Text
27 bf84670a 2002-11-08 alex # Information about the server and administrator in the ADMIN-request
28 bf84670a 2002-11-08 alex ;AdminInfo1 = Description
29 bf84670a 2002-11-08 alex ;AdminInfo2 = Location
30 bf84670a 2002-11-08 alex ;AdminEMail = admin@irc.server
32 bf84670a 2002-11-08 alex # Ports, on which the server will listen. There may be more than
33 bf84670a 2002-11-08 alex # one port, separated with ";". (Default: 6667)
34 bf84670a 2002-11-08 alex ;Ports = 6667, 6668, 66694
36 bf84670a 2002-11-08 alex # Textfile with the "message of the day" (MOTD). This will be shown
37 bf84670a 2002-11-08 alex # on a user connection with the server.
38 bf84670a 2002-11-08 alex ;MotdFile = /usr/local/etc/ngircd.motd
40 bf84670a 2002-11-08 alex # User-ID, under which the server is started (for that the server
41 bf84670a 2002-11-08 alex # must be started with root-rights). You can use the name of the
42 bf84670a 2002-11-08 alex # user or the numerical ID.
43 bf84670a 2002-11-08 alex # ATTENTION: the configuration and the MOTD file must be readable
44 bf84670a 2002-11-08 alex # by this user, otherwise RESTART won't work!
45 bf84670a 2002-11-08 alex ;ServerUID = 65534
47 bf84670a 2002-11-08 alex # Group-ID, under which the server is running (for that the server
48 bf84670a 2002-11-08 alex # must be started with root-rights). You can use the name of the
49 bf84670a 2002-11-08 alex # group or the numerical ID.
50 bf84670a 2002-11-08 alex ;ServerGID = 65534
52 bf84670a 2002-11-08 alex # After <PingTimeout> seconds, the server will send a ping after
53 bf84670a 2002-11-08 alex # inactivity of this client.
54 bf84670a 2002-11-08 alex ;PingTimeout = 120
56 bf84670a 2002-11-08 alex # If there is an answer of a client, to which the ping was sended,
57 bf84670a 2002-11-08 alex # not after <PongTimeout> seconds, it will be disconnected.
58 bf84670a 2002-11-08 alex ;PongTimeout = 20
60 bf84670a 2002-11-08 alex # The server tries every <ConnectRetry> seconds, not yet connected
61 bf84670a 2002-11-08 alex # or not anymore connected servers to connect.
62 bf84670a 2002-11-08 alex ;ConnectRetry = 60
64 bf84670a 2002-11-08 alex # Should IRC-operators be allowed to use the MODE command even if
65 bf84670a 2002-11-08 alex # they are not(!) channel-operators?
66 bf84670a 2002-11-08 alex ;OperCanUseMode = no
68 bf84670a 2002-11-08 alex # Maximum number of simultanous connection the server is allowed
69 e65ab4a3 2002-12-14 alex # to accept (<=0: unlimited):
70 bf84670a 2002-11-08 alex ;MaxConnections = -1
72 e65ab4a3 2002-12-14 alex # Maximum number of channels a user can be member of (<=0: no limit):
73 e65ab4a3 2002-12-14 alex ;MaxJoins = 10
76 bf84670a 2002-11-08 alex # In this [operator]-section, there will be the configuration of
77 bf84670a 2002-11-08 alex # the name and password of an IRC operator. There may be more than
78 bf84670a 2002-11-08 alex # one operator-block (for each operator one).
80 bf84670a 2002-11-08 alex # ID of the operator (may be different of the nick)
81 bf84670a 2002-11-08 alex ;Name = TheOper
83 bf84670a 2002-11-08 alex # Password of the operator
84 bf84670a 2002-11-08 alex ;Password = ThePwd
87 bf84670a 2002-11-08 alex # In this [Server] section, there is the configuration of the
88 bf84670a 2002-11-08 alex # servers, which are allowed to connect to your own server.
89 bf84670a 2002-11-08 alex # There may be more than one server-block.
90 bf84670a 2002-11-08 alex # If you configured a port for the connection, then the ngIRCd
91 bf84670a 2002-11-08 alex # tries to connect to this port. If not, it waits for the other
94 bf84670a 2002-11-08 alex # Server-groups:
95 bf84670a 2002-11-08 alex # The ngIRCd allows "server-groups": that means, that you can assign
96 bf84670a 2002-11-08 alex # server-groups for every server, to which you want the ngIRCd to
97 bf84670a 2002-11-08 alex # connect to. If one server of a server-group won't answer, the
98 bf84670a 2002-11-08 alex # ngIRCd tries the next one of this group.
99 bf84670a 2002-11-08 alex # ATTENTION: Server-groups will only work if you defined a port!
101 bf84670a 2002-11-08 alex # IRC-name of the server
102 bf84670a 2002-11-08 alex ;Name = irc2.the.net
104 03d5fd6c 2002-12-18 alex # Hostname of the server
105 03d5fd6c 2002-12-18 alex ;Host = connect-to-host.the.net
107 bf84670a 2002-11-08 alex # Port of the server, to which the ngIRCd should connect. If you
108 bf84670a 2002-11-08 alex # assign no port, the ngIRCd waits for an answer of that server.
109 bf84670a 2002-11-08 alex ;Port = 6666
111 caa7049e 2002-11-19 alex # Own password for the connection. This password has to be configured
112 caa7049e 2002-11-19 alex # as "PeerPassword" on the other server.
113 caa7049e 2002-11-19 alex ;MyPassword = MySecret
115 caa7049e 2002-11-19 alex # Foreign password for this connection. This password has to be
116 caa7049e 2002-11-19 alex # configured as "MyPassword" on the other server.
117 caa7049e 2002-11-19 alex ;PeerPassword = PeerSecret
119 bf84670a 2002-11-08 alex # Group of that server (optional)
120 bf84670a 2002-11-08 alex ;Group = 123
123 bf84670a 2002-11-08 alex # In the [Channel] there can be defined "persistent channels". This
124 bf84670a 2002-11-08 alex # means, that the server creates the channel and even if all users
125 bf84670a 2002-11-08 alex # left this channel, it will persist. There may be more than one
126 bf84670a 2002-11-08 alex # block. Signed with the mode "P", which can be set or unset, like
127 bf84670a 2002-11-08 alex # normal modes.
129 bf84670a 2002-11-08 alex # Name of the channel
130 bf84670a 2002-11-08 alex ;Name = #TheName
132 bf84670a 2002-11-08 alex # Topic for the channel
133 bf84670a 2002-11-08 alex ;Topic = a great topic
135 bf84670a 2002-11-08 alex # Channel-modes
136 bf84670a 2002-11-08 alex ;Modes = tn