· 8 years ago · Apr 01, 2018, 05:20 AM
1[inspircd.conf]
2
3<config format="xml">
4<define name="ipv4" value="&ipv4-addr;">
5<define name="ipv6" value="&ipv6-addr;">
6<define name="server-name" value="&server;">
7<define name="network" value="&network-name;">
8
9
10<server
11 name="&server;"
12 description="A server on &network;"
13 network="&network;">
14
15<admin
16 name="myke"
17 nick="myke"
18 email="myke@syfydesigns.com">
19
20
21<bind
22 address="&ipv4;"
23 port="6697"
24 type="clients"
25 ssl="openssl"
26>
27
28<bind address="&ipv6;" port="6667" type="clients">
29<bind address="&ipv4;" port="6667" type="clients">
30<bind address="&ipv6;" port="6697" type="clients" ssl="openssl">
31<bind address="&ipv4;" port="7005" type="servers" ssl="openssl">
32<bind address="&ipv6;" port="7005" type="servers" ssl="openssl">
33
34<power
35 hash="sha256"
36 diepass=""
37 restartpass="">
38
39<connect
40 name="secret"
41 parent="main"
42 allow="203.0.113.*"
43 password="secret"
44 timeout="10"
45 localmax="3"
46 globalmax="3"
47 maxconnwarn="off"
48 #usednsbl="yes"
49 useident="no"
50 limit="5000"
51 modes="+x"
52 requiressl="on"
53 motd="secretmotd"
54 allowmotdcolors="false"
55 port="6697">
56
57<connect
58 name="main"
59 allow="*"
60 timeout="10"
61 pingfreq="120"
62 hardsendq="1M"
63 softsendq="8192"
64 recvq="8K"
65 threshold="10"
66 commandrate="1000"
67 fakelag="on"
68 localmax="3"
69 globalmax="3"
70 useident="no"
71 limit="5000"
72 modes="+x">
73<cidr
74 ipv4clone="32"
75 ipv6clone="128">
76
77
78
79<include file="/opt/inspircd/conf/sync/opers.conf">
80<include file="/opt/inspircd/conf/sync/links.conf">
81<include file="/opt/inspircd/conf/sync/modules.conf">
82<files motd="/opt/inspircd/conf/sync/motd.txt">
83<files motd="/opt/inspircd/conf/sync/opermotd.txt">
84
85<module name="m_conn_join.so">
86<autojoin channel="#syfydesigns">
87
88<channels
89 # users: Maximum number of channels a user can be in at once.
90 users="20"
91
92 # opers: Maximum number of channels an oper can be in at once.
93 opers="60">
94
95<dns
96 server="127.0.0.1"
97 timeout="5">
98
99<banlist chan="#largechan" limit="128">
100<banlist chan="*" limit="69">
101#<disabled commands="TOPIC MODE" usermodes="" chanmodes="" fakenonexistant="yes">
102
103
104<options
105 prefixquit="Quit: "
106 suffixquit=""
107 prefixpart="""
108 suffixpart="""
109 #fixedquit=""
110 #fixedpart=""
111 syntaxhints="no"
112 cyclehosts="yes"
113 cyclehostsfromuser="no"
114 ircumsgprefix="no"
115 announcets="yes"
116 allowmismatch="no"
117 defaultbind="auto"
118 hostintopic="yes"
119 pingwarning="15"
120 serverpingfreq="60"
121 defaultmodes="nt"
122 moronbanner="You're banned! Email myke@syfydesigns.com with the ERROR line below for help."
123 exemptchanops="nonick:v flood:o"
124 invitebypassmodes="yes"
125 nosnoticestack="no"
126 welcomenotice="yes">
127
128<performance
129 netbuffersize="10240"
130 somaxconn="128"
131 limitsomaxconn="true"
132 softlimit="12800"
133 quietbursts="yes"
134 nouserdns="no">
135
136<security
137 announceinvites="dynamic"
138 hidemodes="eI"
139 hideulines="no"
140 flatlinks="no"
141 hidewhois=""
142 hidebans="no"
143 hidekills=""
144 hideulinekills="yes"
145 hidesplits="no"
146 maxtargets="20"
147 customversion=""
148 operspywhois="no"
149 #runasuser=""
150 #runasgroup=""
151 restrictbannedusers="yes"
152 genericoper="no"
153 userstats="Pu">
154
155<limits
156 maxnick="31"
157 maxchan="64"
158 maxmodes="20"
159 maxident="11"
160 maxquit="255"
161 maxtopic="307"
162 maxkick="255"
163 maxgecos="128"
164 maxaway="200">
165
166<log method="file" type="* -USERINPUT -USEROUTPUT" level="default" target="/opt/inspircd/logs/ircd.log">
167<whowas
168 groupsize="10"
169 maxgroups="100000"
170 maxkeep="3600">
171
172<badip
173 ipmask="192.0.2.69"
174 reason="No porn here thanks.">
175
176<badnick nick="*Serv" reason="Reserved For Services">
177
178<badhost
179 host="*@banneduser.example.net"
180 reason="Evading Bans">
181
182<badhost host="root@*" reason="Don't IRC as root!">
183<badhost host="*@198.51.100.0/24" reason="This subnet is bad.">
184
185<exception
186 host="*@ircop.example.com"
187 reason="Oper's hostname">
188
189<insane
190 hostmasks="no"
191 ipmasks="no"
192 nickmasks="no"
193 trigger="95.5">
194
195[services.conf]
196
197/*
198 * Example configuration file for Services. After making the appropriate
199 * changes to this file, place it in the Services conf directory (as
200 * specified in the "configure" script, default /home/username/services/conf)
201 * under the name "services.conf".
202 *
203 * The format of this file is fairly simple: three types of comments are supported:
204 * - All text after a '#' on a line is ignored, as in shell scripting
205 * - All text after '//' on a line is ignored, as in C++
206 * - A block of text like this one is ignored, as in C
207 *
208 * Outside of comments, there are three structures: blocks, keys, and values.
209 *
210 * A block is a named container, which contains a number of key to value pairs
211 * - you may think of this as an array.
212 *
213 * A block is created like so:
214 * foobar
215 * {
216 * moo = "cow"
217 * foo = bar
218 * }
219 *
220 * Note that nameless blocks are allowed and are often used with comments to allow
221 * easily commenting an entire block, for example:
222 * #foobar
223 * {
224 * moo = "cow"
225 * foo = bar
226 * }
227 * is an entirely commented block.
228 *
229 * Keys are case insensitive. Values depend on what key - generally, information is
230 * given in the key comment. The quoting of values (and most other syntax) is quite
231 * flexible, however, please do not forget to quote your strings:
232 *
233 * "This is a parameter string with spaces in it"
234 *
235 * If you need to include a double quote inside a quoted string, precede it
236 * by a backslash:
237 *
238 * "This string has \"double quotes\" in it"
239 *
240 * Time parameters can be specified either as an integer representing a
241 * number of seconds (e.g. "3600" = 1 hour), or as an integer with a unit
242 * specifier: "s" = seconds, "m" = minutes, "h" = hours, "d" = days.
243 * Combinations (such as "1h30m") are not permitted. Examples (all of which
244 * represent the same length of time, one day):
245 *
246 * "86400", "86400s", "1440m", "24h", "1d"
247 *
248 * In the documentation for each directive, one of the following will be
249 * included to indicate whether an option is required:
250 *
251 * [REQUIRED]
252 * Indicates a directive which must be given. Without it, Services will
253 * not start.
254 *
255 * [RECOMMENDED]
256 * Indicates a directive which may be omitted, but omitting it may cause
257 * undesirable side effects.
258 *
259 * [OPTIONAL]
260 * Indicates a directive which is optional. If not given, the feature
261 * will typically be disabled. If this is not the case, more
262 * information will be given in the documentation.
263 *
264 * [DISCOURAGED]
265 * Indicates a directive which may cause undesirable side effects if
266 * specified.
267 *
268 * [DEPRECATED]
269 * Indicates a directive which will disappear in a future version of
270 * Services, usually because its functionality has been either
271 * superseded by that of other directives or incorporated into the main
272 * program.
273 */
274
275/*
276 * [OPTIONAL] Defines
277 *
278 * You can define values to other values, which can be used to easily change
279 * many values in the configuration. at once.
280 */
281
282/*
283 * The services.host define is used in multiple different locations throughout the
284 * configuration for services clients hostnames.
285 */
286define
287{
288 name = "services.syfydesigns.com"
289 value = "services.syfydesigns.com"
290}
291
292/*
293 * [OPTIONAL] Additional Includes
294 *
295 * You can include additional configuration files here.
296 * You may also include executable files, which will be executed and
297 * the output from it will be included into your configuration.
298 */
299
300#include
301{
302 type = "file"
303 name = "some.conf"
304}
305
306#include
307{
308 type = "executable"
309 name = "/usr/bin/wget -q -O - http://some.misconfigured.network.com/services.conf"
310}
311
312/*
313 * [REQUIRED] IRCd Config
314 *
315 * This section is used to set up Anope to connect to your IRC network.
316 * This section can be included multiple times, and Anope will attempt to
317 * connect to each server until it finally connects.
318 *
319 * Each uplink IRCd should have a corresponding configuration to allow Services
320 * to link to it.
321 *
322 * An example configuration for InspIRCd that is compatible with the below uplink
323 * and serverinfo configuration would look like:
324 *
325 * <link name="services.localhost.net"
326 * ipaddr="127.0.0.1"
327 * port="7000"
328 * sendpass="mypassword"
329 * recvpass="mypassword">
330 * <uline server="services.localhost.net" silent="yes">
331 * <bind address="127.0.0.1" port="7000" type="servers">
332 *
333 * An example configuration for UnrealIRCd that is compatible with the below uplink
334 * and serverinfo configuration would look like:
335 *
336 * link services.localhost.net
337 * {
338 * username *;
339 * hostname *;
340 * bind-ip "127.0.0.1";
341 * port 7000;
342 * hub *;
343 * password-connect "mypassword";
344 * password-receive "mypassword";
345 * class servers;
346 * };
347 * ulines { services.localhost.net; };
348 * listen 127.0.0.1:7000;
349 */
350uplink
351{
352 /*
353 * The IP or hostname of the IRC server you wish to connect Services to.
354 * Usually, you will want to connect Services over 127.0.0.1 (aka localhost).
355 *
356 * NOTE: On some shell providers, this will not be an option.
357 */
358 host = "192.168.65.138"
359
360 /*
361 * Enable if Services should connect using IPv6.
362 */
363 ipv6 = no
364
365 /*
366 * Enable if Services should connect using SSL.
367 * You must have an SSL module loaded for this to work.
368 */
369 ssl = no
370
371 /*
372 * The port to connect to.
373 * The IRCd *MUST* be configured to listen on this port, and to accept
374 * server connections.
375 *
376 * Refer to your IRCd documentation for how this is to be done.
377 */
378 port = 7005
379
380 /*
381 * The password to send to the IRC server for authentication.
382 * This must match the link block on your IRCd.
383 *
384 * Refer to your IRCd documentation for more information on link blocks.
385 */
386 password = "mypassword"
387}
388
389/*
390 * [REQUIRED] Server Information
391 *
392 * This section contains information about the Services server.
393 */
394serverinfo
395{
396 /*
397 * The hostname that Services will be seen as, it must have no conflicts with any
398 * other server names on the rest of your IRC network. Note that it does not have
399 * to be an existing hostname, just one that isn't on your network already.
400 */
401 name = "services.mydomain.com" # < when I try services.syfydesigns.com here the error changes to Server services.syfydesigns.com already exists on server SyFyDesigns.com!
402
403 /*
404 * The text which should appear as the server's information in /whois and similar
405 * queries.
406 */
407 description = "Services for IRC Networks"
408
409 /*
410 * The local address that Services will bind to before connecting to the remote
411 * server. This may be useful for multihomed hosts. If omitted, Services will let
412 * the Operating System choose the local address. This directive is optional.
413 *
414 * If you don't know what this means or don't need to use it, just leave this
415 * directive commented out.
416 */
417 #localhost = "nowhere."
418
419 /*
420 * What Server ID to use for this connection?
421 * Note: This should *ONLY* be used for TS6/P10 IRCds. Refer to your IRCd documentation
422 * to see if this is needed.
423 */
424 #id = "00A"
425
426 /*
427 * The filename containing the Services process ID. The path is relative to the
428 * services root directory.
429 */
430 pid = "data/services.pid"
431
432 /*
433 * The filename containing the Message of the Day. The path is relative to the
434 * services root directory.
435 */
436 motd = "conf/services.motd"
437}
438
439/*
440 * [REQUIRED] Protocol module
441 *
442 * This directive tells Anope which IRCd Protocol to speak when connecting.
443 * You MUST modify this to match the IRCd you run.
444 *
445 * Supported:
446 * - bahamut
447 * - charybdis
448 * - hybrid
449 * - inspircd12
450 * - inspircd20
451 * - ngircd
452 * - plexus
453 * - ratbox
454 * - unreal (for 3.2.x)
455 * - unreal4
456 */
457module
458{
459 name = "inspircd20"
460
461 /*
462 * Some protocol modules can enforce mode locks server-side. This reduces the spam caused by
463 * services immediately reversing mode changes for locked modes.
464 *
465 * If the protocol module you have loaded does not support this, this setting will have no effect.
466 */
467 use_server_side_mlock = yes
468
469 /*
470 * Some protocol modules can enforce topic locks server-side. This reduces the spam caused by
471 * services immediately reversing topic changes.
472 *
473 * If the protocol module you have loaded does not support this, this setting will have no effect.
474 */
475 use_server_side_topiclock = yes
476}
477
478/*
479 * [REQUIRED] Network Information
480 *
481 * This section contains information about the IRC network that Services will be
482 * connecting to.
483 */
484networkinfo
485{
486 /*
487 * This is the name of the network that Services will be running on.
488 */
489 networkname = "irc.syfydesigns.com"
490
491 /*
492 * Set this to the maximum allowed nick length on your network.
493 * Be sure to set this correctly, as setting this wrong can result in
494 * Services being disconnected from the network.
495 */
496 nicklen = 31
497
498 /* Set this to the maximum allowed ident length on your network.
499 * Be sure to set this correctly, as setting this wrong can result in
500 * Services being disconnected from the network.
501 */
502 userlen = 10
503
504 /* Set this to the maximum allowed hostname length on your network.
505 * Be sure to set this correctly, as setting this wrong can result in
506 * Services being disconnected from the network.
507 */
508 hostlen = 64
509
510 /* Set this to the maximum allowed channel length on your network.
511 */
512 chanlen = 32
513
514 /* The maximum number of list modes settable on a channel (such as b, e, I).
515 * Comment out or set to 0 to disable.
516 */
517 modelistsize = 100
518
519 /*
520 * Characters allowed in nicknames. This always includes the characters described
521 * in RFC1459, and so does not need to be set for normal behavior. Changing this to
522 * include characters your IRCd doesn't support will cause your IRCd and/or Services
523 * to break. Multibyte characters are not supported, nor are escape sequences.
524 *
525 * It is recommended you DON'T change this.
526 */
527 #nick_chars = ""
528
529 /*
530 * The characters allowed in hostnames. This is used for validating hostnames given
531 * to services, such as BotServ bot hostnames and user vhosts. Changing this is not
532 * recommended unless you know for sure your IRCd supports whatever characters you are
533 * wanting to use. Telling services to set a vHost containing characters your IRCd
534 * disallows could potentially break the IRCd and/or Services.
535 *
536 * It is recommended you DON'T change this.
537 */
538 vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-"
539
540 /*
541 * If set to true, allows vHosts to not contain dots (.).
542 * Newer IRCds generally do not have a problem with this, but the same warning as
543 * vhost_chars applies.
544 *
545 * It is recommended you DON'T change this.
546 */
547 allow_undotted_vhosts = false
548
549 /*
550 * The characters that are not allowed to be at the very beginning or very ending
551 * of a vHost. The same warning as vhost_chars applies.
552 *
553 * It is recommended you DON'T change this.
554 */
555 disallow_start_or_end = ".-"
556}
557
558/*
559 * [REQUIRED] Services Options
560 *
561 * This section contains various options which determine how Services will operate.
562 */
563options
564{
565 /*
566 * On Linux/UNIX systems Anope can setuid and setgid to this user and group
567 * after starting up. This is useful if Anope has to bind to privileged ports
568 */
569 #user = "anope"
570 #group = "anope"
571
572 /*
573 * The case mapping used by services. This must be set to a valid locale name
574 * installed on your machine. Services use this case map to compare, with
575 * case insensitivity, things such as nick names, channel names, etc.
576 *
577 * We provide two special casemaps shipped with Anope, ascii and rfc1459.
578 *
579 * This value should be set to what your IRCd uses, which is probably rfc1459,
580 * however Anope has always used ascii for comparison, so the default is ascii.
581 *
582 * Changing this value once set is not recommended.
583 */
584 casemap = "ascii"
585
586 /*
587 * This key is used to initiate the random number generator. This number
588 * MUST be random as you want your passcodes to be random. Don't give this
589 * key to anyone! Keep it private!
590 *
591 * NOTE: If you don't uncomment this or keep the default values, any talented
592 * programmer would be able to easily "guess" random strings used to mask
593 * information. Be safe, and come up with a 7-digit number.
594 *
595 * This directive is optional, but highly recommended.
596 */
597 #seed = 9866235
598
599 /*
600 * If set, Services will perform more stringent checks on passwords. If this
601 * isn't set, Services will only disallow a password if it is the same as the
602 * entity (nickname name) with which it is associated. When set, however,
603 * Services will also check that the password is at least five
604 * characters long, and in the future will probably check other things
605 * as well.
606 *
607 * This directive is optional, but recommended.
608 */
609 strictpasswords = yes
610
611 /*
612 * Sets the number of invalid password tries before Services removes a user
613 * from the network. If a user enters a number of invalid passwords equal to
614 * the given amount for any Services function or combination of functions
615 * during a single IRC session (subject to badpasstimeout, below), Services
616 * will issues a /KILL for the user. If not given, Services will ignore
617 * failed password attempts (though they will be logged in any case).
618 *
619 * This directive is optional, but recommended.
620 */
621 badpasslimit = 5
622
623 /*
624 * Sets the time after which invalid passwords are forgotten about. If a user
625 * does not enter any incorrect passwords in this amount of time, the incorrect
626 * password count will reset to zero. If not given, the timeout will be
627 * disabled, and the incorrect password count will never be reset until the user
628 * disconnects.
629 *
630 * This directive is optional.
631 */
632 badpasstimeout = 1h
633
634 /*
635 * Sets the delay between automatic database updates.
636 */
637 updatetimeout = 5m
638
639 /*
640 * Sets the delay between checks for expired nicknames and channels.
641 */
642 expiretimeout = 30m
643
644 /*
645 * Sets the timeout period for reading from the uplink.
646 */
647 readtimeout = 5s
648
649 /*
650 * Sets the interval between sending warning messages for program errors via
651 * WALLOPS/GLOBOPS.
652 */
653 warningtimeout = 4h
654
655 /*
656 * Sets the (maximum) frequency at which the timeout list is checked. This,
657 * combined with readtimeout above, determines how accurately timed events,
658 * such as nick kills, occur; it also determines how much CPU time Services
659 * will use doing this. Higher values will cause less accurate timing but
660 * less CPU usage.
661 *
662 * Note that this value is not an absolute limit on the period between
663 * checks of the timeout list; the previous may be as great as readtimeout
664 * (above) during periods of inactivity.
665 *
666 * If this directive is not given, it will default to 0.
667 */
668 timeoutcheck = 3s
669
670 /*
671 * If set, this will allow users to let Services send PRIVMSGs to them
672 * instead of NOTICEs. Also see the "msg" option of nickserv:defaults,
673 * which also toggles the default communication (PRIVMSG or NOTICE) to
674 * use for unregistered users.
675 *
676 * This is a feature that is against the IRC RFC and should be used ONLY
677 * if absolutely necessary.
678 *
679 * This directive is optional, and not recommended.
680 */
681 #useprivmsg = yes
682
683 /*
684 * If set, will force Services to only respond to PRIVMSGs addresses to
685 * Nick@ServerName - e.g. NickServ@localhost.net. This should be used in
686 * conjunction with IRCd aliases. This directive is optional.
687 *
688 * This option will have no effect on some IRCds, such as TS6 IRCds.
689 */
690 #usestrictprivmsg = yes
691
692 /*
693 * If set, Services will only show /stats o to IRC Operators. This directive
694 * is optional.
695 */
696 #hidestatso = yes
697
698 /*
699 * A space-separated list of ulined servers on your network, it is assumed that
700 * the servers in this list are allowed to set channel modes and Services will
701 * not attempt to reverse their mode changes.
702 *
703 * WARNING: Do NOT put your normal IRC user servers in this directive.
704 *
705 * This directive is optional.
706 */
707 #ulineservers = "stats.your.network"
708
709 /*
710 * How long to wait between connection retries with the uplink(s).
711 */
712 retrywait = 60s
713
714 /*
715 * If set, Services will hide commands that users don't have the privilege to execute
716 * from HELP output.
717 */
718 hideprivilegedcommands = yes
719
720 /*
721 * If set, Services will hide commands that users can't execute because they are not
722 * logged in from HELP output.
723 */
724 hideregisteredcommands = yes
725
726 /* The regex engine to use, as provided by the regex modules.
727 * Leave commented to disable regex matching.
728 *
729 * Note for this to work the regex module providing the regex engine must be loaded.
730 */
731 #regexengine = "regex/pcre"
732
733 /*
734 * A list of languages to load on startup that will be available in /nickserv set language.
735 * Useful if you translate Anope to your language. (Explained further in docs/LANGUAGE).
736 * Note that english should not be listed here because it is the base language.
737 *
738 * Removing .UTF-8 will instead use the default encoding for the language, eg. iso-8859-1 for western European languages.
739 */
740 languages = "ca_ES.UTF-8 de_DE.UTF-8 el_GR.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 hu_HU.UTF-8 it_IT.UTF-8 nl_NL.UTF-8 pl_PL.UTF-8 pt_PT.UTF-8 ru_RU.UTF-8 tr_TR.UTF-8"
741
742 /*
743 * Default language that non- and newly-registered nicks will receive messages in.
744 * Set to "en" to enable English. Defaults to the language the system uses.
745 */
746 #defaultlanguage = "es_ES.UTF-8"
747}
748
749/*
750 * [OPTIONAL] BotServ
751 *
752 * Includes botserv.example.conf, which is necessary for BotServ functionality.
753 *
754 * Remove this block to disable BotServ.
755 */
756include
757{
758 type = "file"
759 name = "botserv.conf"
760}
761
762/*
763 * [RECOMMENDED] ChanServ
764 *
765 * Includes chanserv.example.conf, which is necessary for ChanServ functionality.
766 *
767 * Remove this block to disable ChanServ.
768 */
769include
770{
771 type = "file"
772 name = "chanserv.conf"
773}
774
775/*
776 * [RECOMMENDED] Global
777 *
778 * Includes global.example.conf, which is necessary for Global functionality.
779 *
780 * Remove this block to disable Global.
781 */
782include
783{
784 type = "file"
785 name = "global.conf"
786}
787
788/*
789 * [OPTIONAL] HostServ
790 *
791 * Includes hostserv.example.conf, which is necessary for HostServ functionality.
792 *
793 * Remove this block to disable HostServ.
794 */
795include
796{
797 type = "file"
798 name = "hostserv.conf"
799}
800
801/*
802 * [OPTIONAL] MemoServ
803 *
804 * Includes memoserv.example.conf, which is necessary for MemoServ functionality.
805 *
806 * Remove this block to disable MemoServ.
807 */
808include
809{
810 type = "file"
811 name = "memoserv.conf"
812}
813
814/*
815 * [OPTIONAL] NickServ
816 *
817 * Includes nickserv.example.conf, which is necessary for NickServ functionality.
818 *
819 * Remove this block to disable NickServ.
820 */
821include
822{
823 type = "file"
824 name = "nickserv.conf"
825}
826
827/*
828 * [RECOMMENDED] OperServ
829 *
830 * Includes operserv.example.conf, which is necessary for OperServ functionality.
831 *
832 * Remove this block to disable OperServ.
833 */
834include
835{
836 type = "file"
837 name = "operserv.conf"
838}
839
840/*
841 * [RECOMMENDED] Logging Configuration
842 *
843 * This section is used for configuring what is logged and where it is logged to.
844 * You may have multiple log blocks if you wish. Remember to properly secure any
845 * channels you choose to have Anope log to!
846 */
847log
848{
849 /*
850 * Target(s) to log to, which may be one of the following:
851 * - a channel name
852 * - a filename
853 * - globops
854 */
855 target = "services.log"
856
857 /* Log to both services.log and the channel #services
858 *
859 * Note that some older IRCds, such as Ratbox, require services to be in the
860 * log channel to be able to message it. To do this, configure service:channels to
861 * join your logging channel.
862 */
863 #target = "services.log #services"
864
865 /*
866 * The source(s) to only accept log messages from. Leave commented to allow all sources.
867 * This can be a users name, a channel name, one of our clients (eg, OperServ), or a server name.
868 */
869 #source = ""
870
871 /*
872 * The bot used to log generic messages which have no predefined sender if there
873 * is a channel in the target directive.
874 */
875 bot = "Global"
876
877 /*
878 * The number of days to keep logfiles, only useful if you are logging to a file.
879 * Set to 0 to never delete old logfiles.
880 *
881 * Note that Anope must run 24 hours a day for this feature to work correctly.
882 */
883 logage = 7
884
885 /*
886 * What types of log messages should be logged by this block. There are nine general categories:
887 *
888 * admin - Execution of admin commands (OperServ, etc).
889 * override - A services operator using their powers to execute a command they couldn't normally.
890 * commands - Execution of general commands.
891 * servers - Server actions, linking, squitting, etc.
892 * channels - Actions in channels such as joins, parts, kicks, etc.
893 * users - User actions such as connecting, disconnecting, changing name, etc.
894 * other - All other messages without a category.
895 * rawio - Logs raw input and output from services
896 * debug - Debug messages (log files can become VERY large from this).
897 *
898 * These options determine what messages from the categories should be logged. Wildcards are accepted, and
899 * you can also negate values with a ~. For example, "~operserv/akill operserv/*" would log all operserv
900 * messages except for operserv/akill. Note that processing stops at the first matching option, which
901 * means "* ~operserv/*" would log everything because * matches everything.
902 *
903 * Valid admin, override, and command options are:
904 * pesudo-serv/commandname (eg, operserv/akill, chanserv/set)
905 *
906 * Valid server options are:
907 * connect, quit, sync, squit
908 *
909 * Valid channel options are:
910 * create, destroy, join, part, kick, leave, mode
911 *
912 * Valid user options are:
913 * connect, disconnect, quit, nick, ident, host, mode, maxusers, oper, away
914 *
915 * Rawio and debug are simple yes/no answers, there are no types for them.
916 *
917 * Note that modules may add their own values to these options.
918 */
919 admin = "*"
920 override = "chanserv/* nickserv/* memoserv/set ~botserv/set botserv/*"
921 commands = "~operserv/* *"
922 servers = "*"
923 #channels = "~mode *"
924 users = "connect disconnect nick"
925 other = "*"
926 rawio = no
927 debug = no
928}
929
930/*
931 * A log block to globops some useful things.
932 */
933log
934{
935 target = "globops"
936 admin = "global/* operserv/chankill operserv/mode operserv/kick operserv/akill operserv/s*line operserv/noop operserv/jupe operserv/oline operserv/set operserv/svsnick operserv/svsjoin operserv/svspart nickserv/getpass */drop"
937 servers = "squit"
938 users = "oper"
939 other = "expire/* bados akill/*"
940}
941
942/*
943 * [RECOMMENDED] Oper Access Config
944 *
945 * This section is used to set up staff access to restricted oper only commands.
946 * You may define groups of commands and privileges, as well as who may use them.
947 *
948 * This block is recommended, as without it you will be unable to access most oper commands.
949 * It replaces the old ServicesRoot directive amongst others.
950 *
951 * The command names below are defaults and are configured in the *serv.conf's. If you configure
952 * additional commands with permissions, such as commands from third party modules, the permissions
953 * must be included in the opertype block before the command can be used.
954 *
955 * Available privileges:
956 * botserv/administration - Can view and assign private BotServ bots
957 * botserv/fantasy - Can use fantasy commands without the FANTASIA privilege
958 * chanserv/administration - Can modify the settings of any channel (including changing of the owner!)
959 * chanserv/access/list - Can view channel access and akick lists, but not modify them
960 * chanserv/access/modify - Can modify channel access and akick lists, and use /chanserv enforce
961 * chanserv/auspex - Can see any information with /chanserv info
962 * chanserv/no-register-limit - May register an unlimited number of channels and nicknames
963 * chanserv/kick - Can kick and ban users from channels through ChanServ
964 * memoserv/info - Can see any information with /memoserv info
965 * memoserv/set-limit - Can set the limit of max stored memos on any user and channel
966 * memoserv/no-limit - Can send memos through limits and throttles
967 * nickserv/access - Can modify other users access and certificate lists
968 * nickserv/alist - Can see the channel access list of other users
969 * nickserv/auspex - Can see any information with /nickserv info
970 * nickserv/confirm - Can confirm other users nicknames
971 * nickserv/drop - Can drop other users nicks
972 * operserv/config - Can modify services's configuration
973 * operserv/oper/modify - Can add and remove operators with at most the same privileges
974 * protected - Can not be kicked from channels by Services
975 *
976 * Available commands:
977 * botserv/bot/del botserv/bot/add botserv/bot/change botserv/set/private
978 * botserv/set/nobot
979 *
980 * chanserv/drop chanserv/getkey chanserv/invite
981 * chanserv/list chanserv/suspend chanserv/topic
982 *
983 * chanserv/saset/noexpire
984 *
985 * memoserv/sendall memoserv/staff
986 *
987 * nickserv/getpass nickserv/getemail nickserv/suspend nickserv/ajoin
988 * nickserv/list
989 *
990 * nickserv/saset/autoop nickserv/saset/email nickserv/saset/greet nickserv/saset/password
991 * nickserv/saset/display nickserv/saset/kill nickserv/saset/language nickserv/saset/message
992 * nickserv/saset/private nickserv/saset/secure nickserv/saset/url nickserv/saset/noexpire
993 * nickserv/saset/keepmodes
994 *
995 * hostserv/set hostserv/del hostserv/list
996 *
997 * global/global
998 *
999 * operserv/news operserv/stats operserv/kick operserv/exception operserv/seen
1000 * operserv/mode operserv/session operserv/modinfo operserv/ignore operserv/chanlist
1001 * operserv/chankill operserv/akill operserv/sqline operserv/snline operserv/userlist
1002 * operserv/oper operserv/config operserv/umode operserv/logsearch
1003 * operserv/modload operserv/jupe operserv/set operserv/noop
1004 * operserv/quit operserv/update operserv/reload operserv/restart
1005 * operserv/shutdown operserv/svs operserv/oline operserv/kill
1006 *
1007 * Firstly, we define 'opertypes' which are named whatever we want ('Network Administrator', etc).
1008 * These can contain commands for oper-only strings (see above) which grants access to that specific command,
1009 * and privileges (which grant access to more general permissions for the named area).
1010 * Wildcard entries are permitted for both, e.g. 'commands = "operserv/*"' for all OperServ commands.
1011 *
1012 * Below are some default example types, but this is by no means exhaustive,
1013 * and it is recommended that you configure them to your needs.
1014 */
1015
1016opertype
1017{
1018 /* The name of this opertype */
1019 name = "Helper"
1020
1021 /* What commands (see above) this opertype has */
1022 commands = "hostserv/*"
1023}
1024
1025opertype
1026{
1027 /* The name of this opertype */
1028 name = "Services Operator"
1029
1030 /* What opertype(s) this inherits from. Separate with a comma. */
1031 inherits = "Helper, Another Helper"
1032
1033 /* What commands (see above) this opertype may use */
1034 commands = "chanserv/list chanserv/suspend chanserv/topic memoserv/staff nickserv/list nickserv/suspend operserv/mode operserv/chankill operserv/akill operserv/session operserv/modinfo operserv/sqline operserv/oper operserv/kick operserv/ignore operserv/snline"
1035
1036 /* What privs (see above) this opertype has */
1037 privs = "chanserv/auspex chanserv/no-register-limit memoserv/* nickserv/auspex nickserv/confirm"
1038
1039 /*
1040 * Modes to be set on users when they identify to accounts linked to this opertype.
1041 *
1042 * This can be used to automatically oper users who identify for services operator accounts, and is
1043 * useful for setting modes such as Plexus's user mode +N.
1044 *
1045 * Note that some IRCds, such as InspIRCd, do not allow directly setting +o, and this will not work.
1046 */
1047 #modes = "+o"
1048}
1049
1050opertype
1051{
1052 name = "Services Administrator"
1053
1054 inherits = "Services Operator"
1055
1056 commands = "botserv/* chanserv/access/list chanserv/drop chanserv/getkey chanserv/saset/noexpire memoserv/sendall nickserv/saset/* nickserv/getemail operserv/news operserv/jupe operserv/svs operserv/stats operserv/oline operserv/noop operserv/forbid global/*"
1057
1058 privs = "*"
1059}
1060
1061opertype
1062{
1063 name = "Services Root"
1064
1065 commands = "*"
1066
1067 privs = "*"
1068}
1069
1070/*
1071 * After defining different types of operators in the above opertype section, we now define who is in these groups
1072 * through 'oper' blocks, similar to ircd access.
1073 *
1074 * The default is to comment these out (so NOBODY will have Services access).
1075 * You probably want to add yourself and a few other people at minimum.
1076 *
1077 * As with all permissions, make sure to only give trustworthy people access to Services.
1078 */
1079
1080oper
1081{
1082 /* The nickname of this services oper */
1083 name = "myke"
1084
1085 /* The opertype this person will have */
1086 type = "Services Root"
1087
1088 /* If set, the user must be an oper on the IRCd to gain their Services
1089 * oper privileges.
1090 */
1091 require_oper = yes
1092
1093 /* An optional password. If defined the user must login using "/msg OperServ LOGIN" first */
1094 #password = "secret"
1095
1096 /* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
1097 #certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"
1098
1099 /* An optional list of user@host masks. If defined the user must be connected from one of them */
1100 #host = "*@*.anope.org ident@*"
1101
1102 /* An optional vHost to set on users who identify for this oper block.
1103 * This will override HostServ vHosts, and may not be available on all IRCds
1104 */
1105 #vhost = "oper.mynet"
1106}
1107
1108oper
1109{
1110 name = "nick1"
1111 type = "Services Administrator"
1112}
1113
1114#oper
1115{
1116 name = "nick3"
1117 type = "Helper"
1118}
1119
1120/*
1121 * [OPTIONAL] Mail Config
1122 *
1123 * This section contains settings related to the use of e-mail from Services.
1124 * If the usemail directive is set to yes, unless specified otherwise, all other
1125 * directives are required.
1126 *
1127 * NOTE: Users can find the IP of the machine services is running on by examining
1128 * mail headers. If you do not want your IP known, you should set up a mail relay
1129 * to strip the relevant headers.
1130 */
1131mail
1132{
1133 /*
1134 * If set, this option enables the mail commands in Services. You may choose
1135 * to disable it if you have no Sendmail-compatible mailer installed. Whilst
1136 * this directive (and entire block) is optional, it is required if
1137 * nickserv:registration is set to yes.
1138 */
1139 usemail = yes
1140
1141 /*
1142 * This is the command-line that will be used to call the mailer to send an
1143 * e-mail. It must be called with all the parameters needed to make it
1144 * scan the mail input to find the mail recipient; consult your mailer
1145 * documentation.
1146 *
1147 * Postfix users must use the compatible sendmail utility provided with
1148 * it. This one usually needs no parameters on the command-line. Most
1149 * sendmail applications (or replacements of it) require the -t option
1150 * to be used.
1151 */
1152 sendmailpath = "/usr/sbin/sendmail -t"
1153
1154 /*
1155 * This is the e-mail address from which all the e-mails are to be sent from.
1156 * It should really exist.
1157 */
1158 sendfrom = "myke@syfydesigns.com"
1159
1160 /*
1161 * This controls the minimum amount of time a user must wait before sending
1162 * another e-mail after they have sent one. It also controls the minimum time
1163 * a user must wait before they can receive another e-mail.
1164 *
1165 * This feature prevents users from being mail bombed using Services and
1166 * it is highly recommended that it be used.
1167 *
1168 * This directive is optional, but highly recommended.
1169 */
1170 delay = 5m
1171
1172 /*
1173 * If set, Services will not attempt to put quotes around the TO: fields
1174 * in e-mails.
1175 *
1176 * This directive is optional, and as far as we know, it's only needed
1177 * if you are using ESMTP or QMail to send out e-mails.
1178 */
1179 #dontquoteaddresses = yes
1180
1181 /*
1182 * The subject and message of emails sent to users when they register accounts.
1183 */
1184 registration_subject = "Nickname registration for %n"
1185 registration_message = "Hi,
1186
1187 You have requested to register the nickname %n on %N.
1188 Please type \" /msg NickServ CONFIRM %c \" to complete registration.
1189
1190 If you don't know why this mail was sent to you, please ignore it silently.
1191
1192 %N administrators."
1193
1194 /*
1195 * The subject and message of emails sent to users when they request a new password.
1196 */
1197 reset_subject = "Reset password request for %n"
1198 reset_message = "Hi,
1199
1200 You have requested to have the password for %n reset.
1201 To reset your password, type \" /msg NickServ CONFIRM %n %c \"
1202
1203 If you don't know why this mail was sent to you, please ignore it silently.
1204
1205 %N administrators."
1206
1207 /*
1208 * The subject and message of emails sent to users when they request a new email address.
1209 */
1210 emailchange_subject = "Email confirmation"
1211 emailchange_message = "Hi,
1212
1213 You have requested to change your email address from %e to %E.
1214 Please type \" /msg NickServ CONFIRM %c \" to confirm this change.
1215
1216 If you don't know why this mail was sent to you, please ignore it silently.
1217
1218 %N administrators."
1219
1220 /*
1221 * The subject and message of emails sent to users when they receive a new memo.
1222 */
1223 memo_subject = "New memo"
1224 memo_message = "Hi %n,
1225
1226 You've just received a new memo from %s. This is memo number %d.
1227
1228 Memo text:
1229
1230 %t"
1231}
1232
1233/*
1234 * [REQUIRED] Database configuration.
1235 *
1236 * This section is used to configure databases used by Anope.
1237 * You should at least load one database method, otherwise any data you
1238 * have will not be stored!
1239 */
1240
1241/*
1242 * [DEPRECATED] db_old
1243 *
1244 * This is the old binary database format from late Anope 1.7.x, Anope 1.8.x, and
1245 * early Anope 1.9.x. This module only loads these databases, and will NOT save them.
1246 * You should only use this to upgrade old databases to a newer database format by loading
1247 * other database modules in addition to this one, which will be used when saving databases.
1248 */
1249#module
1250{
1251 name = "db_old"
1252
1253 /*
1254 * This is the encryption type used by the databases. This must be set correctly or
1255 * your passwords will not work. Valid options are: md5, oldmd5, sha1, and plain.
1256 * You must also be sure to load the correct encryption module below in the Encryption
1257 * Modules section so that your passwords work.
1258 */
1259 #hash = "md5"
1260}
1261
1262/*
1263 * [RECOMMENDED] db_flatfile
1264 *
1265 * This is the default flatfile database format.
1266 */
1267module
1268{
1269 name = "db_flatfile"
1270
1271 /*
1272 * The database name db_flatfile should use
1273 */
1274 database = "anope.db"
1275
1276 /*
1277 * Sets the number of days backups of databases are kept. If you don't give it,
1278 * or if you set it to 0, Services won't backup the databases.
1279 *
1280 * NOTE: Services must run 24 hours a day for this feature to work.
1281 *
1282 * This directive is optional, but recommended.
1283 */
1284 keepbackups = 3
1285
1286 /*
1287 * Allows Services to continue file write operations (i.e. database saving)
1288 * even if the original file cannot be backed up. Enabling this option may
1289 * allow Services to continue operation under conditions where it might
1290 * otherwise fail, such as a nearly-full disk.
1291 *
1292 * NOTE: Enabling this option can cause irrecoverable data loss under some
1293 * conditions, so make CERTAIN you know what you're doing when you enable it!
1294 *
1295 * This directive is optional, and you are discouraged against enabling it.
1296 */
1297 #nobackupokay = yes
1298
1299 /*
1300 * If enabled, services will fork a child process to save databases.
1301 *
1302 * This is only useful with very large databases, with hundreds
1303 * of thousands of objects, that have a noticeable delay from
1304 * writing databases.
1305 *
1306 * If your database is large enough cause a noticeable delay when
1307 * saving you should consider a more powerful alternative such
1308 * as db_sql or db_redis, which incrementally update their
1309 * databases asynchronously in real time.
1310 */
1311 fork = no
1312}
1313
1314/*
1315 * db_sql and db_sql_live
1316 *
1317 * db_sql module allows saving and loading databases using one of the SQL engines.
1318 * This module loads the databases once on startup, then incrementally updates
1319 * objects in the database as they are changed within Anope in real time. Changes
1320 * to the SQL tables not done by Anope will have no effect and will be overwritten.
1321 *
1322 * db_sql_live module allows saving and loading databases using one of the SQL engines.
1323 * This module reads and writes to SQL in real time. Changes to the SQL tables
1324 * will be immediately reflected into Anope. This module should not be loaded
1325 * in conjunction with db_sql.
1326 *
1327 */
1328#module
1329{
1330 name = "db_sql"
1331 #name = "db_sql_live"
1332
1333 /*
1334 * The SQL service db_sql(_live) should use, these are configured in modules.conf.
1335 * For MySQL, this should probably be mysql/main.
1336 */
1337 engine = "sqlite/main"
1338
1339 /*
1340 * An optional prefix to prepended to the name of each created table.
1341 * Do not use the same prefix for other programs.
1342 */
1343 #prefix = "anope_db_"
1344
1345 /* Whether or not to import data from another database module in to SQL on startup.
1346 * If you enable this, be sure that the database services is configured to use is
1347 * empty and that another database module to import from is loaded before db_sql.
1348 * After you enable this and do a database import you should disable it for
1349 * subsequent restarts.
1350 *
1351 * Note that you can not import databases using db_sql_live. If you want to import
1352 * databases and use db_sql_live you should import them using db_sql, then shut down
1353 * and start services with db_sql_live.
1354 */
1355 import = false
1356}
1357
1358/*
1359 * db_redis.
1360 *
1361 * This module allows using Redis (http://redis.io) as a database backend.
1362 * This module requires that m_redis is loaded and configured properly.
1363 *
1364 * Redis 2.8 supports keyspace notifications which allows Redis to push notifications
1365 * to Anope about outside modifications to the database. This module supports this and
1366 * will internally reflect any changes made to the database immediately once notified.
1367 * See docs/REDIS for more information regarding this.
1368 */
1369#module
1370{
1371 name = "db_redis"
1372
1373 /*
1374 * Redis database to use. This must be configured with m_redis.
1375 */
1376 engine = "redis/main"
1377}
1378
1379/*
1380 * [RECOMMENDED] Encryption modules.
1381 *
1382 * The encryption modules are used when dealing with passwords. This determines how
1383 * the passwords are stored in the databases, and does not add any security as
1384 * far as transmitting passwords over the network goes.
1385 *
1386 * Without any encryption modules loaded users will not be able to authenticate unless
1387 * there is another module loaded that provides authentication checking, such as
1388 * m_ldap_authentication or m_sql_authentication.
1389 *
1390 * With enc_none, passwords will be stored in plain text, allowing for passwords
1391 * to be recovered later but it isn't secure and therefore is not recommended.
1392 *
1393 * The other encryption modules use one-way encryption, so the passwords can not
1394 * be recovered later if those are used.
1395 *
1396 * The first encryption module loaded is the primary encryption module. All new passwords are
1397 * encrypted by this module. Old passwords stored in another encryption method are
1398 * automatically re-encrypted by the primary encryption module on next identify.
1399 *
1400 * enc_md5, enc_sha1, and enc_old are deprecated, and are provided for users
1401 * to upgrade to a newer encryption module. Do not use them as the primary
1402 * encryption module. They will be removed in a future release.
1403 *
1404 */
1405
1406#module { name = "enc_bcrypt" }
1407module { name = "enc_sha256" }
1408
1409/*
1410 * When using enc_none, passwords will be stored without encryption. This isn't secure
1411 * therefore it is not recommended.
1412 */
1413#module { name = "enc_none" }
1414
1415/* Deprecated encryption modules */
1416#module { name = "enc_md5" }
1417#module { name = "enc_sha1" }
1418
1419/*
1420 * enc_old is Anope's previous (broken) MD5 implementation used from 1.4.x to 1.7.16.
1421 * If your databases were made using that module, load it here to allow conversion to the primary
1422 * encryption method.
1423 */
1424#module { name = "enc_old" }
1425
1426
1427/* Extra (optional) modules. */
1428include
1429{
1430 type = "file"
1431 name = "modules.example.conf"
1432}
1433
1434/*
1435 * Chanstats module.
1436 * Requires a MySQL Database.
1437 */
1438#include
1439{
1440 type = "file"
1441 name = "chanstats.example.conf"
1442}
1443
1444/*
1445 * IRC2SQL Gateway
1446 * This module collects data about users, channels and servers. It doesn't build stats
1447 * itself, however, it gives you the database, it's up to you how you use it.
1448 *
1449 * Requires a MySQL Database and MySQL version 5.5 or higher
1450 */
1451#include
1452{
1453 type = "file"
1454 name = "irc2sql.example.conf"
1455}
1456
1457[links.conf]
1458
1459#-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1460# #
1461# Defines which servers can link to this one, and which servers this #
1462# server may create outbound links to. #
1463# #
1464# ____ _ _____ _ _ ____ _ _ _ #
1465# | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
1466# | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
1467# | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
1468# |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
1469# #
1470# If you want to link servers to InspIRCd you must load the #
1471# spanningtree module! #
1472# #
1473# #
1474
1475
1476<link
1477 # name: The name of the remote server. This must match
1478 # the <server:name> value of the remote server.
1479 name="irc.syfydesigns.com"
1480
1481 # ipaddr: The IP address of the remote server.
1482 # Can also be a hostname, but hostname must resolve.
1483 ipaddr="192.168.65.138"
1484
1485 # port: The port to connect to the server on.
1486 # It must be bound as a server port on the other server.
1487 port="6667"
1488
1489 # allowmask: Range of IP addresses to allow for this link.
1490 # Can be a CIDR (see example).
1491 allowmask="203.0.113.0/24 127.0.0.0/8 2001:db8::/32"
1492
1493 # timeout: If defined, this option defines how long the server
1494 # will wait to consider the connect attempt failed and try the
1495 # failover (see above).
1496 timeout="5m"
1497
1498 # ssl: If defined, this states the SSL profile that will be used when
1499 # making an outbound connection to the server. Options are the name of an
1500 # <sslprofile> tag that you have defined or one of "openssl", "gnutls",
1501 # "mbedtls" if you have not defined any. See the wiki page for the SSL
1502 # module you are using for more details.
1503 #
1504 # You will need to load the ssl_openssl module for OpenSSL, ssl_gnutls
1505 # for GnuTLS and ssl_mbedtls for mbedTLS. The server port that you
1506 # connect to must be capable of accepting this type of connection.
1507 # ssl="gnutls"
1508
1509 # fingerprint: If defined, this option will force servers to be
1510 # authenticated using SSL certificate fingerprints. See
1511 # https://wiki.inspircd.org/SSL for more information. This will
1512 # require an SSL link for both inbound and outbound connections.
1513 #fingerprint=""
1514
1515 # bind: Local IP address to bind to.
1516 bind="127.0.0.1"
1517
1518 # statshidden: Defines if IP is shown to opers when
1519 # /STATS c is invoked.
1520 statshidden="no"
1521
1522 # hidden: If this is set to yes, this server and its "child"
1523 # servers will not be shown when users do a /MAP or /LINKS.
1524 hidden="no"
1525
1526 # passwords: the passwords we send and receive.
1527 # The remote server will have these passwords reversed.
1528 # Passwords that contain a space character or begin with
1529 # a colon (:) are invalid and may not be used.
1530 sendpass="mypassword"
1531 recvpass="mypassword">
1532
1533# A duplicate of the first link block without comments
1534# if you like copying & pasting.
1535#<link name="hub.example.org"
1536# ipaddr="penguin.example.org"
1537# port="7000"
1538# allowmask="203.0.113.0/24"
1539# timeout="5m"
1540# ssl="gnutls"
1541# bind="1.2.3.4"
1542# statshidden="no"
1543# hidden="no"
1544# sendpass="outgoing!password"
1545# recvpass="incoming!password">
1546
1547# Link block for services. Options are the same as for the first
1548# link block (depending on what your services package supports).
1549<link name="services.syfydesigns.com"
1550 ipaddr="192.168.65.138"
1551 port="7005"
1552 allowmask="127.0.0.0/8"
1553 sendpass="mypassword"
1554 recvpass="mypassword">
1555
1556# Simple autoconnect block. This enables automatic connection of a server
1557# Recommended setup is to have leaves connect to the hub, and have no
1558# automatic connections started by the hub.
1559#<autoconnect period="10m" server="hub.example.org">
1560
1561# Failover autoconnect block. If you have multiple hubs, or want your network
1562# to automatically link even if the hub is down, you can specify multiple
1563# space separated servers to autoconnect; they will be tried in a round
1564# robin fashion until one succeeds. Period defines the time for restarting
1565# a single loop.
1566#<autoconnect period="2m" server="hub.us.example.org hub.eu.example.org leaf.eu.example.org">
1567
1568
1569#-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1570# This tag defines a ulined server. A U-Lined server has special #
1571# permissions, and should be used with caution. Services servers are #
1572# usually u-lined in this manner. #
1573# #
1574# The 'silent' value, if set to yes, indicates that this server should#
1575# not generate quit and connect notices, which can cut down on noise #
1576# to opers on the network. #
1577# #
1578<uline server="services.syfydesigns.com" silent="yes">
1579
1580[additional info]
1581
1582{
1583 "repoPath":"/opt/inspircd/conf",
1584 "basePath":"/opt/inspircd/conf/base/inspircd.conf",
1585 "ipv4":"192.168.65.138",
1586 "ipv6":"::",
1587 "networkName":"irc.syfydesigns.com",
1588 "serverName":"SyFyDesigns.com",
1589 "adminName":"myke",
1590 "adminNick":"myke",
1591 "adminEmail":"myke@syfydesigns.com"
1592}