Advertisement
Guest User

services.conf

a guest
Nov 10th, 2012
2,254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.17 KB | None | 0 0
  1. # Example configuration file for Services. After making the appropriate
  2. # changes to this file, place it in the Services data directory (as
  3. # specified in the "configure" script, default /home/username/services)
  4. # under the name "services.conf".
  5. #
  6. # The format of this file is fairly simple: a line beginning with a # is a
  7. # comment, and any other non-blank line is expected to be a directive and
  8. # parameters, separated by spaces or tabs. For example:
  9. #
  10. # Directive Parameter-1 Parameter-2 ...
  11. #
  12. # Directives are case-insensitive. Note that some directives do not take
  13. # any parameters; these are typically "on-off" directives, for which simply
  14. # including the directive in this file (or removing it) has an effect on
  15. # Services' functionality.
  16. #
  17. # If a parameter's value is a string which includes spaces, enclose the
  18. # string in double quotation marks, like the example below. Quotes may be
  19. # used around any string at all for clarity.
  20. #
  21. # "This is a parameter string with spaces in it"
  22. #
  23. # If you need to include a double quote inside a quoted string, precede it
  24. # by a backslash:
  25. #
  26. # "This string has \"double quotes\" in it"
  27. #
  28. # Time parameters can be specified either as an integer representing a
  29. # number of seconds (e.g. "3600" = 1 hour), or as an integer with a unit
  30. # specifier: "s" = seconds, "m" = minutes, "h" = hours, "d" = days.
  31. # Combinations (such as "1h30m") are not permitted. Examples (all of which
  32. # represent the same length of time, one day):
  33. #
  34. # "86400", "86400s", "1440m", "24h", "1d"
  35. #
  36. # CAUTION:
  37. # Please note that your services might _CRASH_ if you add more format-
  38. # strings (%s, %d, etc.) to custom messages than Anope needs. Use the
  39. # default messages to see how many format-strings are needed.
  40. #
  41. # In the documentation for each directive, one of the following will be
  42. # included to indicate whether an option is required:
  43. #
  44. # [REQUIRED]
  45. # Indicates a directive which must be given. Without it, Services will
  46. # not start.
  47. #
  48. # [RECOMMENDED]
  49. # Indicates a directive which may be omitted, but omitting it may cause
  50. # undesirable side effects.
  51. #
  52. # [OPTIONAL]
  53. # Indicates a directive which is optional. If not given, the feature
  54. # will typically be disabled. If this is not the case, more
  55. # information will be given in the documentation.
  56. #
  57. # [DISCOURAGED]
  58. # Indicates a directive which may cause undesirable side effects if
  59. # specified.
  60. #
  61. # [DEPRECATED]
  62. # Indicates a directive which will disappear in a future version of
  63. # Services, usually because its functionality has been either
  64. # superseded by that of other directives or incorporated into the main
  65. # program.
  66.  
  67. ###########################################################################
  68. #
  69. # IRCD configuration
  70. #
  71. ###########################################################################
  72.  
  73. # IRCDModule <module_name> [REQUIRED]
  74. # The ircd protocol module should be used when connecting anope to your
  75. # chosen IRCD. This should be one of the following options, or a file
  76. # provided by your IRCD author.
  77. #
  78. # Bahamut 1.4.27 [or later] - "bahamut"
  79. # Charybdis 1.0 [or later] - "charybdis"
  80. # DreamForge 4.6.7 - "dreamforge"
  81. # Hybrid IRCd 7.0 [experimental] - "hybrid"
  82. # InspIRCd 1.1 [beta 8 or later] - "inspircd11"
  83. # InspIRCd 1.2 [RC3 or later] - "inspircd12"
  84. # InspIRCd 2.0 - "inspircd20"
  85. # Plexus 3.0 [or later] - "plexus3"
  86. # Plexus 2.0 [or later] - "plexus2"
  87. # PTLink 6.15.0 [experimental] - "ptlink"
  88. # RageIRCd 2.0.x - "rageircd"
  89. # Ratbox 2.0.6 [or later] - "ratbox"
  90. # ShadowIRCD 4.0x [beta 7 or later] - "shadowircd"
  91. # Solid IRCD 3.4.x [3.4.6 or later] - "solidircd"
  92. # UltimateIRCd 3.0.0 [or later] - "ultimate3"
  93. # UltimateIRCd 2.8.2 [or later] - "ultimate2"
  94. # Unreal 3.2 [beta-19 or later] - "unreal32"
  95. # Unreal 3.1.1 [or later] - "unreal31"
  96. # ViagraIRCd 1.3.x [or later] - "viagra"
  97. #
  98.  
  99. IRCDModule "inspircd12"
  100.  
  101. ###########################################################################
  102. #
  103. # Encryption settings
  104. #
  105. ###########################################################################
  106.  
  107. # EncModule <module_name> [REQUIRED]
  108. # The encryption module to use when dealing with passwords.
  109. # This determines how the passwords are stored in the databases,
  110. # and does not add any security as far as transmitting passwords over
  111. # the network goes.
  112. #
  113. # enc_none provides no password encryption, storing the password in
  114. # plain text, this is the most versatile as passwords can easily be
  115. # recovered but is not secure and therefore not recommended for use.
  116. #
  117. # NOTE: users of anope's previous (broken) md5 implementation should
  118. # select the enc_old option, or things may break.
  119. #
  120. # NOTE2: Some of these encryption methods are one-way (md5, sha1, old)
  121. # meaning that you can NOT retrieve the passwords in plain text once
  122. # encrypted.
  123. #
  124. # Plain Text - enc_none
  125. # Previous (broken) MD5 - enc_old
  126. # MD5 - enc_md5
  127. # SHA1 - enc_sha1
  128. #
  129.  
  130. EncModule "enc_none"
  131.  
  132. ###########################################################################
  133. #
  134. # Core module configuration
  135. #
  136. ###########################################################################
  137. # HostCoreModules <list> [RECOMMENDED]
  138. # These modules will be loaded as part of HostServ's core.
  139. # It is not recommended you change these settings unless you are
  140. # sure you understand exactly what it is you are doing.
  141. HostCoreModules "hs_help hs_on hs_off hs_group hs_list hs_set hs_setall hs_del hs_delall"
  142.  
  143. # MemoCoreModules <list> [RECOMMENDED]
  144. # These modules will be loaded as part of MemoServ's core.
  145. # It is not recommended you change these settings unless you are
  146. # sure you understand exactly what it is you are doing.
  147. MemoCoreModules "ms_send ms_cancel ms_list ms_read ms_del ms_set ms_info ms_rsend ms_check ms_staff ms_sendall ms_help"
  148.  
  149. # HelpCoreModules <list> [RECOMMENDED]
  150. # These modules will be loaded as part of HelpServ's core.
  151. # It is not recommended you change these settings unless you are
  152. # sure you understand exactly what it is you are doing.
  153. HelpCoreModules "he_help"
  154.  
  155. # BotCoreModules <list> [RECOMMENDED]
  156. # These modules will be loaded as part of BotServ's core.
  157. # It is not recommended you change these settings unless you are
  158. # sure you understand exactly what it is you are doing.
  159. BotCoreModules "bs_help bs_botlist bs_assign bs_set bs_kick bs_badwords bs_act bs_info bs_say bs_unassign bs_bot bs_fantasy bs_fantasy_kick bs_fantasy_kickban bs_fantasy_owner bs_fantasy_seen"
  160.  
  161. # OperCoreModules <list> [RECOMMENDED]
  162. # These modules will be loaded as part of OperServ's core.
  163. # It is not recommended you change these settings unless you are
  164. # sure you understand exactly what it is you are doing.
  165. OperCoreModules "os_help os_global os_stats os_oper os_admin os_staff os_mode os_kick os_clearmodes os_akill os_sgline os_sqline os_szline os_chanlist os_userlist os_logonnews os_randomnews os_opernews os_session os_noop os_jupe os_ignore os_set os_reload os_update os_restart os_quit os_shutdown os_defcon os_chankill os_svsnick os_oline os_umode os_modload os_modunload os_modlist os_modinfo"
  166.  
  167. # NickCoreModules <list> [RECOMMENDED]
  168. # These modules will be loaded as part of NickServ's core.
  169. # It is not recommended you change these settings unless you are
  170. # sure you understand exactly what it is you are doing.
  171. NickCoreModules "ns_help ns_register ns_group ns_identify ns_access ns_set ns_saset ns_drop ns_recover ns_release ns_sendpass ns_ghost ns_alist ns_info ns_list ns_logout ns_status ns_update ns_getpass ns_getemail ns_forbid ns_suspend"
  172.  
  173. # ChanCoreModules <list> [RECOMMENDED]
  174. # These modules will be loaded as part of ChanServ's core.
  175. # It is not recommended you change these settings unless you are
  176. # sure you understand exactly what it is you are doing.
  177. ChanCoreModules "cs_help cs_register cs_identify cs_set cs_xop cs_access cs_akick cs_drop cs_sendpass cs_ban cs_clear cs_modes cs_getkey cs_invite cs_kick cs_list cs_logout cs_topic cs_info cs_getpass cs_forbid cs_suspend cs_status"
  178. ###########################################################################
  179. #
  180. # Remote server configuration
  181. #
  182. ###########################################################################
  183.  
  184. # RemoteServer <hostname> <port> <password> [REQUIRED]
  185. # Specifies the remote server hostname and port. The hostname may
  186. # either be a standard Internet hostname or dotted-quad numeric
  187. # address; the port number must be an integer between 1 and 65535
  188. # inclusive. The password is a string which should be enclosed in
  189. # double quotes if it contains any spaces (or just for clarity).
  190. #
  191. # The remote server and port may be overridden at runtime with the
  192. # -remote command-line option. The password may not be set at runtime.
  193. #
  194. # If services can't connect to the RemoteServer, they will try
  195. # RemoteServer2 (if defined). If they can't connect to RemoteServer2,
  196. # they will use RemoteServer3 (if defined).
  197.  
  198. RemoteServer <censored> 7001 "<censored>"
  199. #RemoteServer2 127.0.0.1 6667 "mypass"
  200. #RemoteServer3 127.0.0.1 6667 "mypass"
  201.  
  202. # LocalAddress <hostname> [port] [OPTIONAL]
  203. # Specifies the local address to bind to before connecting to the
  204. # remote server. This may be useful on multihomed hosts. The hostname
  205. # and port number are specified the same way as with the RemoteServer
  206. # directive. If this is not specified, Services will let the operating
  207. # system choose the local address. If only a hostname is specified,
  208. # Services will bind to that address but let the operating system
  209. # choose the local port number.
  210. #
  211. # If you don't know what this means or don't need to use it, just leave
  212. # the directive commented out.
  213. #
  214. # This directive may be overridden at runtime by the -local
  215. # command-line option.
  216.  
  217. #LocalAddress nowhere. 0
  218.  
  219. ###########################################################################
  220. #
  221. # Services identification and pseudoclient names
  222. #
  223. ###########################################################################
  224.  
  225. # ServerName <name> [REQUIRED]
  226. # Specifies the IRC server name which Services should use. May be
  227. # overridden by the -name command-line option.
  228.  
  229. ServerName "services.allripped.net"
  230.  
  231. # ServerDesc <text> [REQUIRED]
  232. # Specifies the text which should appear as the server's information in
  233. # /whois and similar queries. May be overridden by the -desc
  234. # command-line option.
  235.  
  236. ServerDesc "ALLRiPPED IRC Services"
  237.  
  238. # ServiceUser <usermask> [REQUIRED]
  239. # Specifies the user@host mask which should be used by the Services
  240. # pseudoclients. May be overridden by the -user and -host command-line
  241. # options.
  242.  
  243. ServiceUser "services@allripped.net"
  244.  
  245. # ...Name <nick> <string> [REQUIRED except as noted below]
  246. # Specify the nicknames (first parameter) and "real" names (second
  247. # parameter) for the Services pseudoclients. BotServ and DevNull may
  248. # be disabled by commenting out the appropriate lines below. Disabling
  249. # BotServ is recommended on large networks.
  250.  
  251. NickServName "NickServ" "Nickname Server"
  252. ChanServName "ChanServ" "Channel Server"
  253. MemoServName "MemoServ" "Memo Server"
  254. BotServName "BotServ" "Bot Server"
  255. HelpServName "HelpServ" "Help Server"
  256. OperServName "OperServ" "Operator Server"
  257. GlobalName "Global" "Global Noticer"
  258. #DevNullName "DevNull" "/dev/null -- message sink"
  259. HostServName "HostServ" "vHost Server"
  260.  
  261. # ...Alias <nick> <string> [OPTIONAL]
  262. # Specify alternate nicknames for services. When a user will /msg
  263. # NickServAlias something, it will be forwarded to NickServName, and
  264. # NickServName will answer. This can be used to ease the migration
  265. # from another network, for example if your services are called
  266. # NickKeeper, ChanKeeper, etc ... and the other network calls them
  267. # NickServ, ChanServ, etc ...
  268.  
  269. #NickServAlias "NickServ2" "Nickname Server Forwarder"
  270. #ChanServAlias "ChanServ2" "Channel Server Forwarder"
  271. #MemoServAlias "MemoServ2" "Memo Server Forwarder"
  272. #BotServAlias "BotServ2" "Bot Server Forwarder"
  273. #HelpServAlias "HelpServ2" "Help Server Forwarder"
  274. #OperServAlias "OperServ2" "Operator Server Forwarder"
  275. #GlobalAlias "Global2" "Global Noticer Forwarder"
  276. #DevNullAlias "DevNull2" "/dev/null -- message sink Forwarder"
  277. #HostServAlias "HostServ2" "vHost Server Forwarder"
  278.  
  279. ###########################################################################
  280. #
  281. # Services data filenames
  282. #
  283. ###########################################################################
  284.  
  285. # NOTE: All filenames are relative to the Services data directory.
  286.  
  287. # PIDFile <filename> [REQUIRED]
  288. # Specifies the name of the file containing Services' process ID.
  289.  
  290. PIDFile services.pid
  291.  
  292. # MOTDFile <filename> [REQUIRED]
  293. # Specifies the name of the Message of the Day file.
  294.  
  295. MOTDFile services.motd
  296.  
  297. # ...DB <filename> [REQUIRED]
  298. # Specifies the filenames for the various Services subsystems' databases.
  299.  
  300. NickServDB nick.db
  301. #PreNickServDB prenick.db
  302. ChanServDB chan.db
  303. BotServDB bot.db
  304. OperServDB oper.db
  305. NewsDB news.db
  306. ExceptionDB exception.db
  307. HostServDB hosts.db
  308.  
  309. # There is no more databases for AKILLs. This setting is kept to allow
  310. # you to import old AKILL database, and is optional. (If not given,
  311. # Services will look for a file named akill.db.)
  312.  
  313. # AutokillDB akill.db
  314.  
  315. ###########################################################################
  316. #
  317. # Network information
  318. #
  319. ###########################################################################
  320.  
  321. # HelpChannel <channel> [OPTIONAL]
  322. #
  323. # When defined, every users that has or gets op status on this channel
  324. # automatically receive the +h user mode.
  325.  
  326. HelpChannel "#help"
  327.  
  328. # LogChannel <channel> [OPTIONAL]
  329. #
  330. # When defined, services will output log messages to this channel.
  331. # IMPORTANT: This can be a security risk so make certain this channel
  332. # is sufficiently protected from normal access.
  333.  
  334. LogChannel "#services"
  335.  
  336. # LogBot [OPTIONAL]
  337. #
  338. # When defined, services will output all BotServ chatter to the defined
  339. # LogChan above. It shows all uses of BotServ ACT and SAY commands. Note
  340. # that there is no logging to the log file. Only works if LogChannel is
  341. # also defined.
  342.  
  343. LogBot
  344.  
  345. # NetworkName <name> [REQUIRED]
  346. #
  347. # This is the name of the network the Services are running on.
  348.  
  349. NetworkName "ALLRiPPED.NET"
  350.  
  351. # Numeric [OPTIONAL]
  352. # Many ircd identify themselves with a Numeric ID when using this option
  353. # consult your ircds documentation before using this.
  354. #
  355. # This option is REQUIRED when linking to InspIRCd 1.2. Then this should
  356. # contain the services SID and must be in the following form:
  357. # [0-9][A-Z0-9][A-Z0-9]
  358. # An example is shown below.
  359.  
  360. #Numeric "64"
  361.  
  362. # TS6 (InspIRCd 1.2+) compliant:
  363.  
  364. Numeric "3AX"
  365.  
  366. # NickLen [RECOMMENDED]
  367. # Set this to the maximum allowed nick length on your network. Anope does
  368. # not support values larger than 31, so setting them makes no sense. Be
  369. # sure to set this correctly, as setting this wrong can result in services
  370. # being disconnected from the network.
  371.  
  372. NickLen 31
  373.  
  374. ###########################################################################
  375. #
  376. # Basic functionality
  377. #
  378. ###########################################################################
  379.  
  380. # UserKey1|2|3 <value> [RECOMMENDED]
  381. #
  382. # These keys are required to initiate the random number generator. These
  383. # numbers MUST be random as you want your passcodes to be random. Don't
  384. # give these keys to anyone! Keep them private!
  385. #
  386. # *** NOTE ***
  387. # If you don't enable these, or keep their default values, any talented
  388. # programmer would be able to easily "guess" random strings used to mask
  389. # information. Be safe, and come up with three different 7 digit numbers
  390.  
  391. UserKey1 9866455
  392. UserKey2 8362453
  393. UserKey3 2345899
  394.  
  395. # NoBackupOkay [DISCOURAGED]
  396. # Allows Services to continue file write operations (i.e. database
  397. # saving) even if the original file cannot be backed up. Enabling this
  398. # option may allow Services to continue operation under some conditions
  399. # when it might otherwise fail, such as a nearly-full disk.
  400. #
  401. # *** NOTE ***
  402. # Enabling this option can cause irrecoverable data loss under some
  403. # conditions, so make CERTAIN you know what you're doing when you
  404. # enable it!
  405.  
  406. #NoBackupOkay
  407.  
  408. # StrictPasswords [RECOMMENDED]
  409. # When enabled, causes Services to perform more stringent checks on
  410. # passwords. If this is disabled, Services will only disallow a
  411. # password if it is the same as the entity (nickname or channel name)
  412. # with which it is associated. When enabled, however, Services will
  413. # also check that the password is at least five characters long, and
  414. # in the future will probably check other things as well.
  415.  
  416. StrictPasswords
  417.  
  418. # BadPassLimit <count> [RECOMMENDED]
  419. # Sets the number of invalid password tries before Services removes a
  420. # user from the network. If a user enters <count> invalid passwords
  421. # for any Services function or combination of functions during a
  422. # single IRC session (subject to BadPassTimeout, below), Services will
  423. # issue a /KILL for the user. If not given, Services will ignore
  424. # failed password attempts (though they will be logged in any case).
  425.  
  426. BadPassLimit 5
  427.  
  428. # BadPassTimeout <time> [OPTIONAL]
  429. # Sets the time after which invalid passwords are forgotten about. If
  430. # a user does not enter any incorrect passwords in this amount of time,
  431. # the incorrect password count will reset to zero. If not given, the
  432. # timeout will be disabled, and the incorrect password count will never
  433. # be reset until the user disconnects.
  434.  
  435. BadPassTimeout 1h
  436.  
  437. # UpdateTimeout <time> [REQUIRED]
  438. # Sets the delay between automatic database updates. This timer is
  439. # reset by the OperServ UPDATE command.
  440.  
  441. UpdateTimeout 5m
  442.  
  443. # ExpireTimeout <time> [REQUIRED]
  444. # Sets the delay between checks for expired nicknames and channels.
  445. # The OperServ UPDATE command will also cause a check for expiration
  446. # and reset this timer.
  447.  
  448. ExpireTimeout 30m
  449.  
  450. # ReadTimeout <time> [REQUIRED]
  451. # Sets the timeout period for reading from the network.
  452.  
  453. ReadTimeout 5s
  454.  
  455. # WarningTimeout <time> [REQUIRED]
  456. # Sets the interval between sending warning messages for program
  457. # errors via WALLOPS/GLOBOPS.
  458.  
  459. WarningTimeout 4h
  460.  
  461. # TimeoutCheck <time> [REQUIRED]
  462. # Sets the (maximum) frequency at which the timeout list is checked.
  463. # This, combined with ReadTimeout above, determine how accurately timed
  464. # events, such as nick kills, occur; it also determines how much CPU
  465. # time Services will use doing this. Higher values will cause less
  466. # accurate timing but less CPU usage.
  467. #
  468. # This shouldn't be set any higher than 10 seconds, and 1 second is
  469. # best if your system is powerful enough (or your network small enough)
  470. # to handle it. 0 will cause the timeout list to be checked every time
  471. # through the main loop, which will probably slow down Services too
  472. # much to be useful on most networks.
  473. #
  474. # Note that this value is not an absolute limit on the period between
  475. # checks of the timeout list; the period may be as great as ReadTimeout
  476. # (above) during periods of inactivity.
  477.  
  478. TimeoutCheck 3s
  479.  
  480. # KeepLogs <days> [RECOMMENDED]
  481. #
  482. # Sets the number of days log files are kept. If you don't give it, or if
  483. # you set it to 0, logs will be kept indefinitely.
  484. #
  485. # NOTE: Services must run 24 hours a day for this feature to work.
  486.  
  487. KeepLogs 7
  488.  
  489. # KeepBackups <days> [RECOMMENDED]
  490. #
  491. # Sets the number of days backups of databases are kept. If you don't give
  492. # it, or if you set it to 0, Services won't backup the databases.
  493. #
  494. # NOTE: Services must run 24 hours a day for this feature to work.
  495.  
  496. KeepBackups 3
  497.  
  498. # ForceForbidReason [OPTIONAL]
  499. #
  500. # If set, Services will require a reason when a forbid is added, else
  501. # the reason is optional. This directive also applies to SUSPENDed
  502. # channels as well.
  503.  
  504. ForceForbidReason
  505.  
  506. # UsePrivmsg [OPTIONAL]
  507. #
  508. # This directive allows users to let Services send PRIVMSGs to them
  509. # instead of NOTICEs. Also see NSDefMsg, which also toggles the default
  510. # communication (PRIVMSG or NOTICE) to use for unregistered users.
  511. #
  512. # This is a feature that is against the IRC RFC and should be used
  513. # _only_ if absolutely necessary.
  514.  
  515. #UsePrivmsg
  516.  
  517. # UseStrictPrivMsg [OPTIONAL]
  518. # Using this directive will force services to only respond to privmsgs
  519. # addressed to Nick@ServerName - e.g. NickServ@localhost.net.
  520. # This should be used on conjunction with ircd aliases.
  521. #
  522. # When using Bahamut, this option will NOT work if the uplink server is
  523. # configured as a services hub. The serviceshub option is not designed to
  524. # be used with Anope.
  525.  
  526. #UseStrictPrivMsg
  527.  
  528. # DumpCore [OPTIONAL]
  529. #
  530. # Setting this directive will make Anope dump core when a segmentation
  531. # fault occurs. This is generally not needed, but if Anope is crashing
  532. # on your network and you want to make a bug report, having a core
  533. # file may be of great help.
  534.  
  535. #DumpCore
  536.  
  537. # LogUsers [OPTIONAL]
  538. #
  539. # Defines whether Anope will log user connections, disconnections and
  540. # nickname changes. You may have to do so in case you ever need to
  541. # transmit user information to your local authorities.
  542.  
  543. #LogUsers
  544.  
  545. # HideStatsO [OPTIONAL]
  546. #
  547. # Setting this directive will make Services only show Stats o to
  548. # IRC Operators.
  549.  
  550. HideStatsO
  551.  
  552. # GlobalOnCycle [OPTIONAL]
  553. #
  554. # Setting this directive will make Services send global messages on
  555. # starting up and shutting down/restarting.
  556.  
  557. #GlobalOnCycle
  558.  
  559. # GlobalOnCycleMessage <text> [REQUIRED if GlobalOnCycle is specified]
  560. # This is the global message sent when the Services are
  561. # being shutdown/restarted if using GlobalOnCycle
  562. GlobalOnCycleMessage "Services are restarting, they will be back shortly - please be good while we're gone"
  563.  
  564. # GlobalOnCycleUP <text> [OPTIONAL]
  565. # If defined this message will be sent global when the services join
  566. # the network.
  567. GlobalOnCycleUP "Services are now back online - have a nice day"
  568.  
  569. # AnonymousGlobal [OPTIONAL]
  570. # hides the oper's nick in a global message/notice
  571. #AnonymousGlobal
  572.  
  573. # NickRegDelay <seconds> [OPTIONAL]
  574. # Prevents users from regging their nick if they are not
  575. # connected for at least X seconds.
  576. #NickRegDelay 30
  577.  
  578. # UseSVSHOLD [OPTIONAL]
  579. # Allows networks running Bahamut (1.4.35 or later), Unreal (3.2),
  580. # and Plexus (3.0) to use SVSHOLD instead of the services enforcer.
  581. # This option places a temporary Q:Line on the held nick instead
  582. # of introducing a new pseudoclient with that nick, which is better
  583. # for both CPU and bandwidth. If you enable this option on an
  584. # incompatible IRCd (like a pre-1.4.35 Bahamut), it is most likely
  585. # to break.
  586. #UseSVSHOLD
  587.  
  588. # RestrictOperNick [OPTIONAL]
  589. # Forbids the registration of nicks that contain nick with services
  590. # access. So if Tester is a Services Oper, for example, You can't
  591. # register NewTester or Tester123 unless you are an IRC operator.
  592. # IMPORTANT: Remember that you have to be an ircop if you want to
  593. # register the root's nick when setting up Anope for the
  594. # the first time.
  595. #RestrictOperNicks
  596.  
  597. # UseTokens [OPTIONAL]
  598. # Allows irc networks to use TOKEN commands instead of the
  599. # standard commands. This saves bandwidth but can break older
  600. # modules that are not set to trap for TOKEN - if you are using
  601. # older modules do NOT use this option
  602. #UseTokens
  603.  
  604. # UseSVS2MODE [OPTIONAL]
  605. # On Unreal IRCD use SVS2MODE instead of SVSMODE, doing this will
  606. # show services changing user modes.
  607. #UseSVS2MODE
  608.  
  609. # NewsCount [OPTIONAL]
  610. # The number of LOGON/OPER News item to display when a user logs
  611. # on. The default value is 3
  612. #NewsCount 3
  613.  
  614. # UnRestrictSAdmin [OPTIONAL]
  615. # On many ircd Anope removes the umode of +a from users whom are not
  616. # Service Admin in Anope. This mode is NOT used by Anope for any form
  617. # of access. Thus this option allows them to keep the mode without having
  618. # to be a Service Admin in Anope
  619. UnRestrictSAdmin
  620.  
  621. # UlineServers [OPTIONAL]
  622. #
  623. # A list of ulined servers on your network, these servers are assumed they
  624. # can set channel modes and we will not attempt to take them from them
  625. # WARNING: do not put your user servers in this option
  626.  
  627. UlineServers "services.allripped.net"
  628.  
  629. # UseTS6 [OPTIONAL]
  630. #
  631. # Modern hybrid ircd like Ratbox 2.0.x support a protocol called TS6.
  632. # However this protocol is optional thus our default support is for without
  633. # TS6, if you want to take advantage of TS6, enable this option.
  634. #
  635. # This option is REQUIRED when linking to InspIRCd 1.2.
  636.  
  637. UseTS6
  638.  
  639. ###########################################################################
  640. #
  641. # Mail-related options
  642. #
  643. ###########################################################################
  644.  
  645. # NOTE: if UseMail is not set, all parameters after it in this section
  646. # are optional.
  647.  
  648. # UseMail [OPTIONAL]
  649. #
  650. # This option enables the mail commands in Services. You may choose
  651. # to disable it if you have no sendmail-compatible mailer installed.
  652. # This setting is [REQUIRED] if NSEmailReg is enabled.
  653.  
  654. UseMail
  655.  
  656. # SendMailPath <path> [REQUIRED]
  657. #
  658. # This is how we should call SendMail to send a mail. It must be
  659. # called with all parameters needed to make it scan the mail input
  660. # to find the mail recipient; consult your SendMail documentation.
  661. #
  662. # Postfix users must use the compatible sendmail utility provided
  663. # with it; this one usually needs no parameters on the command line.
  664. # Most sendmail applications (or replacements of it) require the -t
  665. # option to be used.
  666.  
  667. SendMailPath "/usr/sbin/sendmail -t"
  668.  
  669. # SendFrom <e-mail> [REQUIRED]
  670. #
  671. # This is the e-mail from which all the e-mails are to be sent. It should
  672. # really exist.
  673.  
  674. SendFrom services@localhost.net
  675.  
  676. # RestrictMail [OPTIONAL]
  677. #
  678. # When enabled, SENDPASS will be restricted to IRC operators.
  679. #
  680. # WARNING: if you choose to not enable this option, you should limit
  681. # the number of processes the services user can have at a time (you can
  682. # create a special user for this; remember to never launch Services as root).
  683.  
  684. RestrictMail
  685.  
  686. # MailDelay <time> [RECOMMENDED]
  687. #
  688. # This controls the minimum amount of time an user must wait before sending
  689. # another mail after it has sent one. It also controls the minimum time
  690. # an user must wait before it can receive another mail.
  691. #
  692. # This feature prevents users from being mail bombed using Services and
  693. # should definitely be used.
  694.  
  695. MailDelay 5m
  696.  
  697. # DontQuoteAddresses [OPTIONAL]
  698. #
  699. # When enabled, services will not attempt to "" the TO: fields in mails
  700. #
  701. # So far we only know of ESMTP/QMail which need this set.
  702. #
  703.  
  704. #DontQuoteAddresses
  705.  
  706. # ForkForMail [OPTIONAL]
  707. #
  708. # When enabled, services will fork when sending mail, which means there is no
  709. # services lag from mail. This is only supported on operating systems that allow
  710. # the use of forking (eg, not Windows).
  711. #
  712.  
  713. #ForkForMail
  714.  
  715. ###########################################################################
  716. #
  717. # NickServ configuration
  718. #
  719. ###########################################################################
  720.  
  721. # NSForceEmail [RECOMMENDED]
  722. # This option forces the users to give an e-mail when they register
  723. # a nickname. If you have nicks in the database that have no e-mail
  724. # set, they will be asked to set an e-mail when they identify their
  725. # nickname until they set one. Also, this option prevents user from
  726. # unsetting the password. This setting is [REQUIRED] if NSEmailReg
  727. # is enabled.
  728. #
  729. # This option is useful to resolve "lost password" problems.
  730.  
  731. NSForceEmail
  732.  
  733. # NSEmailReg [OPTIONAL]
  734. # This option splits the nick registration into 2 steps, the first
  735. # after registering a email with a passcode is sent to the supplied
  736. # email address, this passcode needs to be entered with a confirm
  737. # command before the nick registration will be completed.
  738. #
  739. # You must have mail / forcemail set for this to work correctly.
  740. # It is also recommended that MailDelay be set to a sensible value
  741. # to prevent mail flooding. This setting is [REQUIRED] if NSEmailReg
  742. # is enabled.
  743.  
  744. # NSEmailReg
  745.  
  746. # NSDef... [OPTIONAL]
  747. # Sets the default options for newly registered nicks. Note that
  748. # changing these options will have no effect on nicks which are already
  749. # registered.
  750. #
  751. # If both NSDefKill and NSDefKillQuick are given, the latter takes
  752. # precedence. KILL IMMED cannot be specified as a default.
  753. #
  754. # Note: Both NSDefKill and NSDefKillQuick must be specified for Quick to take effect.
  755. #
  756. # NSDefMsg also controls the default setting for unregistered users.
  757. # If NSDefMsg is enabled, unregistered users will receive PRIVMSGs
  758. # instead of NOTICEs from Services. See UsePrivmsg for more information.
  759. #
  760. # NOTE: If you do not enable any of these options, a default of
  761. # Secure, MemoSignon, and MemoReceive will be used, for backward
  762. # compatibility. If you really want no options enabled by default, use
  763. # NSDefNone.
  764.  
  765. #NSDefNone
  766.  
  767. #NSDefKill
  768. #NSDefKillQuick
  769. NSDefSecure
  770. NSDefPrivate
  771. NSDefHideEmail
  772. NSDefHideUsermask
  773. #NSDefHideQuit
  774. #NSDefMsg
  775. NSDefMemoSignon
  776. NSDefMemoReceive
  777. NSDefAutoop
  778.  
  779. # NSDefLanguage <language-number> [REQUIRED]
  780. # Sets the default language non- and newly-registered will receive
  781. # services' messages in. The numbers are the same as those
  782. # used for the /nickserv SET LANGUAGE command, so look the at the help
  783. # of this command for the list of currently supported languages.
  784. #
  785. # If you ever wanted to know how to translate services in your
  786. # language, read the chapter about it in the README.
  787.  
  788. NSDefLanguage 1
  789.  
  790. # NSRegDelay <time> [RECOMMENDED]
  791. # Sets the minimum length of time between consecutive uses of the
  792. # REGISTER command. If not given, this restriction is disabled (note
  793. # that this allows "registration flooding").
  794.  
  795. NSRegDelay 30s
  796.  
  797. # NSResendDelay <time> [RECOMMENDED]
  798. # Sets the minimum length of time between consecutive uses of the
  799. # RESEND command. If not given, this restriction is disabled (note
  800. # that this allows "resend flooding" or "mail bombing").
  801.  
  802. NSResendDelay 90s
  803.  
  804. # NSExpire <time> [RECOMMENDED]
  805. # Sets the length of time before a nick registration expires.
  806.  
  807. NSExpire 21d
  808.  
  809. # NSRExpire <time> [OPTIONAL]
  810. # Sets the length of time a user gets to enter the confirmation code
  811. # which has been e-mailed to them before the nick will be released
  812. # for general use again. This setting is [REQUIRED] if NSEmailReg is
  813. # enabled.
  814.  
  815. # NSRExpire 1d
  816.  
  817. # NSMaxAliases <number> [RECOMMENDED]
  818. # Sets the maximum number of nicks allowed in a group. If you
  819. # set it to 0, or don't set it at all, no limits will be applied.
  820.  
  821. NSMaxAliases 16
  822.  
  823. # NSAccessMax <count> [REQUIRED]
  824. # Sets the maximum number of entries allowed on a nickname access list.
  825.  
  826. NSAccessMax 32
  827.  
  828. # NSEnforcerUser <user>[@<host>] [REQUIRED]
  829. # Sets the username (and possibly hostname) used for the fake user
  830. # created when NickServ collides a user. Should be in user@host
  831. # format. If the host is not given, the one from ServicesUser is
  832. # used.
  833.  
  834. NSEnforcerUser enforcer@localhost.net
  835. #NSEnforcerUser enforcer
  836.  
  837. # NSReleaseTimeout <time> [REQUIRED]
  838. # Sets the delay before a NickServ-collided nick is released.
  839.  
  840. NSReleaseTimeout 1m
  841.  
  842. # NSAllowKillImmed [OPTIONAL]
  843. # When enabled, allows the use of the IMMED option with the NickServ
  844. # SET KILL command.
  845.  
  846. #NSAllowKillImmed
  847.  
  848. # NSNoGroupChange [OPTIONAL]
  849. # When enabled, the NickServ GROUP command won't allow any group change.
  850. # This is recommended for better performances and to protect against
  851. # nick stealing, however users will have less flexibility.
  852.  
  853. #NSNoGroupChange
  854.  
  855. # NSListOpersOnly [OPTIONAL]
  856. # When enabled, limits use of the NickServ LIST command to IRC
  857. # operators.
  858.  
  859. #NSListOpersOnly
  860.  
  861. # NSListMax <count> [REQUIRED]
  862. # Specifies the maximum number of nicks to be returned for a NickServ
  863. # LIST command.
  864.  
  865. NSListMax 50
  866.  
  867. # NSGuestNickPrefix <value> [REQUIRED]
  868. # When a user's nick is forcibly changed to enforce a "nick kill", their
  869. # new nick will start with this value. The rest will be made up of 6 or 7
  870. # digits.
  871.  
  872. NSGuestNickPrefix "Guest"
  873.  
  874. # NSSecureAdmins [RECOMMENDED]
  875. # When enabled, prevents the use of the DROP, FORBID, GETPASS, and
  876. # SET PASSWORD commands by Services admins on other Services admins or
  877. # the Services root(s).
  878.  
  879. NSSecureAdmins
  880.  
  881. # NSStrictPrivileges [RECOMMENDED]
  882. #
  883. # When enabled, any user wanting to use the privileges of Services Root, Services
  884. # Admin or Services Operator must have been logged as an IRC Operator with the
  885. # /oper command.
  886.  
  887. NSStrictPrivileges
  888.  
  889. # NSModeOnID [OPTIONAL]
  890. #
  891. # When enabled, services will set the channel modes a user has access to upon
  892. # identifying, assuming they are not already set.
  893. #
  894.  
  895. # NSModeOnID
  896.  
  897. # NSRestrictGetPass [OPTIONAL]
  898. #
  899. # When enabled, services will only allow Services Root to use the getpass
  900. # command on a nick.
  901.  
  902. NSRestrictGetPass
  903.  
  904. # NSNickTracking [OPTIONAL]
  905. #
  906. # When enabled, services will track your last nick identified when issuing
  907. # nick changes.
  908.  
  909. #NSNickTracking
  910.  
  911. # NSAddAccessOnReg [OPTIONAL]
  912. #
  913. # When enabled, services will add the usermask of registering users to the
  914. # access list of their newly created account. If you disable this, users
  915. # will always have to identify to nickserv before being recognized, unless
  916. # they manually add an address to the access list of their account.
  917.  
  918. NSAddAccessOnReg
  919.  
  920. ###########################################################################
  921. #
  922. # ChanServ configuration
  923. #
  924. ###########################################################################
  925.  
  926. # CSDef... [OPTIONAL]
  927. # Sets the default options for newly registered channels. Note that
  928. # changing these options will have no effect on channels which are
  929. # already registered.
  930. #
  931. # NOTE: If you do not enable any of these options, a default of
  932. # KeepTopic, Secure, SecureFounder and SignKick will be used, for
  933. # backward compatibility. If you really want no options enabled by
  934. # default, use CSDefNone.
  935.  
  936. #CSDefNone
  937.  
  938. CSDefKeepTopic
  939. #CSDefOpNotice
  940. CSDefPeace
  941. #CSDefPrivate
  942. #CSDefRestricted
  943. CSDefSecure
  944. #CSDefSecureOps
  945. CSDefSecureFounder
  946. CSDefSignKick
  947. #CSDefSignKickLevel
  948. #CSDefTopicLock
  949. #CSDefXOP
  950.  
  951.  
  952. # CSMaxReg <count> [RECOMMENDED]
  953. # Limits the number of channels which may be registered to a single
  954. # nickname.
  955.  
  956. CSMaxReg 20
  957.  
  958. # CSExpire <time> [RECOMMENDED]
  959. # Sets the number of days before a channel expires.
  960.  
  961. CSExpire 14d
  962.  
  963. # CSDefBantype <bantype> [REQUIRED]
  964. #
  965. # Sets the default ban type for newly registered channels (and when
  966. # importing old databases).
  967. #
  968. # bantype can be:
  969. #
  970. # 0: ban in the form *!user@host
  971. # 1: ban in the form *!*user@host
  972. # 2: ban in the form *!*@host
  973. # 3: ban in the form *!*user@*.domain
  974.  
  975. CSDefBantype 2
  976.  
  977. # CSAccessMax <count> [REQUIRED]
  978. # Sets the maximum number of entries on a channel's access list.
  979. # Channel access lists may contain only registered nicknames;
  980. # therefore, checking each entry on the list requires only a single
  981. # scaler comparison instead of a wildcard match, and this limit may be
  982. # safely set much higher than (for example) the nickname access list
  983. # size limit without impacting performance significantly.
  984.  
  985. CSAccessMax 1024
  986.  
  987. # CSAutokickMax <count> [REQUIRED]
  988. # Sets the maximum number of entries on a channel's autokick list.
  989.  
  990. CSAutokickMax 32
  991.  
  992. # CSAutokickReason <text> [REQUIRED]
  993. # Sets the default reason for an autokick if none is given.
  994.  
  995. CSAutokickReason "User has been banned from the channel"
  996.  
  997. # CSInhabit <time> [REQUIRED]
  998. # Sets the length of time ChanServ stays in a channel after kicking a
  999. # user from a channel s/he is not permitted to be in. This only occurs
  1000. # when the user is the only one in the channel.
  1001.  
  1002. CSInhabit 15s
  1003.  
  1004. # CSListOpersOnly [OPTIONAL]
  1005. # When enabled, limits use of the ChanServ LIST command to IRC
  1006. # operators.
  1007.  
  1008. #CSListOpersOnly
  1009.  
  1010. # CSListMax <count> [REQUIRED]
  1011. # Specifies the maximum number of channels to be returned for a
  1012. # ChanServ LIST command.
  1013.  
  1014. CSListMax 50
  1015.  
  1016. # CSRestrictGetPass [OPTIONAL]
  1017. #
  1018. # When enabled, services will only allow Services Root to use the getpass
  1019. # command on a channel.
  1020.  
  1021. # CSRestrictGetPass
  1022.  
  1023. # CSOpersOnly [OPTIONAL]
  1024. # If this is defined, only IRC Operators will be permitted to use ChanServ.
  1025.  
  1026. #CSOpersOnly
  1027.  
  1028. ###########################################################################
  1029. #
  1030. # MemoServ configuration
  1031. #
  1032. ###########################################################################
  1033.  
  1034. # MSMaxMemos <count> [RECOMMENDED]
  1035. # Sets the maximum number of memos a user is allowed to keep by
  1036. # default. Normal users may set the limit anywhere between zero and
  1037. # this value; Services admins can change it to any value or disable it.
  1038. # If not given, the limit is disabled by default, and normal users can
  1039. # set any limit they want.
  1040.  
  1041. MSMaxMemos 20
  1042.  
  1043. # MSSendDelay <time> [RECOMMENDED]
  1044. # Sets the delay between consecutive uses of the MemoServ SEND command.
  1045. # This can help prevent spam as well as denial-of-service attacks from
  1046. # sending large numbers of memos and filling up disk space (and
  1047. # memory). A 3-second wait means a maximum average of 150 bytes of
  1048. # memo per second per user under the current IRC protocol.
  1049.  
  1050. MSSendDelay 3s
  1051.  
  1052. # MSNotifyAll [OPTIONAL]
  1053. # Should we notify all appropriate users of a new memo? This applies
  1054. # in cases where a memo is sent to a nick which is in the group of
  1055. # another nick. Note that, unlike before, it is currently often more
  1056. # efficient to enable this.
  1057.  
  1058. MSNotifyAll
  1059.  
  1060. # MSMemoReceipt [OPTIONAL]
  1061. # Allow the use of memo receipts for the following groups:
  1062. # 1 - Opers Only
  1063. # 2 - Everybody
  1064. #
  1065. #MSMemoReceipt 1
  1066.  
  1067. ###########################################################################
  1068. #
  1069. # BotServ configuration
  1070. #
  1071. ###########################################################################
  1072.  
  1073. # BSDef... [OPTIONAL]
  1074. # Sets the default options for newly registered channels. Note that
  1075. # changing these options will have no effect on channels which are
  1076. # already registered.
  1077.  
  1078. #BSDefDontKickOps
  1079. #BSDefDontKickVoices
  1080. BSDefGreet
  1081. BSDefFantasy
  1082. BSDefSymbiosis
  1083.  
  1084. # BSMinUsers <count> [REQUIRED]
  1085. # Minimum number of users there must be in a channel before the
  1086. # bot joins it. The best value for this setting is 1 or 2. This
  1087. # cannot be 0, otherwise topic retention and mode lock and such
  1088. # other things won't work.
  1089.  
  1090. BSMinUsers 1
  1091.  
  1092. # BSBadWordsMax <count> [REQUIRED]
  1093. # Maximum number of entries a single bad words list can have.
  1094. # Setting it too high can reduce performances slightly.
  1095.  
  1096. BSBadWordsMax 32
  1097.  
  1098. # BSKeepData <time> [REQUIRED]
  1099. # Amount of time data for a user that is used by BotServ is
  1100. # valid. If the data exceeds this time, it is reset or deleted
  1101. # depending the case. Do not set it too high otherwise your resources
  1102. # will be slightly affected.
  1103.  
  1104. BSKeepData 10m
  1105.  
  1106. # BSSmartJoin [OPTIONAL]
  1107. # The bot is currently not affected by any modes or bans when he
  1108. # tries to join a channel. But some people may want to make it
  1109. # act like a real bot, that is, for example, remove all bans
  1110. # that affect the bot before joining the channel, remove a
  1111. # ban that affects the bot set by an user when it is on the
  1112. # channel, and so on. Since it consumes a bit more CPU time,
  1113. # you should not comment it out on larger networks.
  1114.  
  1115. # BSSmartJoin
  1116.  
  1117. # BSGentleBWReason [OPTIONAL]
  1118. # This option will make the bot use a kick reason that does not retake
  1119. # the word when it is kicking the bot. This is especially useful if
  1120. # you have young people on your network.
  1121.  
  1122. BSGentleBWReason
  1123.  
  1124. # BSCaseSensitive [OPTIONAL]
  1125. # This option will make botserv use cAsE sEnSiTiVe checking for badwords
  1126.  
  1127. # BSCaseSensitive
  1128.  
  1129. # BSFantasyCharacter [OPTIONAL]
  1130. # This option allows you to change the default prefix for fantasy
  1131. # commands in channels. This character will have to be prepended to
  1132. # all fantasy commands. If you choose "!", fantasy commands will, for
  1133. # example, be "!kick", "!op", etc. If left out, the default fantasy
  1134. # character will be "!".
  1135.  
  1136. # BSFantasyCharacter "!"
  1137.  
  1138. ###########################################################################
  1139. #
  1140. # HostServ configuration
  1141. #
  1142. ###########################################################################
  1143.  
  1144. # HostSetters <nicks> [DISCOURAGED]
  1145. # Specifies the nicks of NON-OPERS allowed to Set/Remove vHosts using
  1146. # HostServ. Can be re-loaded with /msg operserv reload
  1147. # You can specify more than one nick by separating each one by a space.
  1148. #
  1149. # Make sure you insert the correct nick(s) here..
  1150.  
  1151. #HostSetters "rob dengel certus"
  1152.  
  1153. ###########################################################################
  1154. #
  1155. # OperServ configuration
  1156. #
  1157. ###########################################################################
  1158.  
  1159. # ServicesRoot <nicks> [REQUIRED]
  1160. # Specifies the Services "super-users". The super-users, or "roots" as in
  1161. # Unix terminology, are the only users who can add or delete Services
  1162. # admins.
  1163. #
  1164. # You can specify more than one nick by separating each one by a space.
  1165. #
  1166. # This is commented out by default; make sure you insert the correct
  1167. # nick before uncommenting it.
  1168.  
  1169. ServicesRoot "thepitster speedracer"
  1170.  
  1171. # SuperAdmin [OPTIONAL]
  1172. # When enabled, Services Roots will be able to use SuperAdmin [ON|OFF]
  1173. # which will temporarily grant them extra privileges, such as being a
  1174. # founder of _all_ channels, ability to adjust another users modes etc..
  1175.  
  1176. SuperAdmin
  1177.  
  1178. # LogMaxUsers [OPTIONAL]
  1179. # Causes Services to write a message to the log every time a new user
  1180. # maximum is set.
  1181.  
  1182. LogMaxUsers
  1183.  
  1184. # ...Expiry <time> [REQUIRED]
  1185. # Sets the default expiry time for, respectively, AKILLs, SGLINEs,
  1186. # SQLINEs and SZLINEs.
  1187.  
  1188. AutoKillExpiry 30d
  1189. ChanKillExpiry 30d
  1190. SGLineExpiry 30d
  1191. SQLineExpiry 30d
  1192. SZLineExpiry 30d
  1193.  
  1194. # AkillOnAdd [OPTIONAL]
  1195. #
  1196. # When enabled, this option makes the services send an AKILL command
  1197. # immediately after it has been added with AKILL ADD. This eliminates
  1198. # the need of killing the users after the akill has been added.
  1199.  
  1200. # AkillOnAdd
  1201.  
  1202. # KillOnSGline [OPTIONAL]
  1203. #
  1204. # When enabled, this option makes the services send an (SVS)KILL command
  1205. # immediately after SGLINE ADD. This eliminates the need of killing the
  1206. # users after the SGLINE has been added.
  1207.  
  1208. # KillOnSGline
  1209.  
  1210. # KillOnSQline [OPTIONAL]
  1211. #
  1212. # When enabled, this option makes the services send an (SVS)KILL command
  1213. # immediately after SQLINE ADD. This eliminates the need of killing the
  1214. # users after the SQLINE has been added.
  1215.  
  1216. # KillOnSQline
  1217.  
  1218. # DisableRaw [RECOMMENDED]
  1219. #
  1220. # Disables the highly destructive OperServ RAW command.
  1221.  
  1222. #DisableRaw
  1223.  
  1224. # WallOper [OPTIONAL]
  1225. # Causes Services to send a WALLOPS/GLOBOPS when a user becomes an IRC
  1226. # operator. Note that this can cause WALLOPS floods when Services
  1227. # first connects to the network.
  1228.  
  1229. #WallOper
  1230.  
  1231. # WallBadOS [OPTIONAL]
  1232. # Causes Services to send a WALLOPS/GLOBOPS if a non-IRC-operator tries
  1233. # to use OperServ.
  1234.  
  1235. #WallBadOS
  1236.  
  1237. # WallOS... [OPTIONAL]
  1238. # Cause Services to send a WALLOPS/GLOBOPS on use of each of the
  1239. # OperServ commands listed.
  1240.  
  1241. WallOSGlobal
  1242. WallOSMode
  1243. WallOSClearmodes
  1244. WallOSKick
  1245. WallOSAkill
  1246. WallOSSGLine
  1247. WallOSSQLine
  1248. WallOSSZLine
  1249. WallOSNoOp
  1250. WallOSJupe
  1251. WallOSRaw
  1252.  
  1253. # Wall...Expire [OPTIONAL]
  1254. # Causes Services to send a WALLOPS/GLOBOPS whenever respectively
  1255. # an AKILL, an SGLINE, an SQLINE, an SZLINE and a session limit
  1256. # exception expires.
  1257.  
  1258. #WallAkillExpire
  1259. #WallSGLineExpire
  1260. #WallSQLineExpire
  1261. #WallSZLineExpire
  1262. #WallExceptionExpire
  1263.  
  1264. # WallGetpass [OPTIONAL]
  1265. # Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1266. # ChanServ GETPASS command.
  1267.  
  1268. WallGetpass
  1269.  
  1270. # WallSetpass [OPTIONAL]
  1271. # Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1272. # sets a password for a nickname or channel (s)he does not normally have
  1273. # privileges to set.
  1274.  
  1275. WallSetpass
  1276.  
  1277. # WallForbid [OPTIONAL]
  1278. # Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1279. # ChanServ FORBID command.
  1280.  
  1281. WallForbid
  1282.  
  1283. # WallDrop [OPTIONAL]
  1284. # Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1285. # drops a nickname or channel (s)he does not normally have
  1286. # privileges to drop.
  1287.  
  1288. WallDrop
  1289.  
  1290. # LimitSessions [OPTIONAL]
  1291. # Enables session limiting. Session limiting prevents users from
  1292. # connecting more than a certain number of times from the same host at the
  1293. # same time - thus preventing most types of cloning. Once a host reaches
  1294. # it's session limit, all clients attempting to connect from that host
  1295. # will be killed. Exceptions to the default session limit can be defined
  1296. # via the exception list. It should be noted that session limiting, along
  1297. # with a large exception list, can degrade services' performance.
  1298. # See the source and comments in sessions.c and the online help for more
  1299. # information about session limiting.
  1300. #
  1301. # NOTE: This option is not available when STREAMLINED is defined in
  1302. # the Makefile.
  1303.  
  1304. LimitSessions
  1305.  
  1306. # DefSessionLimit <limit> [REQUIRED]
  1307. # Default session limit per host. Once a host reaches it's session limit,
  1308. # all clients attempting to connect from that host will be killed.
  1309.  
  1310. DefSessionLimit 3
  1311.  
  1312. # MaxSessionLimit <limit> [REQUIRED]
  1313. # The maximum session limit that may be set for a host in an exception.
  1314.  
  1315. MaxSessionLimit 100
  1316.  
  1317. # ExceptionExpiry <time> [REQUIRED]
  1318. # Sets the default expiry time for exceptions.
  1319.  
  1320. ExceptionExpiry 1d
  1321.  
  1322. # SessionLimitExceeded <message> [OPTIONAL]
  1323. # The message that will be NOTICE'd to a user just before they are removed
  1324. # from the network because their's host session-limit has been exceeded.
  1325. # It may be used to give a slightly more descriptive reason for the
  1326. # impending kill as apposed to simply "Session limit exceeded". If this is
  1327. # commented out, nothing will be sent.
  1328.  
  1329. SessionLimitExceeded "The session limit for your host %s has been exceeded."
  1330.  
  1331. # SessionLimitDetailsLoc <message> [OPTIONAL]
  1332. # Same as above, but should be used to provide a website address where
  1333. # users can find out more about session limits and how to go about
  1334. # applying for an exception. If this is commented out, nothing will be
  1335. # sent.
  1336. #
  1337. # This option has been intentionally commented out in an effort to remind
  1338. # you to change the URL it contains. It is recommended that you supply an
  1339. # address/url where people can get help regarding session limits.
  1340.  
  1341. #SessionLimitDetailsLoc "Please visit http://your.website.url/ for more information about session limits."
  1342.  
  1343. # MaxSessionKill <number> [OPTIONAL]
  1344. #
  1345. # If given and different from 0, this option tells the Services to add an
  1346. # AKILL when there is number subsequent kills for the same hostname, preventing
  1347. # the network from KILL flood.
  1348.  
  1349. MaxSessionKill 15
  1350.  
  1351. # SessionAutoKillExpiry <time> [OPTIONAL]
  1352. #
  1353. # Sets the expiry time for autokills added for hosts that need to be
  1354. # AKILLed as controlled by the MaxSessionKill option.
  1355. #
  1356. # If not given, the default value is 30 minutes.
  1357.  
  1358. SessionAutoKillExpiry 30m
  1359.  
  1360.  
  1361. # AddAkiller [OPTIONAL]
  1362. # Adds the nickname of the Operator issuing an AKILL to the kill reason.
  1363. #
  1364. AddAkiller
  1365.  
  1366. # OSOpersOnly [RECOMMENDED]
  1367. # If this is defined, only IRC Operators will be permitted to use
  1368. # OperServ, regardless of module based command access restrictions.
  1369.  
  1370. OSOpersOnly
  1371.  
  1372.  
  1373. ###########################################################################
  1374. #
  1375. # DefCon configuration
  1376. #
  1377. ###########################################################################
  1378.  
  1379. # DefConLevel <level> [OPTIONAL]
  1380. # Default defcon level (1-5) to use when starting services up, level 5
  1381. # instructs services to run as normal.
  1382.  
  1383. #DefConLevel 5
  1384.  
  1385. # DefCon1-4 <numeric> [REQUIRED if Defcon is activated]
  1386. # These numercics determine which of the following operations take place
  1387. # at each level, the correct numeric can be found by adding together the
  1388. # number for each restriction you wish to place at a level.
  1389. # No new channel registrations 1
  1390. # No New Nick Registrations 2
  1391. # No MLOCK changes 4
  1392. # Force Chan Mode 8
  1393. # Use Reduced Session Limit 16
  1394. # KILL any new clients trying to connect 32
  1395. # Services will ignore everyone but opers 64
  1396. # Services will silently ignore everyone but opers 128
  1397. # AKILL all new clients trying to connect 256
  1398. # No new memos sent to block memoserv attacks 512
  1399.  
  1400. #DefCon4 23
  1401. # No channel reg + No Nick Reg + No MLOCK changes + Use Reduced Session Limit
  1402. # 1 + 2 + 4 + 16
  1403.  
  1404. #DefCon3 31
  1405. # As DefCon4 + Services will Force Chan Mode's on channels
  1406. # 23 + 8
  1407.  
  1408. #DefCon2 159
  1409. # As DefCon3 + Services will silently ignore everyone but opers
  1410. # 31 + 128
  1411.  
  1412. #DefCon1 415
  1413. # As DefCon2 + AKILL all new clients trying to connect
  1414. # 159 + 256
  1415.  
  1416.  
  1417. # DefConSessionLimit <limit> [REQUIRED if DefCon is activated]
  1418. # New session limit to use when a defcon level is using "reduced"
  1419. # session limiting.
  1420. # NOTE: When using DefCon this value needs to be defined
  1421. #DefConSessionLimit 2
  1422.  
  1423. # DefConAkillExpire <time> [REQUIRED if DefCon is activated]
  1424. # Length of time to add the AKILL for when DEFCON is preventing
  1425. # all new clients from connecting to the network
  1426. #
  1427. # NOTE: As with all expire times, the expirey check will only be
  1428. # carried out once every "ExpireTimeout" so if this setting is
  1429. # 30m the the akill could last for 30m regardless of this setting.
  1430. #
  1431. # NOTE: When using DefCon this value needs to be defined
  1432. #DefConAkillExpire 5m
  1433.  
  1434. # DefConChanModes <modes> [REQUIRED if DefCon is activated]
  1435. # The channel modes to set on all channel's when the DefCon channel
  1436. # mode system is in use.
  1437. #
  1438. # NOTE: Choose these modes carefully, because when defcon switches to
  1439. # a level which does NOT have the mode setting selected, services will
  1440. # set the reverse on all channel's, e.g. if this setting is +RN
  1441. # when defcon is used all channel's will be set to +RN, when
  1442. # defcon is removed, channels will all be set to -RN. You don't
  1443. # want to set this to +k for example because when defcon is removed all
  1444. # channels will -k.
  1445. # NOTE: mlock'ed modes will not be lost
  1446. #DefConChanModes "+R"
  1447.  
  1448. # DefConTimeOut <time> [OPTIONAL]
  1449. # This value can be used to automatically return the network to
  1450. # defcon 5 after the specified time period - just in case any opers
  1451. # forget to remove a defcon setting.
  1452. #DefConTimeOut 15m
  1453.  
  1454. # GlobalOnDefcon [OPTIONAL]
  1455. #
  1456. # Setting this directive will make Services send a global message on
  1457. # Defcon Level changes.
  1458. #GlobalOnDefcon
  1459.  
  1460. # GlobalOnDefconMore [OPTIONAL]
  1461. #
  1462. # Setting this directive will make Services send a global message on
  1463. # Defcon Level changes. Uncommenting this will allow you to send along
  1464. # with the new level, the DefconMessage.
  1465. #GlobalOnDefconMore
  1466.  
  1467. #DefconMessage "Put your message to send your users here. Dont forget to uncomment GlobalOnDefconMore"
  1468.  
  1469. # DefConOffMessage [OPTIONAL]
  1470. #
  1471. # If this is defined, it will be used in place of GlobalOnDefcon and
  1472. # GlobalOnDefconMore when defcon is returned to level 5
  1473. #DefConOffMessage "Services are now back to normal, sorry for any inconvenience"
  1474.  
  1475. # DefConAkillReason <text> [REQUIRED if DefCon is activated]
  1476. #
  1477. # When using DEFCON this setting will be used when any clients are killed
  1478. # or akilled from the network by defcon
  1479. #
  1480. #DefConAkillReason "This network is currently not accepting connections, please try again later"
  1481.  
  1482. ###########################################################################
  1483. #
  1484. # MySQL configuration
  1485. #
  1486. ###########################################################################
  1487. #
  1488. # Mysql [OPTIONAL]
  1489. #
  1490. # Your MySQL configuration for use with Anope.
  1491. # To disable MySQL functionality, just comment out this block.
  1492. # To make use of MySQL use these directives and change their
  1493. # setting to the appropriate values.
  1494. #
  1495. # MysqlHost defines the Mysql server hostname.
  1496. # MysqlUser defines the Mysql user to log in with.
  1497. # MysqlPass defines the Mysql pass required for the specified user to log in.
  1498. # MysqlName defines the Mysql database name Anope uses
  1499. # MysqlSock defines the Mysql UNIX socket
  1500. # MysqlPort defines the Mysql TCP port
  1501. #
  1502. #MysqlHost "127.0.0.1"
  1503. #MysqlUser "Anonymous"
  1504. #MysqlPass ""
  1505. #MysqlName "anope"
  1506. #MysqlSock "/tmp/mysql.sock"
  1507. #MysqlPort 3306
  1508.  
  1509. # MysqlSecure "<des>|<md5>|<sha>|<key>" [OPTIONAL]
  1510. #
  1511. # Method for storing passwords on MySQL. Available methods are:
  1512. # Empty or not set will save your passwords as clear text.
  1513. # des : Encrypt using a simple DES algorithm.
  1514. # md5 : Produces the md5 hash for the password.
  1515. # sha : Calculates the checksum using a Secure Hash Algorithm.
  1516. # key : Encodes using "key" as password.
  1517. # Please read docs/MYSQL file for more info and details.
  1518. #
  1519. #MysqlSecure ""
  1520.  
  1521.  
  1522. # MysqlRetries <value> [OPTIONAL]
  1523. # MysqlRetryGap <value> [OPTIONAL]
  1524. #
  1525. # These values let you define how often and with how much interruption Anope
  1526. # shall retry to open a connection when losing the contact to the mysql db.
  1527. # The product of these values must be between 1 and 60.
  1528. #
  1529. #MysqlRetries 10
  1530. #MysqlRetryGap 1
  1531.  
  1532. # UseRDB [OPTIONAL]
  1533. #
  1534. # Enable this if you want anope to load its data from a remote database.
  1535. # (e.g. MySQL)
  1536. #
  1537. #UseRDB
  1538.  
  1539. ###########################################################################
  1540. #
  1541. # Module configuration
  1542. #
  1543. ###########################################################################
  1544. #
  1545. # ModuleAutoload [OPTIONAL]
  1546. #
  1547. # When compiled with module support, this contains a space separated list
  1548. # of modules to automatically load as soon as possible, e.g. IRCD support modules.
  1549. #
  1550. #ModuleAutoload "hs_moo ircd_defizzer os_ignore_db"
  1551.  
  1552. # ModuleDelayedAutoload [OPTIONAL]
  1553. #
  1554. # When compiled with module support, this contains a space separated list
  1555. # of modules to automaticaly load when services are ready for new clients.
  1556. # e.g. new pesudo clients such as CatServ :-) *meow*
  1557. # By default a number of modules that we found worth adding by default are
  1558. # loaded. Feel free to change this if you want to add more, or remove some
  1559. # from the list.
  1560. #
  1561. ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail hs_request"
  1562.  
  1563. ###########################################################################
  1564. #
  1565. # Module specific configuration
  1566. #
  1567. ###########################################################################
  1568. #
  1569. # This section contains configuration options specific to certain modules.
  1570. # The options in here are for the modules shipped by default. You can add
  1571. # more options for other modules you load here. Check the documentation of
  1572. # the module to see what configuration options it provides.
  1573.  
  1574. # NSEmailMax [OPTIONAL]
  1575. # Module: ns_maxemail
  1576. #
  1577. # Limit the amount of registrations with the same email address to the
  1578. # amount given here. If set to 0 or left commented, there will be no limit
  1579. # enforced when registering new accounts or using /msg NickServ SET EMAIL.
  1580. #
  1581. NSEmailMax 5
  1582.  
  1583. # OSInfoDBName [OPTIONAL]
  1584. # Module: os_info
  1585. #
  1586. # Use the given filename as database for the oper information lines.
  1587. # If not given, the default of "os_info.db" will be used.
  1588. #
  1589. OSInfoDBName "os_info.db"
  1590.  
  1591. # HSRequestMemo... [OPTIONAL]
  1592. # Module: hs_request
  1593. #
  1594. # Specify if we should send memo's on certain actions with requested vHosts.
  1595. # Enable HSRequestMemoUser to send memo's to the user requesting a vHost
  1596. # when it's being approved or rejected. Enable HSRequestMemoOper or
  1597. # HSRequestMemoSetters if you want to send a memo to all services staff
  1598. # or host setters when a new vHost is requested.
  1599. #
  1600. #HSRequestMemoUser
  1601. #HSRequestMemoOper
  1602. #HSRequestMemoSetters
  1603.  
  1604. # HSRequestDBName [OPTIONAL]
  1605. # Module: hs_request
  1606. #
  1607. # Use the given filename as database for the vhost requests. If not given,
  1608. # the default of "hs_request.db" will be used.
  1609. #
  1610. HSRequestDBName "hs_request.db"
  1611.  
  1612. # OSIgnoreDBName [OPTIONAL]
  1613. # Module: os_ignore_db
  1614. #
  1615. # Use the given filename as database to store services' ignores.
  1616. # If not given, the default of "os_ignore.db" will be used.
  1617. #
  1618. OSIgnoreDBName "os_ignore.db"
  1619.  
  1620. #EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement