-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestbot.conf
executable file
·379 lines (288 loc) · 6.82 KB
/
testbot.conf
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
# /path/to/executable/eggdrop
# ^- This should contain a fully qualified path to your Eggdrop executable.
#
# $Id: eggdrop.conf,v 1.66 2010/07/05 12:07:05 pseudo Exp $
#
##### BASIC SETTINGS #####
# This setting defines the username the bot uses on IRC. This setting has
# no effect if an ident daemon is running on your bot's machine.
set hostname [exec hostname];
set kernel [exec uname -r];
set dns-servers {};
#if {${dns-servers} eq {}} {
# putlog "No DNS servers detected, setting manually";
# set dns-servers "8.8.8.8 4.2.2.2";
#}
set username $hostname;
set admin "Eggheads"
set network "Eggheads"
set timezone "EST"
set offset "5"
#set env(TZ) "$timezone $offset"
#set my-hostname "virtual.host.com"
#set my-ip "99.99.0.0"
#set my-ipv6 "2001:db8::c001:b07"
#set listen-addr "99.99.0.0"
#set listen-addr "2001:db8:618:5c0:263::"
#set listen-addr "virtual.host.com"
set prefer-ipv6 0
#addlang "english"
##### LOG FILES #####
set max-logs 5
set max-logsize 0
set quick-logs 0
set raw-log 1
logfile mco * "eggheads.log"
set log-time 1
set timestamp-format {[%H:%M:%S]}
set keep-all-logs 0
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 1
##### CONSOLE #####
set console "* *"
##### FILES AND DIRECTORIES #####
set userfile "Eggheads.user"
set pidfile "Eggheads.pid"
set sort-users 0
set help-path "help/"
set text-path "text/"
set temp-path "/tmp"
set motd "text/motd"
set telnet-banner "text/banner"
set userfile-perm 0600
##### BOTNET/DCC/TELNET #####
#set botnet-nick "LlamaBot"
listen 4773 all
set remote-boots 2
set share-unlinks 1
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 1
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 3
##### SSL SETTINGS #####
set ssl-privatekey "eggdrop.key"
set ssl-certificate "eggdrop.crt"
#set ssl-verify-depth 9
set ssl-capath "/etc/ssl/"
#set ssl-cafile ""
#set ssl-ciphers ""
#set ssl-cert-auth 0
#set ssl-verify-dcc 0
#set ssl-verify-bots 0
#set ssl-verify-clients 0
##### MORE ADVANCED SETTINGS #####
#set reserved-portrange 2010:2020
set ignore-time 15
set hourly-updates 00
set owner "eggdrop"
set notify-newusers "$owner"
set default-flags "hp"
set whois-fields "url birthday"
set die-on-sighup 0
set die-on-sigterm 1
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
set must-be-owner 1
unbind dcc n simul *dcc:simul
set max-socks 100
set allow-dk-cmds 1
set dupwait-timeout 5
set strict-host 1
set cidr-support 0
##### MODULES #####
set mod-path "modules/"
#### BLOWFISH MODULE ####
loadmodule blowfish
#### DNS MODULE ####
loadmodule dns
#### CHANNELS MODULE ####
loadmodule channels
set chanfile "Eggheads.chan"
set force-expire 0
set share-greet 0
set use-info 1
set allow-ps 0
set global-flood-chan 15:60
set global-flood-deop 3:10
set global-flood-kick 3:10
set global-flood-join 5:60
set global-flood-ctcp 3:60
set global-flood-nick 5:60
set global-aop-delay 0:0
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-type 3
set global-ban-time 120
set global-exempt-time 60
set global-invite-time 60
set global-chanset {
-autoop -autovoice
-bitch +cycle
+dontkickops +dynamicbans
+dynamicexempts +dynamicinvites
-enforcebans -greet
-inactive -nodesynch
-protectfriends +protectops
-revenge -revengebot
-secret -seen
+shared -statuslog
+userbans +userexempts
+userinvites -protecthalfops
-autohalfop -static
}
#channel add #lamest
#### SERVER MODULE ####
loadmodule server
# What is your network?
# 0 = EFnet
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = +e/+I/max-modes 20 Hybrid
# 5 = Others
set net-type 0
set nick "PatchyTheBot"
set altnick "${username}-??"
set realname "$username"
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
}
set default-port 6667
set servers {
chat.freenode.net:6667
}
set msg-rate 2
set keep-nick 1
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 5:60
set flood-ctcp 3:60
set never-give-up 1
set server-cycle-wait 60
set server-timeout 60
set servlimit 0
set check-stoned 1
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set exclusive-binds 0
set double-mode 1
set double-server 1
set double-help 1
set optimize-kicks 1
set stack-limit 4
### SERVER MODULE - OTHER NETWORKS (net-type 5) ###
#set check-mode-r 1
set nick-len 30
#### CTCP MODULE ####
loadmodule ctcp
set ctcp-mode 0
#### IRC MODULE ####
loadmodule irc
set bounce-bans 0
set bounce-exempts 0
set bounce-invites 0
set bounce-modes 0
set max-bans 100
set max-exempts 20
set max-invites 20
set max-modes 100
#set use-exempts 0
#set use-invites 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - addhost *msg:addhost
set opchars "@"
#set opchars "@&~"
set no-chanrec-info 0
### IRC MODULE - IRCnet SPECIFIC FEATURES (net-type 1) ###
# Attention: Use these settings *only* if you set 'net-type' to 1!
set prevent-mixing 1
### IRC MODULE - OTHER NETWORKS (net-type 5) ###
# Attention: Use these settings *only* if you set 'net-type' to 5!
#set kick-method 1
set modes-per-line 6
#set include-lk 1
#set use-354 0
#set rfc-compliant 1
#### TRANSFER MODULE ####
#loadmodule transfer
set max-dloads 3
set dcc-block 0
set copy-to-tmp 1
set xfer-timeout 30
#### SHARE MODULE ####
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-global 0
#set private-globals "mnot"
#set private-user 0
#set override-bots 0
#### COMPRESS MODULE ####
#loadmodule compress
set share-compressed 1
#set compress-level 9
#### FILESYSTEM MODULE ####
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024
#### NOTES MODULE ####
loadmodule notes
set notefile "Eggheads.notes"
set max-notes 50
set note-life 60
set allow-fwd 1
set notify-users 0
set notify-onjoin 1
#### CONSOLE MODULE ####
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0
#### SEEN MODULE ####
#loadmodule seen
##### SCRIPTS #####
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/dccwhois.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
#source scripts/compat.tcl
if {[info exists net-type]} {
switch -- ${net-type} {
"0" {
# EFnet
source scripts/quotepong.tcl
}
"2" {
# Undernet
source scripts/quotepass.tcl
}
}
}
#source ../autobuild/sshfarmreport.tcl
source scripts/cmd_accept.tcl
putlog "DNS Servers: ${dns-servers}";