added ssl cipher notice on connect
[ircu2.10.12-pk.git] / ircd.conf
1 General {
2  name = "ircd.TestIRC";
3  description = "IRC SERVER";
4  numeric = 1;
5 };
6
7 Admin {
8   Location = "TestIRC IRC Server";
9   Location = "IRC Server";
10   Contact = "IRC Admin <network@testirc>";
11 };
12
13 SSL {
14  certfile = "ircd.crt";
15  keyfile = "ircd.key";
16 };
17
18 Class {
19  name = "Server";
20  pingfreq = 1 minutes 30 seconds;
21  connectfreq = 5 minutes;
22  maxlinks = 10;
23  sendq = 9000000;
24 };
25
26 Class {
27  name = "User";
28  pingfreq = 1 minutes 30 seconds;
29  sendq = 500000;
30  maxlinks = 2500;
31 };
32
33
34 Client {
35  host = "*@*";
36  ip = "*@*";
37  class = "User";
38 };
39
40 Pseudo "CS" {
41  name = "ChanServ";
42  nick = "ChanServ@services.TestIRC";
43 };
44
45
46 motd {
47  host = "*";
48  file = "net_com.motd";
49 };
50
51
52 UWorld {
53  name = "ircd.TestIRC"; #numeric: 1
54  name = "services.TestIRC"; #numeric: 2
55 };
56
57 Port { port = 6660; };
58 Port { port = 6667; };
59 Port {
60  ssl = yes;
61  port = 6697;
62 };
63 Port {
64  ssl = yes;
65  port = 7776;
66 };
67 Port { port = 8080; };
68
69 Jupe {
70  nick = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,{,|,},~,-,_,`";
71  nick = "server,svr,serv,sbnc,znc,SpamServ,SpamSvr,staff,admin,team";
72  nick = "login,testirc,protocol,pass,newpass,org,irc";
73  nick = "StatServ,NoteServ,MemoServ";
74  nick = "ChanSvr,ChanSrv,ChanSaver,ChanServ";
75  nick = "NickSvr,NickSrv,NickSaver,NickServ";
76  nick = "AuthSvr,AuthSrv,AuthSaver,AuthServ";
77  nick = "HostSvr,HostSrv,HostSaver,HostServ";
78  nick = "Watchdog,Watchcat,Global";
79  nick = "LPT1,LPT2,COM1,COM2,COM3,COM4,AUX";
80 };
81
82  # local (or propagate, with the opposite sense)
83  # whox  (log oper's use of x flag with /WHO)
84  # display (oper status visible to lusers)
85  # chan_limit (can join local channels when in
86  #                              MAXCHANNELSPERUSER channels)
87  # mode_lchan (can /MODE &channel without chanops)
88  # deop_lchan (cannot be deopped or kicked on local channels)
89  # walk_lchan (can forcibly /JOIN &channel OVERRIDE)
90  # show_invis (see +i users in /WHO x)
91  # show_all_invis (see +i users in /WHO x)
92  # unlimit_query (show more results from /WHO)
93  # local_kill (can kill clients on this server)
94  # rehash (can use /REHASH)
95  # restart (can use /RESTART)
96  # die (can use /DIE)
97  # local_jupe (not used)
98  # set (can use /SET)
99  # local_gline (can set a G-line for this server only)
100  # local_badchan (can set a Gchan for this server only)
101  # see_chan (can see users in +s channels in /WHO)
102  # list_chan (can see +s channels with /LIST S, or modes with /LIST M)
103  # wide_gline (can use ! to force a wide G-line)
104  # see_opers (can see opers without DISPLAY privilege)
105  # local_opmode (can use OPMODE/CLEARMODE on local channels)
106  # force_local_opmode (can use OPMODE/CLEARMODE on quarantined local channels)
107  # kill (can kill clients on other servers)
108  # gline (can issue G-lines to other servers)
109  # jupe_server (not used)
110  # opmode (can use /OPMODE)
111  # badchan (can issue Gchans to other servers)
112  # force_opmode (can use OPMODE/CLEARMODE on quarantined global channels)
113  # apass_opmode (can use OPMODE/CLEARMODE on +A and +U keys)
114  # umode_nochan (can set usermode +n to hide channels)
115  # umode_noidle (can set usermode +I to hide idle time)
116  # umode_chserv (can set umode +k)
117  # umode_xtraop (can set umode +X)
118  # umode_netserv (can set umode +S)
119  # umode_overridecc (Allow to set umode +c which overrides cmodes +cC)
120  # see_idletime (can see idletime of local +I users)
121  # hide_idletime (hides idle time also from users with see_idletime, unless they are on the same server and have this priv too)
122  # more_flood (has less throttling)
123  # unlimited_flood (no more excess floods)
124  # unlimited_targets (allow unlimited target changes)
125  # noamsg_override (can override cmode +M)
126  #
127  # For global opers (with propagate = yes or local = no), the default
128  # is to grant all of the above privileges EXCEPT walk_lchan,
129  # umode_chserv, umode_xtraop, umode_service,
130  # unlimit_query, set, badchan, local_badchan and apass_opmode.
131  # For local opers, the default is to grant ONLY the following
132  # privileges:
133  #  chan_limit, mode_lchan, show_invis, show_all_invis, local_kill,
134  #  rehash, local_gline, local_jupe, local_opmode, whox, display,
135  #  force_local_opmode, see_idletime, hide_channels, hide_idletime,
136  #  more_flood
137
138 Operator {
139  host = "*@*";
140  password = "$SMD5$iX$mNpYBeu8jFyPumMvO6jhT.";
141  name = "pk910";
142  opmode = yes;
143  mode_lchan = yes;
144  deop_lchan = yes;
145  walk_lchan = yes;
146  unlimit_query = yes;
147  unlimit_flood = yes;
148  set = yes;
149  badchan = yes;
150  local_badchan = yes;
151  class = "User";
152  local = no;
153 };
154
155 features
156 {
157  "LOG" = "SYSTEM" "FILE" "ircd.log";
158  "LOG" = "SYSTEM" "LEVEL" "CRIT";
159 #  "DOMAINNAME"="<obtained from /etc/resolv.conf by ./configure>";
160 #  "RELIABLE_CLOCK"="FALSE";
161 #  "BUFFERPOOL"="27000000";
162 #  "HAS_FERGUSON_FLUSHER"="FALSE";
163   "CLIENT_FLOOD"="1024";
164   "SERVER_PORT"="13961";
165   "NODEFAULTMOTD"="TRUE";
166   "MOTD_BANNER"="TRUE";
167   "KILL_IPMISMATCH"="FALSE";
168   "IDLE_FROM_MSG"="TRUE";
169   "HUB"="FALSE"; # change this for user servers
170   "WALLOPS_OPER_ONLY"="FALSE";
171   "NODNS"="FALSE";
172   "RANDOM_SEED"="6062596";
173   "DEFAULT_LIST_PARAM"="TRUE";
174   "NICKNAMEHISTORYLENGTH"="800";
175   "NETWORK"="TestIRC";
176   "HOST_HIDING"="TRUE";
177   "HIDDEN_HOST"="user.TestIRC";
178   "HIDDEN_IP"="127.0.0.1";
179   "KILLCHASETIMELIMIT"="30";
180   "MAXCHANNELSPERUSER"="20";
181   "NICKLEN" = "30";
182   "AVBANLEN"="40";
183   "MAXBANS"="999";
184   "MAXSILES"="50";
185   "HANGONGOODLINK"="300";
186  "HANGONRETRYDELAY" = "10";
187  "CONNECTTIMEOUT" = "90";
188  "MAXIMUM_LINKS" = "5";
189  "PINGFREQUENCY" = "120";
190  "CONNECTFREQUENCY" = "60";
191  "DEFAULTMAXSENDQLENGTH" = "40000";
192  "GLINEMAXUSERCOUNT" = "20";
193  "MPATH" = "ircd.motd";
194  "RPATH" = "remote.motd";
195  "PPATH" = "ircd.pid";
196  "TOS_SERVER" = "0x08";
197  "TOS_CLIENT" = "0x08";
198  "POLLS_PER_LOOP" = "200";
199  "IRCD_RES_TIMEOUT" = "4";
200  "IRCD_RES_RETRIES" = "2";
201  "AUTH_TIMEOUT" = "9";
202  "IPCHECK_CLONE_LIMIT" = "100";
203  "IPCHECK_CLONE_PERIOD" = "10";
204  "IPCHECK_CLONE_DELAY" = "60";
205  "CHANNELLEN" = "200";
206  "CONFIG_OPERCMDS" = "TRUE";
207  "OPLEVELS" = "FALSE";
208  "ZANNELS" = "FALSE";
209  "LOCAL_CHANNELS" = "FALSE";
210  "TOPIC_BURST" = "TRUE";
211         "AWAY_BURST" = "TRUE";
212  "ANNOUNCE_INVITES" = "TRUE";
213 #  These were introduced by Undernet CFV-165 to add "Head-In-Sand" (HIS)
214 #  behavior to hide most network topology from users.
215   "HIS_SNOTICES" = "TRUE";
216   "HIS_SNOTICES_OPER_ONLY" = "TRUE";
217   "HIS_DEBUG_OPER_ONLY" = "TRUE";
218   "HIS_WALLOPS" = "TRUE";
219   "HIS_MAP" = "TRUE";
220   "HIS_LINKS" = "TRUE";
221   "HIS_TRACE" = "TRUE";
222   "HIS_STATS_a" = "TRUE";
223   "HIS_STATS_c" = "TRUE";
224   "HIS_STATS_d" = "TRUE";
225   "HIS_STATS_e" = "TRUE";
226   "HIS_STATS_f" = "TRUE";
227   "HIS_STATS_g" = "TRUE";
228   "HIS_STATS_i" = "TRUE";
229   "HIS_STATS_j" = "TRUE";
230   "HIS_STATS_J" = "TRUE";
231   "HIS_STATS_k" = "TRUE";
232   "HIS_STATS_l" = "TRUE";
233   "HIS_STATS_L" = "TRUE";
234   "HIS_STATS_m" = "TRUE";
235   "HIS_STATS_M" = "TRUE";
236   "HIS_STATS_o" = "TRUE";
237   "HIS_STATS_p" = "TRUE";
238   "HIS_STATS_q" = "TRUE";
239   "HIS_STATS_r" = "TRUE";
240   "HIS_STATS_R" = "TRUE";
241   "HIS_STATS_t" = "TRUE";
242   "HIS_STATS_T" = "TRUE";
243   "HIS_STATS_u" = "FALSE";
244   "HIS_STATS_U" = "TRUE";
245   "HIS_STATS_v" = "TRUE";
246   "HIS_STATS_w" = "TRUE";
247   "HIS_STATS_x" = "TRUE";
248   "HIS_STATS_y" = "TRUE";
249   "HIS_STATS_z" = "TRUE";
250   "HIS_STATS_IAUTH" = "TRUE";
251   "HIS_WHOIS_SERVERNAME" = "TRUE";
252   "HIS_WHOIS_IDLETIME" = "FALSE";
253   "HIS_WHOIS_LOCALCHAN" = "TRUE";
254   "HIS_WHO_SERVERNAME" = "TRUE";
255   "HIS_WHO_HOPCOUNT" = "FALSE";
256   "HIS_MODEWHO" = "TRUE";
257   "HIS_BANWHO" = "TRUE";
258   "HIS_KILLWHO" = "TRUE";
259   "HIS_REWRITE" = "TRUE";
260   "HIS_REMOTE" = "TRUE";
261   "HIS_NETSPLIT" = "TRUE";
262   "HIS_SERVERNAME" = "*.TestIRC";
263   "HIS_SERVERINFO" = "TestIRC";
264   "HIS_URLSERVERS" = "http://testirc.nourl";
265 };