-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.config
89 lines (77 loc) · 3.35 KB
/
App.config
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
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="ircd" type="cmpctircd.Configuration.CmpctConfigurationSection,cmpctircd" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
<ircd sid='auto' host='irc.cmpct.info' network='cmpct' description='The C# IRC Server'>
<sockets>
<socket type='Client' host='127.0.0.1' port='6667' tls='false'/>
<!--
<socket type='Server' host='127.0.0.1' port='6697' tls='true'/>
<socket type='Server' host='127.0.0.1' port='9000' tls='false'/>
<socket type='Server' host='127.0.0.1' port='9001' tls='true'/>
-->
</sockets>
<!-- We need the TLS certificate to be stored in PFX format -->
<!-- If you see a NotSupportedException, then this is a reminder to convert your certificate and key! -->
<!-- https://security.stackexchange.com/a/29428 -->
<!-- Simply convert using the following command: openssl pkcs12 -export -in ssl.cert -inkey private.key -out server.pfx -->
<tls file='server.pfx' password=''/>
<log>
<!-- 'type' is for where the output should be directed: Stdout, File, IRC -->
<!-- 'level' is minimum level of message to be output: Debug, Info, Warn, Error -->
<logger type="Stdout" level="Info"/>
<logger type="File" level="Warn" path="ircd.log"/>
<!-- For IRC logs... -->
<!-- 'modes' can be any valid mode string without arguments, e.g. modes="+nz" -->
<!-- TODO: a recommended setting is modes="+nzO" once +O (oper-only) is implemented -->
<!--
<logger type="IRC" level="Debug" channel="#debug" modes="+nz"/>
-->
</log>
<advanced
resolveHostnames="true"
requirePongCookie="true"
pingTimeout="120"
maxTargets="200">
<!-- Cloaking currently InspIRCd compatible.
Please change the key to your own unique, random string.
Prefix string used to mark cloaked hosts, can be anything.
Domain parts specify how many parts of a host string to leave
uncloaked.
Mode can be half or full. Half will cloak only the unique
portion of a host and leave parts of the domain or IP.
Full will cloak the users host/IP completely.
-->
<cloak
key="su4Eibeet"
prefix="cmpct"
domainParts="3"
full="false" />
</advanced>
<cmodes>
<mode name='n' param=''/>
<mode name='t' param=''/>
</cmodes>
<umodes>
<mode name='x' param=''/>
<mode name='i' param=''/>
</umodes>
<servers>
<server host="services.cmpct.info" masks="*@127.0.0.1" port="9000" password="mypassword" tls='false'/>
</servers>
<!-- Default password is 'password', change it! -->
<!-- Currently supported crypto hashes are sha256 -->
<opers channels=''>
<oper
name='josh'
password='5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8'
algorithm='System.Security.Cryptography.SHA256Managed'
tls='false'
hosts='*@127.0.0.1 *@localhost'/>
</opers>
</ircd>
</configuration>