Advertisement
Guest User

Untitled

a guest
May 6th, 2017
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.13 KB | None | 0 0
  1. /* This is an example configuration for Services.
  2. *
  3. * All statements end in semi-colons (';').
  4. * Shell style, C style, and C++ style comments may be used.
  5. *
  6. * Items marked with "(*)" are reconfigurable at runtime via REHASH.
  7. */
  8.  
  9. /******************************************************************************
  10. * MODULES SECTION. *
  11. ******************************************************************************/
  12.  
  13. /*
  14. * These are the modules included with the core distribution of Services 3.
  15. *
  16. * You may be interested in the atheme community modules distribution as
  17. * well, which adds additional features that may or may not be compatible
  18. * with the project paradigms intended for maintainance of the core of
  19. * atheme-services.
  20. *
  21. * Visit the atheme-services website for more information and to download them.
  22. *
  23. * Modules marked [experimental] will taint your atheme-services instance. Do
  24. * not file any bug reports with us about using Services with those modules;
  25. * they will be ignored.
  26. */
  27.  
  28. /* Protocol module.
  29. *
  30. * Please select a protocol module. Different servers use different protocols.
  31. * Below is a listing of ircd's known to work with the various protocol modules
  32. * available.
  33. *
  34. * Asuka 1.2.1 or later modules/protocol/asuka
  35. * Bahamut 1.8.x modules/protocol/bahamut
  36. * Beware IRCd (bircd) modules/protocol/bircd
  37. * Charybdis IRCd modules/protocol/charybdis
  38. * dancer-ircd/hyperion modules/protocol/hyperion
  39. * DreamForge 4.6.7 or later modules/protocol/dreamforge
  40. * Hybrid 7.1.2 and later modules/protocol/hybrid
  41. * ircd-ratbox 2.0 and later modules/protocol/ratbox
  42. * IRCNet ircd (ircd 2.11) modules/protocol/ircnet
  43. * ircd-seven modules/protocol/ircd-seven
  44. * ircu 2.10.11.07 or later modules/protocol/undernet
  45. * IRCXPRO 1.2/OfficeIRC modules/protocol/officeirc
  46. * InspIRCd 1.1b1 or later modules/protocol/inspircd11
  47. * InspIRCd 1.2 [experimental] modules/protocol/inspircd12
  48. * Nefarious IRCu 0.4.0 or later modules/protocol/nefarious
  49. * PleXusIRCd 3.x modules/protocol/plexus
  50. * PTlink IRCd modules/protocol/ptlink
  51. * ShadowIRCd 5.0 or later modules/protocol/shadowircd
  52. * UltimateIRCd 3.0 or later modules/protocol/ultimate3
  53. * UnrealIRCd 3.1/3.2 modules/protocol/unreal
  54. *
  55. * If your IRCd vendor has supplied a module file, build it and load it here
  56. * instead of one above.
  57. */
  58. loadmodule "modules/protocol/inspircd11";
  59.  
  60. /* Database backend module.
  61. *
  62. * Please select a database backend module. Different backends allow for
  63. * different ways in which the services data can be manipulated. YOU MAY
  64. * ONLY HAVE ONE OF THESE BACKENDS LOADED.
  65. *
  66. * The following backends are available:
  67. *
  68. * Atheme 0.1 flatfile database format modules/backend/flatfile
  69. *
  70. * Most networks will want flatfile. The PostgreSQL backend requires
  71. * PostgreSQL to be installed on the machine.
  72. *
  73. * As of Atheme 2.2, the PostgreSQL backend is no longer supported.
  74. */
  75. loadmodule "modules/backend/flatfile";
  76.  
  77. /* Crypto module.
  78. *
  79. * If you would like encryption for your services passwords, please
  80. * select a module here. Note that upon starting with a crypto module
  81. * YOUR PASSWORDS ARE IMMEDIATELY AND IRREVERSIBLY CONVERTED. Make at
  82. * least TWO backups of your database before experimenting with this.
  83. * If you have several thousand accounts, this conversion may take
  84. * appreciable time.
  85. *
  86. * The following crypto modules are available:
  87. *
  88. * POSIX-style crypt(3) modules/crypto/posix
  89. * IRCServices (also Anope etc) compatibility modules/crypto/ircservices
  90. * SorceryNet services compatibility modules/crypto/sorservices
  91. * Raw MD5 (Anope compatibility) modules/crypto/rawmd5
  92. * Raw SHA1 (Anope compatibility) modules/crypto/rawsha1
  93. *
  94. * The ircservices, sorservices, rawmd5 and rawsha1 modules are only
  95. * recommended for use with a database converted from other services with
  96. * password encryption.
  97. *
  98. * The rawsha1 module requires OpenSSL.
  99. */
  100. loadmodule "modules/crypto/posix";
  101.  
  102. /* NickServ modules.
  103. *
  104. * Here you can disable or enable certain features of NickServ, by
  105. * defining which modules are loaded. You can even disable NickServ
  106. * entirely. Please note however, that an authentication service
  107. * (either NickServ, or UserServ) are required for proper functionality.
  108. *
  109. * Core components modules/nickserv/main
  110. * Nickname access lists modules/nickserv/access
  111. * DROP command modules/nickserv/drop
  112. * GHOST command modules/nickserv/ghost
  113. * GROUP and UNGROUP commands modules/nickserv/group
  114. * HELP command modules/nickserv/help
  115. * Nickname expiry override (HOLD command) modules/nickserv/hold
  116. * IDENTIFY command modules/nickserv/identify
  117. * INFO command modules/nickserv/info
  118. * LIST command modules/nickserv/list
  119. * LISTMAIL command modules/nickserv/listmail
  120. * LISTOWNMAIL command modules/nickserv/listownmail
  121. * LOGIN command (for no_nick_ownership) modules/nickserv/login
  122. * LOGOUT command modules/nickserv/logout
  123. * MARK command modules/nickserv/mark
  124. * FREEZE command modules/nickserv/freeze
  125. * LISTCHANS command modules/nickserv/listchans
  126. * REGISTER command modules/nickserv/register
  127. * Password reset (RESETPASS command) modules/nickserv/resetpass
  128. * Password return (RETURN command) modules/nickserv/return
  129. * Password retrieval (SENDPASS command) modules/nickserv/sendpass
  130. * SET command modules/nickserv/set
  131. * Change primary nickname (SET ACCOUNTNAME) modules/nickserv/set_accountname
  132. * PRIVMSG instead of NOTICE (SET PRIVMSG cmd) modules/nickserv/set_privmsg
  133. * Account info hiding (SET PRIVATE command) modules/nickserv/set_private
  134. * Password retrieval uses code (SETPASS cmd) modules/nickserv/setpass
  135. * Presence notifications (EXPERIMENTAL) modules/nickserv/subscribe
  136. * Nickname enforcement modules/nickserv/enforce
  137. * STATUS command modules/nickserv/status
  138. * Nickname metadata viewer (TAXONOMY command) modules/nickserv/taxonomy
  139. * VACATION command modules/nickserv/vacation
  140. * VERIFY command modules/nickserv/verify
  141. * VHOST command modules/nickserv/vhost
  142. */
  143. loadmodule "modules/nickserv/main";
  144. loadmodule "modules/nickserv/access";
  145. loadmodule "modules/nickserv/drop";
  146. loadmodule "modules/nickserv/ghost";
  147. loadmodule "modules/nickserv/group";
  148. loadmodule "modules/nickserv/help";
  149. loadmodule "modules/nickserv/hold";
  150. loadmodule "modules/nickserv/identify";
  151. loadmodule "modules/nickserv/info";
  152. loadmodule "modules/nickserv/list";
  153. loadmodule "modules/nickserv/listmail";
  154. loadmodule "modules/nickserv/listownmail";
  155. loadmodule "modules/nickserv/login";
  156. loadmodule "modules/nickserv/logout";
  157. loadmodule "modules/nickserv/mark";
  158. loadmodule "modules/nickserv/freeze";
  159. loadmodule "modules/nickserv/listchans";
  160. loadmodule "modules/nickserv/register";
  161. loadmodule "modules/nickserv/resetpass";
  162. loadmodule "modules/nickserv/return";
  163. loadmodule "modules/nickserv/sendpass";
  164. loadmodule "modules/nickserv/set";
  165. loadmodule "modules/nickserv/set_accountname";
  166. loadmodule "modules/nickserv/set_privmsg";
  167. loadmodule "modules/nickserv/set_private";
  168. loadmodule "modules/nickserv/setpass";
  169. loadmodule "modules/nickserv/subscribe";
  170. loadmodule "modules/nickserv/enforce";
  171. loadmodule "modules/nickserv/status";
  172. loadmodule "modules/nickserv/taxonomy";
  173. loadmodule "modules/nickserv/vacation";
  174. loadmodule "modules/nickserv/verify";
  175. loadmodule "modules/nickserv/vhost";
  176.  
  177. /* ChanServ modules.
  178. *
  179. * Here you can disable or enable certain features of ChanServ, by
  180. * defining which modules are loaded. You can even disable ChanServ
  181. * entirely. Please note that ChanServ requires an authentication
  182. * service, either NickServ or UserServ will do.
  183. *
  184. * Core components modules/chanserv/main
  185. * AKICK command modules/chanserv/akick
  186. * BAN/UNBAN commands modules/chanserv/ban
  187. * UNBAN self only (load ban or this not both) modules/chanserv/unban_self
  188. * CLOSE command modules/chanserv/close
  189. * CLEAR command modules/chanserv/clear
  190. * CLEAR BANS command modules/chanserv/clear_bans
  191. * CLEAR USERS command modules/chanserv/clear_users
  192. * COUNT command modules/chanserv/count
  193. * DROP command modules/chanserv/drop
  194. * Forced flags changes modules/chanserv/fflags
  195. * FLAGS command modules/chanserv/flags
  196. * Forced foundership transfers modules/chanserv/ftransfer
  197. * GETKEY command modules/chanserv/getkey
  198. * HALFOP/DEHALFOP commands modules/chanserv/halfop
  199. * HELP command modules/chanserv/help
  200. * Channel expiry override (HOLD command) modules/chanserv/hold
  201. * INFO command modules/chanserv/info
  202. * INVITE command modules/chanserv/invite
  203. * KICK/KICKBAN commands modules/chanserv/kick
  204. * LIST command modules/chanserv/list
  205. * MARK command modules/chanserv/mark
  206. * OP/DEOP commands modules/chanserv/op
  207. * OWNER/DEOWNER commands modules/chanserv/owner
  208. * PROTECT/DEPROTECT commands modules/chanserv/protect
  209. * QUIET command (+q support) modules/chanserv/quiet
  210. * Channel takeover recovery (RECOVER command) modules/chanserv/recover
  211. * REGISTER command modules/chanserv/register
  212. * SET command modules/chanserv/set
  213. * SET GAMESERV command modules/chanserv/set_gameserv
  214. * SET LIMITFLAGS command modules/chanserv/set_limitflags
  215. * Channel info hiding (SET PRIVATE command) modules/chanserv/set_private
  216. * STATUS command modules/chanserv/status
  217. * Channel metadata viewer (TAXONOMY command) modules/chanserv/taxonomy
  218. * TEMPLATE command modules/chanserv/template
  219. * TOPIC/TOPICAPPEND commands modules/chanserv/topic
  220. * VOICE/DEVOICE commands modules/chanserv/voice
  221. * WHY command modules/chanserv/why
  222. * VOP/HOP/AOP/SOP commands modules/chanserv/xop
  223. * This module provides emulation of the ircservices XOP scheme ONLY.
  224. * Do not report discrepencies when using native commands to edit channel
  225. * ACLs. This is intentional.
  226. */
  227. loadmodule "modules/chanserv/main";
  228. loadmodule "modules/chanserv/akick";
  229. loadmodule "modules/chanserv/ban";
  230. loadmodule "modules/chanserv/unban_self";
  231. loadmodule "modules/chanserv/close";
  232. loadmodule "modules/chanserv/clear";
  233. loadmodule "modules/chanserv/clear_bans";
  234. loadmodule "modules/chanserv/clear_users";
  235. loadmodule "modules/chanserv/count";
  236. loadmodule "modules/chanserv/drop";
  237. loadmodule "modules/chanserv/fflags";
  238. loadmodule "modules/chanserv/flags";
  239. loadmodule "modules/chanserv/ftransfer";
  240. loadmodule "modules/chanserv/getkey";
  241. loadmodule "modules/chanserv/halfop";
  242. loadmodule "modules/chanserv/help";
  243. loadmodule "modules/chanserv/hold";
  244. loadmodule "modules/chanserv/info";
  245. loadmodule "modules/chanserv/invite";
  246. loadmodule "modules/chanserv/kick";
  247. loadmodule "modules/chanserv/list";
  248. loadmodule "modules/chanserv/mark";
  249. loadmodule "modules/chanserv/op";
  250. loadmodule "modules/chanserv/quiet";
  251. loadmodule "modules/chanserv/recover";
  252. loadmodule "modules/chanserv/register";
  253. loadmodule "modules/chanserv/set";
  254. loadmodule "modules/chanserv/set_gameserv";
  255. loadmodule "modules/chanserv/set_limitflags";
  256. loadmodule "modules/chanserv/set_private";
  257. loadmodule "modules/chanserv/status";
  258. loadmodule "modules/chanserv/taxonomy";
  259. loadmodule "modules/chanserv/template";
  260. loadmodule "modules/chanserv/topic";
  261. loadmodule "modules/chanserv/voice";
  262. loadmodule "modules/chanserv/why";
  263. loadmodule "modules/chanserv/xop";
  264.  
  265. /* OperServ modules.
  266. *
  267. * Here you can disable or enable certain features of OperServ, by
  268. * defining which modules are loaded.
  269. *
  270. * Core components modules/operserv/main
  271. * AKILL system modules/operserv/akill
  272. * CLEARCHAN command modules/operserv/clearchan
  273. * CLONES system modules/operserv/clones
  274. * COMPARE command modules/operserv/compare
  275. * GREPLOG command modules/operserv/greplog
  276. * HELP command modules/operserv/help
  277. * IGNORE system modules/operserv/ignore
  278. * IDENTIFY command modules/operserv/identify
  279. * INJECT command modules/operserv/inject
  280. * JUPE command modules/operserv/jupe
  281. * MODE command modules/operserv/mode
  282. * MODINSPECT command modules/operserv/modinspect
  283. * MODLIST command modules/operserv/modlist
  284. * MODLOAD command modules/operserv/modload
  285. * MODRESTART command modules/operserv/modrestart
  286. * MODUNLOAD command modules/operserv/modunload
  287. * NOOP system modules/operserv/noop
  288. * Regex mass akill (RAKILL command) modules/operserv/rakill
  289. * RAW command modules/operserv/raw
  290. * REHASH command modules/operserv/rehash
  291. * RESTART command modules/operserv/restart
  292. * Display regex matching (RMATCH command) modules/operserv/rmatch
  293. * Most common realnames (RNC command) modules/operserv/rnc
  294. * RWATCH system modules/operserv/rwatch
  295. * SHUTDOWN command modules/operserv/shutdown
  296. * Non-config oper privileges (SOPER command) modules/operserv/soper
  297. * Oper privilege display (SPECS command) modules/operserv/specs
  298. * UPDATE command modules/operserv/update
  299. * UPTIME command modules/operserv/uptime
  300. */
  301. loadmodule "modules/operserv/main";
  302. loadmodule "modules/operserv/akill";
  303. loadmodule "modules/operserv/clearchan";
  304. loadmodule "modules/operserv/clones";
  305. loadmodule "modules/operserv/compare";
  306. loadmodule "modules/operserv/greplog";
  307. loadmodule "modules/operserv/help";
  308. loadmodule "modules/operserv/identify";
  309. loadmodule "modules/operserv/ignore";
  310. loadmodule "modules/operserv/jupe";
  311. loadmodule "modules/operserv/mode";
  312. loadmodule "modules/operserv/modinspect";
  313. loadmodule "modules/operserv/modlist";
  314. loadmodule "modules/operserv/modload";
  315. loadmodule "modules/operserv/modrestart";
  316. loadmodule "modules/operserv/modunload";
  317. loadmodule "modules/operserv/noop";
  318. loadmodule "modules/operserv/rakill";
  319. loadmodule "modules/operserv/rehash";
  320. loadmodule "modules/operserv/restart";
  321. loadmodule "modules/operserv/rmatch";
  322. loadmodule "modules/operserv/rnc";
  323. loadmodule "modules/operserv/rwatch";
  324. loadmodule "modules/operserv/shutdown";
  325. loadmodule "modules/operserv/soper";
  326. loadmodule "modules/operserv/specs";
  327. loadmodule "modules/operserv/update";
  328. loadmodule "modules/operserv/uptime";
  329. loadmodule "modules/operserv/raw";
  330. /* MemoServ modules.
  331. *
  332. * Here you can disable or enable certain features of MemoServ, by
  333. * defining which modules are loaded. You can even disable MemoServ
  334. * entirely.
  335. *
  336. * Core components modules/memoserv/main
  337. * HELP command modules/memoserv/help
  338. * SEND command modules/memoserv/send
  339. * Channel memos (SENDOPS command) modules/memoserv/sendops
  340. * LIST command modules/memoserv/list
  341. * READ command modules/memoserv/read
  342. * FORWARD command modules/memoserv/forward
  343. * DELETE command modules/memoserv/delete
  344. * IGNORE command modules/memoserv/ignore
  345. */
  346. loadmodule "modules/memoserv/main";
  347. loadmodule "modules/memoserv/help";
  348. loadmodule "modules/memoserv/send";
  349. loadmodule "modules/memoserv/sendops";
  350. loadmodule "modules/memoserv/list";
  351. loadmodule "modules/memoserv/read";
  352. loadmodule "modules/memoserv/forward";
  353. loadmodule "modules/memoserv/delete";
  354. loadmodule "modules/memoserv/ignore";
  355.  
  356. /* Global module.
  357. *
  358. * Like the other services, the Global noticer is a module. You can
  359. * disable or enable it to your liking below. Please note that the
  360. * Global noticer is dependent on OperServ for full functionality.
  361. */
  362. loadmodule "modules/global/main";
  363.  
  364. /* SASL agent module.
  365. *
  366. * Allows clients to authenticate to services via SASL with an appropriate
  367. * ircd. You need the core components and at least one mechanism.
  368. *
  369. * Core components modules/saslserv/main
  370. * PLAIN mechanism modules/saslserv/plain
  371. * DH-BLOWFISH mechanism modules/saslserv/dh-blowfish
  372. */
  373. loadmodule "modules/saslserv/main";
  374. loadmodule "modules/saslserv/plain";
  375. loadmodule "modules/saslserv/dh-blowfish"; /* requires SSL */
  376.  
  377. /* GameServ modules.
  378. *
  379. * Here you can disable or enable certain features of GameServ, by
  380. * defining which modules are loaded. You can even disable GameServ
  381. * entirely.
  382. *
  383. * Core components modules/gameserv/main
  384. * DICE/WOD commands modules/gameserv/dice
  385. * HELP commands modules/gameserv/help
  386. * NAMEGEN command modules/gameserv/namegen
  387. */
  388. loadmodule "modules/gameserv/main";
  389. loadmodule "modules/gameserv/dice";
  390. loadmodule "modules/gameserv/help";
  391. loadmodule "modules/gameserv/namegen";
  392.  
  393. /* Channel listing service.
  394. *
  395. * Allows users to list channels with more flexibility than the /list
  396. * command.
  397. *
  398. * Core components modules/alis/main
  399. */
  400. loadmodule "modules/alis/main";
  401.  
  402. /*
  403. * Various modules.
  404. *
  405. * Atheme includes an optional HTTP server that can be used for integration
  406. * with portal software and other useful things. To enable it, load this
  407. * module, and uncomment the httpd { } block towards the bottom of the config.
  408. *
  409. * HTTP Server modules/misc/httpd
  410. */
  411. loadmodule "modules/misc/httpd";
  412.  
  413. /* XMLRPC server module.
  414. *
  415. * The XML-RPC handler requires modules/misc/httpd to be loaded as it merely
  416. * registers a path handler for XML-RPC. The path used for XML-RPC is /xmlrpc.
  417. *
  418. * XMLRPC handler for the httpd modules/xmlrpc/main
  419. * Legacy account management modules/xmlrpc/account
  420. * Legacy channel management modules/xmlrpc/channel
  421. * Legacy memo management modules/xmlrpc/memo
  422. */
  423. loadmodule "modules/xmlrpc/main";
  424. loadmodule "modules/xmlrpc/account";
  425. loadmodule "modules/xmlrpc/channel";
  426. loadmodule "modules/xmlrpc/memo";
  427.  
  428. /* Other modules.
  429. *
  430. * Put any other modules you want to load on startup here. The path
  431. * is relative to PREFIX or PREFIX/lib/atheme, depending on how Atheme
  432. * was compiled.
  433. */
  434. #loadmodule "contrib/fc_dice";
  435.  
  436. /******************************************************************************
  437. * SERVICES RUNTIME CONFIGURATION SECTION. *
  438. ******************************************************************************/
  439.  
  440. /* The serverinfo{} block defines how we appear on the IRC network. */
  441. serverinfo {
  442. /* name
  443. * The server name that this program uses on the IRC network.
  444. * This is the name you'll have to use in C:/N:Lines. It must be
  445. * unique on the IRC network and contain at least one dot, but does
  446. * not have to be equal to any DNS name.
  447. */
  448. name = "Services.STLHack.com";
  449.  
  450. /* desc
  451. * The ``server comment'' we send to the IRC network.
  452. * If you want server hiding, prefix your desc with "(H)"
  453. */
  454. desc = "Saint Louis Tech Community Services";
  455.  
  456. /* numeric
  457. * Some protocol drivers (Charybdis, Ratbox2, Hybrid, P10, IRCNet)
  458. * require a server id, also known as a numeric. Please consult your
  459. * ircd's documentation when providing this value.
  460. */
  461. numeric = "00A";
  462.  
  463. /* (*)recontime
  464. * The number of seconds before we reconnect to the uplink.
  465. */
  466. recontime = 10;
  467.  
  468. /* (*)netname
  469. * The name of your network.
  470. */
  471. netname = "Saint Louis Tech Community";
  472.  
  473. /* (*)hidehostsuffix
  474. * P10 +x host hiding gives <account>.<hidehostsuffix>.
  475. * If using +x on asuka/bircd/undernet, this must agree
  476. * with F:HIDDEN_HOST.
  477. */
  478. hidehostsuffix = "users.STLHack.com";
  479.  
  480. /* (*)adminname
  481. * The name of the person running this service.
  482. */
  483. adminname = "hakr";
  484.  
  485. /* (*)adminemail
  486. * The email address of the person running this service.
  487. */
  488. adminemail = "Bryan@STLHack.com";
  489.  
  490. /* (*)mta
  491. * The full path to your mail transfer agent.
  492. * This is used for email authorization and password retrieval.
  493. * Comment this out to disable sending email.
  494. * Warning: sending email can disclose the IP of your services
  495. * unless you take precautions (not discussed here further).
  496. */
  497. mta = "/usr/sbin/sendmail";
  498.  
  499. /* (*)loglevel
  500. * Specify the default categories of logging information to record
  501. * in the master Atheme logfile, usually var/atheme.log.
  502. *
  503. * Options include:
  504. * debug, all - meta-keyword for all possible categories
  505. * trace - meta-keyword for a little bit of info
  506. * misc - like trace, but with some more miscillaneous info
  507. * notice - meta-keyword for notice-like information
  508. * ------------------------------------------------------------------------------
  509. * error - critical errors
  510. * info - miscillaneous log notices
  511. * commands - all command use
  512. * admin - administrative command use
  513. * register - account and channel registrations
  514. * set - changes of account or channel settings
  515. * network - log notices related to network status
  516. * rawdata - log raw data sent and received by services
  517. * wallops - <not yet used>
  518. */
  519. loglevel = { error; info; admin; network; wallops; };
  520.  
  521. /* (*)maxlogins
  522. * What is the maximum number of sessions allowed to login to one
  523. * username? This reduces potential abuse. It is only checked on login.
  524. */
  525. maxlogins = 10;
  526.  
  527. /* (*)maxusers
  528. * What are the maximum usernames that one email address can register?
  529. * Set to 0 to disable this check (it can be slow currently).
  530. */
  531. maxusers = 10;
  532.  
  533. /* (*)maxnicks
  534. * If GROUP is loaded, what are the maximum nicknames that one
  535. * username can register?
  536. */
  537. maxnicks = 10;
  538.  
  539. /* (*)maxchans
  540. * What are the maximum channels that one username can register?
  541. */
  542. maxchans = 10;
  543.  
  544. /* (*)mdlimit
  545. * How many metadata entries can be added to an object?
  546. */
  547. mdlimit = 50;
  548.  
  549. /* (*)emaillimit, emailtime
  550. * The maximum number of emails allowed to be sent in
  551. * that amount of time (seconds). If this is exceeded,
  552. * wallops will be sent, at most one per minute.
  553. */
  554. emaillimit = 100;
  555. emailtime = 3000;
  556.  
  557. /* (*)auth
  558. * What type of username registration authorization do you want?
  559. * If "email", Atheme will send a confirmation email to the address to
  560. * ensure it's valid. If registration is not completed within one day,
  561. * the username will expire. If "none", no message will be sent and
  562. * the username will be fully registered.
  563. * Valid values are: email, none.
  564. */
  565. auth = email;
  566.  
  567. /* casemapping
  568. * Specify the casemapping to use. Almost all TSora (and any that follow
  569. * the RFC correctly) ircds will use rfc1459 casemapping. Bahamut, Unreal,
  570. * and other ``Dalnet'' ircds will use ascii casemapping.
  571. * Valid values are: rfc1459, ascii.
  572. */
  573. casemapping = rfc1459;
  574. };
  575.  
  576. /* uplink{} blocks define connections to IRC servers.
  577. * Multiple may be defined but only one will be used at a time (IRC
  578. * being a tree shaped network).
  579. */
  580. uplink "Chat.STLHack.com" {
  581. // the server name goes above
  582.  
  583. // host
  584. // The hostname to connect to.
  585. host = "97.107.129.211";
  586.  
  587. // vhost
  588. // The source IP to connect from, used on machines with multiple interfaces.
  589. vhost = "97.107.129.211";
  590.  
  591. // password
  592. // The password used for linking.
  593. password = "linkage";
  594.  
  595. // port
  596. // The port used for linking.
  597. port = 7000;
  598. };
  599.  
  600. /* NickServ configuration.
  601. *
  602. * The nickserv {} block contains settings specific to the NickServ modules.
  603. *
  604. * NickServ provides nickname or username registration and authentication
  605. * services. It provides necessary authentication features required for
  606. * Services to operate correctly. You should make sure these settings
  607. * are properly configured for your network.
  608. */
  609. nickserv {
  610. // If you want NickServ to tell people about how great it is, enable the directive
  611. // below.
  612. spam;
  613.  
  614. /* no_nick_ownership
  615. * Enable this to disable nickname ownership (old userserv{}).
  616. * This changes changes "nickname" to "account" in most messages,
  617. * disables GHOST on users not logged in to the same account and
  618. * makes the spam directive ineffective.
  619. * It is suggested that the nick be set to UserServ, login.so
  620. * be loaded instead of identify.so and ghost.so not be loaded.
  621. */
  622. #no_nick_ownership;
  623.  
  624. /* (*)nick
  625. * The nickname we want NickServ to have.
  626. */
  627. nick = "NickServ";
  628.  
  629. /* (*)user
  630. * The username we want NickServ to have.
  631. */
  632. user = "NickServ";
  633.  
  634. /* (*)host
  635. * The hostname we want NickServ to have.
  636. */
  637. host = "Services.STLHack.com";
  638.  
  639. /* (*)real
  640. * The realname (gecos) information we want NickServ to have.
  641. */
  642. real = "STLHack Nickname Registration Services";
  643.  
  644. /* (*)expire
  645. * The number of days before inactive registrations are expired.
  646. */
  647. expire = 30;
  648.  
  649. /* (*)enforce_expire
  650. * The number of days of no use after which to ignore enforcement
  651. * settings on nicks.
  652. */
  653. #enforce_expire = 14;
  654.  
  655. /* (*)enforce_delay
  656. * The number of seconds to delay nickchange enforcement settings
  657. * on nicks.
  658. */
  659. #enforce_delay = 30;
  660. };
  661.  
  662. /* ChanServ configuration.
  663. *
  664. * The chanserv {} block contains settings specific to the ChanServ modules.
  665. *
  666. * ChanServ provides channel registration services, which allows users to own
  667. * channels. It is not required, but is strongly recommended.
  668. */
  669. chanserv {
  670. /* (*)nick
  671. * The nickname we want the client to have.
  672. */
  673. nick = "ChanServ";
  674.  
  675. /* (*)user
  676. * The username we want the client to have.
  677. */
  678. user = "ChanServ";
  679.  
  680. /* (*)host
  681. * The hostname we want the client to have.
  682. */
  683. host = "Services.STLHack.com";
  684.  
  685. /* (*)real
  686. * The GECOS of the client.
  687. */
  688. real = "STLHack Channel Registration Services";
  689.  
  690. /* fantasy
  691. * Do you want to enable fantasy commands? This can
  692. * use a lot of CPU up, and will only work if you have
  693. * join_chans (in general) enabled as well.
  694. */
  695. fantasy;
  696.  
  697. /* (*) ca_xop
  698. * Defines what flags the xop access levels comprise.
  699. * These should all be different and not equal to the empty set,
  700. * except that hop may be equal to vop to disable hop.
  701. * Each subsequent level should have more flags (except +VHO).
  702. * For optimal functioning of /cs forcexop, aop should not have
  703. * any of +sRf, hop should not have any of +sRfoOr and vop should
  704. * not have any of +sRfoOrhHt.
  705. * If this is not specified, the values of Atheme 0.3 are used,
  706. * which are generally less intuitive than these.
  707. * Note: changing these leaves the flags of existing channel access
  708. * entries unchanged, thus removing them of the view of /cs xop list.
  709. * Usually the channel founder can use /cs forcexop to update the
  710. * entries to the new levels.
  711. */
  712. vop = "+VA";
  713. hop = "+vVhHtA";
  714. aop = "+vhoOtriA";
  715. sop = "+vhoOtrsifAa";
  716.  
  717. /* (*) deftemplates
  718. * Defines default templates to set on new channels, as a
  719. * space-separated list of name=+flags pairs.
  720. * Note: at this time no syntax checking is done on this; it
  721. * is your own responsibility to make sure it is correct.
  722. */
  723. #deftemplates = "MEMBER=+iA OP=+voOtriA";
  724.  
  725. /* (*) changets
  726. * Change the channel TS to the registration time when someone
  727. * recreates a registered channel, ensuring that they are deopped
  728. * and all their modes are undone. Note that this involves ChanServ
  729. * joining. When the channel was not recreated no deops will be done
  730. * (apart from the SECURE option).
  731. * This also solves the "join-mode" problem where someone recreates
  732. * a registered channel and then sets some modes before they are
  733. * deopped.
  734. * This is currently supported for charybdis, hybrid, ratbox,
  735. * bahamut and inspircd 1.1+. For charybdis, hybrid and ratbox
  736. * it only fully works with TS6, with TS5 bans and last-moment modes
  737. * will still apply.
  738. * (That can also be used to advantage, when first enabling this.)
  739. */
  740. changets;
  741.  
  742. /* (*) trigger
  743. * This setting allows you to change the trigger prefix for
  744. * ChanServ's in-channel command feature (disableable via chanserv::fantasy).
  745. * If no setting is provided, the default is used, which is "!".
  746. *
  747. * Other settings you could consider trying: ".", "~", "?", "`", "'".
  748. */
  749. trigger = ".";
  750.  
  751. /* (*)expire
  752. * The number of days before inactive registrations are expired.
  753. */
  754. expire = 30;
  755.  
  756. /* (*)maxchanacs
  757. * The maximum number of entries allowed in a channel's access list
  758. * (both channel ops and akicks), 0 for unlimited.
  759. */
  760. maxchanacs = 0;
  761.  
  762. /* (*)maxfounders
  763. * The maximum number of founders allowed in a channel.
  764. * Note that all founders have the exact same privileges and
  765. * the list of founders is shown in various places.
  766. */
  767. maxfounders = 2;
  768. };
  769.  
  770. /* Global noticing configuration.
  771. *
  772. * The global {} block contains settings specific to the Global notice modules.
  773. *
  774. * The Global notice modules provide the ability to mass-notify a network.
  775. */
  776. global {
  777. /* (*)nick
  778. * Sets the nick used for sending out a global notice.
  779. */
  780. nick = "STLHacker";
  781.  
  782. /* (*)user
  783. * Sets the username used for this client.
  784. */
  785. user = "STLHacker";
  786.  
  787. /* (*)host
  788. * The hostname used for this client.
  789. */
  790. host = "Services.STLHack.com";
  791.  
  792. /* (*)real
  793. * The GECOS (real name) of the client.
  794. */
  795. real = "STLHack Network Announcements";
  796. };
  797.  
  798. /* OperServ configuration.
  799. *
  800. * The operserv {} block contains settings specific to the OperServ modules.
  801. *
  802. * OperServ provides essential network management tools for IRC operators
  803. * on the IRC network.
  804. */
  805. operserv {
  806. /* (*)nick
  807. * The nickname we want the Operator Service to have.
  808. */
  809. nick = "OperServ";
  810.  
  811. /* (*)user
  812. * Sets the username used for this client.
  813. */
  814. user = "OperServ";
  815.  
  816. /* (*)host
  817. * The hostname used for this client.
  818. */
  819. host = "Services.STLHack.com";
  820.  
  821. /* (*)real
  822. * The GECOS (real name) of the client.
  823. */
  824. real = "STLHack Network Operator Services";
  825. };
  826.  
  827. /* SaslServ configuration.
  828. *
  829. * The saslserv {} block contains settings specific to the SaslServ modules.
  830. *
  831. * SaslServ provides an authentication agent which is compatible with the
  832. * SASL over IRC (SASL/IRC) protocol extension.
  833. */
  834. saslserv {
  835. /* (*)nick
  836. * The nickname we want SaslServ to have.
  837. */
  838. nick = "AuthServ";
  839.  
  840. /* (*)user
  841. * The username we want SaslServ to have.
  842. */
  843. user = "AuthServ";
  844.  
  845. /* (*)host
  846. * The hostname we want SaslServ to have.
  847. */
  848. host = "Services.STLHack.com";
  849.  
  850. /* (*)real
  851. * The realname (gecos) information we want SaslServ to have.
  852. */
  853. real = "STLHack SASL Authentication Agent";
  854. };
  855.  
  856. /* MemoServ configuration.
  857. *
  858. * The memoserv {} block contains settings specific to the MemoServ modules.
  859. *
  860. * MemoServ provides a note-taking service that you can use to send notes
  861. * to offline users (provided they are registered with Services).
  862. */
  863. memoserv {
  864. /* (*)nick
  865. * The nickname we want MemoServ to have.
  866. */
  867. nick = "MemoServ";
  868.  
  869. /* (*)user
  870. * The username we want MemoServ to have.
  871. */
  872. user = "MemoServ";
  873.  
  874. /* (*)host
  875. * The hostname we want MemoServ to have.
  876. */
  877. host = "Services.STLHack.com";
  878.  
  879. /* (*)real
  880. * The realname (gecos) information we want MemoServ to have.
  881. */
  882. real = "STLHack Network Memo Services";
  883. };
  884.  
  885. /* GameServ configuration.
  886. *
  887. * The gameserv {} block contains settings specific to the GameServ modules.
  888. *
  889. * GameServ provides various in-channel commands for games.
  890. */
  891. gameserv {
  892. /* (*)nick
  893. * The nickname we want GameServ to have.
  894. */
  895. nick = "GameServ";
  896.  
  897. /* (*)user
  898. * Sets the username used for this client.
  899. */
  900. user = "GameServ";
  901.  
  902. /* (*)host
  903. * The hostname used for this client.
  904. */
  905. host = "Services.STLHack.com";
  906.  
  907. /* (*)real
  908. * The GECOS (real name) of the client.
  909. */
  910. real = "STHack Network Game Services";
  911. };
  912.  
  913. /* ALIS configuration.
  914. *
  915. * The alis {} block contains settings specific to the ALIS modules.
  916. */
  917. alis {
  918. /* (*)nick
  919. * The nickname we want ALIS to have.
  920. */
  921. nick = "ALIS";
  922.  
  923. /* (*)user
  924. * The username we want ALIS to have.
  925. */
  926. user = "ALIS";
  927.  
  928. /* (*)host
  929. * The hostname we want ALIS to have.
  930. */
  931. host = "Services.STLHack.com";
  932.  
  933. /* (*)real
  934. * The realname (gecos) information we want ALIS to have.
  935. */
  936. real = "STLHack Network Channel Directory";
  937. };
  938.  
  939. /* HTTP server configuration.
  940. *
  941. * The httpd {} block contains settings specific to the HTTP server module.
  942. *
  943. * The HTTP server in Services is used for serving XMLRPC requests. It can
  944. * also serve static documents and statistics pages.
  945. */
  946. httpd {
  947. /* host
  948. * The host that the HTTP server will listen on.
  949. * Use 0.0.0.0 if you want to listen on all available hosts.
  950. */
  951. host = "Chat.STLHack.com";
  952.  
  953. /* www_root
  954. * The directory that contains the files that should be served by the httpd.
  955. */
  956. www_root = "/var/www";
  957.  
  958. /* port
  959. * The port that the HTTP server will listen on.
  960. */
  961. port = 8080;
  962. };
  963.  
  964. /******************************************************************************
  965. * LOGGING SECTION. *
  966. ******************************************************************************/
  967.  
  968. /*
  969. * logfile{} blocks can be used to set up log files other than the master
  970. * logfile used by services, which is controlled by serverinfo::loglevel.
  971. *
  972. * The various logging categories are:
  973. * debug, all - meta-keyword for all possible categories
  974. * trace - meta-keyword for a little bit of info
  975. * misc - like trace, but with some more miscillaneous info
  976. * notice - meta-keyword for notice-like information
  977. * ------------------------------------------------------------------------------
  978. * error - critical errors
  979. * info - miscillaneous log notices
  980. * commands - all command use
  981. * admin - administrative command use
  982. * register - account and channel registrations
  983. * set - changes of account or channel settings
  984. * network - log notices related to network status
  985. * rawdata - log raw data sent and received by services
  986. * wallops - <not yet used>
  987. */
  988.  
  989. /*
  990. * This block logs all account and channel registrations and drops,
  991. * and account and channel setting changes to var/account.log.
  992. */
  993. logfile "var/account.log" { register; set; };
  994.  
  995. /*
  996. * This block logs all command use to var/commands.log.
  997. */
  998. logfile "var/commands.log" { commands; };
  999.  
  1000. /******************************************************************************
  1001. * GENERAL PARAMETERS CONFIGURATION SECTION. *
  1002. ******************************************************************************/
  1003.  
  1004. /* The general {} block defines general configuration options. */
  1005. general {
  1006. /* (*)chan
  1007. * The channel to send detailed reports of events to.
  1008. * All services will join this channel.
  1009. * You should protect it appropriately.
  1010. * Comment to disable.
  1011. */
  1012. chan = "#Serv.Core";
  1013.  
  1014. /* (*)silent
  1015. * If you want to prevent services from sending
  1016. * WALLOPS/GLOBOPS about things uncomment this.
  1017. * Not recommended.
  1018. */
  1019. #silent;
  1020.  
  1021. /* (*)verbose_wallops
  1022. * If you want services to send you more information about
  1023. * events that are occuring (in particular AKILLs), uncomment the
  1024. * directive below.
  1025. *
  1026. * WARNING! This may result in large amounts of wallops/globops
  1027. * floods.
  1028. */
  1029. #verbose_wallops;
  1030.  
  1031. /* (*)join_chans
  1032. * Should ChanServ be allowed to join registered channels?
  1033. * This option is useful for the fantasy command set.
  1034. *
  1035. * If enabled, you can tell ChanServ to join via SET GUARD ON.
  1036. *
  1037. * If you use ircu-like ircd (asuka, bircd, undernet), you must
  1038. * leave this enabled, and put guard in default cflags.
  1039. *
  1040. * For ratbox it is recommended to leave it on and put guard in
  1041. * default cflags, in order that ChanServ does not have to join/part
  1042. * to do certain things. On the other hand, enabling this increases
  1043. * potential for bots fighting with ChanServ.
  1044. *
  1045. * Regardless of this option, ChanServ will temporarily join
  1046. * channels which would otherwise be empty if necessary to enforce
  1047. * akick/restricted/close, and to change the TS if changets is
  1048. * enabled.
  1049. */
  1050. join_chans;
  1051.  
  1052. /* (*)leave_chans
  1053. * Do we leave registered channels after everyone else has left?
  1054. * Turning this off serves little purpose, except to mark "official"
  1055. * network channels by keeping them open, and to preserve the
  1056. * topic and +beI lists.
  1057. */
  1058. leave_chans;
  1059.  
  1060. /* secure
  1061. * Do you want to require the use of /msg <service>@<services host>?
  1062. * Turning this on helps protect against spoofers, but is disabled
  1063. * as most networks do not presently use it.
  1064. */
  1065. #secure;
  1066.  
  1067. /* (*)uflags
  1068. * The default flags to set for usernames upon registration.
  1069. * Valid values are: hold, neverop, noop, hidemail, nomemo, enforce,
  1070. * privmsg, private and none.
  1071. */
  1072. uflags = { hidemail; };
  1073.  
  1074. /* (*)cflags
  1075. * The default flags to set for channels upon registration.
  1076. * Valid values are: hold, secure, verbose, verbose_ops, keeptopic,
  1077. * topiclock, guard, private, limitflags and none.
  1078. */
  1079. cflags = { verbose; guard; };
  1080.  
  1081. /* (*)raw
  1082. * Do you want to allow SRAs to use the RAW and INJECT commands?
  1083. * These commands are for debugging. If you don't know how to use them
  1084. * then don't enable them. They are not supported.
  1085. */
  1086. raw;
  1087.  
  1088. /* (*)flood_msgs
  1089. * Do you want services to detect floods?
  1090. * Set to how many messages before a flood is triggered.
  1091. * Note that some messages that need a lot of processing count
  1092. * as two or four messages.
  1093. * If services receives `flood_msgs' within `flood_time' the user will
  1094. * trigger the flood protection.
  1095. * Setting this to zero disables flood protection.
  1096. */
  1097. flood_msgs = 7;
  1098.  
  1099. /* (*)flood_time
  1100. * Do you want services to detect floods?
  1101. * Set to how long before the counter resets.
  1102. * If services receives `flood_msgs' within `flood_time' the user will
  1103. * trigger the flood protection.
  1104. */
  1105. flood_time = 10;
  1106.  
  1107. /* (*)kline_time
  1108. * The default expire time for KLINE's in days.
  1109. * Setting this to 0 makes all KLINE's permanent.
  1110. */
  1111. kline_time = 7;
  1112.  
  1113. /* commit_interval
  1114. * The time between database writes in minutes.
  1115. */
  1116. commit_interval = 5;
  1117.  
  1118. /* (*)default_clone_limit
  1119. * The default clone limit used by operserv/clones.
  1120. */
  1121. default_clone_limit = 5;
  1122.  
  1123. /* (*)uplink_sendq_limit
  1124. * The maximum amount of data that may be queued to be sent
  1125. * to the uplink, in bytes. This should be enough to contain
  1126. * Atheme's response to the netburst, but smaller than the
  1127. * IRCd's sendq limit for servers.
  1128. */
  1129. uplink_sendq_limit = 1048576;
  1130. };
  1131.  
  1132. /******************************************************************************
  1133. * OPERATOR AND PRIVILEGES CONFIGURATION SECTION. *
  1134. ******************************************************************************/
  1135.  
  1136. /* Operator configuration
  1137. * See the PRIVILEGES document for more information.
  1138. * NOTE: All changes apply immediately upon rehash. You may need
  1139. * to send a signal (killall -HUP atheme-services) to regain control.
  1140. */
  1141. /* (*) Operclasses specify groups of services operator privileges */
  1142. operclass "Administrator" {
  1143. /* You can have multiple privs {} blocks in an oper class.
  1144. * This example uses multiple privs {} blocks to organize the privileges
  1145. * granted to the operclass by category.
  1146. */
  1147. privs = {
  1148. special:ircop;
  1149. };
  1150.  
  1151. privs = {
  1152. user:auspex;
  1153. user:admin;
  1154. user:sendpass;
  1155. user:vhost;
  1156. user:mark;
  1157. user:hold;
  1158. user:regnolimit;
  1159. };
  1160.  
  1161. privs = {
  1162. chan:auspex;
  1163. chan:admin;
  1164. chan:cmodes;
  1165. chan:joinstaffonly;
  1166. };
  1167.  
  1168. privs = {
  1169. general:auspex;
  1170. general:viewprivs;
  1171. general:flood;
  1172. general:metadata;
  1173. general:admin;
  1174. };
  1175.  
  1176. privs = {
  1177. operserv:omode;
  1178. operserv:akill;
  1179. #operserv:massakill;
  1180. #operserv:akill-anymask;
  1181. operserv:jupe;
  1182. operserv:noop;
  1183. operserv:global;
  1184. operserv:grant;
  1185. };
  1186.  
  1187. /* needoper
  1188. * Only grant privileges to IRC users in this oper class if they
  1189. * are opered; other use of privilege (channel succession, XMLRPC,
  1190. * etc.) is unaffected by this.
  1191. */
  1192. needoper;
  1193. };
  1194.  
  1195. /* The "ircop" operclass specifies privileges all IRCops get.
  1196. * This may be empty in which case IRCops get no privs.
  1197. * At least chan:cmodes, chan:joinstaffonly and general:auspex are suggested.
  1198. */
  1199. operclass "Operator" {
  1200. privs = {
  1201. special:ircop;
  1202. };
  1203.  
  1204. privs = {
  1205. user:auspex;
  1206. user:admin;
  1207. user:sendpass;
  1208. user:vhost;
  1209. user:mark;
  1210. };
  1211.  
  1212. privs = {
  1213. chan:auspex;
  1214. chan:admin;
  1215. chan:cmodes;
  1216. chan:joinstaffonly;
  1217. };
  1218.  
  1219. privs = {
  1220. general:auspex;
  1221. general:viewprivs;
  1222. general:flood;
  1223. };
  1224.  
  1225. privs = {
  1226. operserv:omode;
  1227. operserv:akill;
  1228. operserv:jupe;
  1229. operserv:global;
  1230. };
  1231. };
  1232.  
  1233. /* (*) Operator blocks specify accounts with certain privileges
  1234. * Oper classes must be defined before they are used in operator blocks.
  1235. */
  1236. operator "hakr" {
  1237. operclass = "Administrator";
  1238. #password = "$1$3gJMO9by$0G60YE6GqmuHVH3AnFPor1";
  1239. };
  1240.  
  1241. operator "mnmnk" {
  1242. operclass = "Administrator";
  1243. };
  1244.  
  1245. operator "b4" {
  1246. operclass = "Administrator";
  1247. };
  1248.  
  1249.  
  1250.  
  1251. /******************************************************************************
  1252. * INCLUDE CONFIGURATION SECTION. *
  1253. ******************************************************************************/
  1254.  
  1255. /* You may also specify other files for inclusion.
  1256. * For example:
  1257. *
  1258. * include "etc/sras.conf";
  1259. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement