Advertisement
Guest User

Untitled

a guest
May 5th, 2017
627
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.04 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/rawmd5";
  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/owner";
  251. loadmodule "modules/chanserv/protect";
  252. #loadmodule "modules/chanserv/quiet";
  253. loadmodule "modules/chanserv/recover";
  254. loadmodule "modules/chanserv/register";
  255. loadmodule "modules/chanserv/set";
  256. loadmodule "modules/chanserv/set_gameserv";
  257. loadmodule "modules/chanserv/set_limitflags";
  258. loadmodule "modules/chanserv/set_private";
  259. loadmodule "modules/chanserv/status";
  260. loadmodule "modules/chanserv/taxonomy";
  261. loadmodule "modules/chanserv/template";
  262. loadmodule "modules/chanserv/topic";
  263. loadmodule "modules/chanserv/voice";
  264. loadmodule "modules/chanserv/why";
  265. loadmodule "modules/chanserv/xop";
  266.  
  267. /* OperServ modules.
  268. *
  269. * Here you can disable or enable certain features of OperServ, by
  270. * defining which modules are loaded.
  271. *
  272. * Core components modules/operserv/main
  273. * AKILL system modules/operserv/akill
  274. * CLEARCHAN command modules/operserv/clearchan
  275. * CLONES system modules/operserv/clones
  276. * COMPARE command modules/operserv/compare
  277. * GREPLOG command modules/operserv/greplog
  278. * HELP command modules/operserv/help
  279. * IGNORE system modules/operserv/ignore
  280. * IDENTIFY command modules/operserv/identify
  281. * INJECT command modules/operserv/inject
  282. * JUPE command modules/operserv/jupe
  283. * MODE command modules/operserv/mode
  284. * MODINSPECT command modules/operserv/modinspect
  285. * MODLIST command modules/operserv/modlist
  286. * MODLOAD command modules/operserv/modload
  287. * MODRESTART command modules/operserv/modrestart
  288. * MODUNLOAD command modules/operserv/modunload
  289. * NOOP system modules/operserv/noop
  290. * Regex mass akill (RAKILL command) modules/operserv/rakill
  291. * RAW command modules/operserv/raw
  292. * REHASH command modules/operserv/rehash
  293. * RESTART command modules/operserv/restart
  294. * Display regex matching (RMATCH command) modules/operserv/rmatch
  295. * Most common realnames (RNC command) modules/operserv/rnc
  296. * RWATCH system modules/operserv/rwatch
  297. * SHUTDOWN command modules/operserv/shutdown
  298. * Non-config oper privileges (SOPER command) modules/operserv/soper
  299. * Oper privilege display (SPECS command) modules/operserv/specs
  300. * UPDATE command modules/operserv/update
  301. * UPTIME command modules/operserv/uptime
  302. */
  303. loadmodule "modules/operserv/main";
  304. loadmodule "modules/operserv/akill";
  305. loadmodule "modules/operserv/clearchan";
  306. loadmodule "modules/operserv/clones";
  307. loadmodule "modules/operserv/compare";
  308. loadmodule "modules/operserv/greplog";
  309. loadmodule "modules/operserv/help";
  310. loadmodule "modules/operserv/identify";
  311. loadmodule "modules/operserv/ignore";
  312. loadmodule "modules/operserv/jupe";
  313. loadmodule "modules/operserv/mode";
  314. loadmodule "modules/operserv/modinspect";
  315. loadmodule "modules/operserv/modlist";
  316. loadmodule "modules/operserv/modload";
  317. loadmodule "modules/operserv/modrestart";
  318. loadmodule "modules/operserv/modunload";
  319. loadmodule "modules/operserv/noop";
  320. loadmodule "modules/operserv/rakill";
  321. loadmodule "modules/operserv/rehash";
  322. loadmodule "modules/operserv/restart";
  323. loadmodule "modules/operserv/rmatch";
  324. loadmodule "modules/operserv/rnc";
  325. loadmodule "modules/operserv/rwatch";
  326. loadmodule "modules/operserv/shutdown";
  327. loadmodule "modules/operserv/soper";
  328. loadmodule "modules/operserv/specs";
  329. loadmodule "modules/operserv/update";
  330. loadmodule "modules/operserv/uptime";
  331.  
  332. /* MemoServ modules.
  333. *
  334. * Here you can disable or enable certain features of MemoServ, by
  335. * defining which modules are loaded. You can even disable MemoServ
  336. * entirely.
  337. *
  338. * Core components modules/memoserv/main
  339. * HELP command modules/memoserv/help
  340. * SEND command modules/memoserv/send
  341. * Channel memos (SENDOPS command) modules/memoserv/sendops
  342. * LIST command modules/memoserv/list
  343. * READ command modules/memoserv/read
  344. * FORWARD command modules/memoserv/forward
  345. * DELETE command modules/memoserv/delete
  346. * IGNORE command modules/memoserv/ignore
  347. */
  348. loadmodule "modules/memoserv/main";
  349. loadmodule "modules/memoserv/help";
  350. loadmodule "modules/memoserv/send";
  351. loadmodule "modules/memoserv/sendops";
  352. loadmodule "modules/memoserv/list";
  353. loadmodule "modules/memoserv/read";
  354. loadmodule "modules/memoserv/forward";
  355. loadmodule "modules/memoserv/delete";
  356. loadmodule "modules/memoserv/ignore";
  357.  
  358. /* Global module.
  359. *
  360. * Like the other services, the Global noticer is a module. You can
  361. * disable or enable it to your liking below. Please note that the
  362. * Global noticer is dependent on OperServ for full functionality.
  363. */
  364. loadmodule "modules/global/main";
  365.  
  366. /* SASL agent module.
  367. *
  368. * Allows clients to authenticate to services via SASL with an appropriate
  369. * ircd. You need the core components and at least one mechanism.
  370. *
  371. * Core components modules/saslserv/main
  372. * PLAIN mechanism modules/saslserv/plain
  373. * DH-BLOWFISH mechanism modules/saslserv/dh-blowfish
  374. */
  375. loadmodule "modules/saslserv/main";
  376. loadmodule "modules/saslserv/plain";
  377. #loadmodule "modules/saslserv/dh-blowfish"; /* requires SSL */
  378.  
  379. /* GameServ modules.
  380. *
  381. * Here you can disable or enable certain features of GameServ, by
  382. * defining which modules are loaded. You can even disable GameServ
  383. * entirely.
  384. *
  385. * Core components modules/gameserv/main
  386. * DICE/WOD commands modules/gameserv/dice
  387. * HELP commands modules/gameserv/help
  388. * NAMEGEN command modules/gameserv/namegen
  389. */
  390. loadmodule "modules/gameserv/main";
  391. loadmodule "modules/gameserv/dice";
  392. loadmodule "modules/gameserv/help";
  393. loadmodule "modules/gameserv/namegen";
  394.  
  395. /* Channel listing service.
  396. *
  397. * Allows users to list channels with more flexibility than the /list
  398. * command.
  399. *
  400. * Core components modules/alis/main
  401. */
  402. loadmodule "modules/alis/main";
  403.  
  404. /*
  405. * Various modules.
  406. *
  407. * Atheme includes an optional HTTP server that can be used for integration
  408. * with portal software and other useful things. To enable it, load this
  409. * module, and uncomment the httpd { } block towards the bottom of the config.
  410. *
  411. * HTTP Server modules/misc/httpd
  412. */
  413. loadmodule "modules/misc/httpd";
  414.  
  415. /* XMLRPC server module.
  416. *
  417. * The XML-RPC handler requires modules/misc/httpd to be loaded as it merely
  418. * registers a path handler for XML-RPC. The path used for XML-RPC is /xmlrpc.
  419. *
  420. * XMLRPC handler for the httpd modules/xmlrpc/main
  421. * Legacy account management modules/xmlrpc/account
  422. * Legacy channel management modules/xmlrpc/channel
  423. * Legacy memo management modules/xmlrpc/memo
  424. */
  425. loadmodule "modules/xmlrpc/main";
  426. loadmodule "modules/xmlrpc/account";
  427. loadmodule "modules/xmlrpc/channel";
  428. loadmodule "modules/xmlrpc/memo";
  429.  
  430. /* Other modules.
  431. *
  432. * Put any other modules you want to load on startup here. The path
  433. * is relative to PREFIX or PREFIX/lib/atheme, depending on how Atheme
  434. * was compiled.
  435. */
  436. #loadmodule "contrib/fc_dice";
  437.  
  438. /******************************************************************************
  439. * SERVICES RUNTIME CONFIGURATION SECTION. *
  440. ******************************************************************************/
  441.  
  442. /* The serverinfo{} block defines how we appear on the IRC network. */
  443. serverinfo {
  444. /* name
  445. * The server name that this program uses on the IRC network.
  446. * This is the name you'll have to use in C:/N:Lines. It must be
  447. * unique on the IRC network and contain at least one dot, but does
  448. * not have to be equal to any DNS name.
  449. */
  450. name = "Services.TechLive.tv";
  451.  
  452. /* desc
  453. * The ``server comment'' we send to the IRC network.
  454. * If you want server hiding, prefix your desc with "(H)"
  455. */
  456. desc = "TechLive.tv Chat Network Services";
  457.  
  458. /* numeric
  459. * Some protocol drivers (Charybdis, Ratbox2, Hybrid, P10, IRCNet)
  460. * require a server id, also known as a numeric. Please consult your
  461. * ircd's documentation when providing this value.
  462. */
  463. numeric = "00A";
  464.  
  465. /* (*)recontime
  466. * The number of seconds before we reconnect to the uplink.
  467. */
  468. recontime = 10;
  469.  
  470. /* (*)netname
  471. * The name of your network.
  472. */
  473. netname = "TechLive.tv";
  474.  
  475. /* (*)hidehostsuffix
  476. * P10 +x host hiding gives <account>.<hidehostsuffix>.
  477. * If using +x on asuka/bircd/undernet, this must agree
  478. * with F:HIDDEN_HOST.
  479. */
  480. hidehostsuffix = "junkie.TechLive.tv";
  481.  
  482. /* (*)adminname
  483. * The name of the person running this service.
  484. */
  485. adminname = "Bryan";
  486.  
  487. /* (*)adminemail
  488. * The email address of the person running this service.
  489. */
  490. adminemail = "Bryan@TechLive.tv";
  491.  
  492. /* (*)mta
  493. * The full path to your mail transfer agent.
  494. * This is used for email authorization and password retrieval.
  495. * Comment this out to disable sending email.
  496. * Warning: sending email can disclose the IP of your services
  497. * unless you take precautions (not discussed here further).
  498. */
  499. mta = "/usr/sbin/sendmail";
  500.  
  501. /* (*)loglevel
  502. * Specify the default categories of logging information to record
  503. * in the master Atheme logfile, usually var/atheme.log.
  504. *
  505. * Options include:
  506. * debug, all - meta-keyword for all possible categories
  507. * trace - meta-keyword for a little bit of info
  508. * misc - like trace, but with some more miscillaneous info
  509. * notice - meta-keyword for notice-like information
  510. * ------------------------------------------------------------------------------
  511. * error - critical errors
  512. * info - miscillaneous log notices
  513. * commands - all command use
  514. * admin - administrative command use
  515. * register - account and channel registrations
  516. * set - changes of account or channel settings
  517. * network - log notices related to network status
  518. * rawdata - log raw data sent and received by services
  519. * wallops - <not yet used>
  520. */
  521. loglevel = { error; info; admin; network; wallops; };
  522.  
  523. /* (*)maxlogins
  524. * What is the maximum number of sessions allowed to login to one
  525. * username? This reduces potential abuse. It is only checked on login.
  526. */
  527. maxlogins = 5;
  528.  
  529. /* (*)maxusers
  530. * What are the maximum usernames that one email address can register?
  531. * Set to 0 to disable this check (it can be slow currently).
  532. */
  533. maxusers = 5;
  534.  
  535. /* (*)maxnicks
  536. * If GROUP is loaded, what are the maximum nicknames that one
  537. * username can register?
  538. */
  539. maxnicks = 5;
  540.  
  541. /* (*)maxchans
  542. * What are the maximum channels that one username can register?
  543. */
  544. maxchans = 5;
  545.  
  546. /* (*)mdlimit
  547. * How many metadata entries can be added to an object?
  548. */
  549. mdlimit = 30;
  550.  
  551. /* (*)emaillimit, emailtime
  552. * The maximum number of emails allowed to be sent in
  553. * that amount of time (seconds). If this is exceeded,
  554. * wallops will be sent, at most one per minute.
  555. */
  556. emaillimit = 10;
  557. emailtime = 300;
  558.  
  559. /* (*)auth
  560. * What type of username registration authorization do you want?
  561. * If "email", Atheme will send a confirmation email to the address to
  562. * ensure it's valid. If registration is not completed within one day,
  563. * the username will expire. If "none", no message will be sent and
  564. * the username will be fully registered.
  565. * Valid values are: email, none.
  566. */
  567. auth = none;
  568.  
  569. /* casemapping
  570. * Specify the casemapping to use. Almost all TSora (and any that follow
  571. * the RFC correctly) ircds will use rfc1459 casemapping. Bahamut, Unreal,
  572. * and other ``Dalnet'' ircds will use ascii casemapping.
  573. * Valid values are: rfc1459, ascii.
  574. */
  575. casemapping = rfc1459;
  576. };
  577.  
  578. /* uplink{} blocks define connections to IRC servers.
  579. * Multiple may be defined but only one will be used at a time (IRC
  580. * being a tree shaped network).
  581. */
  582. uplink "irc.TechLive.tv" {
  583. // the server name goes above
  584.  
  585. // host
  586. // The hostname to connect to.
  587. host = "97.107.136.160";
  588.  
  589. // vhost
  590. // The source IP to connect from, used on machines with multiple interfaces.
  591. vhost = "97.107.136.160";
  592.  
  593. // password
  594. // The password used for linking.
  595. password = "linkage101";
  596.  
  597. // port
  598. // The port used for linking.
  599. port = 7000;
  600. };
  601.  
  602. /* NickServ configuration.
  603. *
  604. * The nickserv {} block contains settings specific to the NickServ modules.
  605. *
  606. * NickServ provides nickname or username registration and authentication
  607. * services. It provides necessary authentication features required for
  608. * Services to operate correctly. You should make sure these settings
  609. * are properly configured for your network.
  610. */
  611. nickserv {
  612. // If you want NickServ to tell people about how great it is, enable the directive
  613. // below.
  614. spam;
  615.  
  616. /* no_nick_ownership
  617. * Enable this to disable nickname ownership (old userserv{}).
  618. * This changes changes "nickname" to "account" in most messages,
  619. * disables GHOST on users not logged in to the same account and
  620. * makes the spam directive ineffective.
  621. * It is suggested that the nick be set to UserServ, login.so
  622. * be loaded instead of identify.so and ghost.so not be loaded.
  623. */
  624. no_nick_ownership;
  625.  
  626. /* (*)nick
  627. * The nickname we want NickServ to have.
  628. */
  629. nick = "NickServ";
  630.  
  631. /* (*)user
  632. * The username we want NickServ to have.
  633. */
  634. user = "NickServ";
  635.  
  636. /* (*)host
  637. * The hostname we want NickServ to have.
  638. */
  639. host = "Services.TechLive.tv";
  640.  
  641. /* (*)real
  642. * The realname (gecos) information we want NickServ to have.
  643. */
  644. real = "TechLive.tv Nickname Services";
  645.  
  646. /* (*)expire
  647. * The number of days before inactive registrations are expired.
  648. */
  649. expire = 30;
  650.  
  651. /* (*)enforce_expire
  652. * The number of days of no use after which to ignore enforcement
  653. * settings on nicks.
  654. */
  655. #enforce_expire = 14;
  656.  
  657. /* (*)enforce_delay
  658. * The number of seconds to delay nickchange enforcement settings
  659. * on nicks.
  660. */
  661. #enforce_delay = 30;
  662. };
  663.  
  664. /* ChanServ configuration.
  665. *
  666. * The chanserv {} block contains settings specific to the ChanServ modules.
  667. *
  668. * ChanServ provides channel registration services, which allows users to own
  669. * channels. It is not required, but is strongly recommended.
  670. */
  671. chanserv {
  672. /* (*)nick
  673. * The nickname we want the client to have.
  674. */
  675. nick = "ChanServ";
  676.  
  677. /* (*)user
  678. * The username we want the client to have.
  679. */
  680. user = "ChanServ";
  681.  
  682. /* (*)host
  683. * The hostname we want the client to have.
  684. */
  685. host = "Services.TechLive.tv";
  686.  
  687. /* (*)real
  688. * The GECOS of the client.
  689. */
  690. real = "TechLive.tv Channel Services";
  691.  
  692. /* fantasy
  693. * Do you want to enable fantasy commands? This can
  694. * use a lot of CPU up, and will only work if you have
  695. * join_chans (in general) enabled as well.
  696. */
  697. fantasy;
  698.  
  699. /* (*) ca_xop
  700. * Defines what flags the xop access levels comprise.
  701. * These should all be different and not equal to the empty set,
  702. * except that hop may be equal to vop to disable hop.
  703. * Each subsequent level should have more flags (except +VHO).
  704. * For optimal functioning of /cs forcexop, aop should not have
  705. * any of +sRf, hop should not have any of +sRfoOr and vop should
  706. * not have any of +sRfoOrhHt.
  707. * If this is not specified, the values of Atheme 0.3 are used,
  708. * which are generally less intuitive than these.
  709. * Note: changing these leaves the flags of existing channel access
  710. * entries unchanged, thus removing them of the view of /cs xop list.
  711. * Usually the channel founder can use /cs forcexop to update the
  712. * entries to the new levels.
  713. */
  714. vop = "+VA";
  715. hop = "+vVhHtA";
  716. aop = "+vhoOtriA";
  717. sop = "+vhoOtrsifAa";
  718.  
  719. /* (*) deftemplates
  720. * Defines default templates to set on new channels, as a
  721. * space-separated list of name=+flags pairs.
  722. * Note: at this time no syntax checking is done on this; it
  723. * is your own responsibility to make sure it is correct.
  724. */
  725. #deftemplates = "MEMBER=+iA OP=+voOtriA";
  726.  
  727. /* (*) changets
  728. * Change the channel TS to the registration time when someone
  729. * recreates a registered channel, ensuring that they are deopped
  730. * and all their modes are undone. Note that this involves ChanServ
  731. * joining. When the channel was not recreated no deops will be done
  732. * (apart from the SECURE option).
  733. * This also solves the "join-mode" problem where someone recreates
  734. * a registered channel and then sets some modes before they are
  735. * deopped.
  736. * This is currently supported for charybdis, hybrid, ratbox,
  737. * bahamut and inspircd 1.1+. For charybdis, hybrid and ratbox
  738. * it only fully works with TS6, with TS5 bans and last-moment modes
  739. * will still apply.
  740. * (That can also be used to advantage, when first enabling this.)
  741. */
  742. changets;
  743.  
  744. /* (*) trigger
  745. * This setting allows you to change the trigger prefix for
  746. * ChanServ's in-channel command feature (disableable via chanserv::fantasy).
  747. * If no setting is provided, the default is used, which is "!".
  748. *
  749. * Other settings you could consider trying: ".", "~", "?", "`", "'".
  750. */
  751. trigger = ".";
  752.  
  753. /* (*)expire
  754. * The number of days before inactive registrations are expired.
  755. */
  756. expire = 300;
  757.  
  758. /* (*)maxchanacs
  759. * The maximum number of entries allowed in a channel's access list
  760. * (both channel ops and akicks), 0 for unlimited.
  761. */
  762. maxchanacs = 0;
  763.  
  764. /* (*)maxfounders
  765. * The maximum number of founders allowed in a channel.
  766. * Note that all founders have the exact same privileges and
  767. * the list of founders is shown in various places.
  768. */
  769. maxfounders = 1;
  770. };
  771.  
  772. /* Global noticing configuration.
  773. *
  774. * The global {} block contains settings specific to the Global notice modules.
  775. *
  776. * The Global notice modules provide the ability to mass-notify a network.
  777. */
  778. global {
  779. /* (*)nick
  780. * Sets the nick used for sending out a global notice.
  781. */
  782. nick = "TechLive.tv";
  783.  
  784. /* (*)user
  785. * Sets the username used for this client.
  786. */
  787. user = "Global";
  788.  
  789. /* (*)host
  790. * The hostname used for this client.
  791. */
  792. host = "Services.TechLive.tv";
  793.  
  794. /* (*)real
  795. * The GECOS (real name) of the client.
  796. */
  797. real = "TechLive.tv Network Announcements";
  798. };
  799.  
  800. /* OperServ configuration.
  801. *
  802. * The operserv {} block contains settings specific to the OperServ modules.
  803. *
  804. * OperServ provides essential network management tools for IRC operators
  805. * on the IRC network.
  806. */
  807. operserv {
  808. /* (*)nick
  809. * The nickname we want the Operator Service to have.
  810. */
  811. nick = "OperServ";
  812.  
  813. /* (*)user
  814. * Sets the username used for this client.
  815. */
  816. user = "OperServ";
  817.  
  818. /* (*)host
  819. * The hostname used for this client.
  820. */
  821. host = "Services.TechLive.tv";
  822.  
  823. /* (*)real
  824. * The GECOS (real name) of the client.
  825. */
  826. real = "TechLive.tv Operator Services";
  827. };
  828.  
  829. /* SaslServ configuration.
  830. *
  831. * The saslserv {} block contains settings specific to the SaslServ modules.
  832. *
  833. * SaslServ provides an authentication agent which is compatible with the
  834. * SASL over IRC (SASL/IRC) protocol extension.
  835. */
  836. saslserv {
  837. /* (*)nick
  838. * The nickname we want SaslServ to have.
  839. */
  840. nick = "AuthServ";
  841.  
  842. /* (*)user
  843. * The username we want SaslServ to have.
  844. */
  845. user = "AuthServ";
  846.  
  847. /* (*)host
  848. * The hostname we want SaslServ to have.
  849. */
  850. host = "Services.TechLive.tv";
  851.  
  852. /* (*)real
  853. * The realname (gecos) information we want SaslServ to have.
  854. */
  855. real = "TechLive.tv SASL Authentication Agent";
  856. };
  857.  
  858. /* MemoServ configuration.
  859. *
  860. * The memoserv {} block contains settings specific to the MemoServ modules.
  861. *
  862. * MemoServ provides a note-taking service that you can use to send notes
  863. * to offline users (provided they are registered with Services).
  864. */
  865. memoserv {
  866. /* (*)nick
  867. * The nickname we want MemoServ to have.
  868. */
  869. nick = "MemoServ";
  870.  
  871. /* (*)user
  872. * The username we want MemoServ to have.
  873. */
  874. user = "MemoServ";
  875.  
  876. /* (*)host
  877. * The hostname we want MemoServ to have.
  878. */
  879. host = "Services.TechLive.tv";
  880.  
  881. /* (*)real
  882. * The realname (gecos) information we want MemoServ to have.
  883. */
  884. real = "TechLive.tv Messaging Services";
  885. };
  886.  
  887. /* GameServ configuration.
  888. *
  889. * The gameserv {} block contains settings specific to the GameServ modules.
  890. *
  891. * GameServ provides various in-channel commands for games.
  892. */
  893. gameserv {
  894. /* (*)nick
  895. * The nickname we want GameServ to have.
  896. */
  897. nick = "GameServ";
  898.  
  899. /* (*)user
  900. * Sets the username used for this client.
  901. */
  902. user = "GameServ";
  903.  
  904. /* (*)host
  905. * The hostname used for this client.
  906. */
  907. host = "Services.TechLive.tv";
  908.  
  909. /* (*)real
  910. * The GECOS (real name) of the client.
  911. */
  912. real = "TechLive.tv Game Services";
  913. };
  914.  
  915. /* ALIS configuration.
  916. *
  917. * The alis {} block contains settings specific to the ALIS modules.
  918. */
  919. alis {
  920. /* (*)nick
  921. * The nickname we want ALIS to have.
  922. */
  923. nick = "ALIS";
  924.  
  925. /* (*)user
  926. * The username we want ALIS to have.
  927. */
  928. user = "ALIS";
  929.  
  930. /* (*)host
  931. * The hostname we want ALIS to have.
  932. */
  933. host = "Services.TechLive.tv";
  934.  
  935. /* (*)real
  936. * The realname (gecos) information we want ALIS to have.
  937. */
  938. real = "TechLive.tv Channel Directory";
  939. };
  940.  
  941. /* HTTP server configuration.
  942. *
  943. * The httpd {} block contains settings specific to the HTTP server module.
  944. *
  945. * The HTTP server in Services is used for serving XMLRPC requests. It can
  946. * also serve static documents and statistics pages.
  947. */
  948. httpd {
  949. /* host
  950. * The host that the HTTP server will listen on.
  951. * Use 0.0.0.0 if you want to listen on all available hosts.
  952. */
  953. host = "97.107.136.160";
  954.  
  955. /* www_root
  956. * The directory that contains the files that should be served by the httpd.
  957. */
  958. www_root = "/var/www";
  959.  
  960. /* port
  961. * The port that the HTTP server will listen on.
  962. */
  963. port = 8080;
  964. };
  965.  
  966. /******************************************************************************
  967. * LOGGING SECTION. *
  968. ******************************************************************************/
  969.  
  970. /*
  971. * logfile{} blocks can be used to set up log files other than the master
  972. * logfile used by services, which is controlled by serverinfo::loglevel.
  973. *
  974. * The various logging categories are:
  975. * debug, all - meta-keyword for all possible categories
  976. * trace - meta-keyword for a little bit of info
  977. * misc - like trace, but with some more miscillaneous info
  978. * notice - meta-keyword for notice-like information
  979. * ------------------------------------------------------------------------------
  980. * error - critical errors
  981. * info - miscillaneous log notices
  982. * commands - all command use
  983. * admin - administrative command use
  984. * register - account and channel registrations
  985. * set - changes of account or channel settings
  986. * network - log notices related to network status
  987. * rawdata - log raw data sent and received by services
  988. * wallops - <not yet used>
  989. */
  990.  
  991. /*
  992. * This block logs all account and channel registrations and drops,
  993. * and account and channel setting changes to var/account.log.
  994. */
  995. logfile "var/account.log" { register; set; };
  996.  
  997. /*
  998. * This block logs all command use to var/commands.log.
  999. */
  1000. logfile "var/commands.log" { commands; };
  1001.  
  1002. /******************************************************************************
  1003. * GENERAL PARAMETERS CONFIGURATION SECTION. *
  1004. ******************************************************************************/
  1005.  
  1006. /* The general {} block defines general configuration options. */
  1007. general {
  1008. /* (*)chan
  1009. * The channel to send detailed reports of events to.
  1010. * All services will join this channel.
  1011. * You should protect it appropriately.
  1012. * Comment to disable.
  1013. */
  1014. chan = "#TechLive.Office";
  1015.  
  1016. /* (*)silent
  1017. * If you want to prevent services from sending
  1018. * WALLOPS/GLOBOPS about things uncomment this.
  1019. * Not recommended.
  1020. */
  1021. #silent;
  1022.  
  1023. /* (*)verbose_wallops
  1024. * If you want services to send you more information about
  1025. * events that are occuring (in particular AKILLs), uncomment the
  1026. * directive below.
  1027. *
  1028. * WARNING! This may result in large amounts of wallops/globops
  1029. * floods.
  1030. */
  1031. verbose_wallops;
  1032.  
  1033. /* (*)join_chans
  1034. * Should ChanServ be allowed to join registered channels?
  1035. * This option is useful for the fantasy command set.
  1036. *
  1037. * If enabled, you can tell ChanServ to join via SET GUARD ON.
  1038. *
  1039. * If you use ircu-like ircd (asuka, bircd, undernet), you must
  1040. * leave this enabled, and put guard in default cflags.
  1041. *
  1042. * For ratbox it is recommended to leave it on and put guard in
  1043. * default cflags, in order that ChanServ does not have to join/part
  1044. * to do certain things. On the other hand, enabling this increases
  1045. * potential for bots fighting with ChanServ.
  1046. *
  1047. * Regardless of this option, ChanServ will temporarily join
  1048. * channels which would otherwise be empty if necessary to enforce
  1049. * akick/restricted/close, and to change the TS if changets is
  1050. * enabled.
  1051. */
  1052. join_chans;
  1053.  
  1054. /* (*)leave_chans
  1055. * Do we leave registered channels after everyone else has left?
  1056. * Turning this off serves little purpose, except to mark "official"
  1057. * network channels by keeping them open, and to preserve the
  1058. * topic and +beI lists.
  1059. */
  1060. leave_chans;
  1061.  
  1062. /* secure
  1063. * Do you want to require the use of /msg <service>@<services host>?
  1064. * Turning this on helps protect against spoofers, but is disabled
  1065. * as most networks do not presently use it.
  1066. */
  1067. #secure;
  1068.  
  1069. /* (*)uflags
  1070. * The default flags to set for usernames upon registration.
  1071. * Valid values are: hold, neverop, noop, hidemail, nomemo, enforce,
  1072. * privmsg, private and none.
  1073. */
  1074. uflags = { hidemail; };
  1075.  
  1076. /* (*)cflags
  1077. * The default flags to set for channels upon registration.
  1078. * Valid values are: hold, secure, verbose, verbose_ops, keeptopic,
  1079. * topiclock, guard, private, limitflags and none.
  1080. */
  1081. cflags = { verbose; guard; };
  1082.  
  1083. /* (*)raw
  1084. * Do you want to allow SRAs to use the RAW and INJECT commands?
  1085. * These commands are for debugging. If you don't know how to use them
  1086. * then don't enable them. They are not supported.
  1087. */
  1088. raw;
  1089.  
  1090. /* (*)flood_msgs
  1091. * Do you want services to detect floods?
  1092. * Set to how many messages before a flood is triggered.
  1093. * Note that some messages that need a lot of processing count
  1094. * as two or four messages.
  1095. * If services receives `flood_msgs' within `flood_time' the user will
  1096. * trigger the flood protection.
  1097. * Setting this to zero disables flood protection.
  1098. */
  1099. flood_msgs = 7;
  1100.  
  1101. /* (*)flood_time
  1102. * Do you want services to detect floods?
  1103. * Set to how long before the counter resets.
  1104. * If services receives `flood_msgs' within `flood_time' the user will
  1105. * trigger the flood protection.
  1106. */
  1107. flood_time = 10;
  1108.  
  1109. /* (*)kline_time
  1110. * The default expire time for KLINE's in days.
  1111. * Setting this to 0 makes all KLINE's permanent.
  1112. */
  1113. kline_time = 7;
  1114.  
  1115. /* commit_interval
  1116. * The time between database writes in minutes.
  1117. */
  1118. commit_interval = 5;
  1119.  
  1120. /* (*)default_clone_limit
  1121. * The default clone limit used by operserv/clones.
  1122. */
  1123. default_clone_limit = 5;
  1124.  
  1125. /* (*)uplink_sendq_limit
  1126. * The maximum amount of data that may be queued to be sent
  1127. * to the uplink, in bytes. This should be enough to contain
  1128. * Atheme's response to the netburst, but smaller than the
  1129. * IRCd's sendq limit for servers.
  1130. */
  1131. uplink_sendq_limit = 1048576;
  1132. };
  1133.  
  1134. /******************************************************************************
  1135. * OPERATOR AND PRIVILEGES CONFIGURATION SECTION. *
  1136. ******************************************************************************/
  1137.  
  1138. /* Operator configuration
  1139. * See the PRIVILEGES document for more information.
  1140. * NOTE: All changes apply immediately upon rehash. You may need
  1141. * to send a signal (killall -HUP atheme-services) to regain control.
  1142. */
  1143. /* (*) Operclasses specify groups of services operator privileges */
  1144. operclass "Administrator" {
  1145. /* You can have multiple privs {} blocks in an oper class.
  1146. * This example uses multiple privs {} blocks to organize the privileges
  1147. * granted to the operclass by category.
  1148. */
  1149. privs = {
  1150. special:ircop;
  1151. };
  1152.  
  1153. privs = {
  1154. user:auspex;
  1155. user:admin;
  1156. user:sendpass;
  1157. user:vhost;
  1158. user:mark;
  1159. user:hold;
  1160. user:regnolimit;
  1161. };
  1162.  
  1163. privs = {
  1164. chan:auspex;
  1165. chan:admin;
  1166. chan:cmodes;
  1167. chan:joinstaffonly;
  1168. };
  1169.  
  1170. privs = {
  1171. general:auspex;
  1172. general:viewprivs;
  1173. general:flood;
  1174. general:metadata;
  1175. general:admin;
  1176. };
  1177.  
  1178. privs = {
  1179. operserv:omode;
  1180. operserv:akill;
  1181. #operserv:massakill;
  1182. #operserv:akill-anymask;
  1183. operserv:jupe;
  1184. operserv:noop;
  1185. operserv:global;
  1186. operserv:grant;
  1187. };
  1188.  
  1189. /* needoper
  1190. * Only grant privileges to IRC users in this oper class if they
  1191. * are opered; other use of privilege (channel succession, XMLRPC,
  1192. * etc.) is unaffected by this.
  1193. */
  1194. needoper;
  1195. };
  1196.  
  1197. /* The "ircop" operclass specifies privileges all IRCops get.
  1198. * This may be empty in which case IRCops get no privs.
  1199. * At least chan:cmodes, chan:joinstaffonly and general:auspex are suggested.
  1200. */
  1201. operclass "Operator" {
  1202. privs = {
  1203. special:ircop;
  1204. };
  1205.  
  1206. privs = {
  1207. user:auspex;
  1208. user:admin;
  1209. user:sendpass;
  1210. user:vhost;
  1211. user:mark;
  1212. };
  1213.  
  1214. privs = {
  1215. chan:auspex;
  1216. chan:admin;
  1217. chan:cmodes;
  1218. chan:joinstaffonly;
  1219. };
  1220.  
  1221. privs = {
  1222. general:auspex;
  1223. general:viewprivs;
  1224. general:flood;
  1225. };
  1226.  
  1227. privs = {
  1228. operserv:omode;
  1229. operserv:akill;
  1230. operserv:jupe;
  1231. operserv:global;
  1232. };
  1233. };
  1234.  
  1235. /* (*) Operator blocks specify accounts with certain privileges
  1236. * Oper classes must be defined before they are used in operator blocks.
  1237. */
  1238. operator "Bryan" {
  1239. operclass = "Administrator";
  1240. #password = "$1$3gJMO9by$0G60YE6GqmuHVH3AnFPor1";
  1241. };
  1242.  
  1243. /******************************************************************************
  1244. * INCLUDE CONFIGURATION SECTION. *
  1245. ******************************************************************************/
  1246.  
  1247. /* You may also specify other files for inclusion.
  1248. * For example:
  1249. *
  1250. * include "etc/sras.conf";
  1251. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement