Guest User

Untitled

a guest
Mar 10th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.75 KB | None | 0 0
  1. loadmodule "modules/protocol/charybdis";
  2.  
  3. /* Database backend module.
  4. *
  5. * Please select a database backend module. Different backends allow for
  6. * different ways in which the services data can be manipulated. YOU MAY
  7. * ONLY HAVE ONE OF THESE BACKENDS LOADED.
  8. *
  9. * The following backends are available:
  10. *
  11. * Atheme 0.1 flatfile database format modules/backend/flatfile
  12. *
  13. * Most networks will want flatfile. The PostgreSQL backend requires
  14. * PostgreSQL to be installed on the machine.
  15. *
  16. * As of Atheme 2.2, the PostgreSQL backend is no longer supported.
  17. */
  18. loadmodule "modules/backend/flatfile";
  19.  
  20. /* Crypto module.
  21. *
  22. * If you would like encryption for your services passwords, please
  23. * select a module here. Note that upon starting with a crypto module
  24. * YOUR PASSWORDS ARE IMMEDIATELY AND IRREVERSIBLY CONVERTED. Make at
  25. * least TWO backups of your database before experimenting with this.
  26. * If you have several thousand accounts, this conversion may take
  27. * appreciable time.
  28. *
  29. * The following crypto modules are available:
  30. *
  31. * POSIX-style crypt(3) modules/crypto/posix
  32. * IRCServices (also Anope etc) compatibility modules/crypto/ircservices
  33. * SorceryNet services compatibility modules/crypto/sorservices
  34. *
  35. * The ircservices and sorservices modules are only recommended for use with
  36. * a database converted from other services with password encryption.
  37. */
  38. #loadmodule "modules/crypto/posix";
  39.  
  40. /* NickServ modules.
  41. *
  42. * Here you can disable or enable certain features of NickServ, by
  43. * defining which modules are loaded. You can even disable NickServ
  44. * entirely. Please note however, that an authentication service
  45. * (either NickServ, or UserServ) are required for proper functionality.
  46. *
  47. * Core components modules/nickserv/main
  48. * Nickname access lists modules/nickserv/access
  49. * DROP command modules/nickserv/drop
  50. * GHOST command modules/nickserv/ghost
  51. * GROUP and UNGROUP commands modules/nickserv/group
  52. * HELP command modules/nickserv/help
  53. * Nickname expiry override (HOLD command) modules/nickserv/hold
  54. * IDENTIFY command modules/nickserv/identify
  55. * INFO command modules/nickserv/info
  56. * LIST command modules/nickserv/list
  57. * LISTMAIL command modules/nickserv/listmail
  58. * LOGIN command (for no_nick_ownership) modules/nickserv/login
  59. * LOGOUT command modules/nickserv/logout
  60. * MARK command modules/nickserv/mark
  61. * FREEZE command modules/nickserv/freeze
  62. * LISTCHANS command modules/nickserv/listchans
  63. * REGISTER command modules/nickserv/register
  64. * Password reset (RESETPASS command) modules/nickserv/resetpass
  65. * Password return (RETURN command) modules/nickserv/return
  66. * Password retrieval (SENDPASS command) modules/nickserv/sendpass
  67. * SET command modules/nickserv/set
  68. * Password retrieval uses code (SETPASS cmd) modules/nickserv/setpass
  69. * Nickname enforcement modules/nickserv/enforce
  70. * STATUS command modules/nickserv/status
  71. * Nickname metadata viewer (TAXONOMY command) modules/nickserv/taxonomy
  72. * VERIFY command modules/nickserv/verify
  73. * VHOST command modules/nickserv/vhost
  74. */
  75. loadmodule "modules/nickserv/main";
  76. loadmodule "modules/nickserv/access";
  77. loadmodule "modules/nickserv/drop";
  78. loadmodule "modules/nickserv/ghost";
  79. loadmodule "modules/nickserv/group";
  80. loadmodule "modules/nickserv/help";
  81. loadmodule "modules/nickserv/hold";
  82. loadmodule "modules/nickserv/identify";
  83. loadmodule "modules/nickserv/info";
  84. loadmodule "modules/nickserv/list";
  85. loadmodule "modules/nickserv/listmail";
  86. loadmodule "modules/nickserv/login";
  87. loadmodule "modules/nickserv/logout";
  88. loadmodule "modules/nickserv/mark";
  89. loadmodule "modules/nickserv/freeze";
  90. loadmodule "modules/nickserv/listchans";
  91. loadmodule "modules/nickserv/register";
  92. loadmodule "modules/nickserv/resetpass";
  93. loadmodule "modules/nickserv/return";
  94. loadmodule "modules/nickserv/sendpass";
  95. loadmodule "modules/nickserv/set";
  96. loadmodule "modules/nickserv/setpass";
  97. loadmodule "modules/nickserv/enforce";
  98. loadmodule "modules/nickserv/status";
  99. loadmodule "modules/nickserv/taxonomy";
  100. loadmodule "modules/nickserv/verify";
  101. loadmodule "modules/nickserv/vhost";
  102.  
  103. /* ChanServ modules.
  104. *
  105. * Here you can disable or enable certain features of ChanServ, by
  106. * defining which modules are loaded. You can even disable ChanServ
  107. * entirely. Please note that ChanServ requires an authentication
  108. * service, either NickServ or UserServ will do.
  109. *
  110. * Core components modules/chanserv/main
  111. * AKICK command modules/chanserv/akick
  112. * BAN/UNBAN commands modules/chanserv/ban
  113. * CLOSE command modules/chanserv/close
  114. * CLEAR command modules/chanserv/clear
  115. * CLEAR BANS command modules/chanserv/clear_bans
  116. * CLEAR USERS command modules/chanserv/clear_users
  117. * COUNT command modules/chanserv/count
  118. * DROP command modules/chanserv/drop
  119. * Forced flags changes modules/chanserv/fflags
  120. * FLAGS command modules/chanserv/flags
  121. * Forced foundership transfers modules/chanserv/ftransfer
  122. * GETKEY command modules/chanserv/getkey
  123. * HALFOP/DEHALFOP commands modules/chanserv/halfop
  124. * HELP command modules/chanserv/help
  125. * Channel expiry override (HOLD command) modules/chanserv/hold
  126. * INFO command modules/chanserv/info
  127. * INVITE command modules/chanserv/invite
  128. * KICK/KICKBAN commands modules/chanserv/kick
  129. * LIST command modules/chanserv/list
  130. * MARK command modules/chanserv/mark
  131. * OP/DEOP commands modules/chanserv/op
  132. * QUIET command (+q support) modules/chanserv/quiet
  133. * Channel takeover recovery (RECOVER command) modules/chanserv/recover
  134. * REGISTER command modules/chanserv/register
  135. * SET command modules/chanserv/set
  136. * STATUS command modules/chanserv/status
  137. * Channel metadata viewer (TAXONOMY command) modules/chanserv/taxonomy
  138. * TEMPLATE command modules/chanserv/template
  139. * TOPIC/TOPICAPPEND commands modules/chanserv/topic
  140. * VOICE/DEVOICE commands modules/chanserv/voice
  141. * WHY command modules/chanserv/why
  142. * VOP/HOP/AOP/SOP commands modules/chanserv/xop
  143. */
  144. loadmodule "modules/chanserv/main";
  145. loadmodule "modules/chanserv/akick";
  146. loadmodule "modules/chanserv/ban";
  147. loadmodule "modules/chanserv/close";
  148. loadmodule "modules/chanserv/clear";
  149. loadmodule "modules/chanserv/clear_bans";
  150. loadmodule "modules/chanserv/clear_users";
  151. loadmodule "modules/chanserv/count";
  152. loadmodule "modules/chanserv/drop";
  153. loadmodule "modules/chanserv/fflags";
  154. loadmodule "modules/chanserv/flags";
  155. loadmodule "modules/chanserv/ftransfer";
  156. loadmodule "modules/chanserv/getkey";
  157. #loadmodule "modules/chanserv/halfop";
  158. loadmodule "modules/chanserv/help";
  159. loadmodule "modules/chanserv/hold";
  160. loadmodule "modules/chanserv/info";
  161. loadmodule "modules/chanserv/invite";
  162. loadmodule "modules/chanserv/kick";
  163. loadmodule "modules/chanserv/list";
  164. loadmodule "modules/chanserv/mark";
  165. loadmodule "modules/chanserv/op";
  166. loadmodule "modules/chanserv/quiet";
  167. loadmodule "modules/chanserv/recover";
  168. loadmodule "modules/chanserv/register";
  169. loadmodule "modules/chanserv/set";
  170. loadmodule "modules/chanserv/status";
  171. loadmodule "modules/chanserv/taxonomy";
  172. loadmodule "modules/chanserv/template";
  173. loadmodule "modules/chanserv/topic";
  174. loadmodule "modules/chanserv/voice";
  175. loadmodule "modules/chanserv/why";
  176. loadmodule "modules/chanserv/xop";
  177.  
  178. /* OperServ modules.
  179. *
  180. * Here you can disable or enable certain features of OperServ, by
  181. * defining which modules are loaded.
  182. *
  183. * Core components modules/operserv/main
  184. * AKILL system modules/operserv/akill
  185. * CLEARCHAN command modules/operserv/clearchan
  186. * CLONES system modules/operserv/clones
  187. * COMPARE command modules/operserv/compare
  188. * HELP command modules/operserv/help
  189. * IGNORE system modules/operserv/ignore
  190. * INJECT command modules/operserv/inject
  191. * JUPE command modules/operserv/jupe
  192. * MODE command modules/operserv/mode
  193. * MODINSPECT command modules/operserv/modinspect
  194. * MODLIST command modules/operserv/modlist
  195. * MODLOAD command modules/operserv/modload
  196. * MODRESTART command modules/operserv/modrestart
  197. * MODUNLOAD command modules/operserv/modunload
  198. * NOOP system modules/operserv/noop
  199. * Regex mass akill (RAKILL command) modules/operserv/rakill
  200. * RAW command modules/operserv/raw
  201. * REHASH command modules/operserv/rehash
  202. * RESTART command modules/operserv/restart
  203. * Display regex matching (RMATCH command) modules/operserv/rmatch
  204. * Most common realnames (RNC command) modules/operserv/rnc
  205. * RWATCH system modules/operserv/rwatch
  206. * SHUTDOWN command modules/operserv/shutdown
  207. * Non-config oper privileges (SOPER command) modules/operserv/soper
  208. * Oper privilege display (SPECS command) modules/operserv/specs
  209. * UPDATE command modules/operserv/update
  210. * UPTIME command modules/operserv/uptime
  211. */
  212. loadmodule "modules/operserv/main";
  213. loadmodule "modules/operserv/akill";
  214. loadmodule "modules/operserv/clearchan";
  215. loadmodule "modules/operserv/clones";
  216. loadmodule "modules/operserv/compare";
  217. loadmodule "modules/operserv/help";
  218. loadmodule "modules/operserv/ignore";
  219. loadmodule "modules/operserv/jupe";
  220. loadmodule "modules/operserv/mode";
  221. loadmodule "modules/operserv/modinspect";
  222. loadmodule "modules/operserv/modlist";
  223. loadmodule "modules/operserv/modload";
  224. loadmodule "modules/operserv/modrestart";
  225. loadmodule "modules/operserv/modunload";
  226. loadmodule "modules/operserv/noop";
  227. loadmodule "modules/operserv/rakill";
  228. loadmodule "modules/operserv/rehash";
  229. loadmodule "modules/operserv/restart";
  230. loadmodule "modules/operserv/rmatch";
  231. loadmodule "modules/operserv/rnc";
  232. loadmodule "modules/operserv/rwatch";
  233. loadmodule "modules/operserv/shutdown";
  234. loadmodule "modules/operserv/soper";
  235. loadmodule "modules/operserv/specs";
  236. loadmodule "modules/operserv/update";
  237. loadmodule "modules/operserv/uptime";
  238.  
  239. /* MemoServ modules.
  240. *
  241. * Here you can disable or enable certain features of MemoServ, by
  242. * defining which modules are loaded. You can even disable MemoServ
  243. * entirely.
  244. *
  245. * Core components modules/memoserv/main
  246. * HELP command modules/memoserv/help
  247. * SEND command modules/memoserv/send
  248. * Channel memos (SENDOPS command) modules/memoserv/sendops
  249. * LIST command modules/memoserv/list
  250. * READ command modules/memoserv/read
  251. * FORWARD command modules/memoserv/forward
  252. * DELETE command modules/memoserv/delete
  253. * IGNORE command modules/memoserv/ignore
  254. */
  255. loadmodule "modules/memoserv/main";
  256. loadmodule "modules/memoserv/help";
  257. loadmodule "modules/memoserv/send";
  258. loadmodule "modules/memoserv/sendops";
  259. loadmodule "modules/memoserv/list";
  260. loadmodule "modules/memoserv/read";
  261. loadmodule "modules/memoserv/forward";
  262. loadmodule "modules/memoserv/delete";
  263. loadmodule "modules/memoserv/ignore";
  264.  
  265. /* Global module.
  266. *
  267. * Like the other services, the Global noticer is a module. You can
  268. * disable or enable it to your liking below. Please note that the
  269. * Global noticer is dependent on OperServ for full functionality.
  270. */
  271. loadmodule "modules/global/main";
  272.  
  273. /* SASL agent module.
  274. *
  275. * Allows clients to authenticate to services via SASL with an appropriate
  276. * ircd. You need the core components and at least one mechanism.
  277. *
  278. * Core components modules/saslserv/main
  279. * PLAIN mechanism modules/saslserv/plain
  280. * DH-BLOWFISH mechanism modules/saslserv/dh-blowfish
  281. */
  282. #loadmodule "modules/saslserv/main";
  283. #loadmodule "modules/saslserv/plain";
  284. #loadmodule "modules/saslserv/dh-blowfish"; /* requires SSL */
  285.  
  286. /* GameServ modules.
  287. *
  288. * Here you can disable or enable certain features of GameServ, by
  289. * defining which modules are loaded. You can even disable GameServ
  290. * entirely.
  291. *
  292. * Core components modules/gameserv/main
  293. * DICE/WOD commands modules/gameserv/dice
  294. * HELP commands modules/gameserv/help
  295. * NAMEGEN command modules/gameserv/namegen
  296. */
  297. #loadmodule "modules/gameserv/main";
  298. #loadmodule "modules/gameserv/dice";
  299. #loadmodule "modules/gameserv/help";
  300. #loadmodule "modules/gameserv/namegen";
  301.  
  302. /* XMLRPC server module.
  303. *
  304. * Atheme includes an optional XMLRPC server that can be used for integration
  305. * with portal software and other useful things. To enable it, load this
  306. * module, and uncomment the xmlrpc { } block towards the bottom of the config.
  307. *
  308. * Server component modules/xmlrpc/main
  309. * Legacy account management modules/xmlrpc/account
  310. * Legacy channel management modules/xmlrpc/channel
  311. * Legacy memo management modules/xmlrpc/memo
  312. */
  313. #loadmodule "modules/xmlrpc/main";
  314. #loadmodule "modules/xmlrpc/account";
  315. #loadmodule "modules/xmlrpc/channel";
  316. #loadmodule "modules/xmlrpc/memo";
  317.  
  318. /* Other modules.
  319. *
  320. * Put any other modules you want to load on startup here. The path
  321. * is relative to PREFIX or PREFIX/lib/atheme, depending on how Atheme
  322. * was compiled.
  323. * Note: modules directly under modules/ are loaded automatically even
  324. * if not listed here.
  325. */
  326. #loadmodule "contrib/fc_dice";
  327.  
  328. /* The serverinfo{} block defines how we
  329. * appear on the IRC network.
  330. */
  331. serverinfo {
  332. /* name
  333. * The server name that this program uses on the IRC network.
  334. * This is the name you'll have to use in C:/N:Lines. It must be
  335. * unique on the IRC network and contain at least one dot, but does
  336. * not have to be equal to any DNS name.
  337. */
  338. name = "services.int";
  339.  
  340. /* desc
  341. * The ``server comment'' we send to the IRC network.
  342. * If you want server hiding, prefix your desc with "(H)"
  343. */
  344. desc = "services.int";
  345.  
  346. /* numeric
  347. * Some protocol drivers (Charybdis, Ratbox2, Hybrid, P10, IRCNet)
  348. * require a server id, also known as a numeric. Please consult your
  349. * ircd's documentation when providing this value.
  350. */
  351. numeric = "00A";
  352.  
  353. /* (*)recontime
  354. * The number of seconds before we reconnect to the uplink.
  355. */
  356. recontime = 10;
  357.  
  358. /* (*)netname
  359. * The name of your network.
  360. */
  361. netname = "Unspecific.net";
  362.  
  363. /* (*)hidehostsuffix
  364. * P10 +x host hiding gives <account>.<hidehostsuffix>.
  365. * If using +x on asuka/bircd/undernet, this must agree
  366. * with F:HIDDEN_HOST.
  367. */
  368. hidehostsuffix = "users.misconfigured";
  369.  
  370. /* (*)adminname
  371. * The name of the person running this service.
  372. */
  373. adminname = "eth01";
  374.  
  375. /* (*)adminemail
  376. * The email address of the person running this service.
  377. */
  378. adminemail = "thomas.markey [at] ntlworld.com";
  379.  
  380. /* (*)mta
  381. * The full path to your mail transfer agent.
  382. * This is used for email authorization and password retrieval.
  383. * Comment this out to disable sending email.
  384. * Warning: sending email can disclose the IP of your services
  385. * unless you take precautions (not discussed here further).
  386. */
  387. mta = "/usr/sbin/sendmail";
  388.  
  389. /* (*)loglevel
  390. * Specify the default categories of logging information to record
  391. * in the master Atheme logfile, usually var/atheme.log.
  392. *
  393. * Options include:
  394. * debug, all - meta-keyword for all possible categories
  395. * trace - meta-keyword for a little bit of info
  396. * misc - like trace, but with some more miscillaneous info
  397. * notice - meta-keyword for notice-like information
  398. * ------------------------------------------------------------------------------
  399. * error - critical errors
  400. * info - miscillaneous log notices
  401. * commands - all command use
  402. * admin - administrative command use
  403. * register - account and channel registrations
  404. * set - changes of account or channel settings
  405. * network - log notices related to network status
  406. * rawdata - log raw data sent and received by services
  407. * wallops - log notices that would normally be walloped
  408. */
  409. loglevel = { error; info; admin; network; wallops; };
  410.  
  411. /* (*)maxlogins
  412. * What is the maximum number of sessions allowed to login to one
  413. * username? This reduces potential abuse. It is only checked on login.
  414. */
  415. maxlogins = 5;
  416.  
  417. /* (*)maxusers
  418. * What are the maximum usernames that one email address can register?
  419. */
  420. maxusers = 5;
  421.  
  422. /* (*)maxnicks
  423. * If GROUP is loaded, what are the maximum nicknames that one
  424. * username can register?
  425. */
  426. maxnicks = 5;
  427.  
  428. /* (*)maxchans
  429. * What are the maximum channels that one username can register?
  430. */
  431. maxchans = 5;
  432.  
  433. /* (*)mdlimit
  434. * How many metadata entries can be added to an object?
  435. */
  436. mdlimit = 30;
  437.  
  438. /* (*)emaillimit, emailtime
  439. * The maximum number of emails allowed to be sent in
  440. * that amount of time (seconds). If this is exceeded,
  441. * wallops will be sent, at most one per minute.
  442. */
  443. emaillimit = 10;
  444. emailtime = 300;
  445.  
  446. /* (*)auth
  447. * What type of username registration authorization do you want?
  448. * If "email," Atheme will send a confirmation email to the address to
  449. * ensure it's valid. If "none," no message will be sent and the username
  450. * will be fully registered.
  451. * Valid values are: email, none.
  452. */
  453. auth = none;
  454.  
  455. /* casemapping
  456. * Specify the casemapping to use. Almost all TSora (and any that follow
  457. * the RFC correctly) ircds will use rfc1459 casemapping. Bahamut, Unreal,
  458. * and other ``Dalnet'' ircds will use ascii casemapping.
  459. * Valid values are: rfc1459, ascii.
  460. */
  461. casemapping = rfc1459;
  462. };
  463.  
  464. /* uplink{} blocks define connections to IRC servers.
  465. * Multiple may be defined but only one will be used at a time (IRC
  466. * being a tree shaped network).
  467. */
  468. uplink "irc.unspecific.net" {
  469. // the server name goes above
  470.  
  471. // host
  472. // The hostname to connect to.
  473. host = "10.50.1.4";
  474.  
  475. // vhost
  476. // The source IP to connect from, used on machines with multiple interfaces.
  477. #vhost = "202.119.187.31";
  478.  
  479. // password
  480. // The password used for linking.
  481. password = "r00ted123";
  482.  
  483. // port
  484. // The port used for linking.
  485. port = 5000;
  486. };
  487.  
  488. /* The nickserv {} block defines settings specific to the nickname/username
  489. * registration services client on the IRC network.
  490. */
  491. nickserv {
  492. // If you want NickServ to tell people about how great it is, enable the directive
  493. // below.
  494. spam;
  495.  
  496. /* no_nick_ownership
  497. * Enable this to disable nickname ownership (old userserv{}).
  498. * This changes changes "nickname" to "account" in most messages,
  499. * disables GHOST on users not logged in to the same account and
  500. * makes the spam directive ineffective.
  501. * It is suggested that the nick be set to UserServ, login.so
  502. * be loaded instead of identify.so and ghost.so not be loaded.
  503. */
  504. #no_nick_ownership;
  505.  
  506. /* (*)nick
  507. * The nickname we want NickServ to have.
  508. */
  509. nick = "NickServ";
  510.  
  511. /* user
  512. * The username we want NickServ to have.
  513. */
  514. user = "NickServ";
  515.  
  516. /* host
  517. * The hostname we want NickServ to have.
  518. */
  519. host = "services.int";
  520.  
  521. /* real
  522. * The realname (gecos) information we want NickServ to have.
  523. */
  524. real = "Nickname Services";
  525. };
  526.  
  527. /* The chanserv {} block defines settings specific to the channel
  528. * services client on the IRC network.
  529. */
  530. chanserv {
  531. /* (*)nick
  532. * The nickname we want the client to have.
  533. */
  534. nick = "ChanServ";
  535.  
  536. /* user
  537. * The username we want the client to have.
  538. */
  539. user = "ChanServ";
  540.  
  541. /* host
  542. * The hostname we want the client to have.
  543. */
  544. host = "services.int";
  545.  
  546. /* real
  547. * The GECOS of the client.
  548. */
  549. real = "Channel Services";
  550.  
  551. /* fantasy
  552. * Do you want to enable fantasy commands? This can
  553. * use a lot of CPU up, and will only work if you have
  554. * join_chans (in general) enabled as well.
  555. */
  556. fantasy;
  557.  
  558. /* (*) ca_xop
  559. * Defines what flags the xop access levels comprise.
  560. * These should all be different and not equal to the empty set,
  561. * except that hop may be equal to vop to disable hop.
  562. * Each subsequent level should have more flags (except +VHO).
  563. * For optimal functioning of /cs forcexop, aop should not have
  564. * any of +sRf, hop should not have any of +sRfoOr and vop should
  565. * not have any of +sRfoOrhHt.
  566. * If this is not specified, the values of Atheme 0.3 are used,
  567. * which are generally less intuitive than these.
  568. * Note: changing these leaves the flags of existing channel access
  569. * entries unchanged, thus removing them of the view of /cs xop list.
  570. * Usually the channel founder can use /cs forcexop to update the
  571. * entries to the new levels.
  572. */
  573. vop = "+VA";
  574. hop = "+vVhHtA";
  575. aop = "+vhoOtriA";
  576. sop = "+vhoOtrsifA";
  577.  
  578. /* (*) changets
  579. * Change the channel TS to the registration time when someone
  580. * recreates a registered channel, ensuring that they are deopped
  581. * and all their modes are undone. When the channel was not recreated
  582. * no deops will be done (apart from the SECURE option).
  583. * This also solves the "join-mode" problem where someone recreates
  584. * a registered channel and then sets some modes before they are
  585. * deopped.
  586. * This is currently supported for charybdis, hybrid, ratbox and
  587. * bahamut. For charybdis, hybrid and ratbox it only fully works
  588. * with TS6, with TS5 bans and last-moment modes will still apply.
  589. * (That can also be used to advantage, when first enabling this.)
  590. */
  591. #changets;
  592.  
  593. /* (*) trigger
  594. * This setting allows you to change the trigger prefix for
  595. * ChanServ's in-channel command feature (disableable via chanserv::fantasy).
  596. * If no setting is provided, the default is used, which is "!".
  597. *
  598. * Other settings you could consider trying: ".", "~", "?", "`", "'".
  599. */
  600. trigger = "!";
  601. };
  602.  
  603. /* The global {} block defines settings concerning the global noticer. */
  604. global {
  605. /* nick
  606. * Sets the nick used for sending out a global notice.
  607. */
  608. nick = "Global";
  609.  
  610. /* user
  611. * Sets the username used for this client.
  612. */
  613. user = "Global";
  614.  
  615. /* host
  616. * The hostname used for this client.
  617. */
  618. host = "services.int";
  619.  
  620. /* real
  621. * The GECOS (real name) of the client.
  622. */
  623. real = "Network Announcements";
  624. };
  625.  
  626. /* The operserv {} block defines settings concerning the operator service. */
  627. operserv {
  628. /* nick
  629. * The nickname we want the Operator Service to have.
  630. */
  631. nick = "OperServ";
  632.  
  633. /* user
  634. * Sets the username used for this client.
  635. */
  636. user = "OperServ";
  637.  
  638. /* host
  639. * The hostname used for this client.
  640. */
  641. host = "services.int";
  642.  
  643. /* real
  644. * The GECOS (real name) of the client.
  645. */
  646. real = "Operator Services";
  647. };
  648.  
  649. /* If you are using a SQL database, you will need to change these settings. */
  650. database {
  651. /* user
  652. * Username to use when connecting to the DBMS server.
  653. */
  654. user = "atheme";
  655.  
  656. /* password
  657. * Password to use when connecting to the DBMS server.
  658. */
  659. password = "atheme";
  660.  
  661. /* host
  662. * Host the DBMS server is running on.
  663. */
  664. host = "localhost";
  665.  
  666. /* port (optional)
  667. * Used to change the port used for connecting to the DBMS.
  668. */
  669. #port = 3306;
  670.  
  671. /* database
  672. * The SQL database to use with Atheme.
  673. */
  674. database = "atheme";
  675. };
  676.  
  677. /* If you are using SASL, uncomment this */
  678. #saslserv {
  679. # /* (*)nick
  680. # * The nickname we want SaslServ to have.
  681. # */
  682. # nick = "SaslServ";
  683. #
  684. # /* user
  685. # * The username we want SaslServ to have.
  686. # */
  687. # user = "SaslServ";
  688. #
  689. # /* host
  690. # * The hostname we want SaslServ to have.
  691. # */
  692. # host = "services.int";
  693. #
  694. # /* real
  695. # * The realname (gecos) information we want SaslServ to have.
  696. # */
  697. # real = "SASL Authentication Agent";
  698. #};
  699.  
  700. /* The xmlrpc {} block defines configuration parameters for the
  701. * XMLRPC server.
  702. */
  703. xmlrpc {
  704. /* host
  705. * The host that the XMLRPC server will run on.
  706. * Use 0.0.0.0 if you want to listen on all available hosts.
  707. */
  708. host = "0.0.0.0";
  709.  
  710. /* port
  711. * The port that the XMLRPC server will run on.
  712. */
  713. port = 8080;
  714. };
  715.  
  716. /* MemoServ */
  717. memoserv {
  718. /* (*)nick
  719. * The nickname we want MemoServ to have.
  720. */
  721. nick = "MemoServ";
  722.  
  723. /* user
  724. * The username we want MemoServ to have.
  725. */
  726. user = "MemoServ";
  727.  
  728. /* host
  729. * The hostname we want MemoServ to have.
  730. */
  731. host = "services.int";
  732.  
  733. /* real
  734. * The realname (gecos) information we want MemoServ to have.
  735. */
  736. real = "Memo Services";
  737. };
  738.  
  739. /* The gameserv {} block defines settings concerning GameServ. */
  740. gameserv {
  741. /* nick
  742. * The nickname we want GameServ to have.
  743. */
  744. nick = "GameServ";
  745.  
  746. /* user
  747. * Sets the username used for this client.
  748. */
  749. user = "GameServ";
  750.  
  751. /* host
  752. * The hostname used for this client.
  753. */
  754. host = "services.int";
  755.  
  756. /* real
  757. * The GECOS (real name) of the client.
  758. */
  759. real = "Game Services";
  760. };
  761.  
  762. /*
  763. * logfile{} blocks can be used to set up log files other than the master
  764. * logfile used by services, which is controlled by serverinfo::loglevel.
  765. *
  766. * The various logging categories are:
  767. * debug, all - meta-keyword for all possible categories
  768. * trace - meta-keyword for a little bit of info
  769. * misc - like trace, but with some more miscillaneous info
  770. * notice - meta-keyword for notice-like information
  771. * ------------------------------------------------------------------------------
  772. * error - critical errors
  773. * info - miscillaneous log notices
  774. * commands - all command use
  775. * admin - administrative command use
  776. * register - account and channel registrations
  777. * set - changes of account or channel settings
  778. * network - log notices related to network status
  779. * rawdata - log raw data sent and received by services
  780. * wallops - log notices that would normally be walloped
  781. */
  782.  
  783. /*
  784. * This block logs all account and channel registrations and drops,
  785. * and account and channel setting changes to var/account.log.
  786. */
  787. logfile "var/account.log" { register; set; };
  788.  
  789. /*
  790. * This block logs all command use to var/commands.log.
  791. */
  792. logfile "var/commands.log" { commands; admin; register; set; };
  793.  
  794. /* The general {} block defines general configuration options. */
  795. general {
  796. /* (*)chan
  797. * The channel the client joins and sends certain
  798. * messages to.
  799. * Comment to disable.
  800. */
  801. chan = "#services";
  802.  
  803. /* (*)silent
  804. * If you want to prevent services from sending
  805. * WALLOPS/GLOBOPS about things uncomment this.
  806. * Not recommended.
  807. */
  808. #silent;
  809.  
  810. /* (*)verbose_wallops
  811. * If you want services to send you more information about
  812. * events that are occuring (in particular AKILLs), uncomment the
  813. * directive below.
  814. *
  815. * WARNING! This may result in large amounts of wallops/globops
  816. * floods.
  817. */
  818. #verbose_wallops;
  819.  
  820. /* (*)use_privmsg
  821. * If you want services to send messages via PRIVMSG instead of
  822. * NOTICE, uncomment this below. This could be useful for networks
  823. * with WEBTV users and various other improperly designed IRC clients
  824. * connecting to it, such as flash and java chat clients and IRC
  825. * clients for the physically handicapped.
  826. *
  827. * WARNING! It is against the IRC RFC to respond to PRIVMSG
  828. * automatically with another PRIVMSG, because it can cause
  829. * feedback loops between bots and services. You have been warned.
  830. * Some users may not like this feature very well, it
  831. * can be rather annoying.
  832. */
  833. #use_privmsg;
  834.  
  835. /* (*)join_chans
  836. * Should ChanServ be allowed to join registered channels?
  837. * This option is useful for the fantasy command set.
  838. *
  839. * If enabled, you can tell ChanServ to join via SET GUARD ON.
  840. *
  841. * If you use ircu-like ircd (asuka, bircd, undernet), you must
  842. * leave this enabled, and put guard in default cflags.
  843. *
  844. * For ratbox it is recommended to leave it on and put guard in
  845. * default cflags, in order that ChanServ does not have to join/part
  846. * to do certain things. On the other hand, enabling this increases
  847. * potential for bots fighting with ChanServ.
  848. *
  849. * Regardless of this option, ChanServ will temporarily join
  850. * channels which would otherwise be empty if necessary to enforce
  851. * akick/staffonly/close.
  852. */
  853. join_chans;
  854.  
  855. /* (*)leave_chans
  856. * Do we leave registered channels after everyone else has left?
  857. * Turning this off serves little purpose, except to mark "official"
  858. * network channels by keeping them open, and to preserve the
  859. * topic and +beI lists.
  860. */
  861. #leave_chans;
  862.  
  863. /* secure
  864. * Do you want to require the use of /msg <service>@<services host>?
  865. * Turning this on helps protect against spoofers, but is disabled
  866. * as most networks do not presently use it.
  867. */
  868. #secure;
  869.  
  870. /* (*)uflags
  871. * The default flags to set for usernames upon registration.
  872. * Valid values are: hold, neverop, noop, hidemail, and none.
  873. */
  874. uflags = { none; };
  875.  
  876. /* (*)cflags
  877. * The default flags to set for channels upon registration.
  878. * Valid values are: hold, secure, verbose, verbose_ops, keeptopic,
  879. * topiclock, guard and none.
  880. */
  881. cflags = { verbose; guard; };
  882.  
  883. /* (*)raw
  884. * Do you want to allow SRAs to use the RAW and INJECT commands?
  885. * These commands are for debugging. If you don't know how to use them
  886. * then don't enable them. They are not supported.
  887. */
  888. #raw;
  889.  
  890. /* (*)flood_msgs
  891. * Do you want services to detect floods?
  892. * Set to how many messages before a flood is triggered.
  893. * If services receives `flood_msgs' within `flood_time' the user will
  894. * trigger the flood protection.
  895. * Setting this to zero disables flood protection.
  896. */
  897. flood_msgs = 7;
  898.  
  899. /* (*)flood_time
  900. * Do you want services to detect floods?
  901. * Set to how long before the counter resets.
  902. * If services receives `flood_msgs' within `flood_time' the user will
  903. * trigger the flood protection.
  904. */
  905. flood_time = 10;
  906.  
  907. /* (*)kline_time
  908. * The default expire time for KLINE's in days.
  909. * Setting this to 0 makes all KLINE's permanent.
  910. */
  911. kline_time = 7;
  912.  
  913. /* commit_interval
  914. * The time between database writes in minutes.
  915. */
  916. commit_interval = 5;
  917.  
  918. /* (*)expire
  919. * The number of days before inactive registrations are expired.
  920. */
  921. expire = 30;
  922. };
  923.  
  924. /* Operator configuration
  925. * See the PRIVILEGES document for more information.
  926. * NOTE: All changes apply immediately upon rehash. You may need
  927. * to send a signal to regain control.
  928. */
  929. /* (*) Operclasses specify groups of services operator privileges */
  930. operclass "sra" {
  931. /* You can have multiple privs {} blocks in an oper class.
  932. * This example uses multiple privs {} blocks to organize the privileges
  933. * granted to the operclass by category.
  934. */
  935. privs = {
  936. special:ircop;
  937. };
  938.  
  939. privs = {
  940. user:auspex;
  941. user:admin;
  942. user:sendpass;
  943. user:vhost;
  944. user:mark;
  945. user:hold;
  946. user:regnolimit;
  947. };
  948.  
  949. privs = {
  950. chan:auspex;
  951. chan:admin;
  952. chan:cmodes;
  953. chan:joinstaffonly;
  954. };
  955.  
  956. privs = {
  957. general:auspex;
  958. general:viewprivs;
  959. general:flood;
  960. general:metadata;
  961. general:admin;
  962. };
  963.  
  964. privs = {
  965. operserv:omode;
  966. operserv:akill;
  967. #operserv:massakill;
  968. operserv:jupe;
  969. operserv:noop;
  970. operserv:global;
  971. operserv:grant;
  972. };
  973.  
  974. /* needoper
  975. * Only grant privileges to IRC users in this oper class if they
  976. * are opered; other use of privilege (channel succession, XMLRPC,
  977. * etc.) is unaffected by this.
  978. */
  979. needoper;
  980. };
  981.  
  982. /* The "ircop" operclass specifies privileges all IRCops get.
  983. * This may be empty in which case IRCops get no privs.
  984. * At least chan:cmodes, chan:joinstaffonly and general:auspex are suggested.
  985. */
  986. operclass "ircop" {
  987. privs = {
  988. special:ircop;
  989. };
  990.  
  991. privs = {
  992. user:auspex;
  993. user:admin;
  994. user:sendpass;
  995. user:vhost;
  996. user:mark;
  997. };
  998.  
  999. privs = {
  1000. chan:auspex;
  1001. chan:admin;
  1002. chan:cmodes;
  1003. chan:joinstaffonly;
  1004. };
  1005.  
  1006. privs = {
  1007. general:auspex;
  1008. general:viewprivs;
  1009. general:flood;
  1010. };
  1011.  
  1012. privs = {
  1013. operserv:omode;
  1014. operserv:akill;
  1015. operserv:jupe;
  1016. operserv:global;
  1017. };
  1018. };
  1019.  
  1020. /* (*) Operator blocks specify accounts with certain privileges
  1021. * Oper classes must be defined before they are used in operator blocks.
  1022. */
  1023. operator "eth01" {
  1024. operclass = "sra";
  1025. };
  1026.  
  1027. /* You may also specify other files for inclusion.
  1028. * For example:
  1029. *
  1030. * include "etc/sras.conf";
  1031. */
Add Comment
Please, Sign In to add comment