-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdefender.conf.example
executable file
·280 lines (210 loc) · 6.33 KB
/
defender.conf.example
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
#!/usr/bin/perl defender.pl
# -----------------------------------------------------------------------------#
# #
# IRC Defender example config #
# --------------------------- #
# #
# Please read all of the config file before you run the program. Save your #
# live config file as 'defender.conf' in the same directory as the defender.pl #
# script. #
# #
# You may use the construct %xx to insert any non-ascii character into the #
# config file, e.g. %3D inserts a literal "=" symbol. #
# You must not have spaces between the variable name, the = symbol, and its #
# value. #
# #
# Warning! DO NOT EDIT THIS TEXT FILE IN A WINDOWS EDITOR! EDIT IT IN YOUR #
# SHELL OR IT WILL FAIL TO READ CORRECTLY AND YOU WILL GET ALL KINDS OF #
# STRANGE ERRORS! YOU HAVE BEEN WARNED! #
# #
# #
# -----------------------------------------------------------------------------#
# ****************************************
# Server settings
# The following settings control linking
# defender and the control channel. If
# you change any of these you MUST restart
# defender for them to take effect!
# ****************************************
# -----
# Server to connect to
# -----
server=localhost
# -----
# Port number of server
# -----
port=7025
# -----
# IP to bind socket to
# -----
bind=127.0.0.1
# -----
# Which protocol module to use, server is recommended, client supports
# unrealircd
# -----
linktype=unreal
# -----
# Server link password, or client connect password if on a restricted I: line
# -----
password=linkage
# -----
# Server to connect as, you probably should U: line this if possible
# -----
servername=defender.connecttek.net
# -----
# Server numeric for unrealircd and p10. Read the README!
# -----
numeric=000
# -----
# Server SID for ts6 and InspIRCd 1.2/2.x
# -----
sid=0DE
# -----
# Server description
# -----
serverdesc=IRC Defender Server
# **************************************
# Client settings
# The following settings control various
# things with the defender pseudoclient.
# **************************************
# -----
# Client's nickname
# -----
botnick=Defender
# -----
# Hostname used for pseudoclient
# -----
domain=connecttek.net
# -----
# Client's fullname (GECOS)
# -----
fullname=IRC Defender
# -----
# quit message on SIGKILL
# -----
quitmsg=Defender terminating
# -----
# secured channel to join
# As there is no way to control who can/can't say things to defender in the
# control channel, it is recommended you protect the channel with services
# and set it oper-only
# -----
channel=#services
# ***********************************
# Global module settings
# These settings relate to parameters
# used by all modules, and also what
# modules are loaded.
# ***********************************
# -----
# scanning modules to load, separated by commas. See Modules/Scan directory
# -----
modules=fyle,cgiirc,regexp_akill,version,conn_average
# -----
# Data directory, defaults to current directory if not defined
# -----
datadir=/home/path/to/data/defender
# -----
# Logging module name (default is Text, for logging to file)
# -----
logto=Text
logpath=/home/brain/defender/defender.log
# -----
# email given in /kill messages
# -----
# -----
# Network name, used in kills and messages
# -----
networkname=Misconfigured
# -----
# Paranoia level. Set this to the maximum allowed score. It is *STRONGLY*
# recommended you leave this at the default value of 7.
# this is used by the fyle module only presently, but other modules may
# use it some day.
# -----
paranoia=7
# -----
# This should contain your support channel's name
# -----
supportchannel=#support
# -----
# url to refer to for how the system works, given in /kill messages
# -----
url=http://this.network.misconfigured.defender.so.you.are.pointed.to.spartairc.org/
# **************************************
# Module parameters
# These settings control various modules
# **************************************
# -----
# Auth module Type
# Note: as of right now this has no effect.
# -----
authtype=basic
# -----
# Module: conn_average
# how many connections per min counts as an alert
# -----
conn_average_max=3
# -----
# Module: flood
# How many joins/parts trigger actions and the size of the checking interval
# -----
flood_log=1
flood_globops=2
flood_lock=3
flood_interval=5
# -----
# Module: nickflood
# How many nickchanges are a flood
# -----
nickflood_limit=3
# -----
# Module: verbose
# Set this to 1 if the colors in the control channel are ugly. This turns off
# the colors.
# -----
ugly=0
# ----
# Module: version
# Do you want to ban on one word version replies? This can have a lot of false
# positives, so default no.
# Change to 1 for yes
# ----
OneWord=0
# ----
# Module: version
# This setting enables version reporting to the control channel without the
# need to load the verbose module.
# Disabled by default, change to 1 to enable.
# ----
version_verbose=0
# ------------------------ Deprecated ---------------------------
#
# These values are used only by the client module,
# and can therefore be considered deprecated. However
# if you are behind the times enough to be using the
# client module (or this is all that is available to
# you) then you MUST define these values.
#
# -----
# name to /oper as, used only by the client module
# -----
#
# opername=myoper
#
# -----
# password to use in /oper, used only by the client
# module
# -----
#
# operpass=my_password_here
#
# -----
# Nickserv password to identify to nickserv, used
# only by the client module
# -----
#
# nickserv=my_nspass
#