SHARE
TWEET

Sam

a guest Apr 26th, 2008 412 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 /usr/local/lib/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. # Remote server configuration
  70. #
  71. ###########################################################################
  72.  
  73. # RemoteServer <hostname> <port> <password>  [REQUIRED]
  74. #     Specifies the remote server hostname and port.  The hostname may
  75. #     either be a standard Internet hostname or dotted-quad numeric
  76. #     address; the port number must be an integer between 1 and 65535
  77. #     inclusive.  The password is a string which should be enclosed in
  78. #     double quotes if it contains any spaces (or just for clarity).
  79. #
  80. #     The remote server and port may be overridden at runtime with the
  81. #     -remote command-line option.  The password may not be set at runtime.
  82. #
  83. #     If services can't connect to the RemoteServer, they will try
  84. #     RemoteServer2 (if defined). If they can't connect to RemoteServer2,
  85. #     they will use RemoteServer3 (if defined).
  86.  
  87. RemoteServer    localhost 7000 "PASSGOESHERE"
  88. RemoteServer2  localhost 6667 "PASSGOESHERE"
  89. #RemoteServer3  localhost 6667 "mypass"
  90.  
  91. # LocalAddress <hostname> [port]  [OPTIONAL]
  92. #     Specifies the local address to bind to before connecting to the
  93. #     remote server.  This may be useful on multihomed hosts.  The hostname
  94. #     and port number are specified the same way as with the RemoteServer
  95. #     directive.  If this is not specified, Services will let the operating
  96. #     system choose the local address.  If only a hostname is specified,
  97. #     Services will bind to that address but let the operating system
  98. #     choose the local port number.
  99. #
  100. #     If you don't know what this means or don't need to use it, just leave
  101. #     the directive commented out.
  102. #
  103. #     This directive may be overridden at runtime by the -local
  104. #     command-line option.
  105.  
  106. #LocalAddress   nowhere. 0
  107.  
  108. ###########################################################################
  109. #
  110. # Services identification and pseudoclient names
  111. #
  112. ###########################################################################
  113.  
  114. # ServerName <name>  [REQUIRED]
  115. #     Specifies the IRC server name which Services should use.  May be
  116. #     overridden by the -name command-line option.
  117.  
  118. ServerName  "services.watsound.co.uk"
  119.  
  120. # ServerDesc <text>  [REQUIRED]
  121. #     Specifies the text which should appear as the server's information in
  122. #     /whois and similar queries.  May be overridden by the -desc
  123. #     command-line option.
  124.  
  125. ServerDesc  "WeAreTheSound"
  126.  
  127. # ServiceUser <usermask>  [REQUIRED]
  128. #     Specifies the user@host mask which should be used by the Services
  129. #     pseudoclients.  May be overridden by the -user and -host command-line
  130. #     options.
  131.  
  132. ServiceUser "user@watsound.co.uk"
  133.  
  134. # ...Name <nick> <string>  [REQUIRED except as noted below]
  135. #     Specify the nicknames (first parameter) and "real" names (second
  136. #     parameter) for the Services pseudoclients.  BotServ and DevNull may
  137. #     be disabled by commenting out the appropriate lines below. Disabling
  138. #     BotServ is recommended on large networks.
  139.  
  140. NickServName    "NickServ"  "Nickname Server"
  141. ChanServName    "ChanServ"  "Channel Server"
  142. MemoServName    "MemoServ"  "Memo Server"
  143. BotServName     "BotServ"   "Bot Server"
  144. HelpServName    "HelpServ"  "Help Server"
  145. OperServName    "OperServ"  "Operator Server"
  146. GlobalName      "Global"    "Global Noticer"
  147. #DevNullName     "DevNull"   "/dev/null -- message sink"
  148. HostServName    "HostServ"  "vHost Server"
  149.  
  150. # ...Alias <nick> <string>  [OPTIONAL]
  151. #     Specify alternate nicknames for services. When a user will /msg
  152. #     NickServAlias something, it will be forwarded to NickServName, and
  153. #     NickServName will answer. This can be used to ease the migration
  154. #     from another network, for example if your services are called
  155. #     NickKeeper, ChanKeeper, etc ... and the other network calls them
  156. #     NickServ, ChanServ, etc ...
  157.  
  158. #NickServAlias    "NickServ2"  "Nickname Server Forwarder"
  159. #ChanServAlias    "ChanServ2"  "Channel Server Forwarder"
  160. #MemoServAlias    "MemoServ2"  "Memo Server Forwarder"
  161. #BotServAlias     "BotServ2"   "Bot Server Forwarder"
  162. #HelpServAlias    "HelpServ2"  "Help Server Forwarder"
  163. #OperServAlias    "OperServ2"  "Operator Server Forwarder"
  164. #GlobalAlias      "Global2"    "Global Noticer Forwarder"
  165. #DevNullName     "DevNull2"   "/dev/null -- message sink Forwarder"
  166. #HostServAlias    "HostServ2"  "vHost Server Forwarder"
  167.  
  168. ###########################################################################
  169. #
  170. # Services data filenames
  171. #
  172. ###########################################################################
  173.  
  174. # NOTE: All filenames are relative to the Services data directory.
  175.  
  176. # PIDFile <filename>  [REQUIRED]
  177. #     Specifies the name of the file containing Services' process ID.
  178.  
  179. PIDFile     services.pid
  180.  
  181. # MOTDFile <filename>  [REQUIRED]
  182. #     Specifies the name of the Message of the Day file.
  183.  
  184. MOTDFile    services.motd
  185.  
  186. # ...DB <filename>  [REQUIRED]
  187. #     Specifies the filenames for the various Services subsystems' databases.
  188.  
  189. NickServDB  nick.db
  190. #PreNickServDB prenick.db
  191. ChanServDB  chan.db
  192. BotServDB   bot.db
  193. OperServDB  oper.db
  194. NewsDB      news.db
  195. ExceptionDB exception.db
  196. HostServDB  hosts.db
  197.  
  198. # There is no more databases for AKILLs. This setting is kept to allow
  199. # you to import old AKILL database, and is optional. (If not given,
  200. # Services will look for a file named akill.db.)
  201.  
  202. # AutokillDB    akill.db
  203.  
  204. ###########################################################################
  205. #
  206. # Network information
  207. #
  208. ###########################################################################
  209.  
  210. # HelpChannel <channel> [OPTIONAL]
  211. #
  212. #     When defined, every users that got op on this channel automatically
  213. #     receive the +h user mode.
  214.  
  215. HelpChannel "#wearethesound-help"
  216.  
  217. # LogChannel <channel> [OPTIONAL]
  218. #
  219. #     When defined, services will output log messages to this channel.
  220. #     IMPORTANT: This can be a security risk so make certain this channel
  221. #     is sufficiently protected from normal access.
  222.  
  223. #LogChannel "#services"
  224.  
  225. # LogBot [OPTIONAL]
  226. #
  227. #     When defined, services will output all BotServ chatter to the defined
  228. #     LogChan above. It shows all uses of BotServ ACT and SAY commands. Note
  229. #     that there is no logging to the log file. Only works if LogChannel is
  230. #     also defined.
  231.  
  232. #LogBot
  233.  
  234. # NetworkDomain <name> [OPTIONAL]
  235. #
  236. #     If your network has a common domain name, specify it there (for
  237. #     example, all IRCZONE servers have a name ending in ".irczone.cl",
  238. #     so "irczone.cl" would be set there. It will be used by the OperServ
  239. #     GLOBAL command, and if you don't have a common domain name, this
  240. #     command may just not work.
  241. #
  242. #     You can specify more than one Network Domain by separating each one by
  243. #     a space: NetworkDomain "localnet.net localnet.com"
  244.  
  245. NetworkDomain "watsound.co.uk"
  246.  
  247. # NetworkName <name> [REQUIRED]
  248. #
  249. #     This is the name of the network the Services are running on.
  250.  
  251. NetworkName "WatSound"
  252.  
  253. ###########################################################################
  254. #
  255. # Basic functionality
  256. #
  257. ###########################################################################
  258.  
  259. # NoBackupOkay  [DISCOURAGED]
  260. #     Allows Services to continue file write operations (i.e. database
  261. #     saving) even if the original file cannot be backed up.  Enabling this
  262. #     option may allow Services to continue operation under some conditions
  263. #     when it might otherwise fail, such as a nearly-full disk.
  264. #
  265. #     *** NOTE ***
  266. #     Enabling this option can cause irrecoverable data loss under some
  267. #     conditions, so make CERTAIN you know what you're doing when you
  268. #     enable it!
  269.  
  270. #NoBackupOkay
  271.  
  272. # ListOpersOnly  [DEPRECATED]
  273. #     When enabled, limits use of the ChanServ and NickServ LIST commands
  274. #     to IRC operators.
  275. #
  276. #     This directive has been superseded by the NSListOpersOnly and
  277. #     CSListOpersOnly directives.
  278.  
  279. #ListOpersOnly
  280.  
  281. # StrictPasswords  [RECOMMENDED]
  282. #     When enabled, causes Services to perform more stringent checks on
  283. #     passwords.  If this is disabled, Services will only disallow a
  284. #     password if it is the same as the entity (nickname or channel name)
  285. #     with which it is associated.  When enabled, however, Services will
  286. #     also check that the password is at least five characters long, and
  287. #     in the future will probably check other things as well.
  288.  
  289. StrictPasswords
  290.  
  291. # BadPassLimit <count>  [RECOMMENDED]
  292. #     Sets the number of invalid password tries before Services removes a
  293. #     user from the network.  If a user enters <count> invalid passwords
  294. #     for any Services function or combination of functions during a
  295. #     single IRC session (subject to BadPassTimeout, below), Services will
  296. #     issue a /KILL for the user.  If not given, Services will ignore
  297. #     failed password attempts (though they will be logged in any case).
  298.  
  299. BadPassLimit    5
  300.  
  301. # BadPassTimeout <time>  [OPTIONAL]
  302. #     Sets the time after which invalid passwords are forgotten about.  If
  303. #     a user does not enter any incorrect passwords in this amount of time,
  304. #     the incorrect password count will reset to zero.  If not given, the
  305. #     timeout will be disabled, and the incorrect password count will never
  306. #     be reset until the user disconnects.
  307.  
  308. BadPassTimeout  1h
  309.  
  310. # UpdateTimeout <time>  [REQUIRED]
  311. #     Sets the delay between automatic database updates.  This timer is
  312. #     reset by the OperServ UPDATE command.
  313.  
  314. UpdateTimeout   5m
  315.  
  316. # ExpireTimeout <time>  [REQUIRED]
  317. #     Sets the delay between checks for expired nicknames and channels.
  318. #     The OperServ UPDATE command will also cause a check for expiration
  319. #     and reset this timer.
  320.  
  321. ExpireTimeout   30m
  322.  
  323. # ReadTimeout <time>  [REQUIRED]
  324. #     Sets the timeout period for reading from the network.
  325.  
  326. ReadTimeout 5s
  327.  
  328. # WarningTimeout <time>  [REQUIRED]
  329. #     Sets the interval between sending warning messages for program
  330. #     errors via WALLOPS/GLOBOPS.
  331.  
  332. WarningTimeout  4h
  333.  
  334. # TimeoutCheck <time>  [REQUIRED]
  335. #     Sets the (maximum) frequency at which the timeout list is checked.
  336. #     This, combined with ReadTimeout above, determine how accurately timed
  337. #     events, such as nick kills, occur; it also determines how much CPU
  338. #     time Services will use doing this.  Higher values will cause less
  339. #     accurate timing but less CPU usage.
  340. #
  341. #     This shouldn't be set any higher than 10 seconds, and 1 second is
  342. #     best if your system is powerful enough (or your network small enough)
  343. #     to handle it.  0 will cause the timeout list to be checked every time
  344. #     through the main loop, which will probably slow down Services too
  345. #     much to be useful on most networks.
  346. #
  347. #     Note that this value is not an absolute limit on the period between
  348. #     checks of the timeout list; the period may be as great as ReadTimeout
  349. #     (above) during periods of inactivity.
  350.  
  351. TimeoutCheck    3s
  352.  
  353. # KeepLogs <days> [RECOMMENDED]
  354. #
  355. #     Sets the number of days log files are kept. If you don't give it, or if
  356. #     you set it to 0, logs will be kept indefinitely.
  357. #
  358. #     NOTE: Services must run 24 hours a day for this feature to work.
  359.  
  360. KeepLogs 7
  361.  
  362. # KeepBackups <days> [RECOMMENDED]
  363. #
  364. #     Sets the number of days backups of databases are kept. If you don't give
  365. #     it, or if you set it to 0, Services won't backup the databases.
  366. #
  367. #     NOTE: Services must run 24 hours a day for this feature to work.
  368.  
  369. KeepBackups 3
  370.  
  371. # ForceForbidReason [OPTIONAL]
  372. #
  373. #     If set, Services will require a reason when a forbid is added, else
  374. #     the reason is optional. This directive also applies to SUSPENDed
  375. #     channels as well.
  376.  
  377. ForceForbidReason
  378.  
  379. # UsePrivmsg [OPTIONAL]
  380. #
  381. #    This directive will make Services send PRIVMSGs to users instead of
  382. #    NOTICEs by default, and allow users to set how Services should
  383. #    communicate with them.
  384. #
  385. #    This is a feature that is against the IRC RFC and should be used
  386. #    _only_ if absolutely necessary.
  387.  
  388. #UsePrivmsg
  389.  
  390. # DumpCore [OPTIONAL]
  391. #
  392. #    Setting this directive will make Anope dump core when a segmentation
  393. #    fault occurs. This is generally not needed, but if Anope is crashing
  394. #    on your network and you want to make a bug report, having a core
  395. #    file may be of great help.
  396.  
  397. #DumpCore
  398.  
  399. # LogUsers [OPTIONAL]
  400. #
  401. #    Defines whether Anope will log user connections, disconnections and
  402. #    nickname changes. You may have to do so in case you ever need to
  403. #    transmit user information to your local authorities.
  404.  
  405. #LogUsers
  406.  
  407. # HideStatsO [OPTIONAL]
  408. #
  409. #    Setting this directive will make Services only show Stats o to
  410. #    IRC Operators.
  411.  
  412. #HideStatsO
  413.  
  414. # GlobalOnCycle [OPTIONAL]
  415. #
  416. #    Setting this directive will make Services send global messages on
  417. #    starting up and shutting down/restarting.
  418.  
  419. #GlobalOnCycle
  420.  
  421. # GlobalOnCycleMessage <text> [REQUIRED if GlobalOnCycle is specified]
  422. #     This is the global message sent when the Services are
  423. #     being shutdown/restarted if using GlobalOnCycle
  424. GlobalOnCycleMessage "Services are restarting, they will be back shortly - please be good while we're gone"
  425.  
  426. # GlobalOnCycleUP <text> [OPTIONAL]
  427. #     If defined this message will be sent global when the services join
  428. #     the network.
  429. GlobalOnCycleUP "Services are now back online - have a nice day"
  430.  
  431. # AnonymousGlobal [OPTIONAL]
  432. #     hides the oper's nick in a global message/notice
  433. #AnonymousGlobal
  434.  
  435. ###########################################################################
  436. #
  437. # Mail-related options
  438. #
  439. ###########################################################################
  440.  
  441. # NOTE: if UseMail is not set, all parameters after it in this section
  442. # are optional.
  443.  
  444. # UseMail [OPTIONAL]
  445. #
  446. # This option enables the mail commands in Services. You may choose
  447. # to disable it if you have no sendmail-compatible mailer installed.
  448.  
  449. UseMail
  450.  
  451. # SendMailPath <path> [REQUIRED]
  452. #
  453. # This is how we should call SendMail to send a mail. It must be
  454. # called with all parameters needed to make it scan the mail input
  455. # to find the mail recipient; consult your SendMail documentation.
  456. #
  457. # Postfix users must use the compatible sendmail utility provided
  458. # with it; this one needs no parameters on the command line.
  459.  
  460. SendMailPath "/usr/sbin/sendmail -t"
  461.  
  462. # SendFrom <e-mail> [REQUIRED]
  463. #
  464. # This is the e-mail from which all the e-mails are to be sent. It should
  465. # really exist.
  466.  
  467. SendFrom services@localhost.net
  468.  
  469. # RestrictMail [OPTIONAL]
  470. #
  471. # When enabled, SENDPASS will be restricted to IRC operators.
  472. #
  473. # WARNING: if you choose to not enable this option, you should limit
  474. # the number of processes the services user can have at a time (you can
  475. # create a special user for this; remember to never launch Services as root).
  476.  
  477. RestrictMail
  478.  
  479. # MailDelay <time> [RECOMMENDED]
  480. #
  481. # This controls the minimum amount of time an user must wait before sending
  482. # another mail after it has sent one. It also controls the minimum time
  483. # an user must wait before it can receive another mail.
  484. #
  485. # This feature prevents users from being mail bombed using Services and
  486. # should definitely be used.
  487.  
  488. MailDelay 5m
  489.  
  490. # DontQuoteAddresses [OPTIONAL]
  491. #
  492. # When enabled, services will not attempt to "" the TO: fields in mails
  493. #
  494. # So far we only know of ESMTP/QMail which need this set.
  495. #
  496.  
  497. #DontQuoteAddresses
  498.  
  499. ###########################################################################
  500. #
  501. # Proxy detection
  502. #
  503. ###########################################################################
  504.  
  505. # Note: if ProxyDetect is not set, all parameters after it in this section
  506. # are optional.
  507.  
  508. # ProxyDetect [OPTIONAL]
  509. #    
  510. # Enables insecure proxy detection. Services will automatically
  511. # scan each incoming user and akill those that use insecure proxy.
  512. #
  513. # Anope currently supports detection of Wingate (port 23), SOCKS4/5
  514. # (port 1080), and HTTP proxy (ports 3128 and 8080). It uses the
  515. # protocol of each proxy type to connect to an IRC server, it does
  516. # not only check if the port is open (so your users may still have
  517. # an open telnet server on their port 23 for example).
  518. #
  519. # WARNING: You should get the authorization of the administrator of
  520. # the computer which runs the proxy detector before enabling it; not
  521. # all administrators will accept it. Also note that in certain
  522. # countries, port scanning is prohibited.
  523. #
  524. # This feature requires threading support to be compiled into Anope.
  525.  
  526. #ProxyDetect
  527.  
  528. # ProxyThreads <number> [REQUIRED]
  529. #
  530. # Sets the number of threads Services will launch when starting. Each
  531. # thread will have the responsibility to scan queued hostname for
  532. # proxies.
  533. #
  534. # This value must be set depending of the number of users you have
  535. # on your network. The more threads are used, the more simultaneous
  536. # checks can be done. Remember however, that threads are
  537. # resource-consuming.
  538. #
  539. # WARNING: On Linux, each thread takes a background process, and there
  540. # is an additional process used for thread management; this is a problem
  541. # if you are limited in the number of background process you can use
  542. # (on a paid shell for example).
  543.  
  544. ProxyThreads 5
  545.  
  546. # ProxyMessage... <message> [RECOMMENDED]
  547. #
  548. # Sets the notices that will be sent out to users before Services
  549. # scan them for proxy. You may not use all of them, but just as much as
  550. # necessary.
  551.  
  552. ProxyMessage1 "I will now detect if you're using an insecure proxy."
  553. ProxyMessage2 "If you see a connection on port 23, 1080, 3128 or 8080 from"
  554. ProxyMessage3 "my.box.net, please disregard it, as it is the detector in action."
  555. ProxyMessage4 "See http://proxy.myirc.net/ for information about our proxy policy."
  556. #ProxyMessage5 "Enter"
  557. #ProxyMessage6 "whatever"
  558. #ProxyMessage7 "you want"
  559. #ProxyMessage8 "here."
  560.  
  561. # ProxyCheck... [OPTIONAL]
  562. #
  563. # Determines what types of proxy Anope will try to find (respectively
  564. # Wingate on port 23, SOCKS4 on port 1080, SOCKS5 on port 1080, HTTP
  565. # proxy on port 3128, HTTP proxy on port 8080 and HTTP proxy on port
  566. # 80).
  567.  
  568. ProxyCheckWingate
  569. ProxyCheckSocks4
  570. ProxyCheckSocks5
  571. ProxyCheckHTTP1
  572. ProxyCheckHTTP2
  573. ProxyCheckHTTP3
  574.  
  575. # ProxyTimeout <time> [REQUIRED]
  576.  
  577. # Sets the maximum length of time we allow a connect/read operation to
  578. # take. If you set this value too high, your threads may hang on a single
  579. # check for a very long time. The best is to try different values
  580. # and see which one is the more efficient for your network.
  581.  
  582. ProxyTimeout 15s
  583.  
  584. # ProxyTestServer <ip> <port> [REQUIRED]
  585. #
  586. # Sets the *IP* and port of the IRC server to use as a target when
  587. # testing users for proxy.
  588.  
  589. ProxyTestServer "1.2.3.4" 6667
  590.  
  591. # ProxyExpire <time> [RECOMMENDED]
  592. #
  593. # Sets the length of time before a proxy host cache entry expires, if
  594. # not used.
  595.  
  596. ProxyExpire 30d
  597.  
  598. # ProxyCacheExpire <time> [REQUIRED]
  599. #
  600. # Sets the length of time before a normal host cache entry expires, if
  601. # not used. This cannot be set to 0d.
  602. #
  603. # Every non-proxy hosts will be stored in cache (to avoid too many scans
  604. # to the same host), so you should set this enough low to not fill your
  605. # memory, especially on large networks.
  606.  
  607. ProxyCacheExpire 1d
  608.  
  609. # ProxyAkillReason <reason>
  610. #
  611. # Sets the reason that will be used to AKILL an user from the network
  612. # if a proxy is detected.
  613.  
  614. ProxyAkillReason "You're using an insecure proxy. See http://proxy.myirc.net/config.html for information about how to config your proxy in a safe manner."
  615.  
  616. # WallProxy [OPTIONAL]
  617. #
  618. # Sends a WALLOPS/GLOBOPS when an user using an insecure proxy is being
  619. # AKILLed.
  620.  
  621. WallProxy
  622.  
  623. # ProxyMax <number> [REQUIRED]
  624. #
  625. # Sets the maximum proxy cache entries that can be displayed in a single
  626. # call to OperServ CACHE.
  627.  
  628. ProxyMax 50
  629.  
  630. ###########################################################################
  631. #
  632. # NickServ configuration
  633. #
  634. ###########################################################################
  635.  
  636. # NSForceEmail [RECOMMENDED]
  637. #     This option forces the users to give an e-mail when they register
  638. #     a nickname. If you have nicks in the database that have no e-mail
  639. #     set, they will be asked to set an e-mail when they identify their
  640. #     nickname until they set one. Also, this option prevents user from
  641. #     unsetting the password.
  642. #
  643. #     This option is useful to resolve "lost password" problems.
  644.  
  645. NSForceEmail
  646.  
  647. # NSEmailReg [OPTIONAL]
  648. #      This option splits the nick registration into 2 steps,  the first
  649. #      after registering a email with a passcode is sent to the supplied
  650. #      email address, this passcode needs to be entered with a confirm
  651. #      command before the nick registration will be completed.
  652. #
  653. #      You must have mail / forcemail set for this to work correctly.
  654. #      It is also recommended that MailDelay be set to a sensible value
  655. #      to prevent mail flooding
  656.  
  657. # NSEmailReg
  658.  
  659. # NSDef...  [OPTIONAL]
  660. #     Sets the default options for newly registered nicks.  Note that
  661. #     changing these options will have no effect on nicks which are already
  662. #     registered.
  663. #
  664. #     If both NSDefKill and NSDefKillQuick are given, the latter takes
  665. #     precedence.  KILL IMMED cannot be specified as a default.
  666. #
  667. #     Note: Both NSDefKill and NSDefKillQuick must be specified for Quick to take effect.
  668. #
  669. #     NOTE:  If you do not enable any of these options, a default of
  670. #     Secure, MemoSignon, and MemoReceive will be used, for backward
  671. #     compatibility.  If you really want no options enabled by default, use
  672. #     NSDefNone.
  673.  
  674. #NSDefNone
  675.  
  676. #NSDefKill
  677. #NSDefKillQuick
  678. NSDefSecure
  679. NSDefPrivate
  680. NSDefHideEmail
  681. NSDefHideUsermask
  682. #NSDefHideQuit
  683. #NSDefMsg
  684. NSDefMemoSignon
  685. NSDefMemoReceive
  686.  
  687. # NSDefLanguage <language-number> [REQUIRED]
  688. #     Sets the default language non- and newly-registered will receive
  689. #     services' messages in. The numbers are the same as those
  690. #     used for the /nickserv SET LANGUAGE command, so look the at the help
  691. #     of this command for the list of currently supported languages.
  692. #    
  693. #     If you ever wanted to know how to translate services in your
  694. #     language, read the chapter about it in the README.
  695.  
  696. NSDefLanguage 1
  697.  
  698. # NSRegDelay <time>  [RECOMMENDED]
  699. #     Sets the minimum length of time between consecutive uses of the
  700. #     REGISTER command.  If not given, this restriction is disabled (note
  701. #     that this allows "registration flooding").
  702.  
  703. NSRegDelay  30s
  704.  
  705. # NSExpire <time>  [RECOMMENDED]
  706. #     Sets the length of time before a nick registration expires.
  707.  
  708. NSExpire    21d
  709.  
  710. # NSRExpire <time> [OPTIONAL]
  711. #     Sets the length of time a user gets to enter the confirmation code
  712. #     which has been e-mailed to them before the nick will be released
  713. #     for general use again
  714.  
  715. # NSRExpire 1d
  716.  
  717. # NSMaxAliases <number> [RECOMMENDED]
  718. #     Sets the maximum number of nicks allowed in a group. If you
  719. #     set it to 0, or don't set it at all, no limits will be applied.
  720.  
  721. NSMaxAliases    16
  722.  
  723. # NSAccessMax <count>  [REQUIRED]
  724. #     Sets the maximum number of entries allowed on a nickname access list.
  725.  
  726. NSAccessMax 32
  727.  
  728. # NSEnforcerUser <user>[@<host>]  [REQUIRED]
  729. #     Sets the username (and possibly hostname) used for the fake user
  730. #     created when NickServ collides a user.  Should be in user@host
  731. #     format.  If the host is not given, the one from ServicesUser is
  732. #     used.
  733.  
  734. NSEnforcerUser  enforcer@localhost.net
  735. #NSEnforcerUser enforcer
  736.  
  737. # NSReleaseTimeout <time>  [REQUIRED]
  738. #     Sets the delay before a NickServ-collided nick is released.
  739.  
  740. NSReleaseTimeout 1m
  741.  
  742. # NSAllowKillImmed  [OPTIONAL]
  743. #     When enabled, allows the use of the IMMED option with the NickServ
  744. #     SET KILL command.
  745.  
  746. #NSAllowKillImmed
  747.  
  748. # NSNoGroupChange [OPTIONAL]
  749. #   When enabled, the NickServ GROUP command won't allow any group change.
  750. #   This is recommended for better performances and to protect against
  751. #   nick stealing, however users will have less flexibility.
  752.  
  753. #NSNoGroupChange
  754.  
  755. # NSListOpersOnly  [OPTIONAL]
  756. #     When enabled, limits use of the NickServ LIST command to IRC
  757. #     operators.
  758.  
  759. #NSListOpersOnly
  760.  
  761. # NSListMax <count>  [REQUIRED]
  762. #     Specifies the maximum number of nicks to be returned for a NickServ
  763. #     LIST command.
  764.  
  765. NSListMax   50
  766.  
  767. # NSGuestNickPrefix <value>  [REQUIRED]
  768. #     When a user's nick is forcibly changed to enforce a "nick kill", their
  769. #     new nick will start with this value. The rest will be made up of 6 or 7
  770. #     digits.
  771.  
  772. NSGuestNickPrefix   "Guest"
  773.  
  774. # NSSecureAdmins  [RECOMMENDED]
  775. #     When enabled, prevents the use of the DROP, FORBID, GETPASS, and
  776. #     SET PASSWORD commands by Services admins on other Services admins or
  777. #     the Services root(s).
  778.  
  779. NSSecureAdmins
  780.  
  781. # NSStrictPrivileges [RECOMMENDED]
  782. #
  783. # When enabled, any user wanting to use the privileges of Services Root, Services
  784. # Admin or Services Operator must have been logged as an IRC Operator with the
  785. # /oper command.
  786.  
  787. NSStrictPrivileges
  788.  
  789. # NSModeOnID  [OPTIONAL]
  790. #
  791. # When enabled, services will set the channel modes a user has access to upon
  792. # identifying, assuming they are not already set.
  793. #
  794.  
  795. # NSModeOnID
  796.  
  797. # NSRestrictGetPass  [OPTIONAL]
  798. #
  799. # When enabled, services will only allow Services Root to use the getpass
  800. # command on a nick.
  801.  
  802. NSRestrictGetPass
  803.  
  804. ###########################################################################
  805. #
  806. # ChanServ configuration
  807. #
  808. ###########################################################################
  809.  
  810. # CSDef...  [OPTIONAL]
  811. #     Sets the default options for newly registered channels.  Note that
  812. #     changing these options will have no effect on channels which are
  813. #     already registered.
  814. #
  815. #     NOTE:  If you do not enable any of these options, a default of
  816. #     KeepTopic, Secure, SecureFounder and SignKick will be used, for
  817. #     backward compatibility.  If you really want no options enabled by
  818. #     default, use CSDefNone.
  819.  
  820. #CSDefNone
  821.  
  822. CSDefKeepTopic
  823. #CSDefOpNotice
  824. CSDefPeace
  825. #CSDefPrivate
  826. #CSDefRestricted
  827. CSDefSecure
  828. #CSDefSecureOps
  829. CSDefSecureFounder
  830. CSDefSignKick
  831. #CSDefSignKickLevel
  832. #CSDefTopicLock
  833. CSDefXOP
  834.  
  835.  
  836. # CSMaxReg <count>  [RECOMMENDED]
  837. #     Limits the number of channels which may be registered to a single
  838. #     nickname.
  839.  
  840. CSMaxReg    20
  841.  
  842. # CSExpire <time>  [RECOMMENDED]
  843. #     Sets the number of days before a channel expires.
  844.  
  845. CSExpire    14d
  846.  
  847. # CSDefBantype <bantype> [REQUIRED]
  848. #
  849. # Sets the default ban type for newly registered channels (and when
  850. # importing old databases).
  851. #
  852. # bantype can be:
  853. #
  854. # 0: ban in the form *!user@host
  855. # 1: ban in the form *!*user@host
  856. # 2: ban in the form *!*@host
  857. # 3: ban in the form *!*user@*.domain
  858.  
  859. CSDefBantype 2
  860.  
  861. # CSAccessMax <count>  [REQUIRED]
  862. #     Sets the maximum number of entries on a channel's access list.
  863. #     Channel access lists may contain only registered nicknames;
  864. #     therefore, checking each entry on the list requires only a single
  865. #     scaler comparison instead of a wildcard match, and this limit may be
  866. #     safely set much higher than (for example) the nickname access list
  867. #     size limit without impacting performance significantly.
  868.  
  869. CSAccessMax 1024
  870.  
  871. # CSAutokickMax <count>  [REQUIRED]
  872. #     Sets the maximum number of entries on a channel's autokick list.
  873.  
  874. CSAutokickMax   32
  875.  
  876. # CSAutokickReason <text>  [REQUIRED]
  877. #     Sets the default reason for an autokick if none is given.
  878.  
  879. CSAutokickReason "User has been banned from the channel"
  880.  
  881. # CSInhabit <time>  [REQUIRED]
  882. #     Sets the length of time ChanServ stays in a channel after kicking a
  883. #     user from a channel s/he is not permitted to be in.  This only occurs
  884. #     when the user is the only one in the channel.
  885.  
  886. CSInhabit   15s
  887.  
  888. # CSListOpersOnly  [OPTIONAL]
  889. #     When enabled, limits use of the ChanServ LIST command to IRC
  890. #     operators.
  891.  
  892. #CSListOpersOnly
  893.  
  894. # CSListMax <count>  [REQUIRED]
  895. #     Specifies the maximum number of channels to be returned for a
  896. #     ChanServ LIST command.
  897.  
  898. CSListMax   50
  899.  
  900. # CSRestrictGetPass  [OPTIONAL]
  901. #
  902. # When enabled, services will only allow Services Root to use the getpass
  903. # command on a channel.
  904.  
  905. # CSRestrictGetPass
  906.  
  907. # CSOpersOnly [OPTIONAL]
  908. #     If this is defined, only IRC Operators will be permitted to use ChanServ.
  909.  
  910. #CSOpersOnly
  911.  
  912. ###########################################################################
  913. #
  914. # MemoServ configuration
  915. #
  916. ###########################################################################
  917.  
  918. # MSMaxMemos <count>  [RECOMMENDED]
  919. #     Sets the maximum number of memos a user is allowed to keep by
  920. #     default.  Normal users may set the limit anywhere between zero and
  921. #     this value; Services admins can change it to any value or disable it.
  922. #     If not given, the limit is disabled by default, and normal users can
  923. #     set any limit they want.
  924.  
  925. MSMaxMemos  20
  926.  
  927. # MSSendDelay <time>  [RECOMMENDED]
  928. #     Sets the delay between consecutive uses of the MemoServ SEND command.
  929. #     This can help prevent spam as well as denial-of-service attacks from
  930. #     sending large numbers of memos and filling up disk space (and
  931. #     memory).  A 3-second wait means a maximum average of 150 bytes of
  932. #     memo per second per user under the current IRC protocol.
  933.  
  934. MSSendDelay 3s
  935.  
  936. # MSNotifyAll  [OPTIONAL]
  937. #     Should we notify all appropriate users of a new memo?  This applies
  938. #     in cases where a memo is sent to a nick which is in the group of
  939. #     another nick. Note that, unlike before, it is currently often more
  940. #     efficient to enable this.
  941.  
  942. MSNotifyAll
  943.  
  944. ###########################################################################
  945. #
  946. # BotServ configuration
  947. #
  948. ###########################################################################
  949.  
  950. # BSDef...  [OPTIONAL]
  951. #     Sets the default options for newly registered channels.  Note that
  952. #     changing these options will have no effect on channels which are
  953. #     already registered.
  954.  
  955. #BSDefDontKickOps
  956. #BSDefDontKickVoices
  957. BSDefGreet
  958. BSDefFantasy
  959. BSDefSymbiosis
  960.  
  961. # BSMinUsers <count> [REQUIRED]
  962. #    Minimum number of users there must be in a channel before the
  963. #    bot joins it. The best value for this setting is 1 or 2. This
  964. #    cannot be 0, otherwise topic retention and mode lock and such
  965. #    other things won't work.
  966.  
  967. BSMinUsers 1
  968.  
  969. # BSBadWordsMax <count> [REQUIRED]
  970. #    Maximum number of entries a single bad words list can have.
  971. #    Setting it too high can reduce performances slightly.
  972.  
  973. BSBadWordsMax 32
  974.  
  975. # BSKeepData <time> [REQUIRED]
  976. #    Amount of time data for a user that is used by BotServ is
  977. #    valid. If the data exceeds this time, it is reset or deleted
  978. #    depending the case. Do not set it too high otherwise your resources
  979. #    will be slightly affected.
  980.  
  981. BSKeepData 10m
  982.  
  983. # BSSmartJoin [OPTIONAL]
  984. #    The bot is currently not affected by any modes or bans when he
  985. #    tries to join a channel. But some people may want to make it
  986. #    act like a real bot, that is, for example, remove all bans
  987. #    that affect the bot before joining the channel, remove a
  988. #    ban that affects the bot set by an user when it is on the
  989. #    channel, and so on. Since it consumes a bit more CPU time,
  990. #    you should not comment it out on larger networks.
  991.  
  992. # BSSmartJoin
  993.  
  994. # BSGentleBWReason [OPTIONAL]
  995. #    This option will make the bot use a kick reason that does not retake
  996. #    the word when it is kicking the bot. This is especially useful if
  997. #    you have young people on your network.
  998.  
  999. BSGentleBWReason
  1000.  
  1001. ###########################################################################
  1002. #
  1003. # HostServ configuration
  1004. #
  1005. ###########################################################################
  1006.  
  1007. # HostSetters <nicks>  [DISCOURAGED]
  1008. #    Specifies the nicks of NON-OPERS allowed to Set/Remove vHosts using
  1009. #    HostServ.  Can be re-loaded with /msg operserv reload
  1010. #    You can specify more than one nick by separating each one by a space.
  1011. #
  1012. #    Make sure you insert the correct nick(s) here..
  1013.  
  1014. #HostSetters "rob dengel certus"
  1015.  
  1016. ###########################################################################
  1017. #
  1018. # OperServ configuration
  1019. #
  1020. ###########################################################################
  1021.  
  1022. # ServicesRoot <nicks>  [REQUIRED]
  1023. #    Specifies the Services "super-users".  The super-users, or "roots" as in
  1024. #    Unix terminology, are the only users who can add or delete Services
  1025. #    admins.
  1026. #
  1027. #    You can specify more than one nick by separating each one by a space.
  1028. #
  1029. #    This is commented out by default; make sure you insert the correct
  1030. #    nick before uncommenting it.
  1031.  
  1032. #ServicesRoot   "dengel anope"
  1033.  
  1034. # SuperAdmin  [OPTIONAL]
  1035. #    When enabled, Services admins will be able to use SuperAdmin [ON|OFF]
  1036. #    which will temporarily grant them extra privileges, such as being a
  1037. #    founder of _all_ channels, ability to adjust another users modes etc..
  1038.  
  1039. #SuperAdmin
  1040.  
  1041. # LogMaxUsers  [OPTIONAL]
  1042. #    Causes Services to write a message to the log every time a new user
  1043. #    maximum is set.
  1044.  
  1045. LogMaxUsers
  1046.  
  1047. # ...Expiry <time>  [REQUIRED]
  1048. #     Sets the default expiry time for, respectively, AKILLs, SGLINEs,
  1049. #     SQLINEs and SZLINEs.
  1050.  
  1051. AutoKillExpiry  30d
  1052. ChanKillExpiry  30d
  1053. SGLineExpiry    30d
  1054. SQLineExpiry    30d
  1055. SZLineExpiry    30d
  1056.  
  1057. # AkillOnAdd [OPTIONAL]
  1058. #
  1059. # When enabled, this option makes the services send an AKILL command
  1060. # immediately after it has been added with AKILL ADD. This eliminates
  1061. # the need of killing the users after the akill has been added.
  1062.  
  1063. # AkillOnAdd
  1064.  
  1065. # KillClonesAkillExpire <time>  [REQUIRED]
  1066. #     Sets the expiry time for autokills added for hosts that have been
  1067. #     killed using the KILLCLONES command.
  1068.  
  1069. KillClonesAkillExpire   30m
  1070.  
  1071. # DisableRaw [RECOMMENDED]
  1072. #
  1073. # Disables the highly destructive OperServ RAW command.
  1074.  
  1075. DisableRaw
  1076.  
  1077. # WallOper  [OPTIONAL]
  1078. #     Causes Services to send a WALLOPS/GLOBOPS when a user becomes an IRC
  1079. #     operator.  Note that this can cause WALLOPS floods when Services
  1080. #     first connects to the network.
  1081.  
  1082. #WallOper
  1083.  
  1084. # WallBadOS  [OPTIONAL]
  1085. #     Causes Services to send a WALLOPS/GLOBOPS if a non-IRC-operator tries
  1086. #     to use OperServ.
  1087.  
  1088. #WallBadOS
  1089.  
  1090. # WallOS...  [OPTIONAL]
  1091. #     Cause Services to send a WALLOPS/GLOBOPS on use of each of the
  1092. #     OperServ commands listed.
  1093.  
  1094. WallOSGlobal
  1095. WallOSMode
  1096. WallOSClearmodes
  1097. WallOSKick
  1098. WallOSAkill
  1099. WallOSSGLine
  1100. WallOSSQLine
  1101. WallOSSZLine
  1102. WallOSNoOp
  1103. WallOSJupe
  1104. WallOSRaw
  1105.  
  1106. # Wall...Expire  [OPTIONAL]
  1107. #     Causes Services to send a WALLOPS/GLOBOPS whenever respectively
  1108. #     an AKILL, an SGLINE, an SQLINE, an SZLINE and a session limit
  1109. #     exception expires.
  1110.  
  1111. #WallAkillExpire
  1112. #WallSGLineExpire
  1113. #WallSQLineExpire
  1114. #WallSZLineExpire
  1115. #WallExceptionExpire
  1116.  
  1117. # WallGetpass  [OPTIONAL]
  1118. #     Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1119. #     ChanServ GETPASS command.
  1120.  
  1121. WallGetpass
  1122.  
  1123. # WallSetpass  [OPTIONAL]
  1124. #     Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1125. #     sets a password for a nickname or channel (s)he does not normally have
  1126. #     privileges to set.
  1127.  
  1128. WallSetpass
  1129.  
  1130. # WallForbid [OPTIONAL]
  1131. #     Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1132. #     ChanServ FORBID command.
  1133.  
  1134. WallForbid
  1135.  
  1136. # WallDrop [OPTIONAL]  
  1137. #     Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1138. #     drops a nickname or channel (s)he does not normally have
  1139. #     privileges to drop.
  1140.  
  1141. WallDrop
  1142.  
  1143. # LimitSessions  [OPTIONAL]
  1144. #     Enables session limiting. Session limiting prevents users from
  1145. #     connecting more than a certain number of times from the same host at the
  1146. #     same time - thus preventing most types of cloning. Once a host reaches
  1147. #     it's session limit, all clients attempting to connect from that host
  1148. #     will be killed. Exceptions to the default session limit, which are based
  1149. #     on host names, can be defined via the exception list. It should be noted
  1150. #     that session limiting, along with a large exception list, can degrade
  1151. #     services' performance. See the source and comments in sessions.c and the
  1152. #     online help for more information about session limiting.
  1153. #
  1154. #     Session limiting is meant to replace the CheckClones and KillClones
  1155. #     code. It is therefore highly recommended that they are disabled when
  1156. #     session limiting has been enabled.
  1157. #
  1158. #     NOTE:  This option is not available when STREAMLINED is defined in
  1159. #     the Makefile.
  1160.  
  1161. LimitSessions
  1162.  
  1163. # DefSessionLimit <limit>  [REQUIRED]
  1164. #     Default session limit per host. Once a host reaches it's session limit,
  1165. #     all clients attempting to connect from that host will be killed. A value
  1166. #     of zero means an unlimited session limit.
  1167.  
  1168. DefSessionLimit 3
  1169.  
  1170. # MaxSessionLimit <limit>  [REQUIRED]
  1171. #     The maximum session limit that may be set for a host in an exception.
  1172.  
  1173. MaxSessionLimit 100
  1174.  
  1175. # ExceptionExpiry <time>  [REQUIRED]
  1176. #     Sets the default expiry time for exceptions.
  1177.  
  1178. ExceptionExpiry 1d
  1179.  
  1180. # SessionLimitExceeded <message>  [OPTIONAL]
  1181. #     The message that will be NOTICE'd to a user just before they are removed
  1182. #     from the network because their's host session-limit has been exceeded.
  1183. #     It may be used to give a slightly more descriptive reason for the
  1184. #     impending kill as apposed to simply "Session limit exceeded". If this is
  1185. #     commented out, nothing will be sent.
  1186.  
  1187. SessionLimitExceeded "The session limit for your host %s has been exceeded."
  1188.  
  1189. # SessionLimitDetailsLoc <message>  [OPTIONAL]
  1190. #     Same as above, but should be used to provide a website address where
  1191. #     users can find out more about session limits and how to go about
  1192. #     applying for an exception. If this is commented out, nothing will be
  1193. #     sent.
  1194. #
  1195. #     This option has been intentionally commented out in an effort to remind
  1196. #     you to change the URL it contains. It is recommended that you supply an
  1197. #     address/url where people can get help regarding session limits.
  1198.  
  1199. #SessionLimitDetailsLoc "Please visit http://your.website.url/ for more information about session limits."
  1200.  
  1201. # MaxSessionKill <number> [OPTIONAL]
  1202. #
  1203. # If given and different from 0, this option tells the Services to add an
  1204. # AKILL when there is number subsequent kills for the same hostname, preventing
  1205. # the network from KILL flood.
  1206.  
  1207. MaxSessionKill 15
  1208.  
  1209. # SessionAutoKillExpiry <time> [OPTIONAL]
  1210. #
  1211. # Sets the expiry time for autokills added for hosts that need to be
  1212. # AKILLed as controlled by the MaxSessionKill option.
  1213. #
  1214. # If not given, the default value is 30 minutes.
  1215.  
  1216. SessionAutoKillExpiry 30m
  1217.  
  1218. # CheckClones <minusers> <maxdelay> <warningdelay>  [DEPRECATED]
  1219. #     Causes Services to try and detect "clones" connecting to the network.
  1220. #     A WALLOPS (or GOPER, if supported on the IRC server) will be sent if
  1221. #     Services thinks it has found clones.
  1222. #
  1223. #     This feature has been superseded by Session Limiting.
  1224. #
  1225. #     <minusers> sets the minimum number of users which must successively
  1226. #     connect to the network before Services will send a clone warning.
  1227. #
  1228. #     <maxdelay> sets the maximum time that can elapse between successive
  1229. #     users before Services decides they are not clones.
  1230. #
  1231. #     <warningdelay> sets the minimum time between clone warnings for
  1232. #     clones from the same host.
  1233. #
  1234. #     NOTE:  This option is not available when STREAMLINED is defined in
  1235. #     the Makefile.
  1236.  
  1237. # CheckClones   5 10s 30s
  1238.  
  1239. # KillClones [DISCOURAGED]  [DEPRECATED]
  1240. #     Causes Services to kill users which trigger the clone warnings.  (If
  1241. #     CheckClones is disabled, this will have no effect.)
  1242. #
  1243. #     This feature has been superceded by Session Limiting.
  1244. #
  1245. #     BEWARE!  The clone checking code is easily fooled; it can be
  1246. #     triggered falsely under many conditions, for example:
  1247. #
  1248. #         - Multiple users connecting from a shell machine.
  1249. #
  1250. #         - A single user repeatedly connecting and disconnecting.
  1251. #
  1252. #     Be very sure you know what you're doing before you even think about
  1253. #     enabling this option, and remember that Services comes with no
  1254. #     warranty.
  1255. #
  1256. #     If that wasn't enough discouragement:
  1257. #
  1258. #     ***** DO NOT ENABLE THIS OPTION! *****
  1259. #
  1260. #     NOTE:  This option is not available when STREAMLINED is defined in
  1261. #     the Makefile.
  1262.  
  1263. #KillClones
  1264.  
  1265. # AddAkiller [OPTIONAL]
  1266. #     Adds the nickname of the Operator issuing an AKILL to the kill reason.
  1267. #
  1268. AddAkiller
  1269.  
  1270. ###########################################################################
  1271. #
  1272. # DefCon configuration
  1273. #
  1274. ###########################################################################
  1275.  
  1276. # DefConLevel <level> [OPTIONAL]
  1277. #     Default defcon level (1-5) to use when starting services up, level 5
  1278. #     instructs services to run as normal.
  1279.  
  1280. #DefConLevel 5
  1281.  
  1282. # DefCon1-4 <numeric> [REQUIRED if Defcon is activated]
  1283. #     These numercics determine which of the following operations take place
  1284. #     at each level, the correct numeric can be found by adding together the
  1285. #     number for each restriction you wish to place at a level.
  1286. #     No new channel registrations                      1
  1287. #     No New Nick Registrations                         2
  1288. #     No MLOCK changes                                  4
  1289. #     Force Chan Mode                                   8
  1290. #     Use Reduced Session Limit                         16
  1291. #     KILL any new clients trying to connect            32
  1292. #     Services will ignore everyone but opers           64
  1293. #     Services will silently ignore everyone but opers  128
  1294. #     AKILL all new clients trying to connect           256
  1295. #     No new memos sent to block memoserv attacks       512
  1296.  
  1297. #DefCon4 23
  1298. #     No channel reg + No Nick Reg + No MLOCK changes + Use Reduced Session Limit
  1299. #           1        +      2      +         4        +            16
  1300.  
  1301. #DefCon3 31
  1302. #     As DefCon4 + Services will Force Chan Mode's on channels
  1303. #          23    +                     8
  1304.  
  1305. #DefCon2 159
  1306. #     As DefCon3 + Services will silently ignore everyone but opers
  1307. #          32    +                    128
  1308.  
  1309. #DefCon1 415
  1310. #     As DefCon2 + AKILL all new clients trying to connect
  1311. #          159   +                  256
  1312.  
  1313.  
  1314. # DefConSessionLimit <limit> [REQUIRED if DefCon is activated]
  1315. #     New session limit to use when a defcon level is using "reduced"
  1316. #     session limiting.
  1317. #     NOTE: When using DefCon this value needs to be defined
  1318. #DefConSessionLimit 2
  1319.  
  1320. # DefConAkillExpire <time> [REQUIRED if DefCon is activated]
  1321. #     Length of time to add the AKILL for when DEFCON is preventing
  1322. #     all new clients from connecting to the network
  1323. #
  1324. #     NOTE: As with all expire times, the expirey check will only be
  1325. #     carried out once every "ExpireTimeout" so if this setting is
  1326. #     30m the the akill could last for 30m regardless of this setting.
  1327. #
  1328. #     NOTE: When using DefCon this value needs to be defined
  1329. #DefConAkillExpire 5m
  1330.  
  1331. # DefConChanModes <modes> [REQUIRED if DefCon is activated]
  1332. #     The channel modes to set on all channel's when the DefCon channel
  1333. #     mode system is in use.
  1334. #
  1335. #     NOTE: Choose these modes carefully, because when defcon switches to
  1336. #     a level which does NOT have the mode setting selected, services will
  1337. #     set the reverse on all channel's, e.g. if this setting is +RN
  1338. #     when defcon is used all channel's will be set to +RN, when
  1339. #     defcon is removed, channels will all be set to -RN. You don't
  1340. #     want to set this to +k for example because when defcon is removed all
  1341. #     channels will -k.
  1342. #     NOTE: mlock'ed modes will not be lost
  1343. #DefConChanModes "+R"
  1344.  
  1345. # DefConTimeOut <time> [OPTIONAL]
  1346. #     This value can be used to automatically return the network to
  1347. #     defcon 5 after the specified time period - just in case any opers
  1348. #     forget to remove a defcon setting.
  1349. #DefConTimeOut 15m
  1350.  
  1351. # GlobalOnDefcon [OPTIONAL]
  1352. #
  1353. #     Setting this directive will make Services send a global message on
  1354. #     Defcon Level changes.
  1355. #GlobalOnDefcon
  1356.  
  1357. # GlobalOnDefconMore [OPTIONAL]
  1358. #
  1359. #     Setting this directive will make Services send a global message on
  1360. #     Defcon Level changes. Uncommenting this will allow you to send along
  1361. #     with the new level, the DefconMessage.
  1362. #GlobalOnDefconMore
  1363.  
  1364. #DefconMessage "Put your message to send your users here. Dont forget to uncomment GlobalOnDefconMore"
  1365.  
  1366. # DefConOffMessage [OPTIONAL]
  1367. #
  1368. #     If this is defined, it will be used in place of GlobalOnDefcon and
  1369. #     GlobalOnDefconMore when defcon is returned to level 5
  1370. #DefConOffMessage "Services are now back to normal, sorry for any inconvenience"
  1371.  
  1372. # DefConAkillReason <text> [REQUIRED if DefCon is activated]
  1373. #
  1374. #     When using DEFCON this setting will be used when any clients are killed
  1375. #     or akilled from the network by defcon
  1376. #
  1377. #DefConAkillReason "This network is currently not accepting connections, please try again later"
  1378.  
  1379. ###########################################################################
  1380. #
  1381. # MySQL configuration
  1382. #
  1383. ###########################################################################
  1384. #
  1385. # Mysql [OPTIONAL]
  1386. #
  1387. #     Your MySQL configuration for use with Anope.
  1388. #     To disable MySQL functionality, just comment out this block.
  1389. #     To make use of MySQL use these directives and change their
  1390. #     setting to the appropriate values.
  1391. #
  1392. #     MysqlHost defines the Mysql server hostname.
  1393. #     MysqlUser defines the Mysql user to log in with.
  1394. #     MysqlPass defines the Mysql pass required for the specified user to log in.
  1395. #     MysqlName defines the Mysql database name Anope uses
  1396. #     MysqlSock defines the Mysql UNIX socket
  1397. #     MysqlPort defines the Mysql TCP port
  1398. #
  1399. #MysqlHost "localhost"
  1400. #MysqlUser "Anonymous"
  1401. #MysqlPass ""
  1402. #MysqlName "anope"
  1403. #MysqlSock "/tmp/mysql.sock"
  1404. #MysqlPort 3306
  1405.  
  1406. # MysqlSecure "<des>|<md5>|<sha>|<key>" [OPTIONAL]
  1407. #
  1408. #    Method for storing passwords on MySQL. Available methods are:
  1409. #    Empty or not set will save your passwords as clear text.
  1410. #    des  : Encrypt using a simple DES algorithm.
  1411. #    md5  : Produces the md5 hash for the password.
  1412. #    sha  : Calculates the checksum using a Secure Hash Algorithm.
  1413. #    key  : Encodes using "key" as password.
  1414. #    Please read docs/MYSQL file for more info and details.
  1415. #
  1416. #MysqlSecure ""
  1417.  
  1418.  
  1419. # MysqlRetries <value>      [OPTIONAL]
  1420. # MysqlRetryGap <value>     [OPTIONAL]
  1421. #
  1422. #    These values let you define how often and with how much interruption Anope
  1423. #    shall retry to open a connection when losing the contact to the mysql db.
  1424. #    The product of these values must be between 1 and 60.
  1425. #
  1426. #MysqlRetries 10
  1427. #MysqlRetryGap 1
  1428.  
  1429. ###########################################################################
  1430. #
  1431. # Module configuration
  1432. #
  1433. ###########################################################################
  1434. #
  1435. # ModuleAutoload [OPTIONAL]
  1436. #
  1437. # When compiled with module support, this contains a space separated list
  1438. # of modules to automatically load as soon as possible, e.g. IRCD support modules.
  1439. #
  1440. #ModuleAutoload "hs_moo ircd_defizzer"
  1441.  
  1442. # ModuleDelayedAutoload [OPTIONAL]
  1443. #
  1444. # When compiled with module support, this contains a space separated list
  1445. # of modules to automatically load when services are ready for new clients.
  1446. # e.g. new pesudo clients such as CatServ :-) *meow*
  1447. #
  1448. #ModuleDelayedAutoload "ircd_catserv"
  1449.  
  1450. #EOF
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top