-
Notifications
You must be signed in to change notification settings - Fork 0
/
migwiz.cftpl
460 lines (381 loc) · 26.2 KB
/
migwiz.cftpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
######################################
# ignitionServer - ircx.conf #
# Standard Server Configuration #
######################################
# Do not play with stuff in here #
# unless you are sure you know what #
# you're doing or else you may break #
# ignitionServer! #
######################################
# ignitionServer 0.3.6 Configuration File
# Lines that begin with # are comments and IGNORED by ignitionServer!
###################################################
# $Id: migwiz.cftpl,v 1.14 2004/12/07 00:51:13 ziggythehamster Exp $
###################################################
!insertmacro generator
############[ NOTICE ]############
# WE HAVE REVERTED BACK TO C: #
# AND N: LINES! THIS MEANS THAT #
# L: LINES WILL NO LONGER WORK! #
# PLEASE READ THAT PARTICULAR #
# SECTION OF THIS FILE FOR INFO #
# ON HOW TO USE C: AND N: LINES. #
##################################
#==========================================================================#
# Basic Configuration Section #
#==========================================================================#
#[ M: Lines - Server Information ]##########################################
# M:<server address>:<network name>:<server description>:<bind address>: #
# <main port> #
############################################################################
# Here is where you put some witty description for your server. We use our #
# MasterCard joke by default, but you could put a quote, the location/name #
# of your server, etc. You also have to put the basic server info here too #
############################################################################
# Bind address is the address of the adapter to bind to. To bind to all #
# adapters (normal behavior), use *. This should only be changed if you #
# need to run ignitionServer on a specific adapter only (if, for example, #
# your server runs in a shared environment, or your version of Windows for #
# some reason doesn't allow you to bind to all adapters). If you don't #
# even know what an adapter is, perhaps you should just leave it as *. :) #
############################################################################
!insertmacro m-line
#[ A: Lines - Administrative Information ]##################################
# A:<location>:<name>:<e-mail> #
############################################################################
# This line sets the information that appears in /admin. Users use this #
# command when they need to talk to the head cheese of the server. In some #
# countries, this is required to be valid. Check your local laws. #
############################################################################
!insertmacro a-line
#[ S: Lines - Security Settings ]###########################################
# S:<MaxConn>:<MaxClones>:<MaxChansPerUser>:<NickLen>:<TopicLen>: #
# <KickLen>:<PartLen>:<KeyLen>:<QuitLen>:<MaxWhoLen>:<MaxListLen>: #
# <MaxMsgsInQueue> #
############################################################################
# The security line sets limits to the length of certian strings and #
# replies. Some do not yet apply. In any field, 0 means "infinite". #
# NOTE: MaxListLen should always be "0" unless you are 100% sure you want #
# to hide rooms! #
############################################################################
!insertmacro s-line
#[ Y: Lines - Client Class Settings ]#######################################
# Y:<ID>:<PingTime>:<FloodControl>:<MaxClients>:<SendQ> #
############################################################################
# (floodcontrol: number of seconds required between connections from the #
# class in which it applies -- should be 0 unless you know its #
# implications!) #
# You shouldn't have to change these lines. If you do, I assume you know #
# what they do... About the only thing you may want to tweak is ping time, #
# which is usually 180. In PingTime/FloodControl/MaxClients, 0 means #
# infinite. #
############################################################################
!insertmacro y-line
#[ I: Lines - Invite Lines ]################################################
# I:<IP mask>:<opt. password>:<hostmask>::<opt. connection class> #
############################################################################
# WARNING! DO NOT CHANGE THIS LINE UNLESS YOU ABSOLUTELY, POSITIVELY KNOW #
# WHAT YOU ARE DOING! CHANGING THIS GENERIC INVITE (I:) LINE MAY CAUSE #
# YOUR SERVER TO BE UNABLE TO ACCEPT INCOMING CONNECTIONS! AGAIN, DO NOT #
# CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING! #
############################################################################
# I: lines assign users to Y: lines. You can assign based on IP address or #
# hostmask. You can also say that people that match certain I: lines also #
# need to specify a password (i.e. allow your local network in, but #
# require a password for everyone else). If you wish to match a hostmask #
# (not an IP), you need to specify "NOMATCH" as the IP to match. Host #
# masks are ignored if the IP address is not set to NOMATCH and you'll #
# probably go insane figuring this out. Wildcards are allowed in the IP #
# address. You can only match an IP mask or a host mask. You can't combine #
# the two (i.e. 12.* and *dial-access*att.net should get class 12345). You #
# must match an IP mask (12.*) or a host mask (*att.net). If X:CRYPT is #
# enabled, the password must be encrypted in the format specified in #
# X:CRYPT. You can use PassCrypt or the server command /passcrypt to do #
# this. #
#~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*#
# Ex: I:NOMATCH:aol:*aol.com::100 - require a password for all AOL users #
############################################################################
!insertmacro i-line
#==========================================================================#
# Logins, UserIDs, Connections, and other related tidbits #
#==========================================================================#
#[ O: Lines - Operator Lines ]##############################################
# O:<hostmask>:<password>:<username>:<operator flags>:<connection class> #
############################################################################
#################### NEW INSTALLATIONS: PASS IS "admin" ####################
############################################################################
# Use included PassCrypt to generate passwords or log on to your server #
# and type /passcrypt MD5 password (replace password with your password) #
############################################################################
# NOTE: Encrypted passwords only encrypt the passwords on disk - /oper'ing #
# is still the same (/oper user pass).. And when opering, you do NOT use #
# the encrypted password (in the default case, you'd still go #
# /oper admin admin). #
############################################################################
# DO NOT FORGET! CHANGE THE DEFAULT PASSWORD FROM "admin" TO SOMETHING #
# ELSE! YOUR SERVER **WILL** BE COMPROMISED IF YOU FAIL TO DO THIS! #
############################################################################
# NEW! You don't have to include a lot of modes now! Here's the simplified #
# list: #
# N - Network Administrator (NOocekbBKCRDWH) #
# O - Global Operator (OocekbBKCW) #
# o - Local Operator (ocekbB) #
# #
# In addition, you may want to add the following modes: #
# s - Gets Server Messages (good idea) #
# w - Gets Wallops (good idea) #
# P - Is High Protected (see X:HIGHPROT) #
# p - Is Low Protected (see X:LOWPROT) #
# #
# The following modes may or may not be automatically given to a specific #
# oper level (for security reasons), but are given automatically to some #
# oper levels: #
# W - Can send WallOps (automatic for global oper and netadmin, unless #
# mode expansion is off [then it's netadmin only]) #
# H - Can /chghost and /chgnick (automatic for netadmin) #
# #
# Of course, you can always stick with the old long list of modes, if you #
# like (or if you want to customize a particular user's privledges). To do #
# this, prefix the list of modes with a dash (-). For example, to make a #
# user a local operator only, their O: line might look like this: #
# O:*:password:user:-o:10. The - simply tells ignitionServer to switch off #
# mode expansion. #
############################################################################
# Please note: NetAdmin gets access to some really powerful commands, so #
# do NOT just copy and paste the default modes from the default O: line #
# for the rest of your opers! #
############################################################################
!insertmacro o-line
#[ V: Lines - Virtual Hostname Lines ]######################################
# V:<Virtual Host>:<Username>:<Password>:<Host Mask> #
############################################################################
#################### NEW INSTALLATIONS: PASS IS "admin" ####################
############################################################################
# Virtual hosts give users a special hostname instead of the one they'd #
# normally get when they logon. To activate their V-Host, they should type #
# /vhost <Username> <Password>, replacing <Username> with their username #
# (specified here) and <Password> with their password (specified here). #
# If X:CRYPT is enabled, the password must be encrypted using the right #
# encryption specified. #
############################################################################
!insertmacro v-line
#[ K: Lines - Kill Lines ]##################################################
# K:<Host Mask>:<Message>:<Ident Mask> #
############################################################################
# Kill lines automatically kill people who match them. For example, a K: #
# line of K:*aol.com:Use your free minutes elsewhere:* kills all AOL users #
# who connect to your server. You could also kill them based on what their #
# ident is. This could be used to ban a floodbot that uses a known ident. #
# For example, K:*:Your ident matches a floodbot:*LEET*BOT* would kill any #
# user who has an ident containing LEET and BOT (in that order). This line #
# would match LEET_BOT, LEET1337BOT, LEETBOT66, and many many other things #
# (the allowed wildcards are * [any number of characters] and ? [any #
# single character]). There are no default K: lines because banning people #
# in a default configuration is discriminative ;). #
############################################################################
#[ Q: Lines - Nickname Quarantines ]########################################
# Q::<Message>:<Nickname Mask> #
############################################################################
# These lines prevent certain nicknames (or wildcarded nicknames) from #
# being used by normal users. In the future, this line will also support #
# "jupiters", which basically prevent people from joining certain channels #
# or masks of channels (prevents some bot hives). The format of this line #
# is simple and should be easy to figure out based on the examples. #
############################################################################
!insertmacro q-line
#[ Z: Lines - Connection Filters ]##########################################
# Z:<IP Address Mask>:<Message> #
############################################################################
# These lines filter certain IP addresses from your server. Let's say that #
# you know that AT&T's IP addresses are 12.*.*.* (they are ;)), and you #
# wanted all AT&T users to be unable to connect and chat. You'd use a Z: #
# line. You could also use a Z: line to stop some lame server flooders for #
# a while (you know, if only 12.34.56.* is flooding you). You can NOT use #
# hostnames, nicknames, or idents. Z: lines ONLY match IP addresses. As #
# with K: lines, there are no default ones. #
############################################################################
!insertmacro z-line
#[ P: Lines - Additional Ports ]############################################
# P::<Adapter Address>::<Port Options>:<Port> #
############################################################################
# With this line, you can make the server listen on different ports and on #
# different adapters. The adapter address is simply the address of that #
# adapter, as you would see in ipconfig (winipcfg on 9x/Me). If you leave #
# the adapter address blank (P::::*:1234), it automatically binds to all #
# adapters. It is also believed that if the adapter address is 127.0.0.1, #
# it only binds to your local system (so you could connect on a different #
# port from your own system). However, I'm not 100% sure (and haven't #
# really tested it). At this time, Port Options must be * (that's a star). #
# In the future, there'll be options like SSL, GZIP, and possibly P10. At #
# this time, however, you need to put *. #
#~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*#
# Ex: P::192.168.0.1::*:99 -- binds to the adapter 192.168.0.1 on port 99 #
############################################################################
!insertmacro p-line
#[ Server Links (C: and N: lines) ]#########################################
# C:<Server Address>:<Password>:<Server Name>:<Port>:<Connection Class> #
# N:<Server Address>:<Password>:<Server Name>::<Connection Class> #
############################################################################
# These lines enable servers to link to eachother. A C: line allows your #
# IRC Operators to /connect to the server listed in the C: line. In most #
# cases, it is required for linking. A N: line allows your server to #
# accept connections from the server specified in the line. In all cases, #
# it is required. If you are not sure how you'll be setting up your #
# network, use both C: and N: lines. Both lines must have the same #
# address, server name, and connection class. The password may be #
# different if you wish, but make sure you set up the other end of the #
# connection opposite. The password that the server expects when linking #
# is the password in the N: line. The password that the server sends when #
# linking is the password in the C: line. When you link multiple servers, #
# the C: and N: lines must point to the opposite server. For example, if #
# this server is server1.mychat.com and you want to link to #
# server2.mychat.com, this server's C: and N: lines should refer to #
# server2.mychat.com (C:blah:1234:server2.mychat.com......). #
# server2.mychat.com's C: and N: lines should refer to this server. IRC #
# Operators (with global/local routing privileges) can make one server #
# connect to the other by typing /connect other_server_name_here. #
#~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*#
# Ex: C:127.0.0.1:1234:services.localhost:6667:100 #
# N:127.0.0.1:1234:services.localhost::100 #
############################################################################
!insertmacro l-line
#[ B: Lines - Bounce To Server ]############################################
# B:<Host Mask>:<Message>:<Server Name>:<Port>: #
############################################################################
# B: lines list alternate servers that users matching the hostmask should #
# use instead of this server. This is useful if you want to temporarily #
# disable the server or redirect certain clients to servers that are #
# geographically closer to them. If "Host Mask" is left blank, the server #
# will redirect clients to the server specified when the server gets full. #
# If you want to return a list of servers to the client, specify multiple #
# servers with the same hostname mask. If a client matches more than one #
# hostname mask, a list will be built. For example, if a client is #
# "me.mychat.co.uk", a hostname mask of *.co.uk and a hostname mask of #
# me.* will match the user. If this is the case, the user will be told of #
# every server associated with all hostnames that the user matches (but #
# not if there's a duplicate). The message from the first B: line the user #
# matches will be the message sent to the user. #
#~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*#
# Ex: B:*.co.uk:Please use our UK server:uk.mychat.com:6667 #
# Ex: B::The server is full, please use server 2:server2.mychat.com:6667 #
############################################################################
!insertmacro b-line
#==========================================================================#
# eXtended Configuration Section #
#==========================================================================#
#-#----------------------------------------------------------------------#-#
#-# Note about eXtended Configuration Lines (X: lines): X: lines were #-#
#-# created so we could have a simpler way to define extra features #-#
#-# without cramming them on one line or using all of the letters #-#
#-# (or worse, using a C-style configuration). The basic format of the #-#
#-# X: line is: #-#
#-# X:SECTION:PARAMETERS:PARAMETERS:... and so on. Most commands only #-#
#-# have X:SECTION:PARAMETER and it's usually only 0 or 1. #-#
#-#----------------------------------------------------------------------#-#
#-{MACROS}-----------------------------------------------------------------+
# You can use some "macros" in some free text areas, like the custom auth |
# notice. This is a list of them. |
#==========================================================================+
# <$NET$> - Inserts the network name specified in the M: line |
# <$COLON$> - Inserts a : (colon), since you can't use this character |
# normally. |
#-{MACROS}-----------------------------------------------------------------+
#/die and /restart passwords
X:DIEPASS:die
X:RESTARTPASS:restart
# *** ATTENTION! IF YOU ARE GETTING "SERVER MISCONFIGURED", CHANGE THE 1 TO A 0!
#DIE - Set to anything besides "1"
#(this is to force you to configure your server!)
X:DIE:1
#OFFLINE MODE - Set to 1 to enable - 0 to disable.
X:OFFLINEMODE:0
#OFFLINE MESSAGE - Message to use when killing during Offline Mode
X:OFFLINEMESSAGE:This server is offline. Sorry.
#CNOTICE - Custom Auth Notice... Custom Message to send to connecting users.
X:CNOTICE:Welcome to the <$NET$> IRC Network, powered by ignitionServer<$COLON$> http<$COLON$>//www.ignition-project.com/ignition/server/
#MASKDNS - Provides security for your users by masking their DNS
#Options
#0 - No Mask (default)
#1 - MD5 Sum Mask (of DNS)
#2 - HostName Mask (X:HOSTMASK) Must be set otherwise it will use "no mask" option
X:MASKDNS:0
#HIGHPROT & LOWPROT - Selects mode to be set on join for opers with P(High Prot) or p(Low Prot)
#Options
#Q - Auto Set +q on-oper-join
#O - Auto set +o on-oper-join
#V - Auto set +v on-oper-join
#NORM - No mode set on-oper-join
X:HIGHPROT:Q
X:LOWPROT:O
#HOSTMASK - Used for MASKDNS(option 2). Users will get mask of <NickName>.<HOSTMASK> e.g. DigiGuy.Users.ignition-project.com
X:HOSTMASK:users.localhost
#SERVERLOCATION - Lets you specify where the server is located (many times this is the same as the admin location.. however, this could be more generalized [like Oklahoma, US])
X:SERVERLOCATION:Unique Location, The World
#CRYPT - PassWord encryption (Set to "0" for None or "MD5" for MD5 encryption, use /passcrypt or ignitionServer PassCrypt to generate password)
X:CRYPT:MD5
#REMOTEPASS - Remote administration password -- coming soon :) [just ignore this]
X:REMOTEPASS:098f6bcd4621d373cade4e832627b4f6
#ALLOWMULTIPLE - Allow multiple instances of ignitionServer; ADVANCED FEATURE! Only set to 1 if you know what you're doing.
#notes: You should not set this to 1 unless you are wanting to run more than one copy of ignitionServer on the same machine. Additionally, the monitor
# will not function as expected when this is on. Again, it is an ADVANCED FEATURE and is only designed for system administrators who know what they're doing.
# (you could use this to bind different servers to different interfaces and essentially serve infinite servers on infinite IPs.. if you were a web host
# for example)
X:ALLOWMULTIPLE:1
#GAGMODE - Set how gag (usermode +z) functions
# 0 - Do not show the user getting gagged that they are getting gagged (IRCX defined method)
# 1 - Show the user getting gagged they are getting gagged
# 2 - Do not show the user getting gagged and do not bounce messages (the user will not see any messages bounce and will likely blame it on the server)
X:GAGMODE:0
#IRCXMETHOD - Set how to send IRCX-specific raws
# 0 - Use "Transitional" compatibility -- for replies that have an IRCX equavilent, send the RFC1459 reply
# 1 - Use "IRCX" compatibility -- for replies that have an IRCX equavilent, send RFC1459 clients the RFC1459 reply and IRCX clients the IRCX reply
# 2 - Both -- send both the IRCX reply and the RFC1459 reply to all clients. Ensures the most compatibility, but causes some IRCX-compatible clients to show messages twice (mIRC for example)
#- NOTE -
#When setting MODE +k, it will always get sent. In this case, only both and IRCX/Strict have an effect (when setting PROP MEMBERKEY, however, it is normal)
X:IRCXMETHOD:0
#REGCHANMODE - Set whether or not registered channels are handled as persistant
# 0 - Registered channels always stay open
# 1 - Registered channels never stay open
# 2 - Registered channels with mode +R always stay open; all others do not
X:REGCHANMODE:0
#ERRORLOG - Set options that enable or disable the error log (outputs to errorlog.txt)
# 0 - Disable the error log (not reccommended)
# 1 - Enable the error log (only logs fatal exceptions and regular errors; recommended)
X:ERRORLOG:1
#AUTOVHOST - Automatically give operators VHosts if a VHost exists with the same username and password as the oper
# 0 - Disable AutoVHost
# 1 - Enable AutoVHost (if a VHost doesn't exist for a particular operator, they won't get a VHost)
X:AUTOVHOST:1
#CREATEMODE - Control who can create channels
# 0 - (default) All users can create channels
# 1 - Only IRC operators can create channels
# 2 - Only IRC operators and +r (registered/identified) users can create channels
X:CREATEMODE:0
#MONITORIP - (advanced) Change the IP address that the server expects the monitor from. Mostly useful for Windows Server 2003 users.
# Default: 127.0.0.1
# Change ONLY if you know what you're doing!
X:MONITORIP:127.0.0.1
#STATICCHAN - Create static channels that can be automatically joined when users connect
# Parameters:
# X:STATICCHAN:#ChannelName:AutoJoin
# If AutoJoin is 0, the channel is not automatically joined
# If AutoJoin is 1, the channel is joined automatically when users connect
# You can have more than one static channel, just add more than one X:STATICCHAN line. Here is an example:
# X:STATICCHAN:#Lobby:1
# X:STATICCHAN:#Test:0
# Static channels should be used sparingly, because they aren't as dynamic as regular channels. Static channels do not have
# owners/hosts/voices, but owners who have lowprot/highprot get whatever mode is associated with lowprot/highprot. For example,
# if X:HIGHPROT: is set to Q, opers with +P will be an owner in a static channel. Basically, static channels are for channels
# that you want to be mainly oper-controlled, and that you optionally want to be joined when people connect. A good use for static
# channels are lobby channels.
#LOGGING - Configure what stuff is logged
# 0 - (default) log nothing
# 1 - Log channel conversations
# 2 - Log channel conversations and whispers
# 3 - Log channel conversations, channel whispers, and private messages
# WARNING: IT MAY BE ILLEGAL IN YOUR STATE OR COUNTRY
# TO LOG CHATS. PLEASE CONSULT A LEGAL ADVISOR BEFORE
# ENABLING THIS FEATURE.
# NOTE: Only conversations and JOIN/PART/KICK are logged at this time.
X:LOGGING:0
# Congratulations! You're done!