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
|
# InspIRCd test configuration for IRC email bot testing
# Usage: inspircd --config ./inspircd.conf --nopid --nofork
<server name="localhost.test"
description="IRC Email Bot Test Server"
network="TestNet">
<admin name="Test Admin"
nick="admin"
email="admin@localhost.test">
# Listen for client connections on standard IRC port
<bind address="127.0.0.1"
port="6667"
type="clients">
# Connect class for bot connections
<connect name="BotClass"
allow="*"
maxchans="50"
commandrate="1000"
globalmax="10"
localmax="3">
# Basic server options
<options defaultmodes="nt"
casemapping="rfc1459"
maxtargets="20"
softlimit="1024"
somaxconn="128">
# Performance settings
<performance netbuffersize="10240"
maxwho="4096"
somaxconn="128"
limitsomaxconn="true">
# Basic logging
<log method="file"
type="* -USERINPUT -USEROUTPUT"
level="default"
target="inspircd.log">
# Essential modules for basic IRC functionality
<module name="userip">
<module name="sajoin">
<module name="sapart">
# Enable dynamic channel creation (default behavior)
# Channels are created when first user JOINs
# Operator configuration (optional for testing)
<oper name="testoper"
password="testpass"
host="*@localhost"
type="NetAdmin">
<type name="NetAdmin"
classes="OperChat BanControl HostChange Shutdown ServerLink">
<class name="OperChat"
commands="WALLOPS GLOBOPS">
<class name="BanControl"
commands="KILL GLINE KLINE ZLINE QLINE ELINE">
<class name="HostChange"
commands="CHGHOST CHGIDENT">
<class name="Shutdown"
commands="SHUTDOWN RESTART">
<class name="ServerLink"
commands="CONNECT SQUIT CONNECT MKPASSWD ALLTIME SWHOIS CLOSE JUMPSERVER LOCKSERV">
# End of configuration
|