Advertisement
lcawte

Untitled

Oct 28th, 2010
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.07 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 "unreal32"
  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_md5"
  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 irc.brickpost.info 6667 ""
  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 127.0.0.1 6667
  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 "irc.brickpost.info"
  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 "Services for IRC Networks"
  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@brickpost.info"
  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 "BrickPost IRC"
  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. <!--- Userkeys --->
  392.  
  393. # NoBackupOkay [DISCOURAGED]
  394. # Allows Services to continue file write operations (i.e. database
  395. # saving) even if the original file cannot be backed up. Enabling this
  396. # option may allow Services to continue operation under some conditions
  397. # when it might otherwise fail, such as a nearly-full disk.
  398. #
  399. # *** NOTE ***
  400. # Enabling this option can cause irrecoverable data loss under some
  401. # conditions, so make CERTAIN you know what you're doing when you
  402. # enable it!
  403.  
  404. #NoBackupOkay
  405.  
  406. # StrictPasswords [RECOMMENDED]
  407. # When enabled, causes Services to perform more stringent checks on
  408. # passwords. If this is disabled, Services will only disallow a
  409. # password if it is the same as the entity (nickname or channel name)
  410. # with which it is associated. When enabled, however, Services will
  411. # also check that the password is at least five characters long, and
  412. # in the future will probably check other things as well.
  413.  
  414. StrictPasswords
  415.  
  416. # BadPassLimit <count> [RECOMMENDED]
  417. # Sets the number of invalid password tries before Services removes a
  418. # user from the network. If a user enters <count> invalid passwords
  419. # for any Services function or combination of functions during a
  420. # single IRC session (subject to BadPassTimeout, below), Services will
  421. # issue a /KILL for the user. If not given, Services will ignore
  422. # failed password attempts (though they will be logged in any case).
  423.  
  424. BadPassLimit 5
  425.  
  426. # BadPassTimeout <time> [OPTIONAL]
  427. # Sets the time after which invalid passwords are forgotten about. If
  428. # a user does not enter any incorrect passwords in this amount of time,
  429. # the incorrect password count will reset to zero. If not given, the
  430. # timeout will be disabled, and the incorrect password count will never
  431. # be reset until the user disconnects.
  432.  
  433. BadPassTimeout 1h
  434.  
  435. # UpdateTimeout <time> [REQUIRED]
  436. # Sets the delay between automatic database updates. This timer is
  437. # reset by the OperServ UPDATE command.
  438.  
  439. UpdateTimeout 5m
  440.  
  441. # ExpireTimeout <time> [REQUIRED]
  442. # Sets the delay between checks for expired nicknames and channels.
  443. # The OperServ UPDATE command will also cause a check for expiration
  444. # and reset this timer.
  445.  
  446. ExpireTimeout 30m
  447.  
  448. # ReadTimeout <time> [REQUIRED]
  449. # Sets the timeout period for reading from the network.
  450.  
  451. ReadTimeout 5s
  452.  
  453. # WarningTimeout <time> [REQUIRED]
  454. # Sets the interval between sending warning messages for program
  455. # errors via WALLOPS/GLOBOPS.
  456.  
  457. WarningTimeout 4h
  458.  
  459. # TimeoutCheck <time> [REQUIRED]
  460. # Sets the (maximum) frequency at which the timeout list is checked.
  461. # This, combined with ReadTimeout above, determine how accurately timed
  462. # events, such as nick kills, occur; it also determines how much CPU
  463. # time Services will use doing this. Higher values will cause less
  464. # accurate timing but less CPU usage.
  465. #
  466. # This shouldn't be set any higher than 10 seconds, and 1 second is
  467. # best if your system is powerful enough (or your network small enough)
  468. # to handle it. 0 will cause the timeout list to be checked every time
  469. # through the main loop, which will probably slow down Services too
  470. # much to be useful on most networks.
  471. #
  472. # Note that this value is not an absolute limit on the period between
  473. # checks of the timeout list; the period may be as great as ReadTimeout
  474. # (above) during periods of inactivity.
  475.  
  476. TimeoutCheck 3s
  477.  
  478. # KeepLogs <days> [RECOMMENDED]
  479. #
  480. # Sets the number of days log files are kept. If you don't give it, or if
  481. # you set it to 0, logs will be kept indefinitely.
  482. #
  483. # NOTE: Services must run 24 hours a day for this feature to work.
  484.  
  485. KeepLogs 7
  486.  
  487. # KeepBackups <days> [RECOMMENDED]
  488. #
  489. # Sets the number of days backups of databases are kept. If you don't give
  490. # it, or if you set it to 0, Services won't backup the databases.
  491. #
  492. # NOTE: Services must run 24 hours a day for this feature to work.
  493.  
  494. KeepBackups 3
  495.  
  496. # ForceForbidReason [OPTIONAL]
  497. #
  498. # If set, Services will require a reason when a forbid is added, else
  499. # the reason is optional. This directive also applies to SUSPENDed
  500. # channels as well.
  501.  
  502. ForceForbidReason
  503.  
  504. # UsePrivmsg [OPTIONAL]
  505. #
  506. # This directive allows users to let Services send PRIVMSGs to them
  507. # instead of NOTICEs. Also see NSDefMsg, which also toggles the default
  508. # communication (PRIVMSG or NOTICE) to use for unregistered users.
  509. #
  510. # This is a feature that is against the IRC RFC and should be used
  511. # _only_ if absolutely necessary.
  512.  
  513. #UsePrivmsg
  514.  
  515. # UseStrictPrivMsg [OPTIONAL]
  516. # Using this directive will force services to only respond to privmsgs
  517. # addressed to Nick@ServerName - e.g. NickServ@localhost.net.
  518. # This should be used on conjunction with ircd aliases.
  519. #
  520. # When using Bahamut, this option will NOT work if the uplink server is
  521. # configured as a services hub. The serviceshub option is not designed to
  522. # be used with Anope.
  523.  
  524. #UseStrictPrivMsg
  525.  
  526. # DumpCore [OPTIONAL]
  527. #
  528. # Setting this directive will make Anope dump core when a segmentation
  529. # fault occurs. This is generally not needed, but if Anope is crashing
  530. # on your network and you want to make a bug report, having a core
  531. # file may be of great help.
  532.  
  533. #DumpCore
  534.  
  535. # LogUsers [OPTIONAL]
  536. #
  537. # Defines whether Anope will log user connections, disconnections and
  538. # nickname changes. You may have to do so in case you ever need to
  539. # transmit user information to your local authorities.
  540.  
  541. #LogUsers
  542.  
  543. # HideStatsO [OPTIONAL]
  544. #
  545. # Setting this directive will make Services only show Stats o to
  546. # IRC Operators.
  547.  
  548. #HideStatsO
  549.  
  550. # GlobalOnCycle [OPTIONAL]
  551. #
  552. # Setting this directive will make Services send global messages on
  553. # starting up and shutting down/restarting.
  554.  
  555. #GlobalOnCycle
  556.  
  557. # GlobalOnCycleMessage <text> [REQUIRED if GlobalOnCycle is specified]
  558. # This is the global message sent when the Services are
  559. # being shutdown/restarted if using GlobalOnCycle
  560. GlobalOnCycleMessage "Services are restarting, they will be back shortly - please be good while we're gone"
  561.  
  562. # GlobalOnCycleUP <text> [OPTIONAL]
  563. # If defined this message will be sent global when the services join
  564. # the network.
  565. GlobalOnCycleUP "Services are now back online - have a nice day"
  566.  
  567. # AnonymousGlobal [OPTIONAL]
  568. # hides the oper's nick in a global message/notice
  569. #AnonymousGlobal
  570.  
  571. # NickRegDelay <seconds> [OPTIONAL]
  572. # Prevents users from regging their nick if they are not
  573. # connected for at least X seconds.
  574. #NickRegDelay 30
  575.  
  576. # UseSVSHOLD [OPTIONAL]
  577. # Allows networks running Bahamut (1.4.35 or later), Unreal (3.2),
  578. # and Plexus (3.0) to use SVSHOLD instead of the services enforcer.
  579. # This option places a temporary Q:Line on the held nick instead
  580. # of introducing a new pseudoclient with that nick, which is better
  581. # for both CPU and bandwidth. If you enable this option on an
  582. # incompatible IRCd (like a pre-1.4.35 Bahamut), it is most likely
  583. # to break.
  584. #UseSVSHOLD
  585.  
  586. # RestrictOperNick [OPTIONAL]
  587. # Forbids the registration of nicks that contain nick with services
  588. # access. So if Tester is a Services Oper, for example, You can't
  589. # register NewTester or Tester123 unless you are an IRC operator.
  590. # IMPORTANT: Remember that you have to be an ircop if you want to
  591. # register the root's nick when setting up Anope for the
  592. # the first time.
  593. #RestrictOperNicks
  594.  
  595. # UseTokens [OPTIONAL]
  596. # Allows irc networks to use TOKEN commands instead of the
  597. # standard commands. This saves bandwidth but can break older
  598. # modules that are not set to trap for TOKEN - if you are using
  599. # older modules do NOT use this option
  600. #UseTokens
  601.  
  602. # UseSVS2MODE [OPTIONAL]
  603. # On Unreal IRCD use SVS2MODE instead of SVSMODE, doing this will
  604. # show services changing user modes.
  605. #UseSVS2MODE
  606.  
  607. # NewsCount [OPTIONAL]
  608. # The number of LOGON/OPER News item to display when a user logs
  609. # on. The default value is 3
  610. #NewsCount 3
  611.  
  612. # UnRestrictSAdmin [OPTIONAL]
  613. # On many ircd Anope removes the umode of +a from users whom are not
  614. # Service Admin in Anope. This mode is NOT used by Anope for any form
  615. # of access. Thus this option allows them to keep the mode without having
  616. # to be a Service Admin in Anope
  617. UnRestrictSAdmin
  618.  
  619. # UlineServers [OPTIONAL]
  620. #
  621. # A list of ulined servers on your network, these servers are assumed they
  622. # can set channel modes and we will not attempt to take them from them
  623. # WARNING: do not put your user servers in this option
  624.  
  625. UlineServers "stats.your.network"
  626.  
  627. # UseTS6 [OPTIONAL]
  628. #
  629. # Modern hybrid ircd like Ratbox 2.0.x support a protocol called TS6.
  630. # However this protocol is optional thus our default support is for without
  631. # TS6, if you want to take advantage of TS6, enable this option.
  632. #
  633. # This option is REQUIRED when linking to InspIRCd 1.2.
  634.  
  635. #UseTS6
  636.  
  637. ###########################################################################
  638. #
  639. # Mail-related options
  640. #
  641. ###########################################################################
  642.  
  643. # NOTE: if UseMail is not set, all parameters after it in this section
  644. # are optional.
  645.  
  646. # UseMail [OPTIONAL]
  647. #
  648. # This option enables the mail commands in Services. You may choose
  649. # to disable it if you have no sendmail-compatible mailer installed.
  650. # This setting is [REQUIRED] if NSEmailReg is enabled.
  651.  
  652. UseMail
  653.  
  654. # SendMailPath <path> [REQUIRED]
  655. #
  656. # This is how we should call SendMail to send a mail. It must be
  657. # called with all parameters needed to make it scan the mail input
  658. # to find the mail recipient; consult your SendMail documentation.
  659. #
  660. # Postfix users must use the compatible sendmail utility provided
  661. # with it; this one usually needs no parameters on the command line.
  662. # Most sendmail applications (or replacements of it) require the -t
  663. # option to be used.
  664.  
  665. SendMailPath "/usr/sbin/sendmail -t"
  666.  
  667. # SendFrom <e-mail> [REQUIRED]
  668. #
  669. # This is the e-mail from which all the e-mails are to be sent. It should
  670. # really exist.
  671.  
  672. SendFrom services@irc.brickpost.info
  673.  
  674. # RestrictMail [OPTIONAL]
  675. #
  676. # When enabled, SENDPASS will be restricted to IRC operators.
  677. #
  678. # WARNING: if you choose to not enable this option, you should limit
  679. # the number of processes the services user can have at a time (you can
  680. # create a special user for this; remember to never launch Services as root).
  681.  
  682. RestrictMail
  683.  
  684. # MailDelay <time> [RECOMMENDED]
  685. #
  686. # another mail after it has sent one. It also controls the minimum time
  687. # an user must wait before it can receive another mail.
  688. #
  689. # This feature prevents users from being mail bombed using Services and
  690. # should definitely be used.
  691.  
  692. MailDelay 1m
  693.  
  694. # DontQuoteAddresses [OPTIONAL]
  695. #
  696. # When enabled, services will not attempt to "" the TO: fields in mails
  697. #
  698. # So far we only know of ESMTP/QMail which need this set.
  699. #
  700.  
  701. #DontQuoteAddresses
  702.  
  703. # ForkForMail [OPTIONAL]
  704. #
  705. # When enabled, services will fork when sending mail, which means there is no
  706. # services lag from mail. This is only supported on operating systems that allow
  707. # the use of forking (eg, not Windows).
  708. #
  709.  
  710. #ForkForMail
  711.  
  712. ###########################################################################
  713. #
  714. # NickServ configuration
  715. #
  716. ###########################################################################
  717.  
  718. # NSForceEmail [RECOMMENDED]
  719. # This option forces the users to give an e-mail when they register
  720. # a nickname. If you have nicks in the database that have no e-mail
  721. # set, they will be asked to set an e-mail when they identify their
  722. # nickname until they set one. Also, this option prevents user from
  723. # unsetting the password. This setting is [REQUIRED] if NSEmailReg
  724. # is enabled.
  725. #
  726. # This option is useful to resolve "lost password" problems.
  727.  
  728. NSForceEmail
  729.  
  730. # NSEmailReg [OPTIONAL]
  731. # This option splits the nick registration into 2 steps, the first
  732. # after registering a email with a passcode is sent to the supplied
  733. # email address, this passcode needs to be entered with a confirm
  734. # command before the nick registration will be completed.
  735. #
  736. # You must have mail / forcemail set for this to work correctly.
  737. # It is also recommended that MailDelay be set to a sensible value
  738. # to prevent mail flooding. This setting is [REQUIRED] if NSEmailReg
  739. # is enabled.
  740.  
  741. NSEmailReg
  742.  
  743. # NSDef... [OPTIONAL]
  744. # Sets the default options for newly registered nicks. Note that
  745. # changing these options will have no effect on nicks which are already
  746. # registered.
  747. #
  748. # If both NSDefKill and NSDefKillQuick are given, the latter takes
  749. # precedence. KILL IMMED cannot be specified as a default.
  750. #
  751. # Note: Both NSDefKill and NSDefKillQuick must be specified for Quick to take effect.
  752. #
  753. # NSDefMsg also controls the default setting for unregistered users.
  754. # If NSDefMsg is enabled, unregistered users will receive PRIVMSGs
  755. # instead of NOTICEs from Services. See UsePrivmsg for more information.
  756. #
  757. # NOTE: If you do not enable any of these options, a default of
  758. # Secure, MemoSignon, and MemoReceive will be used, for backward
  759. # compatibility. If you really want no options enabled by default, use
  760. # NSDefNone.
  761.  
  762. #NSDefNone
  763.  
  764. #NSDefKill
  765. #NSDefKillQuick
  766. NSDefSecure
  767. NSDefPrivate
  768. NSDefHideEmail
  769. NSDefHideUsermask
  770. #NSDefHideQuit
  771. #NSDefMsg
  772. NSDefMemoSignon
  773. NSDefMemoReceive
  774. NSDefAutoop
  775.  
  776. # NSDefLanguage <language-number> [REQUIRED]
  777. # Sets the default language non- and newly-registered will receive
  778. # services' messages in. The numbers are the same as those
  779. # used for the /nickserv SET LANGUAGE command, so look the at the help
  780. # of this command for the list of currently supported languages.
  781. #
  782. # If you ever wanted to know how to translate services in your
  783. # language, read the chapter about it in the README.
  784.  
  785. NSDefLanguage 1
  786.  
  787. # NSRegDelay <time> [RECOMMENDED]
  788. # Sets the minimum length of time between consecutive uses of the
  789. # REGISTER command. If not given, this restriction is disabled (note
  790. # that this allows "registration flooding").
  791.  
  792. NSRegDelay 30s
  793.  
  794. # NSResendDelay <time> [RECOMMENDED]
  795. # Sets the minimum length of time between consecutive uses of the
  796. # RESEND command. If not given, this restriction is disabled (note
  797. # that this allows "resend flooding" or "mail bombing").
  798.  
  799. NSResendDelay 90s
  800.  
  801. # NSExpire <time> [RECOMMENDED]
  802. # Sets the length of time before a nick registration expires.
  803.  
  804. NSExpire 21d
  805.  
  806. # NSRExpire <time> [OPTIONAL]
  807. # Sets the length of time a user gets to enter the confirmation code
  808. # which has been e-mailed to them before the nick will be released
  809. # for general use again. This setting is [REQUIRED] if NSEmailReg is
  810. # enabled.
  811.  
  812. NSRExpire 10d
  813.  
  814. # NSMaxAliases <number> [RECOMMENDED]
  815. # Sets the maximum number of nicks allowed in a group. If you
  816. # set it to 0, or don't set it at all, no limits will be applied.
  817.  
  818. NSMaxAliases 16
  819.  
  820. # NSAccessMax <count> [REQUIRED]
  821. # Sets the maximum number of entries allowed on a nickname access list.
  822.  
  823. NSAccessMax 32
  824.  
  825. # NSEnforcerUser <user>[@<host>] [REQUIRED]
  826. # Sets the username (and possibly hostname) used for the fake user
  827. # created when NickServ collides a user. Should be in user@host
  828. # format. If the host is not given, the one from ServicesUser is
  829. # used.
  830.  
  831. NSEnforcerUser enforcer@localhost.net
  832. #NSEnforcerUser enforcer
  833.  
  834. # NSReleaseTimeout <time> [REQUIRED]
  835. # Sets the delay before a NickServ-collided nick is released.
  836.  
  837. NSReleaseTimeout 1m
  838.  
  839. # NSAllowKillImmed [OPTIONAL]
  840. # When enabled, allows the use of the IMMED option with the NickServ
  841. # SET KILL command.
  842.  
  843. #NSAllowKillImmed
  844.  
  845. # NSNoGroupChange [OPTIONAL]
  846. # When enabled, the NickServ GROUP command won't allow any group change.
  847. # This is recommended for better performances and to protect against
  848. # nick stealing, however users will have less flexibility.
  849.  
  850. #NSNoGroupChange
  851.  
  852. # NSListOpersOnly [OPTIONAL]
  853. # When enabled, limits use of the NickServ LIST command to IRC
  854. # operators.
  855.  
  856. #NSListOpersOnly
  857.  
  858. # NSListMax <count> [REQUIRED]
  859. # Specifies the maximum number of nicks to be returned for a NickServ
  860. # LIST command.
  861.  
  862. NSListMax 50
  863.  
  864. # NSGuestNickPrefix <value> [REQUIRED]
  865. # When a user's nick is forcibly changed to enforce a "nick kill", their
  866. # new nick will start with this value. The rest will be made up of 6 or 7
  867. # digits.
  868.  
  869. NSGuestNickPrefix "Guest"
  870.  
  871. # NSSecureAdmins [RECOMMENDED]
  872. # When enabled, prevents the use of the DROP, FORBID, GETPASS, and
  873. # SET PASSWORD commands by Services admins on other Services admins or
  874. # the Services root(s).
  875.  
  876. NSSecureAdmins
  877.  
  878. # NSStrictPrivileges [RECOMMENDED]
  879. #
  880. # When enabled, any user wanting to use the privileges of Services Root, Services
  881. # Admin or Services Operator must have been logged as an IRC Operator with the
  882. # /oper command.
  883.  
  884. NSStrictPrivileges
  885.  
  886. # NSModeOnID [OPTIONAL]
  887. #
  888. # When enabled, services will set the channel modes a user has access to upon
  889. # identifying, assuming they are not already set.
  890. #
  891.  
  892. # NSModeOnID
  893.  
  894. # NSRestrictGetPass [OPTIONAL]
  895. #
  896. # When enabled, services will only allow Services Root to use the getpass
  897. # command on a nick.
  898.  
  899. NSRestrictGetPass
  900.  
  901. # NSNickTracking [OPTIONAL]
  902. #
  903. # When enabled, services will track your last nick identified when issuing
  904. # nick changes.
  905.  
  906. #NSNickTracking
  907.  
  908. # NSAddAccessOnReg [OPTIONAL]
  909. #
  910. # When enabled, services will add the usermask of registering users to the
  911. # access list of their newly created account. If you disable this, users
  912. # will always have to identify to nickserv before being recognized, unless
  913. # they manually add an address to the access list of their account.
  914.  
  915. NSAddAccessOnReg
  916.  
  917. ###########################################################################
  918. #
  919. # ChanServ configuration
  920. #
  921. ###########################################################################
  922.  
  923. # CSDef... [OPTIONAL]
  924. # Sets the default options for newly registered channels. Note that
  925. # changing these options will have no effect on channels which are
  926. # already registered.
  927. #
  928. # NOTE: If you do not enable any of these options, a default of
  929. # KeepTopic, Secure, SecureFounder and SignKick will be used, for
  930. # backward compatibility. If you really want no options enabled by
  931. # default, use CSDefNone.
  932.  
  933. #CSDefNone
  934.  
  935. CSDefKeepTopic
  936. #CSDefOpNotice
  937. CSDefPeace
  938. #CSDefPrivate
  939. #CSDefRestricted
  940. CSDefSecure
  941. #CSDefSecureOps
  942. CSDefSecureFounder
  943. CSDefSignKick
  944. #CSDefSignKickLevel
  945. #CSDefTopicLock
  946. CSDefXOP
  947.  
  948.  
  949. # CSMaxReg <count> [RECOMMENDED]
  950. # Limits the number of channels which may be registered to a single
  951. # nickname.
  952.  
  953. CSMaxReg 20
  954.  
  955. # CSExpire <time> [RECOMMENDED]
  956. # Sets the number of days before a channel expires.
  957.  
  958. CSExpire 14d
  959.  
  960. # CSDefBantype <bantype> [REQUIRED]
  961. #
  962. # Sets the default ban type for newly registered channels (and when
  963. # importing old databases).
  964. #
  965. # bantype can be:
  966. #
  967. # 0: ban in the form *!user@host
  968. # 1: ban in the form *!*user@host
  969. # 2: ban in the form *!*@host
  970. # 3: ban in the form *!*user@*.domain
  971.  
  972. CSDefBantype 2
  973.  
  974. # CSAccessMax <count> [REQUIRED]
  975. # Sets the maximum number of entries on a channel's access list.
  976. # Channel access lists may contain only registered nicknames;
  977. # therefore, checking each entry on the list requires only a single
  978. # scaler comparison instead of a wildcard match, and this limit may be
  979. # safely set much higher than (for example) the nickname access list
  980. # size limit without impacting performance significantly.
  981.  
  982. CSAccessMax 1024
  983.  
  984. # CSAutokickMax <count> [REQUIRED]
  985. # Sets the maximum number of entries on a channel's autokick list.
  986.  
  987. CSAutokickMax 32
  988.  
  989. # CSAutokickReason <text> [REQUIRED]
  990. # Sets the default reason for an autokick if none is given.
  991.  
  992. CSAutokickReason "User has been banned from the channel"
  993.  
  994. # CSInhabit <time> [REQUIRED]
  995. # Sets the length of time ChanServ stays in a channel after kicking a
  996. # user from a channel s/he is not permitted to be in. This only occurs
  997. # when the user is the only one in the channel.
  998.  
  999. CSInhabit 15s
  1000.  
  1001. # CSListOpersOnly [OPTIONAL]
  1002. # When enabled, limits use of the ChanServ LIST command to IRC
  1003. # operators.
  1004.  
  1005. #CSListOpersOnly
  1006.  
  1007. # CSListMax <count> [REQUIRED]
  1008. # Specifies the maximum number of channels to be returned for a
  1009. # ChanServ LIST command.
  1010.  
  1011. CSListMax 50
  1012.  
  1013. # CSRestrictGetPass [OPTIONAL]
  1014. #
  1015. # When enabled, services will only allow Services Root to use the getpass
  1016. # command on a channel.
  1017.  
  1018. # CSRestrictGetPass
  1019.  
  1020. # CSOpersOnly [OPTIONAL]
  1021. # If this is defined, only IRC Operators will be permitted to use ChanServ.
  1022.  
  1023. #CSOpersOnly
  1024.  
  1025. ###########################################################################
  1026. #
  1027. # MemoServ configuration
  1028. #
  1029. ###########################################################################
  1030.  
  1031. # MSMaxMemos <count> [RECOMMENDED]
  1032. # Sets the maximum number of memos a user is allowed to keep by
  1033. # default. Normal users may set the limit anywhere between zero and
  1034. # this value; Services admins can change it to any value or disable it.
  1035. # If not given, the limit is disabled by default, and normal users can
  1036. # set any limit they want.
  1037.  
  1038. MSMaxMemos 20
  1039.  
  1040. # MSSendDelay <time> [RECOMMENDED]
  1041. # Sets the delay between consecutive uses of the MemoServ SEND command.
  1042. # This can help prevent spam as well as denial-of-service attacks from
  1043. # sending large numbers of memos and filling up disk space (and
  1044. # memory). A 3-second wait means a maximum average of 150 bytes of
  1045. # memo per second per user under the current IRC protocol.
  1046.  
  1047. MSSendDelay 3s
  1048.  
  1049. # MSNotifyAll [OPTIONAL]
  1050. # Should we notify all appropriate users of a new memo? This applies
  1051. # in cases where a memo is sent to a nick which is in the group of
  1052. # another nick. Note that, unlike before, it is currently often more
  1053. # efficient to enable this.
  1054.  
  1055. MSNotifyAll
  1056.  
  1057. # MSMemoReceipt [OPTIONAL]
  1058. # Allow the use of memo receipts for the following groups:
  1059. # 1 - Opers Only
  1060. # 2 - Everybody
  1061. #
  1062. MSMemoReceipt 1
  1063.  
  1064. ###########################################################################
  1065. #
  1066. # BotServ configuration
  1067. #
  1068. ###########################################################################
  1069.  
  1070. # BSDef... [OPTIONAL]
  1071. # Sets the default options for newly registered channels. Note that
  1072. # changing these options will have no effect on channels which are
  1073. # already registered.
  1074.  
  1075. #BSDefDontKickOps
  1076. #BSDefDontKickVoices
  1077. BSDefGreet
  1078. BSDefFantasy
  1079. BSDefSymbiosis
  1080.  
  1081. # BSMinUsers <count> [REQUIRED]
  1082. # Minimum number of users there must be in a channel before the
  1083. # bot joins it. The best value for this setting is 1 or 2. This
  1084. # cannot be 0, otherwise topic retention and mode lock and such
  1085. # other things won't work.
  1086.  
  1087. BSMinUsers 1
  1088.  
  1089. # BSBadWordsMax <count> [REQUIRED]
  1090. # Maximum number of entries a single bad words list can have.
  1091. # Setting it too high can reduce performances slightly.
  1092.  
  1093. BSBadWordsMax 32
  1094.  
  1095. # BSKeepData <time> [REQUIRED]
  1096. # Amount of time data for a user that is used by BotServ is
  1097. # valid. If the data exceeds this time, it is reset or deleted
  1098. # depending the case. Do not set it too high otherwise your resources
  1099. # will be slightly affected.
  1100.  
  1101. BSKeepData 10m
  1102.  
  1103. # BSSmartJoin [OPTIONAL]
  1104. # The bot is currently not affected by any modes or bans when he
  1105. # tries to join a channel. But some people may want to make it
  1106. # act like a real bot, that is, for example, remove all bans
  1107. # that affect the bot before joining the channel, remove a
  1108. # ban that affects the bot set by an user when it is on the
  1109. # channel, and so on. Since it consumes a bit more CPU time,
  1110. # you should not comment it out on larger networks.
  1111.  
  1112. # BSSmartJoin
  1113.  
  1114. # BSGentleBWReason [OPTIONAL]
  1115. # This option will make the bot use a kick reason that does not retake
  1116. # the word when it is kicking the bot. This is especially useful if
  1117. # you have young people on your network.
  1118.  
  1119. BSGentleBWReason
  1120.  
  1121. # BSCaseSensitive [OPTIONAL]
  1122. # This option will make botserv use cAsE sEnSiTiVe checking for badwords
  1123.  
  1124. # BSCaseSensitive
  1125.  
  1126. # BSFantasyCharacter [OPTIONAL]
  1127. # This option allows you to change the default prefix for fantasy
  1128. # commands in channels. This character will have to be prepended to
  1129. # all fantasy commands. If you choose "!", fantasy commands will, for
  1130. # example, be "!kick", "!op", etc. If left out, the default fantasy
  1131. # character will be "!".
  1132.  
  1133. # BSFantasyCharacter "!"
  1134.  
  1135. ###########################################################################
  1136. #
  1137. # HostServ configuration
  1138. #
  1139. ###########################################################################
  1140.  
  1141. # HostSetters <nicks> [DISCOURAGED]
  1142. # Specifies the nicks of NON-OPERS allowed to Set/Remove vHosts using
  1143. # HostServ. Can be re-loaded with /msg operserv reload
  1144. # You can specify more than one nick by separating each one by a space.
  1145. #
  1146. # Make sure you insert the correct nick(s) here..
  1147.  
  1148. #HostSetters "rob dengel certus"
  1149.  
  1150. ###########################################################################
  1151. #
  1152. # OperServ configuration
  1153. #
  1154. ###########################################################################
  1155.  
  1156. # ServicesRoot <nicks> [REQUIRED]
  1157. # Specifies the Services "super-users". The super-users, or "roots" as in
  1158. # Unix terminology, are the only users who can add or delete Services
  1159. # admins.
  1160. #
  1161. # You can specify more than one nick by separating each one by a space.
  1162. #
  1163. # This is commented out by default; make sure you insert the correct
  1164. # nick before uncommenting it.
  1165.  
  1166. ServicesRoot "Lcawte"
  1167.  
  1168. # SuperAdmin [OPTIONAL]
  1169. # When enabled, Services Roots will be able to use SuperAdmin [ON|OFF]
  1170. # which will temporarily grant them extra privileges, such as being a
  1171. # founder of _all_ channels, ability to adjust another users modes etc..
  1172.  
  1173. SuperAdmin Lcawte
  1174.  
  1175. # LogMaxUsers [OPTIONAL]
  1176. # Causes Services to write a message to the log every time a new user
  1177. # maximum is set.
  1178.  
  1179. LogMaxUsers
  1180.  
  1181. # ...Expiry <time> [REQUIRED]
  1182. # Sets the default expiry time for, respectively, AKILLs, SGLINEs,
  1183. # SQLINEs and SZLINEs.
  1184.  
  1185. AutoKillExpiry 30d
  1186. ChanKillExpiry 30d
  1187. SGLineExpiry 30d
  1188. SQLineExpiry 30d
  1189. SZLineExpiry 30d
  1190.  
  1191. # AkillOnAdd [OPTIONAL]
  1192. #
  1193. # When enabled, this option makes the services send an AKILL command
  1194. # immediately after it has been added with AKILL ADD. This eliminates
  1195. # the need of killing the users after the akill has been added.
  1196.  
  1197. # AkillOnAdd
  1198.  
  1199. # KillOnSGline [OPTIONAL]
  1200. #
  1201. # When enabled, this option makes the services send an (SVS)KILL command
  1202. # immediately after SGLINE ADD. This eliminates the need of killing the
  1203. # users after the SGLINE has been added.
  1204.  
  1205. # KillOnSGline
  1206.  
  1207. # KillOnSQline [OPTIONAL]
  1208. #
  1209. # When enabled, this option makes the services send an (SVS)KILL command
  1210. # immediately after SQLINE ADD. This eliminates the need of killing the
  1211. # users after the SQLINE has been added.
  1212.  
  1213. # KillOnSQline
  1214.  
  1215. # DisableRaw [RECOMMENDED]
  1216. #
  1217. # Disables the highly destructive OperServ RAW command.
  1218.  
  1219. DisableRaw
  1220.  
  1221. # WallOper [OPTIONAL]
  1222. # Causes Services to send a WALLOPS/GLOBOPS when a user becomes an IRC
  1223. # operator. Note that this can cause WALLOPS floods when Services
  1224. # first connects to the network.
  1225.  
  1226. #WallOper
  1227.  
  1228. # WallBadOS [OPTIONAL]
  1229. # Causes Services to send a WALLOPS/GLOBOPS if a non-IRC-operator tries
  1230. # to use OperServ.
  1231.  
  1232. #WallBadOS
  1233.  
  1234. # WallOS... [OPTIONAL]
  1235. # Cause Services to send a WALLOPS/GLOBOPS on use of each of the
  1236. # OperServ commands listed.
  1237.  
  1238. WallOSGlobal
  1239. WallOSMode
  1240. WallOSClearmodes
  1241. WallOSKick
  1242. WallOSAkill
  1243. WallOSSGLine
  1244. WallOSSQLine
  1245. WallOSSZLine
  1246. WallOSNoOp
  1247. WallOSJupe
  1248. WallOSRaw
  1249.  
  1250. # Wall...Expire [OPTIONAL]
  1251. # Causes Services to send a WALLOPS/GLOBOPS whenever respectively
  1252. # an AKILL, an SGLINE, an SQLINE, an SZLINE and a session limit
  1253. # exception expires.
  1254.  
  1255. #WallAkillExpire
  1256. #WallSGLineExpire
  1257. #WallSQLineExpire
  1258. #WallSZLineExpire
  1259. #WallExceptionExpire
  1260.  
  1261. # WallGetpass [OPTIONAL]
  1262. # Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1263. # ChanServ GETPASS command.
  1264.  
  1265. WallGetpass
  1266.  
  1267. # WallSetpass [OPTIONAL]
  1268. # Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1269. # sets a password for a nickname or channel (s)he does not normally have
  1270. # privileges to set.
  1271.  
  1272. WallSetpass
  1273.  
  1274. # WallForbid [OPTIONAL]
  1275. # Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1276. # ChanServ FORBID command.
  1277.  
  1278. WallForbid
  1279.  
  1280. # WallDrop [OPTIONAL]
  1281. # Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1282. # drops a nickname or channel (s)he does not normally have
  1283. # privileges to drop.
  1284.  
  1285. WallDrop
  1286.  
  1287. # LimitSessions [OPTIONAL]
  1288. # Enables session limiting. Session limiting prevents users from
  1289. # connecting more than a certain number of times from the same host at the
  1290. # same time - thus preventing most types of cloning. Once a host reaches
  1291. # it's session limit, all clients attempting to connect from that host
  1292. # will be killed. Exceptions to the default session limit can be defined
  1293. # via the exception list. It should be noted that session limiting, along
  1294. # with a large exception list, can degrade services' performance.
  1295. # See the source and comments in sessions.c and the online help for more
  1296. # information about session limiting.
  1297. #
  1298. # NOTE: This option is not available when STREAMLINED is defined in
  1299. # the Makefile.
  1300.  
  1301. LimitSessions
  1302.  
  1303. # DefSessionLimit <limit> [REQUIRED]
  1304. # Default session limit per host. Once a host reaches it's session limit,
  1305. # all clients attempting to connect from that host will be killed.
  1306.  
  1307. DefSessionLimit 3
  1308.  
  1309. # MaxSessionLimit <limit> [REQUIRED]
  1310. # The maximum session limit that may be set for a host in an exception.
  1311.  
  1312. MaxSessionLimit 100
  1313.  
  1314. # ExceptionExpiry <time> [REQUIRED]
  1315. # Sets the default expiry time for exceptions.
  1316.  
  1317. ExceptionExpiry 1d
  1318.  
  1319. # SessionLimitExceeded <message> [OPTIONAL]
  1320. # The message that will be NOTICE'd to a user just before they are removed
  1321. # from the network because their's host session-limit has been exceeded.
  1322. # It may be used to give a slightly more descriptive reason for the
  1323. # impending kill as apposed to simply "Session limit exceeded". If this is
  1324. # commented out, nothing will be sent.
  1325.  
  1326. SessionLimitExceeded "The session limit for your host %s has been exceeded."
  1327.  
  1328. # SessionLimitDetailsLoc <message> [OPTIONAL]
  1329. # Same as above, but should be used to provide a website address where
  1330. # users can find out more about session limits and how to go about
  1331. # applying for an exception. If this is commented out, nothing will be
  1332. # sent.
  1333. #
  1334. # This option has been intentionally commented out in an effort to remind
  1335. # you to change the URL it contains. It is recommended that you supply an
  1336. # address/url where people can get help regarding session limits.
  1337.  
  1338. #SessionLimitDetailsLoc "Please visit http://your.website.url/ for more information about session limits."
  1339.  
  1340. # MaxSessionKill <number> [OPTIONAL]
  1341. #
  1342. # If given and different from 0, this option tells the Services to add an
  1343. # AKILL when there is number subsequent kills for the same hostname, preventing
  1344. # the network from KILL flood.
  1345.  
  1346. MaxSessionKill 15
  1347.  
  1348. # SessionAutoKillExpiry <time> [OPTIONAL]
  1349. #
  1350. # Sets the expiry time for autokills added for hosts that need to be
  1351. # AKILLed as controlled by the MaxSessionKill option.
  1352. #
  1353. # If not given, the default value is 30 minutes.
  1354.  
  1355. SessionAutoKillExpiry 30m
  1356.  
  1357.  
  1358. # AddAkiller [OPTIONAL]
  1359. # Adds the nickname of the Operator issuing an AKILL to the kill reason.
  1360. #
  1361. AddAkiller
  1362.  
  1363. # OSOpersOnly [RECOMMENDED]
  1364. # If this is defined, only IRC Operators will be permitted to use
  1365. # OperServ, regardless of module based command access restrictions.
  1366.  
  1367. OSOpersOnly
  1368.  
  1369.  
  1370. ###########################################################################
  1371. #
  1372. # DefCon configuration
  1373. #
  1374. ###########################################################################
  1375.  
  1376. # DefConLevel <level> [OPTIONAL]
  1377. # Default defcon level (1-5) to use when starting services up, level 5
  1378. # instructs services to run as normal.
  1379.  
  1380. #DefConLevel 5
  1381.  
  1382. # DefCon1-4 <numeric> [REQUIRED if Defcon is activated]
  1383. # These numercics determine which of the following operations take place
  1384. # at each level, the correct numeric can be found by adding together the
  1385. # number for each restriction you wish to place at a level.
  1386. # No new channel registrations 1
  1387. # No New Nick Registrations 2
  1388. # No MLOCK changes 4
  1389. # Force Chan Mode 8
  1390. # Use Reduced Session Limit 16
  1391. # KILL any new clients trying to connect 32
  1392. # Services will ignore everyone but opers 64
  1393. # Services will silently ignore everyone but opers 128
  1394. # AKILL all new clients trying to connect 256
  1395. # No new memos sent to block memoserv attacks 512
  1396.  
  1397. #DefCon4 23
  1398. # No channel reg + No Nick Reg + No MLOCK changes + Use Reduced Session Limit
  1399. # 1 + 2 + 4 + 16
  1400.  
  1401. #DefCon3 31
  1402. # As DefCon4 + Services will Force Chan Mode's on channels
  1403. # 23 + 8
  1404.  
  1405. #DefCon2 159
  1406. # As DefCon3 + Services will silently ignore everyone but opers
  1407. # 31 + 128
  1408.  
  1409. #DefCon1 415
  1410. # As DefCon2 + AKILL all new clients trying to connect
  1411. # 159 + 256
  1412.  
  1413.  
  1414. # DefConSessionLimit <limit> [REQUIRED if DefCon is activated]
  1415. # New session limit to use when a defcon level is using "reduced"
  1416. # session limiting.
  1417. # NOTE: When using DefCon this value needs to be defined
  1418. #DefConSessionLimit 2
  1419.  
  1420. # DefConAkillExpire <time> [REQUIRED if DefCon is activated]
  1421. # Length of time to add the AKILL for when DEFCON is preventing
  1422. # all new clients from connecting to the network
  1423. #
  1424. # NOTE: As with all expire times, the expirey check will only be
  1425. # carried out once every "ExpireTimeout" so if this setting is
  1426. # 30m the the akill could last for 30m regardless of this setting.
  1427. #
  1428. # NOTE: When using DefCon this value needs to be defined
  1429. #DefConAkillExpire 5m
  1430.  
  1431. # DefConChanModes <modes> [REQUIRED if DefCon is activated]
  1432. # The channel modes to set on all channel's when the DefCon channel
  1433. # mode system is in use.
  1434. #
  1435. # NOTE: Choose these modes carefully, because when defcon switches to
  1436. # a level which does NOT have the mode setting selected, services will
  1437. # set the reverse on all channel's, e.g. if this setting is +RN
  1438. # when defcon is used all channel's will be set to +RN, when
  1439. # defcon is removed, channels will all be set to -RN. You don't
  1440. # want to set this to +k for example because when defcon is removed all
  1441. # channels will -k.
  1442. # NOTE: mlock'ed modes will not be lost
  1443. #DefConChanModes "+R"
  1444.  
  1445. # DefConTimeOut <time> [OPTIONAL]
  1446. # This value can be used to automatically return the network to
  1447. # defcon 5 after the specified time period - just in case any opers
  1448. # forget to remove a defcon setting.
  1449. #DefConTimeOut 15m
  1450.  
  1451. # GlobalOnDefcon [OPTIONAL]
  1452. #
  1453. # Setting this directive will make Services send a global message on
  1454. # Defcon Level changes.
  1455. #GlobalOnDefcon
  1456.  
  1457. # GlobalOnDefconMore [OPTIONAL]
  1458. #
  1459. # Setting this directive will make Services send a global message on
  1460. # Defcon Level changes. Uncommenting this will allow you to send along
  1461. # with the new level, the DefconMessage.
  1462. #GlobalOnDefconMore
  1463.  
  1464. #DefconMessage "Put your message to send your users here. Dont forget to uncomment GlobalOnDefconMore"
  1465.  
  1466. # DefConOffMessage [OPTIONAL]
  1467. #
  1468. # If this is defined, it will be used in place of GlobalOnDefcon and
  1469. # GlobalOnDefconMore when defcon is returned to level 5
  1470. #DefConOffMessage "Services are now back to normal, sorry for any inconvenience"
  1471.  
  1472. # DefConAkillReason <text> [REQUIRED if DefCon is activated]
  1473. #
  1474. # When using DEFCON this setting will be used when any clients are killed
  1475. # or akilled from the network by defcon
  1476. #
  1477. #DefConAkillReason "This network is currently not accepting connections, please try again later"
  1478.  
  1479. ###########################################################################
  1480. #
  1481. # MySQL configuration
  1482. #
  1483. ###########################################################################
  1484. #
  1485. # Mysql [OPTIONAL]
  1486. #
  1487. # Your MySQL configuration for use with Anope.
  1488. # To disable MySQL functionality, just comment out this block.
  1489. # To make use of MySQL use these directives and change their
  1490. # setting to the appropriate values.
  1491. #
  1492. # MysqlHost defines the Mysql server hostname.
  1493. # MysqlUser defines the Mysql user to log in with.
  1494. # MysqlPass defines the Mysql pass required for the specified user to log in.
  1495. # MysqlName defines the Mysql database name Anope uses
  1496. # MysqlSock defines the Mysql UNIX socket
  1497. # MysqlPort defines the Mysql TCP port
  1498. #
  1499. #MysqlHost "127.0.0.1"
  1500. #MysqlUser "brickpost_irc"
  1501. #MysqlPass "mypass"
  1502. #MysqlName "brickpost_irc"
  1503. #MysqlSock "/tmp/mysql.sock"
  1504. #MysqlPort 3306
  1505.  
  1506. # MysqlSecure "<des>|<md5>|<sha>|<key>" [OPTIONAL]
  1507. #
  1508. # Method for storing passwords on MySQL. Available methods are:
  1509. # Empty or not set will save your passwords as clear text.
  1510. # des : Encrypt using a simple DES algorithm.
  1511. # md5 : Produces the md5 hash for the password.
  1512. # sha : Calculates the checksum using a Secure Hash Algorithm.
  1513. # key : Encodes using "key" as password.
  1514. # Please read docs/MYSQL file for more info and details.
  1515. #
  1516. #MysqlSecure "md5"
  1517.  
  1518.  
  1519. # MysqlRetries <value> [OPTIONAL]
  1520. # MysqlRetryGap <value> [OPTIONAL]
  1521. #
  1522. # These values let you define how often and with how much interruption Anope
  1523. # shall retry to open a connection when losing the contact to the mysql db.
  1524. # The product of these values must be between 1 and 60.
  1525. #
  1526. #MysqlRetries 10
  1527. #MysqlRetryGap 1
  1528.  
  1529. # UseRDB [OPTIONAL]
  1530. #
  1531. # Enable this if you want anope to load its data from a remote database.
  1532. # (e.g. MySQL)
  1533. #
  1534. #UseRDB
  1535.  
  1536. ###########################################################################
  1537. #
  1538. # Module configuration
  1539. #
  1540. ###########################################################################
  1541. #
  1542. # ModuleAutoload [OPTIONAL]
  1543. #
  1544. # When compiled with module support, this contains a space separated list
  1545. # of modules to automatically load as soon as possible, e.g. IRCD support modules.
  1546. #
  1547. ModuleAutoload "hs_moo ircd_defizzer os_ignore_db"
  1548.  
  1549. # ModuleDelayedAutoload [OPTIONAL]
  1550. #
  1551. # When compiled with module support, this contains a space separated list
  1552. # of modules to automaticaly load when services are ready for new clients.
  1553. # e.g. new pesudo clients such as CatServ :-) *meow*
  1554. # By default a number of modules that we found worth adding by default are
  1555. # loaded. Feel free to change this if you want to add more, or remove some
  1556. # from the list.
  1557. #
  1558. ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail os_info hs_request"
  1559.  
  1560. ###########################################################################
  1561. #
  1562. # Module specific configuration
  1563. #
  1564. ###########################################################################
  1565. #
  1566. # This section contains configuration options specific to certain modules.
  1567. # The options in here are for the modules shipped by default. You can add
  1568. # more options for other modules you load here. Check the documentation of
  1569. # the module to see what configuration options it provides.
  1570.  
  1571. # NSEmailMax [OPTIONAL]
  1572. # Module: ns_maxemail
  1573. #
  1574. # Limit the amount of registrations with the same email address to the
  1575. # amount given here. If set to 0 or left commented, there will be no limit
  1576. # enforced when registering new accounts or using /msg NickServ SET EMAIL.
  1577. #
  1578. NSEmailMax 10
  1579.  
  1580. # OSInfoDBName [OPTIONAL]
  1581. # Module: os_info
  1582. #
  1583. # Use the given filename as database for the oper information lines.
  1584. # If not given, the default of "os_info.db" will be used.
  1585. #
  1586. #OSInfoDBName "os_info.db"
  1587.  
  1588. # HSRequestMemo... [OPTIONAL]
  1589. # Module: hs_request
  1590. #
  1591. # Specify if we should send memo's on certain actions with requested vHosts.
  1592. # Enable HSRequestMemoUser to send memo's to the user requesting a vHost
  1593. # when it's being approved or rejected. Enable HSRequestMemoOper or
  1594. # HSRequestMemoSetters if you want to send a memo to all services staff
  1595. # or host setters when a new vHost is requested.
  1596. #
  1597. #HSRequestMemoUser
  1598. #HSRequestMemoOper
  1599. #HSRequestMemoSetters
  1600.  
  1601. # HSRequestDBName [OPTIONAL]
  1602. # Module: hs_request
  1603. #
  1604. # Use the given filename as database for the vhost requests. If not given,
  1605. # the default of "hs_request.db" will be used.
  1606. #
  1607. #HSRequestDBName "hs_request.db"
  1608.  
  1609. # OSIgnoreDBName [OPTIONAL]
  1610. # Module: os_ignore_db
  1611. #
  1612. # Use the given filename as database to store services' ignores.
  1613. # If not given, the default of "os_ignore.db" will be used.
  1614. #
  1615. #OSIgnoreDBName "os_ignore.db"
  1616.  
  1617. #EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement