Advertisement
Guest User

Sam

a guest
Apr 26th, 2008
1,647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.33 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 /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 "[email protected]"
  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.  
  468. # RestrictMail [OPTIONAL]
  469. #
  470. # When enabled, SENDPASS will be restricted to IRC operators.
  471. #
  472. # WARNING: if you choose to not enable this option, you should limit
  473. # the number of processes the services user can have at a time (you can
  474. # create a special user for this; remember to never launch Services as root).
  475.  
  476. RestrictMail
  477.  
  478. # MailDelay <time> [RECOMMENDED]
  479. #
  480. # This controls the minimum amount of time an user must wait before sending
  481. # another mail after it has sent one. It also controls the minimum time
  482. # an user must wait before it can receive another mail.
  483. #
  484. # This feature prevents users from being mail bombed using Services and
  485. # should definitely be used.
  486.  
  487. MailDelay 5m
  488.  
  489. # DontQuoteAddresses [OPTIONAL]
  490. #
  491. # When enabled, services will not attempt to "" the TO: fields in mails
  492. #
  493. # So far we only know of ESMTP/QMail which need this set.
  494. #
  495.  
  496. #DontQuoteAddresses
  497.  
  498. ###########################################################################
  499. #
  500. # Proxy detection
  501. #
  502. ###########################################################################
  503.  
  504. # Note: if ProxyDetect is not set, all parameters after it in this section
  505. # are optional.
  506.  
  507. # ProxyDetect [OPTIONAL]
  508. #
  509. # Enables insecure proxy detection. Services will automatically
  510. # scan each incoming user and akill those that use insecure proxy.
  511. #
  512. # Anope currently supports detection of Wingate (port 23), SOCKS4/5
  513. # (port 1080), and HTTP proxy (ports 3128 and 8080). It uses the
  514. # protocol of each proxy type to connect to an IRC server, it does
  515. # not only check if the port is open (so your users may still have
  516. # an open telnet server on their port 23 for example).
  517. #
  518. # WARNING: You should get the authorization of the administrator of
  519. # the computer which runs the proxy detector before enabling it; not
  520. # all administrators will accept it. Also note that in certain
  521. # countries, port scanning is prohibited.
  522. #
  523. # This feature requires threading support to be compiled into Anope.
  524.  
  525. #ProxyDetect
  526.  
  527. # ProxyThreads <number> [REQUIRED]
  528. #
  529. # Sets the number of threads Services will launch when starting. Each
  530. # thread will have the responsibility to scan queued hostname for
  531. # proxies.
  532. #
  533. # This value must be set depending of the number of users you have
  534. # on your network. The more threads are used, the more simultaneous
  535. # checks can be done. Remember however, that threads are
  536. # resource-consuming.
  537. #
  538. # WARNING: On Linux, each thread takes a background process, and there
  539. # is an additional process used for thread management; this is a problem
  540. # if you are limited in the number of background process you can use
  541. # (on a paid shell for example).
  542.  
  543. ProxyThreads 5
  544.  
  545. # ProxyMessage... <message> [RECOMMENDED]
  546. #
  547. # Sets the notices that will be sent out to users before Services
  548. # scan them for proxy. You may not use all of them, but just as much as
  549. # necessary.
  550.  
  551. ProxyMessage1 "I will now detect if you're using an insecure proxy."
  552. ProxyMessage2 "If you see a connection on port 23, 1080, 3128 or 8080 from"
  553. ProxyMessage3 "my.box.net, please disregard it, as it is the detector in action."
  554. ProxyMessage4 "See http://proxy.myirc.net/ for information about our proxy policy."
  555. #ProxyMessage5 "Enter"
  556. #ProxyMessage6 "whatever"
  557. #ProxyMessage7 "you want"
  558. #ProxyMessage8 "here."
  559.  
  560. # ProxyCheck... [OPTIONAL]
  561. #
  562. # Determines what types of proxy Anope will try to find (respectively
  563. # Wingate on port 23, SOCKS4 on port 1080, SOCKS5 on port 1080, HTTP
  564. # proxy on port 3128, HTTP proxy on port 8080 and HTTP proxy on port
  565. # 80).
  566.  
  567. ProxyCheckWingate
  568. ProxyCheckSocks4
  569. ProxyCheckSocks5
  570. ProxyCheckHTTP1
  571. ProxyCheckHTTP2
  572. ProxyCheckHTTP3
  573.  
  574. # ProxyTimeout <time> [REQUIRED]
  575.  
  576. # Sets the maximum length of time we allow a connect/read operation to
  577. # take. If you set this value too high, your threads may hang on a single
  578. # check for a very long time. The best is to try different values
  579. # and see which one is the more efficient for your network.
  580.  
  581. ProxyTimeout 15s
  582.  
  583. # ProxyTestServer <ip> <port> [REQUIRED]
  584. #
  585. # Sets the *IP* and port of the IRC server to use as a target when
  586. # testing users for proxy.
  587.  
  588. ProxyTestServer "1.2.3.4" 6667
  589.  
  590. # ProxyExpire <time> [RECOMMENDED]
  591. #
  592. # Sets the length of time before a proxy host cache entry expires, if
  593. # not used.
  594.  
  595. ProxyExpire 30d
  596.  
  597. # ProxyCacheExpire <time> [REQUIRED]
  598. #
  599. # Sets the length of time before a normal host cache entry expires, if
  600. # not used. This cannot be set to 0d.
  601. #
  602. # Every non-proxy hosts will be stored in cache (to avoid too many scans
  603. # to the same host), so you should set this enough low to not fill your
  604. # memory, especially on large networks.
  605.  
  606. ProxyCacheExpire 1d
  607.  
  608. # ProxyAkillReason <reason>
  609. #
  610. # Sets the reason that will be used to AKILL an user from the network
  611. # if a proxy is detected.
  612.  
  613. 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."
  614.  
  615. # WallProxy [OPTIONAL]
  616. #
  617. # Sends a WALLOPS/GLOBOPS when an user using an insecure proxy is being
  618. # AKILLed.
  619.  
  620. WallProxy
  621.  
  622. # ProxyMax <number> [REQUIRED]
  623. #
  624. # Sets the maximum proxy cache entries that can be displayed in a single
  625. # call to OperServ CACHE.
  626.  
  627. ProxyMax 50
  628.  
  629. ###########################################################################
  630. #
  631. # NickServ configuration
  632. #
  633. ###########################################################################
  634.  
  635. # NSForceEmail [RECOMMENDED]
  636. # This option forces the users to give an e-mail when they register
  637. # a nickname. If you have nicks in the database that have no e-mail
  638. # set, they will be asked to set an e-mail when they identify their
  639. # nickname until they set one. Also, this option prevents user from
  640. # unsetting the password.
  641. #
  642. # This option is useful to resolve "lost password" problems.
  643.  
  644. NSForceEmail
  645.  
  646. # NSEmailReg [OPTIONAL]
  647. # This option splits the nick registration into 2 steps, the first
  648. # after registering a email with a passcode is sent to the supplied
  649. # email address, this passcode needs to be entered with a confirm
  650. # command before the nick registration will be completed.
  651. #
  652. # You must have mail / forcemail set for this to work correctly.
  653. # It is also recommended that MailDelay be set to a sensible value
  654. # to prevent mail flooding
  655.  
  656. # NSEmailReg
  657.  
  658. # NSDef... [OPTIONAL]
  659. # Sets the default options for newly registered nicks. Note that
  660. # changing these options will have no effect on nicks which are already
  661. # registered.
  662. #
  663. # If both NSDefKill and NSDefKillQuick are given, the latter takes
  664. # precedence. KILL IMMED cannot be specified as a default.
  665. #
  666. # Note: Both NSDefKill and NSDefKillQuick must be specified for Quick to take effect.
  667. #
  668. # NOTE: If you do not enable any of these options, a default of
  669. # Secure, MemoSignon, and MemoReceive will be used, for backward
  670. # compatibility. If you really want no options enabled by default, use
  671. # NSDefNone.
  672.  
  673. #NSDefNone
  674.  
  675. #NSDefKill
  676. #NSDefKillQuick
  677. NSDefSecure
  678. NSDefPrivate
  679. NSDefHideEmail
  680. NSDefHideUsermask
  681. #NSDefHideQuit
  682. #NSDefMsg
  683. NSDefMemoSignon
  684. NSDefMemoReceive
  685.  
  686. # NSDefLanguage <language-number> [REQUIRED]
  687. # Sets the default language non- and newly-registered will receive
  688. # services' messages in. The numbers are the same as those
  689. # used for the /nickserv SET LANGUAGE command, so look the at the help
  690. # of this command for the list of currently supported languages.
  691. #
  692. # If you ever wanted to know how to translate services in your
  693. # language, read the chapter about it in the README.
  694.  
  695. NSDefLanguage 1
  696.  
  697. # NSRegDelay <time> [RECOMMENDED]
  698. # Sets the minimum length of time between consecutive uses of the
  699. # REGISTER command. If not given, this restriction is disabled (note
  700. # that this allows "registration flooding").
  701.  
  702. NSRegDelay 30s
  703.  
  704. # NSExpire <time> [RECOMMENDED]
  705. # Sets the length of time before a nick registration expires.
  706.  
  707. NSExpire 21d
  708.  
  709. # NSRExpire <time> [OPTIONAL]
  710. # Sets the length of time a user gets to enter the confirmation code
  711. # which has been e-mailed to them before the nick will be released
  712. # for general use again
  713.  
  714. # NSRExpire 1d
  715.  
  716. # NSMaxAliases <number> [RECOMMENDED]
  717. # Sets the maximum number of nicks allowed in a group. If you
  718. # set it to 0, or don't set it at all, no limits will be applied.
  719.  
  720. NSMaxAliases 16
  721.  
  722. # NSAccessMax <count> [REQUIRED]
  723. # Sets the maximum number of entries allowed on a nickname access list.
  724.  
  725. NSAccessMax 32
  726.  
  727. # NSEnforcerUser <user>[@<host>] [REQUIRED]
  728. # Sets the username (and possibly hostname) used for the fake user
  729. # created when NickServ collides a user. Should be in user@host
  730. # format. If the host is not given, the one from ServicesUser is
  731. # used.
  732.  
  733. NSEnforcerUser [email protected]
  734. #NSEnforcerUser enforcer
  735.  
  736. # NSReleaseTimeout <time> [REQUIRED]
  737. # Sets the delay before a NickServ-collided nick is released.
  738.  
  739. NSReleaseTimeout 1m
  740.  
  741. # NSAllowKillImmed [OPTIONAL]
  742. # When enabled, allows the use of the IMMED option with the NickServ
  743. # SET KILL command.
  744.  
  745. #NSAllowKillImmed
  746.  
  747. # NSNoGroupChange [OPTIONAL]
  748. # When enabled, the NickServ GROUP command won't allow any group change.
  749. # This is recommended for better performances and to protect against
  750. # nick stealing, however users will have less flexibility.
  751.  
  752. #NSNoGroupChange
  753.  
  754. # NSListOpersOnly [OPTIONAL]
  755. # When enabled, limits use of the NickServ LIST command to IRC
  756. # operators.
  757.  
  758. #NSListOpersOnly
  759.  
  760. # NSListMax <count> [REQUIRED]
  761. # Specifies the maximum number of nicks to be returned for a NickServ
  762. # LIST command.
  763.  
  764. NSListMax 50
  765.  
  766. # NSGuestNickPrefix <value> [REQUIRED]
  767. # When a user's nick is forcibly changed to enforce a "nick kill", their
  768. # new nick will start with this value. The rest will be made up of 6 or 7
  769. # digits.
  770.  
  771. NSGuestNickPrefix "Guest"
  772.  
  773. # NSSecureAdmins [RECOMMENDED]
  774. # When enabled, prevents the use of the DROP, FORBID, GETPASS, and
  775. # SET PASSWORD commands by Services admins on other Services admins or
  776. # the Services root(s).
  777.  
  778. NSSecureAdmins
  779.  
  780. # NSStrictPrivileges [RECOMMENDED]
  781. #
  782. # When enabled, any user wanting to use the privileges of Services Root, Services
  783. # Admin or Services Operator must have been logged as an IRC Operator with the
  784. # /oper command.
  785.  
  786. NSStrictPrivileges
  787.  
  788. # NSModeOnID [OPTIONAL]
  789. #
  790. # When enabled, services will set the channel modes a user has access to upon
  791. # identifying, assuming they are not already set.
  792. #
  793.  
  794. # NSModeOnID
  795.  
  796. # NSRestrictGetPass [OPTIONAL]
  797. #
  798. # When enabled, services will only allow Services Root to use the getpass
  799. # command on a nick.
  800.  
  801. NSRestrictGetPass
  802.  
  803. ###########################################################################
  804. #
  805. # ChanServ configuration
  806. #
  807. ###########################################################################
  808.  
  809. # CSDef... [OPTIONAL]
  810. # Sets the default options for newly registered channels. Note that
  811. # changing these options will have no effect on channels which are
  812. # already registered.
  813. #
  814. # NOTE: If you do not enable any of these options, a default of
  815. # KeepTopic, Secure, SecureFounder and SignKick will be used, for
  816. # backward compatibility. If you really want no options enabled by
  817. # default, use CSDefNone.
  818.  
  819. #CSDefNone
  820.  
  821. CSDefKeepTopic
  822. #CSDefOpNotice
  823. CSDefPeace
  824. #CSDefPrivate
  825. #CSDefRestricted
  826. CSDefSecure
  827. #CSDefSecureOps
  828. CSDefSecureFounder
  829. CSDefSignKick
  830. #CSDefSignKickLevel
  831. #CSDefTopicLock
  832. CSDefXOP
  833.  
  834.  
  835. # CSMaxReg <count> [RECOMMENDED]
  836. # Limits the number of channels which may be registered to a single
  837. # nickname.
  838.  
  839. CSMaxReg 20
  840.  
  841. # CSExpire <time> [RECOMMENDED]
  842. # Sets the number of days before a channel expires.
  843.  
  844. CSExpire 14d
  845.  
  846. # CSDefBantype <bantype> [REQUIRED]
  847. #
  848. # Sets the default ban type for newly registered channels (and when
  849. # importing old databases).
  850. #
  851. # bantype can be:
  852. #
  853. # 0: ban in the form *!user@host
  854. # 1: ban in the form *!*user@host
  855. # 2: ban in the form *!*@host
  856. # 3: ban in the form *!*user@*.domain
  857.  
  858. CSDefBantype 2
  859.  
  860. # CSAccessMax <count> [REQUIRED]
  861. # Sets the maximum number of entries on a channel's access list.
  862. # Channel access lists may contain only registered nicknames;
  863. # therefore, checking each entry on the list requires only a single
  864. # scaler comparison instead of a wildcard match, and this limit may be
  865. # safely set much higher than (for example) the nickname access list
  866. # size limit without impacting performance significantly.
  867.  
  868. CSAccessMax 1024
  869.  
  870. # CSAutokickMax <count> [REQUIRED]
  871. # Sets the maximum number of entries on a channel's autokick list.
  872.  
  873. CSAutokickMax 32
  874.  
  875. # CSAutokickReason <text> [REQUIRED]
  876. # Sets the default reason for an autokick if none is given.
  877.  
  878. CSAutokickReason "User has been banned from the channel"
  879.  
  880. # CSInhabit <time> [REQUIRED]
  881. # Sets the length of time ChanServ stays in a channel after kicking a
  882. # user from a channel s/he is not permitted to be in. This only occurs
  883. # when the user is the only one in the channel.
  884.  
  885. CSInhabit 15s
  886.  
  887. # CSListOpersOnly [OPTIONAL]
  888. # When enabled, limits use of the ChanServ LIST command to IRC
  889. # operators.
  890.  
  891. #CSListOpersOnly
  892.  
  893. # CSListMax <count> [REQUIRED]
  894. # Specifies the maximum number of channels to be returned for a
  895. # ChanServ LIST command.
  896.  
  897. CSListMax 50
  898.  
  899. # CSRestrictGetPass [OPTIONAL]
  900. #
  901. # When enabled, services will only allow Services Root to use the getpass
  902. # command on a channel.
  903.  
  904. # CSRestrictGetPass
  905.  
  906. # CSOpersOnly [OPTIONAL]
  907. # If this is defined, only IRC Operators will be permitted to use ChanServ.
  908.  
  909. #CSOpersOnly
  910.  
  911. ###########################################################################
  912. #
  913. # MemoServ configuration
  914. #
  915. ###########################################################################
  916.  
  917. # MSMaxMemos <count> [RECOMMENDED]
  918. # Sets the maximum number of memos a user is allowed to keep by
  919. # default. Normal users may set the limit anywhere between zero and
  920. # this value; Services admins can change it to any value or disable it.
  921. # If not given, the limit is disabled by default, and normal users can
  922. # set any limit they want.
  923.  
  924. MSMaxMemos 20
  925.  
  926. # MSSendDelay <time> [RECOMMENDED]
  927. # Sets the delay between consecutive uses of the MemoServ SEND command.
  928. # This can help prevent spam as well as denial-of-service attacks from
  929. # sending large numbers of memos and filling up disk space (and
  930. # memory). A 3-second wait means a maximum average of 150 bytes of
  931. # memo per second per user under the current IRC protocol.
  932.  
  933. MSSendDelay 3s
  934.  
  935. # MSNotifyAll [OPTIONAL]
  936. # Should we notify all appropriate users of a new memo? This applies
  937. # in cases where a memo is sent to a nick which is in the group of
  938. # another nick. Note that, unlike before, it is currently often more
  939. # efficient to enable this.
  940.  
  941. MSNotifyAll
  942.  
  943. ###########################################################################
  944. #
  945. # BotServ configuration
  946. #
  947. ###########################################################################
  948.  
  949. # BSDef... [OPTIONAL]
  950. # Sets the default options for newly registered channels. Note that
  951. # changing these options will have no effect on channels which are
  952. # already registered.
  953.  
  954. #BSDefDontKickOps
  955. #BSDefDontKickVoices
  956. BSDefGreet
  957. BSDefFantasy
  958. BSDefSymbiosis
  959.  
  960. # BSMinUsers <count> [REQUIRED]
  961. # Minimum number of users there must be in a channel before the
  962. # bot joins it. The best value for this setting is 1 or 2. This
  963. # cannot be 0, otherwise topic retention and mode lock and such
  964. # other things won't work.
  965.  
  966. BSMinUsers 1
  967.  
  968. # BSBadWordsMax <count> [REQUIRED]
  969. # Maximum number of entries a single bad words list can have.
  970. # Setting it too high can reduce performances slightly.
  971.  
  972. BSBadWordsMax 32
  973.  
  974. # BSKeepData <time> [REQUIRED]
  975. # Amount of time data for a user that is used by BotServ is
  976. # valid. If the data exceeds this time, it is reset or deleted
  977. # depending the case. Do not set it too high otherwise your resources
  978. # will be slightly affected.
  979.  
  980. BSKeepData 10m
  981.  
  982. # BSSmartJoin [OPTIONAL]
  983. # The bot is currently not affected by any modes or bans when he
  984. # tries to join a channel. But some people may want to make it
  985. # act like a real bot, that is, for example, remove all bans
  986. # that affect the bot before joining the channel, remove a
  987. # ban that affects the bot set by an user when it is on the
  988. # channel, and so on. Since it consumes a bit more CPU time,
  989. # you should not comment it out on larger networks.
  990.  
  991. # BSSmartJoin
  992.  
  993. # BSGentleBWReason [OPTIONAL]
  994. # This option will make the bot use a kick reason that does not retake
  995. # the word when it is kicking the bot. This is especially useful if
  996. # you have young people on your network.
  997.  
  998. BSGentleBWReason
  999.  
  1000. ###########################################################################
  1001. #
  1002. # HostServ configuration
  1003. #
  1004. ###########################################################################
  1005.  
  1006. # HostSetters <nicks> [DISCOURAGED]
  1007. # Specifies the nicks of NON-OPERS allowed to Set/Remove vHosts using
  1008. # HostServ. Can be re-loaded with /msg operserv reload
  1009. # You can specify more than one nick by separating each one by a space.
  1010. #
  1011. # Make sure you insert the correct nick(s) here..
  1012.  
  1013. #HostSetters "rob dengel certus"
  1014.  
  1015. ###########################################################################
  1016. #
  1017. # OperServ configuration
  1018. #
  1019. ###########################################################################
  1020.  
  1021. # ServicesRoot <nicks> [REQUIRED]
  1022. # Specifies the Services "super-users". The super-users, or "roots" as in
  1023. # Unix terminology, are the only users who can add or delete Services
  1024. # admins.
  1025. #
  1026. # You can specify more than one nick by separating each one by a space.
  1027. #
  1028. # This is commented out by default; make sure you insert the correct
  1029. # nick before uncommenting it.
  1030.  
  1031. #ServicesRoot "dengel anope"
  1032.  
  1033. # SuperAdmin [OPTIONAL]
  1034. # When enabled, Services admins will be able to use SuperAdmin [ON|OFF]
  1035. # which will temporarily grant them extra privileges, such as being a
  1036. # founder of _all_ channels, ability to adjust another users modes etc..
  1037.  
  1038. #SuperAdmin
  1039.  
  1040. # LogMaxUsers [OPTIONAL]
  1041. # Causes Services to write a message to the log every time a new user
  1042. # maximum is set.
  1043.  
  1044. LogMaxUsers
  1045.  
  1046. # ...Expiry <time> [REQUIRED]
  1047. # Sets the default expiry time for, respectively, AKILLs, SGLINEs,
  1048. # SQLINEs and SZLINEs.
  1049.  
  1050. AutoKillExpiry 30d
  1051. ChanKillExpiry 30d
  1052. SGLineExpiry 30d
  1053. SQLineExpiry 30d
  1054. SZLineExpiry 30d
  1055.  
  1056. # AkillOnAdd [OPTIONAL]
  1057. #
  1058. # When enabled, this option makes the services send an AKILL command
  1059. # immediately after it has been added with AKILL ADD. This eliminates
  1060. # the need of killing the users after the akill has been added.
  1061.  
  1062. # AkillOnAdd
  1063.  
  1064. # KillClonesAkillExpire <time> [REQUIRED]
  1065. # Sets the expiry time for autokills added for hosts that have been
  1066. # killed using the KILLCLONES command.
  1067.  
  1068. KillClonesAkillExpire 30m
  1069.  
  1070. # DisableRaw [RECOMMENDED]
  1071. #
  1072. # Disables the highly destructive OperServ RAW command.
  1073.  
  1074. DisableRaw
  1075.  
  1076. # WallOper [OPTIONAL]
  1077. # Causes Services to send a WALLOPS/GLOBOPS when a user becomes an IRC
  1078. # operator. Note that this can cause WALLOPS floods when Services
  1079. # first connects to the network.
  1080.  
  1081. #WallOper
  1082.  
  1083. # WallBadOS [OPTIONAL]
  1084. # Causes Services to send a WALLOPS/GLOBOPS if a non-IRC-operator tries
  1085. # to use OperServ.
  1086.  
  1087. #WallBadOS
  1088.  
  1089. # WallOS... [OPTIONAL]
  1090. # Cause Services to send a WALLOPS/GLOBOPS on use of each of the
  1091. # OperServ commands listed.
  1092.  
  1093. WallOSGlobal
  1094. WallOSMode
  1095. WallOSClearmodes
  1096. WallOSKick
  1097. WallOSAkill
  1098. WallOSSGLine
  1099. WallOSSQLine
  1100. WallOSSZLine
  1101. WallOSNoOp
  1102. WallOSJupe
  1103. WallOSRaw
  1104.  
  1105. # Wall...Expire [OPTIONAL]
  1106. # Causes Services to send a WALLOPS/GLOBOPS whenever respectively
  1107. # an AKILL, an SGLINE, an SQLINE, an SZLINE and a session limit
  1108. # exception expires.
  1109.  
  1110. #WallAkillExpire
  1111. #WallSGLineExpire
  1112. #WallSQLineExpire
  1113. #WallSZLineExpire
  1114. #WallExceptionExpire
  1115.  
  1116. # WallGetpass [OPTIONAL]
  1117. # Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1118. # ChanServ GETPASS command.
  1119.  
  1120. WallGetpass
  1121.  
  1122. # WallSetpass [OPTIONAL]
  1123. # Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1124. # sets a password for a nickname or channel (s)he does not normally have
  1125. # privileges to set.
  1126.  
  1127. WallSetpass
  1128.  
  1129. # WallForbid [OPTIONAL]
  1130. # Causes Services to send a WALLOPS/GLOBOPS on use of the NickServ or
  1131. # ChanServ FORBID command.
  1132.  
  1133. WallForbid
  1134.  
  1135. # WallDrop [OPTIONAL]
  1136. # Causes Services to send a WALLOPS/GLOBOPS whenever a Services admin
  1137. # drops a nickname or channel (s)he does not normally have
  1138. # privileges to drop.
  1139.  
  1140. WallDrop
  1141.  
  1142. # LimitSessions [OPTIONAL]
  1143. # Enables session limiting. Session limiting prevents users from
  1144. # connecting more than a certain number of times from the same host at the
  1145. # same time - thus preventing most types of cloning. Once a host reaches
  1146. # it's session limit, all clients attempting to connect from that host
  1147. # will be killed. Exceptions to the default session limit, which are based
  1148. # on host names, can be defined via the exception list. It should be noted
  1149. # that session limiting, along with a large exception list, can degrade
  1150. # services' performance. See the source and comments in sessions.c and the
  1151. # online help for more information about session limiting.
  1152. #
  1153. # Session limiting is meant to replace the CheckClones and KillClones
  1154. # code. It is therefore highly recommended that they are disabled when
  1155. # session limiting has been enabled.
  1156. #
  1157. # NOTE: This option is not available when STREAMLINED is defined in
  1158. # the Makefile.
  1159.  
  1160. LimitSessions
  1161.  
  1162. # DefSessionLimit <limit> [REQUIRED]
  1163. # Default session limit per host. Once a host reaches it's session limit,
  1164. # all clients attempting to connect from that host will be killed. A value
  1165. # of zero means an unlimited session limit.
  1166.  
  1167. DefSessionLimit 3
  1168.  
  1169. # MaxSessionLimit <limit> [REQUIRED]
  1170. # The maximum session limit that may be set for a host in an exception.
  1171.  
  1172. MaxSessionLimit 100
  1173.  
  1174. # ExceptionExpiry <time> [REQUIRED]
  1175. # Sets the default expiry time for exceptions.
  1176.  
  1177. ExceptionExpiry 1d
  1178.  
  1179. # SessionLimitExceeded <message> [OPTIONAL]
  1180. # The message that will be NOTICE'd to a user just before they are removed
  1181. # from the network because their's host session-limit has been exceeded.
  1182. # It may be used to give a slightly more descriptive reason for the
  1183. # impending kill as apposed to simply "Session limit exceeded". If this is
  1184. # commented out, nothing will be sent.
  1185.  
  1186. SessionLimitExceeded "The session limit for your host %s has been exceeded."
  1187.  
  1188. # SessionLimitDetailsLoc <message> [OPTIONAL]
  1189. # Same as above, but should be used to provide a website address where
  1190. # users can find out more about session limits and how to go about
  1191. # applying for an exception. If this is commented out, nothing will be
  1192. # sent.
  1193. #
  1194. # This option has been intentionally commented out in an effort to remind
  1195. # you to change the URL it contains. It is recommended that you supply an
  1196. # address/url where people can get help regarding session limits.
  1197.  
  1198. #SessionLimitDetailsLoc "Please visit http://your.website.url/ for more information about session limits."
  1199.  
  1200. # MaxSessionKill <number> [OPTIONAL]
  1201. #
  1202. # If given and different from 0, this option tells the Services to add an
  1203. # AKILL when there is number subsequent kills for the same hostname, preventing
  1204. # the network from KILL flood.
  1205.  
  1206. MaxSessionKill 15
  1207.  
  1208. # SessionAutoKillExpiry <time> [OPTIONAL]
  1209. #
  1210. # Sets the expiry time for autokills added for hosts that need to be
  1211. # AKILLed as controlled by the MaxSessionKill option.
  1212. #
  1213. # If not given, the default value is 30 minutes.
  1214.  
  1215. SessionAutoKillExpiry 30m
  1216.  
  1217. # CheckClones <minusers> <maxdelay> <warningdelay> [DEPRECATED]
  1218. # Causes Services to try and detect "clones" connecting to the network.
  1219. # A WALLOPS (or GOPER, if supported on the IRC server) will be sent if
  1220. # Services thinks it has found clones.
  1221. #
  1222. # This feature has been superseded by Session Limiting.
  1223. #
  1224. # <minusers> sets the minimum number of users which must successively
  1225. # connect to the network before Services will send a clone warning.
  1226. #
  1227. # <maxdelay> sets the maximum time that can elapse between successive
  1228. # users before Services decides they are not clones.
  1229. #
  1230. # <warningdelay> sets the minimum time between clone warnings for
  1231. # clones from the same host.
  1232. #
  1233. # NOTE: This option is not available when STREAMLINED is defined in
  1234. # the Makefile.
  1235.  
  1236. # CheckClones 5 10s 30s
  1237.  
  1238. # KillClones [DISCOURAGED] [DEPRECATED]
  1239. # Causes Services to kill users which trigger the clone warnings. (If
  1240. # CheckClones is disabled, this will have no effect.)
  1241. #
  1242. # This feature has been superceded by Session Limiting.
  1243. #
  1244. # BEWARE! The clone checking code is easily fooled; it can be
  1245. # triggered falsely under many conditions, for example:
  1246. #
  1247. # - Multiple users connecting from a shell machine.
  1248. #
  1249. # - A single user repeatedly connecting and disconnecting.
  1250. #
  1251. # Be very sure you know what you're doing before you even think about
  1252. # enabling this option, and remember that Services comes with no
  1253. # warranty.
  1254. #
  1255. # If that wasn't enough discouragement:
  1256. #
  1257. # ***** DO NOT ENABLE THIS OPTION! *****
  1258. #
  1259. # NOTE: This option is not available when STREAMLINED is defined in
  1260. # the Makefile.
  1261.  
  1262. #KillClones
  1263.  
  1264. # AddAkiller [OPTIONAL]
  1265. # Adds the nickname of the Operator issuing an AKILL to the kill reason.
  1266. #
  1267. AddAkiller
  1268.  
  1269. ###########################################################################
  1270. #
  1271. # DefCon configuration
  1272. #
  1273. ###########################################################################
  1274.  
  1275. # DefConLevel <level> [OPTIONAL]
  1276. # Default defcon level (1-5) to use when starting services up, level 5
  1277. # instructs services to run as normal.
  1278.  
  1279. #DefConLevel 5
  1280.  
  1281. # DefCon1-4 <numeric> [REQUIRED if Defcon is activated]
  1282. # These numercics determine which of the following operations take place
  1283. # at each level, the correct numeric can be found by adding together the
  1284. # number for each restriction you wish to place at a level.
  1285. # No new channel registrations 1
  1286. # No New Nick Registrations 2
  1287. # No MLOCK changes 4
  1288. # Force Chan Mode 8
  1289. # Use Reduced Session Limit 16
  1290. # KILL any new clients trying to connect 32
  1291. # Services will ignore everyone but opers 64
  1292. # Services will silently ignore everyone but opers 128
  1293. # AKILL all new clients trying to connect 256
  1294. # No new memos sent to block memoserv attacks 512
  1295.  
  1296. #DefCon4 23
  1297. # No channel reg + No Nick Reg + No MLOCK changes + Use Reduced Session Limit
  1298. # 1 + 2 + 4 + 16
  1299.  
  1300. #DefCon3 31
  1301. # As DefCon4 + Services will Force Chan Mode's on channels
  1302. # 23 + 8
  1303.  
  1304. #DefCon2 159
  1305. # As DefCon3 + Services will silently ignore everyone but opers
  1306. # 32 + 128
  1307.  
  1308. #DefCon1 415
  1309. # As DefCon2 + AKILL all new clients trying to connect
  1310. # 159 + 256
  1311.  
  1312.  
  1313. # DefConSessionLimit <limit> [REQUIRED if DefCon is activated]
  1314. # New session limit to use when a defcon level is using "reduced"
  1315. # session limiting.
  1316. # NOTE: When using DefCon this value needs to be defined
  1317. #DefConSessionLimit 2
  1318.  
  1319. # DefConAkillExpire <time> [REQUIRED if DefCon is activated]
  1320. # Length of time to add the AKILL for when DEFCON is preventing
  1321. # all new clients from connecting to the network
  1322. #
  1323. # NOTE: As with all expire times, the expirey check will only be
  1324. # carried out once every "ExpireTimeout" so if this setting is
  1325. # 30m the the akill could last for 30m regardless of this setting.
  1326. #
  1327. # NOTE: When using DefCon this value needs to be defined
  1328. #DefConAkillExpire 5m
  1329.  
  1330. # DefConChanModes <modes> [REQUIRED if DefCon is activated]
  1331. # The channel modes to set on all channel's when the DefCon channel
  1332. # mode system is in use.
  1333. #
  1334. # NOTE: Choose these modes carefully, because when defcon switches to
  1335. # a level which does NOT have the mode setting selected, services will
  1336. # set the reverse on all channel's, e.g. if this setting is +RN
  1337. # when defcon is used all channel's will be set to +RN, when
  1338. # defcon is removed, channels will all be set to -RN. You don't
  1339. # want to set this to +k for example because when defcon is removed all
  1340. # channels will -k.
  1341. # NOTE: mlock'ed modes will not be lost
  1342. #DefConChanModes "+R"
  1343.  
  1344. # DefConTimeOut <time> [OPTIONAL]
  1345. # This value can be used to automatically return the network to
  1346. # defcon 5 after the specified time period - just in case any opers
  1347. # forget to remove a defcon setting.
  1348. #DefConTimeOut 15m
  1349.  
  1350. # GlobalOnDefcon [OPTIONAL]
  1351. #
  1352. # Setting this directive will make Services send a global message on
  1353. # Defcon Level changes.
  1354. #GlobalOnDefcon
  1355.  
  1356. # GlobalOnDefconMore [OPTIONAL]
  1357. #
  1358. # Setting this directive will make Services send a global message on
  1359. # Defcon Level changes. Uncommenting this will allow you to send along
  1360. # with the new level, the DefconMessage.
  1361. #GlobalOnDefconMore
  1362.  
  1363. #DefconMessage "Put your message to send your users here. Dont forget to uncomment GlobalOnDefconMore"
  1364.  
  1365. # DefConOffMessage [OPTIONAL]
  1366. #
  1367. # If this is defined, it will be used in place of GlobalOnDefcon and
  1368. # GlobalOnDefconMore when defcon is returned to level 5
  1369. #DefConOffMessage "Services are now back to normal, sorry for any inconvenience"
  1370.  
  1371. # DefConAkillReason <text> [REQUIRED if DefCon is activated]
  1372. #
  1373. # When using DEFCON this setting will be used when any clients are killed
  1374. # or akilled from the network by defcon
  1375. #
  1376. #DefConAkillReason "This network is currently not accepting connections, please try again later"
  1377.  
  1378. ###########################################################################
  1379. #
  1380. # MySQL configuration
  1381. #
  1382. ###########################################################################
  1383. #
  1384. # Mysql [OPTIONAL]
  1385. #
  1386. # Your MySQL configuration for use with Anope.
  1387. # To disable MySQL functionality, just comment out this block.
  1388. # To make use of MySQL use these directives and change their
  1389. # setting to the appropriate values.
  1390. #
  1391. # MysqlHost defines the Mysql server hostname.
  1392. # MysqlUser defines the Mysql user to log in with.
  1393. # MysqlPass defines the Mysql pass required for the specified user to log in.
  1394. # MysqlName defines the Mysql database name Anope uses
  1395. # MysqlSock defines the Mysql UNIX socket
  1396. # MysqlPort defines the Mysql TCP port
  1397. #
  1398. #MysqlHost "localhost"
  1399. #MysqlUser "Anonymous"
  1400. #MysqlPass ""
  1401. #MysqlName "anope"
  1402. #MysqlSock "/tmp/mysql.sock"
  1403. #MysqlPort 3306
  1404.  
  1405. # MysqlSecure "<des>|<md5>|<sha>|<key>" [OPTIONAL]
  1406. #
  1407. # Method for storing passwords on MySQL. Available methods are:
  1408. # Empty or not set will save your passwords as clear text.
  1409. # des : Encrypt using a simple DES algorithm.
  1410. # md5 : Produces the md5 hash for the password.
  1411. # sha : Calculates the checksum using a Secure Hash Algorithm.
  1412. # key : Encodes using "key" as password.
  1413. # Please read docs/MYSQL file for more info and details.
  1414. #
  1415. #MysqlSecure ""
  1416.  
  1417.  
  1418. # MysqlRetries <value> [OPTIONAL]
  1419. # MysqlRetryGap <value> [OPTIONAL]
  1420. #
  1421. # These values let you define how often and with how much interruption Anope
  1422. # shall retry to open a connection when losing the contact to the mysql db.
  1423. # The product of these values must be between 1 and 60.
  1424. #
  1425. #MysqlRetries 10
  1426. #MysqlRetryGap 1
  1427.  
  1428. ###########################################################################
  1429. #
  1430. # Module configuration
  1431. #
  1432. ###########################################################################
  1433. #
  1434. # ModuleAutoload [OPTIONAL]
  1435. #
  1436. # When compiled with module support, this contains a space separated list
  1437. # of modules to automatically load as soon as possible, e.g. IRCD support modules.
  1438. #
  1439. #ModuleAutoload "hs_moo ircd_defizzer"
  1440.  
  1441. # ModuleDelayedAutoload [OPTIONAL]
  1442. #
  1443. # When compiled with module support, this contains a space separated list
  1444. # of modules to automatically load when services are ready for new clients.
  1445. # e.g. new pesudo clients such as CatServ :-) *meow*
  1446. #
  1447. #ModuleDelayedAutoload "ircd_catserv"
  1448.  
  1449. #EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement