Advertisement
Yuuki_Asuna

here

May 9th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.33 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.
  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. * Charybdis IRCd modules/protocol/charybdis
  37. * DreamForge 4.6.7 or later modules/protocol/dreamforge
  38. * Hybrid 7.1.2 and later modules/protocol/hybrid
  39. * InspIRCd 1.2 - 2.1 (link protocol 1201-1204) modules/protocol/inspircd
  40. * ircd-ratbox 2.0 and later modules/protocol/ratbox
  41. * IRCNet ircd (ircd 2.11) modules/protocol/ircnet
  42. * ircd-seven modules/protocol/ircd-seven
  43. * ircu 2.10.11.07 or later modules/protocol/undernet
  44. * Nefarious IRCu 0.4.0 or later modules/protocol/nefarious
  45. * ngIRCd 19 or later [experimental] modules/protocol/ngircd
  46. * ShadowIRCd 5.0 or later modules/protocol/shadowircd
  47. * SporksIRCd modules/protocol/sporksircd
  48. * UnrealIRCd 3.1/3.2 modules/protocol/unreal
  49. *
  50. * If your IRCd vendor has supplied a module file, build it and load it here
  51. * instead of one above.
  52. */
  53. loadmodule "modules/protocol/charybdis";
  54.  
  55. /* Protocol mixins.
  56. *
  57. * These should be used if you do not have/want certain features on your
  58. * network that your ircd normally has. If you do not know what this means,
  59. * you do not need any of them.
  60. *
  61. * Disable halfops modules/protocol/mixin_nohalfops
  62. * Disable holdnick (use enforcer clients) modules/protocol/mixin_noholdnick
  63. * Disable "protect" mode on channels modules/protocol/mixin_noprotect
  64. * Disable "owner" mode on channels modules/protocol/mixin_noowner
  65. */
  66. #loadmodule "modules/protocol/mixin_nohalfops";
  67. #loadmodule "modules/protocol/mixin_noholdnick";
  68. #loadmodule "modules/protocol/mixin_noprotect";
  69. #loadmodule "modules/protocol/mixin_noowner";
  70.  
  71. /* Database backend module.
  72. *
  73. * Please select a database backend module. Different backends allow for
  74. * different ways in which the services data can be manipulated. YOU MAY
  75. * ONLY HAVE ONE OF THESE BACKENDS LOADED.
  76. *
  77. * The following backends are available:
  78. *
  79. * Atheme 0.1 flatfile database format modules/backend/flatfile
  80. * Open Services Exchange database format modules/backend/opensex
  81. *
  82. * Most networks will want opensex.
  83. */
  84. loadmodule "modules/backend/opensex";
  85.  
  86. /* Crypto module.
  87. *
  88. * If you would like encryption for your services passwords, please
  89. * select a module here. Note that upon starting with a crypto module
  90. * YOUR PASSWORDS ARE IMMEDIATELY AND IRREVERSIBLY CONVERTED. Make at
  91. * least TWO backups of your database before experimenting with this.
  92. * If you have several thousand accounts, this conversion may take
  93. * appreciable time.
  94. *
  95. * The following crypto modules are available:
  96. *
  97. * POSIX-style crypt(3) modules/crypto/posix
  98. * IRCServices (also Anope etc) compatibility modules/crypto/ircservices
  99. * Raw MD5 (Anope compatibility) modules/crypto/rawmd5
  100. * Raw SHA1 (Anope compatibility) modules/crypto/rawsha1
  101. *
  102. * The ircservices, rawmd5 and rawsha1 modules are only recommended for use with
  103. * a database converted from other services with password encryption.
  104. *
  105. * The rawsha1 module requires OpenSSL.
  106. */
  107. loadmodule "modules/crypto/posix";
  108.  
  109. /* Authentication module.
  110. *
  111. * These allow using passwords from an external system. The password given
  112. * when registering a new account is also checked against the external
  113. * system.
  114. *
  115. * The following authentication modules are available:
  116. *
  117. * LDAP modules/auth/ldap
  118. *
  119. * The LDAP module requires OpenLDAP client libraries. It uses them in a
  120. * synchronous manner, which means that an unresponsive LDAP server can
  121. * freeze services.
  122. */
  123. #loadmodule "modules/auth/ldap";
  124.  
  125. /* NickServ modules.
  126. *
  127. * Here you can disable or enable certain features of NickServ, by
  128. * defining which modules are loaded. You can even disable NickServ
  129. * entirely. Please note however, that an authentication service
  130. * (either NickServ, or UserServ) are required for proper functionality.
  131. *
  132. * The CrackLib password validation module requires CrackLib to be
  133. * installed on your system in order to use.
  134. *
  135. * Core components modules/nickserv/main
  136. * Nickname access lists modules/nickserv/access
  137. * Bad email address blocking modules/nickserv/badmail
  138. * CertFP fingerprint managment modules/nickserv/cert
  139. * CrackLib password validation modules/nickserv/cracklib
  140. * DROP command modules/nickserv/drop
  141. * Nickname enforcement modules/nickserv/enforce
  142. * GHOST command modules/nickserv/ghost
  143. * GROUP and UNGROUP commands modules/nickserv/group
  144. * HELP command modules/nickserv/help
  145. * Nickname expiry override (HOLD command) modules/nickserv/hold
  146. * IDENTIFY command modules/nickserv/identify
  147. * INFO command modules/nickserv/info
  148. * LIST command modules/nickserv/list
  149. * LISTMAIL command modules/nickserv/listmail
  150. * LISTOWNMAIL command modules/nickserv/listownmail
  151. * LOGIN command (for no_nick_ownership) modules/nickserv/login
  152. * LOGOUT command modules/nickserv/logout
  153. * MARK command modules/nickserv/mark
  154. * FREEZE command modules/nickserv/freeze
  155. * LISTCHANS command modules/nickserv/listchans
  156. * LISTGROUPS command modules/nickserv/listgroups
  157. * REGISTER command modules/nickserv/register
  158. * Bypass registration limits (REGNOLIMIT) modules/nickserv/regnolimit
  159. * Password reset (RESETPASS command) modules/nickserv/resetpass
  160. * RESTRICT command modules/nickserv/restrict
  161. * Password return (RETURN command) modules/nickserv/return
  162. * Password retrieval (SENDPASS command) modules/nickserv/sendpass
  163. * Password retrieval allowed to normal users modules/nickserv/sendpass_user
  164. * SET command core modules/nickserv/set_core
  165. * Change primary nickname (SET ACCOUNTNAME) modules/nickserv/set_accountname
  166. * SET EMAIL command modules/nickserv/set_email
  167. * SET EMAILMEMOS command modules/nickserv/set_emailmemos
  168. * SET ENFORCETIME command modules/nickserv/set_enforcetime
  169. * SET HIDEMAIL command modules/nickserv/set_hidemail
  170. * SET LANGUAGE command modules/nickserv/set_language
  171. * SET NEVERGROUP command modules/nickserv/set_nevergroup
  172. * SET NEVEROP command modules/nickserv/set_neverop
  173. * SET NOGREET command modules/nickserv/set_nogreet
  174. * SET NOMEMO command modules/nickserv/set_nomemo
  175. * SET NOOP command modules/nickserv/set_noop
  176. * SET PASSWORD command modules/nickserv/set_password
  177. * PRIVMSG instead of NOTICE (SET PRIVMSG cmd) modules/nickserv/set_privmsg
  178. * Account info hiding (SET PRIVATE command) modules/nickserv/set_private
  179. * SET PROPERTY command modules/nickserv/set_property
  180. * SET QUIETCHG command modules/nickserv/set_quietchg
  181. * Password retrieval uses code (SETPASS cmd) modules/nickserv/setpass
  182. * STATUS command modules/nickserv/status
  183. * Nickname metadata viewer (TAXONOMY command) modules/nickserv/taxonomy
  184. * VACATION command modules/nickserv/vacation
  185. * VERIFY command modules/nickserv/verify
  186. * VHOST command modules/nickserv/vhost
  187. */
  188. loadmodule "modules/nickserv/main";
  189. #loadmodule "modules/nickserv/access";
  190. loadmodule "modules/nickserv/badmail";
  191. #loadmodule "modules/nickserv/cert";
  192. #loadmodule "modules/nickserv/cracklib";
  193. loadmodule "modules/nickserv/drop";
  194. #loadmodule "modules/nickserv/enforce";
  195. loadmodule "modules/nickserv/ghost";
  196. loadmodule "modules/nickserv/group";
  197. loadmodule "modules/nickserv/help";
  198. loadmodule "modules/nickserv/hold";
  199. loadmodule "modules/nickserv/identify";
  200. loadmodule "modules/nickserv/info";
  201. loadmodule "modules/nickserv/list";
  202. loadmodule "modules/nickserv/listmail";
  203. #loadmodule "modules/nickserv/listownmail";
  204. #loadmodule "modules/nickserv/login";
  205. loadmodule "modules/nickserv/logout";
  206. loadmodule "modules/nickserv/mark";
  207. loadmodule "modules/nickserv/freeze";
  208. loadmodule "modules/nickserv/listchans";
  209. loadmodule "modules/nickserv/listgroups";
  210. loadmodule "modules/nickserv/register";
  211. loadmodule "modules/nickserv/regnolimit";
  212. loadmodule "modules/nickserv/resetpass";
  213. loadmodule "modules/nickserv/restrict";
  214. loadmodule "modules/nickserv/return";
  215. loadmodule "modules/nickserv/setpass";
  216. #loadmodule "modules/nickserv/sendpass";
  217. loadmodule "modules/nickserv/sendpass_user";
  218. loadmodule "modules/nickserv/set_core";
  219. loadmodule "modules/nickserv/set_accountname";
  220. loadmodule "modules/nickserv/set_email";
  221. loadmodule "modules/nickserv/set_emailmemos";
  222. #loadmodule "modules/nickserv/set_enforcetime";
  223. loadmodule "modules/nickserv/set_hidemail";
  224. loadmodule "modules/nickserv/set_language";
  225. loadmodule "modules/nickserv/set_nevergroup";
  226. loadmodule "modules/nickserv/set_neverop";
  227. loadmodule "modules/nickserv/set_nogreet";
  228. loadmodule "modules/nickserv/set_nomemo";
  229. loadmodule "modules/nickserv/set_noop";
  230. loadmodule "modules/nickserv/set_password";
  231. #loadmodule "modules/nickserv/set_privmsg";
  232. #loadmodule "modules/nickserv/set_private";
  233. loadmodule "modules/nickserv/set_property";
  234. loadmodule "modules/nickserv/set_quietchg";
  235. loadmodule "modules/nickserv/status";
  236. loadmodule "modules/nickserv/taxonomy";
  237. loadmodule "modules/nickserv/vacation";
  238. loadmodule "modules/nickserv/verify";
  239. loadmodule "modules/nickserv/vhost";
  240.  
  241. /* ChanServ modules.
  242. *
  243. * Here you can disable or enable certain features of ChanServ, by
  244. * defining which modules are loaded. You can even disable ChanServ
  245. * entirely. Please note that ChanServ requires an authentication
  246. * service, either NickServ or UserServ will do.
  247. *
  248. * Core components modules/chanserv/main
  249. * ACCESS command (simplified ACL editing) modules/chanserv/access
  250. * AKICK command modules/chanserv/akick
  251. * BAN/UNBAN commands modules/chanserv/ban
  252. * UNBAN self only (load ban or this not both) modules/chanserv/unban_self
  253. * CLOSE command modules/chanserv/close
  254. * CLONE command modules/chanserv/clone
  255. * CLEAR command modules/chanserv/clear
  256. * CLEAR BANS command modules/chanserv/clear_bans
  257. * CLEAR FLAGS command modules/chanserv/clear_flags
  258. * CLEAR USERS command modules/chanserv/clear_users
  259. * COUNT command modules/chanserv/count
  260. * DROP command modules/chanserv/drop
  261. * Forced flags changes modules/chanserv/fflags
  262. * FLAGS command modules/chanserv/flags
  263. * Forced foundership transfers modules/chanserv/ftransfer
  264. * GETKEY command modules/chanserv/getkey
  265. * HALFOP/DEHALFOP commands modules/chanserv/halfop
  266. * HELP command modules/chanserv/help
  267. * Channel expiry override (HOLD command) modules/chanserv/hold
  268. * INFO command modules/chanserv/info
  269. * INVITE command modules/chanserv/invite
  270. * KICK/KICKBAN commands modules/chanserv/kick
  271. * LIST command modules/chanserv/list
  272. * MARK command modules/chanserv/mark
  273. * Moderated channel registrations modules/chanserv/moderate
  274. * OP/DEOP commands modules/chanserv/op
  275. * OWNER/DEOWNER commands modules/chanserv/owner
  276. * PROTECT/DEPROTECT commands modules/chanserv/protect
  277. * QUIET command (+q support) modules/chanserv/quiet
  278. * Channel takeover recovery (RECOVER command) modules/chanserv/recover
  279. * REGISTER command modules/chanserv/register
  280. * SET command core modules/chanserv/set_core
  281. * SET EMAIL command modules/chanserv/set_email
  282. * SET ENTRYMSG command modules/chanserv/set_entrymsg
  283. * SET FANTASY command modules/chanserv/set_fantasy
  284. * SET FOUNDER command modules/chanserv/set_founder
  285. * SET GAMESERV command modules/chanserv/set_gameserv
  286. * SET GUARD command modules/chanserv/set_guard
  287. * SET KEEPTOPIC command modules/chanserv/set_keeptopic
  288. * SET LIMITFLAGS command modules/chanserv/set_limitflags
  289. * SET MLOCK command modules/chanserv/set_mlock
  290. * SET PREFIX command modules/chanserv/set_prefix
  291. * Channel info hiding (SET PRIVATE command) modules/chanserv/set_private
  292. * SET PROPERTY command modules/chanserv/set_property
  293. * SET RESTRICTED command modules/chanserv/set_restricted
  294. * SET SECURE command modules/chanserv/set_secure
  295. * SET TOPICLOCK command modules/chanserv/set_topiclock
  296. * SET URL command modules/chanserv/set_url
  297. * SET VERBOSE command modules/chanserv/set_verbose
  298. * STATUS command modules/chanserv/status
  299. * SYNC command (and automatic ACL syncing) modules/chanserv/sync
  300. * Named Successor ACL flag modules/chanserv/successor_acl
  301. * Channel metadata viewer (TAXONOMY command) modules/chanserv/taxonomy
  302. * TEMPLATE command modules/chanserv/template
  303. * TOPIC/TOPICAPPEND commands modules/chanserv/topic
  304. * VOICE/DEVOICE commands modules/chanserv/voice
  305. * WHY command modules/chanserv/why
  306. * VOP/HOP/AOP/SOP commands modules/chanserv/xop
  307. * This module provides emulation of the ircservices XOP scheme ONLY.
  308. * Do not report discrepencies when using native commands to edit channel
  309. * ACLs. This is intentional.
  310. */
  311. loadmodule "modules/chanserv/main";
  312. loadmodule "modules/chanserv/access";
  313. loadmodule "modules/chanserv/akick";
  314. loadmodule "modules/chanserv/ban";
  315. #loadmodule "modules/chanserv/unban_self";
  316. loadmodule "modules/chanserv/clone";
  317. loadmodule "modules/chanserv/close";
  318. loadmodule "modules/chanserv/clear";
  319. loadmodule "modules/chanserv/clear_bans";
  320. loadmodule "modules/chanserv/clear_flags";
  321. loadmodule "modules/chanserv/clear_users";
  322. loadmodule "modules/chanserv/count";
  323. loadmodule "modules/chanserv/drop";
  324. #loadmodule "modules/chanserv/fflags";
  325. loadmodule "modules/chanserv/flags";
  326. loadmodule "modules/chanserv/ftransfer";
  327. loadmodule "modules/chanserv/getkey";
  328. #loadmodule "modules/chanserv/halfop";
  329. loadmodule "modules/chanserv/help";
  330. loadmodule "modules/chanserv/hold";
  331. loadmodule "modules/chanserv/info";
  332. loadmodule "modules/chanserv/invite";
  333. loadmodule "modules/chanserv/kick";
  334. loadmodule "modules/chanserv/list";
  335. loadmodule "modules/chanserv/mark";
  336. #loadmodule "modules/chanserv/moderate";
  337. loadmodule "modules/chanserv/op";
  338. #loadmodule "modules/chanserv/owner";
  339. #loadmodule "modules/chanserv/protect";
  340. #loadmodule "modules/chanserv/quiet";
  341. loadmodule "modules/chanserv/recover";
  342. loadmodule "modules/chanserv/register";
  343. loadmodule "modules/chanserv/set_core";
  344. loadmodule "modules/chanserv/set_email";
  345. loadmodule "modules/chanserv/set_entrymsg";
  346. loadmodule "modules/chanserv/set_fantasy";
  347. loadmodule "modules/chanserv/set_founder";
  348. #loadmodule "modules/chanserv/set_gameserv";
  349. loadmodule "modules/chanserv/set_guard";
  350. loadmodule "modules/chanserv/set_keeptopic";
  351. #loadmodule "modules/chanserv/set_limitflags";
  352. loadmodule "modules/chanserv/set_mlock";
  353. loadmodule "modules/chanserv/set_prefix";
  354. #loadmodule "modules/chanserv/set_private";
  355. loadmodule "modules/chanserv/set_property";
  356. loadmodule "modules/chanserv/set_restricted";
  357. loadmodule "modules/chanserv/set_secure";
  358. loadmodule "modules/chanserv/set_topiclock";
  359. loadmodule "modules/chanserv/set_url";
  360. loadmodule "modules/chanserv/set_verbose";
  361. loadmodule "modules/chanserv/status";
  362. loadmodule "modules/chanserv/sync";
  363. #loadmodule "modules/chanserv/successor_acl";
  364. loadmodule "modules/chanserv/taxonomy";
  365. loadmodule "modules/chanserv/template";
  366. loadmodule "modules/chanserv/topic";
  367. loadmodule "modules/chanserv/voice";
  368. loadmodule "modules/chanserv/why";
  369. #loadmodule "modules/chanserv/xop";
  370.  
  371. /* CHANFIX module.
  372. *
  373. * Here you can disable or enable certain features of CHANFIX, by
  374. * defining which modules are loaded.
  375. *
  376. * Core components modules/chanfix/main
  377. */
  378. #loadmodule "modules/chanfix/main";
  379.  
  380. /* OperServ modules.
  381. *
  382. * Here you can disable or enable certain features of OperServ, by
  383. * defining which modules are loaded.
  384. *
  385. * Core components modules/operserv/main
  386. * AKILL system modules/operserv/akill
  387. * CLEARCHAN command modules/operserv/clearchan
  388. * CLONES system modules/operserv/clones
  389. * COMPARE command modules/operserv/compare
  390. * GREPLOG command modules/operserv/greplog
  391. * HELP command modules/operserv/help
  392. * IGNORE system modules/operserv/ignore
  393. * IDENTIFY command modules/operserv/identify
  394. * INFO command modules/operserv/info
  395. * INJECT command modules/operserv/inject
  396. * JUPE command modules/operserv/jupe
  397. * MODE command modules/operserv/mode
  398. * MODINSPECT command modules/operserv/modinspect
  399. * MODLIST command modules/operserv/modlist
  400. * MODLOAD command modules/operserv/modload
  401. * MODRELOAD command modules/operserv/modreload
  402. * MODUNLOAD command modules/operserv/modunload
  403. * NOOP system modules/operserv/noop
  404. * Override access (OVERRIDE command) modules/operserv/override
  405. * Regex mass akill (RAKILL command) modules/operserv/rakill
  406. * RAW command modules/operserv/raw
  407. * READONLY command modules/operserv/readonly
  408. * REHASH command modules/operserv/rehash
  409. * RESTART command modules/operserv/restart
  410. * Display regex matching (RMATCH command) modules/operserv/rmatch
  411. * Most common realnames (RNC command) modules/operserv/rnc
  412. * RWATCH system modules/operserv/rwatch
  413. * Temporarily modify config options (SET command) modules/operserv/set
  414. * SGLINE system modules/operserv/sgline
  415. * SHUTDOWN command modules/operserv/shutdown
  416. * Non-config oper privileges (SOPER command) modules/operserv/soper
  417. * Oper privilege display (SPECS command) modules/operserv/specs
  418. * SQLINE system modules/operserv/sqline
  419. * UPDATE command modules/operserv/update
  420. * UPTIME command modules/operserv/uptime
  421. */
  422. loadmodule "modules/operserv/main";
  423. loadmodule "modules/operserv/akill";
  424. #loadmodule "modules/operserv/clearchan";
  425. #loadmodule "modules/operserv/clones";
  426. loadmodule "modules/operserv/compare";
  427. #loadmodule "modules/operserv/greplog";
  428. loadmodule "modules/operserv/help";
  429. loadmodule "modules/operserv/identify";
  430. loadmodule "modules/operserv/ignore";
  431. loadmodule "modules/operserv/info";
  432. loadmodule "modules/operserv/jupe";
  433. loadmodule "modules/operserv/mode";
  434. loadmodule "modules/operserv/modinspect";
  435. loadmodule "modules/operserv/modlist";
  436. loadmodule "modules/operserv/modload";
  437. loadmodule "modules/operserv/modunload";
  438. loadmodule "modules/operserv/modreload";
  439. loadmodule "modules/operserv/noop";
  440. #loadmodule "modules/operserv/override";
  441. #loadmodule "modules/operserv/rakill";
  442. loadmodule "modules/operserv/readonly";
  443. loadmodule "modules/operserv/rehash";
  444. loadmodule "modules/operserv/restart";
  445. loadmodule "modules/operserv/rmatch";
  446. loadmodule "modules/operserv/rnc";
  447. loadmodule "modules/operserv/rwatch";
  448. loadmodule "modules/operserv/set";
  449. loadmodule "modules/operserv/sgline";
  450. loadmodule "modules/operserv/shutdown";
  451. #loadmodule "modules/operserv/soper";
  452. loadmodule "modules/operserv/specs";
  453. loadmodule "modules/operserv/sqline";
  454. loadmodule "modules/operserv/update";
  455. loadmodule "modules/operserv/uptime";
  456.  
  457. /* MemoServ modules.
  458. *
  459. * Here you can disable or enable certain features of MemoServ, by
  460. * defining which modules are loaded. You can even disable MemoServ
  461. * entirely.
  462. *
  463. * Core components modules/memoserv/main
  464. * HELP command modules/memoserv/help
  465. * SEND command modules/memoserv/send
  466. * Channel memos (SENDOPS command) modules/memoserv/sendops
  467. * Group memos (SENDGROUP command) modules/memoserv/sendgroup
  468. * LIST command modules/memoserv/list
  469. * READ command modules/memoserv/read
  470. * FORWARD command modules/memoserv/forward
  471. * DELETE command modules/memoserv/delete
  472. * IGNORE command modules/memoserv/ignore
  473. */
  474. loadmodule "modules/memoserv/main";
  475. loadmodule "modules/memoserv/help";
  476. loadmodule "modules/memoserv/send";
  477. loadmodule "modules/memoserv/sendops";
  478. loadmodule "modules/memoserv/sendgroup";
  479. loadmodule "modules/memoserv/list";
  480. loadmodule "modules/memoserv/read";
  481. loadmodule "modules/memoserv/forward";
  482. loadmodule "modules/memoserv/delete";
  483. loadmodule "modules/memoserv/ignore";
  484.  
  485. /* Global module.
  486. *
  487. * Like the other services, the Global noticer is a module. You can
  488. * disable or enable it to your liking below. Please note that the
  489. * Global noticer is dependent on OperServ for full functionality.
  490. */
  491. loadmodule "modules/global/main";
  492.  
  493. /* InfoServ module.
  494. *
  495. * Like the other services, InfoServ is a module. You can disable or
  496. * enable it to your liking below.
  497. */
  498. loadmodule "modules/infoserv/main";
  499.  
  500. /* SASL agent module.
  501. *
  502. * Allows clients to authenticate to services via SASL with an appropriate
  503. * ircd. You need the core components and at least one mechanism.
  504. *
  505. * Core components modules/saslserv/main
  506. * PLAIN mechanism modules/saslserv/plain
  507. * DH-BLOWFISH mechanism modules/saslserv/dh-blowfish
  508. * AUTHCOOKIE mechanism (for IRIS) modules/saslserv/authcookie
  509. * EXTERNAL mechanism (IRCv3.1+) modules/saslserv/external
  510. */
  511. loadmodule "modules/saslserv/main";
  512. loadmodule "modules/saslserv/plain";
  513. #loadmodule "modules/saslserv/dh-blowfish"; /* requires SSL */
  514. loadmodule "modules/saslserv/authcookie";
  515. #loadmodule "modules/saslserv/external";
  516.  
  517. /* GameServ modules.
  518. *
  519. * Here you can disable or enable certain features of GameServ, by
  520. * defining which modules are loaded. You can even disable GameServ
  521. * entirely.
  522. *
  523. * Core components modules/gameserv/main
  524. * DICE/WOD commands modules/gameserv/dice
  525. * EIGHTBALL command modules/gameserv/eightball
  526. * Game-specific dice calculators modules/gameserv/gamecalc
  527. * HELP commands modules/gameserv/help
  528. * LOTTERY command modules/gameserv/lottery
  529. * NAMEGEN command modules/gameserv/namegen
  530. * RPS command modules/gameserv/rps
  531. */
  532. #loadmodule "modules/gameserv/main";
  533. #loadmodule "modules/gameserv/dice";
  534. #loadmodule "modules/gameserv/eightball";
  535. #loadmodule "modules/gameserv/gamecalc";
  536. #loadmodule "modules/gameserv/help";
  537. #loadmodule "modules/gameserv/lottery";
  538. #loadmodule "modules/gameserv/namegen";
  539. #loadmodule "modules/gameserv/rps";
  540.  
  541. /* RPGServ modules.
  542. *
  543. * Here you can disable or enable certain features of RPGServ, by
  544. * defining which modules are loaded. You can even disable RPGServ
  545. * entirely.
  546. *
  547. * Core components modules/rpgserv/main
  548. * ENABLE/DISABLE commands modules/rpgserv/enable
  549. * HELP command modules/rpgserv/help
  550. * INFO command modules/rpgserv/info
  551. * LIST command modules/rpgserv/list
  552. * SEARCH command modules/rpgserv/search
  553. * SET commands modules/rpgserv/set
  554. */
  555. #loadmodule "modules/rpgserv/main";
  556. #loadmodule "modules/rpgserv/enable";
  557. #loadmodule "modules/rpgserv/help";
  558. #loadmodule "modules/rpgserv/info";
  559. #loadmodule "modules/rpgserv/list";
  560. #loadmodule "modules/rpgserv/search";
  561. #loadmodule "modules/rpgserv/set";
  562.  
  563. /* BotServ modules.
  564. *
  565. * Here you can disable or enable certain features of BotServ, by
  566. * defining which modules are loaded. You can even disable BotServ
  567. * entirely.
  568. *
  569. * Core components modules/botserv/main
  570. * HELP command modules/botserv/help
  571. * INFO command modules/botserv/info
  572. * NPC commands (SAY, ACT) modules/botserv/bottalk
  573. * SET command (required for SET commands) modules/botserv/set_core
  574. * SET FANTASY command modules/botserv/set_fantasy
  575. * SET NOBOT command modules/botserv/set_nobot
  576. * SET PRIVATE command modules/botserv/set_private
  577. */
  578. #loadmodule "modules/botserv/main";
  579. #loadmodule "modules/botserv/help";
  580. #loadmodule "modules/botserv/info";
  581. #loadmodule "modules/botserv/bottalk";
  582. #loadmodule "modules/botserv/set_core";
  583. #loadmodule "modules/botserv/set_fantasy";
  584. #loadmodule "modules/botserv/set_nobot";
  585. #loadmodule "modules/botserv/set_private";
  586.  
  587. /* HostServ modules.
  588. *
  589. * Here you can disable or enable certain features of HostServ, by
  590. * defining which modules are loaded. You can even disable HostServ
  591. * entirely.
  592. *
  593. * HostServ is a more complex, and optional virtual host management service.
  594. * Users wishing only to set vhosts need not use it (they can use the builtin
  595. * vhost management of NickServ instead).
  596. *
  597. * Core components modules/hostserv/main
  598. * HELP command modules/hostserv/help
  599. * OFFER system modules/hostserv/offer
  600. * ON and OFF commands modules/hostserv/onoff
  601. * REQUEST system modules/hostserv/request
  602. * VHOST and LISTVHOST commands modules/hostserv/vhost
  603. * VHOSTNICK command modules/hostserv/vhostnick
  604. * GROUP command modules/hostserv/group
  605. */
  606. #loadmodule "modules/hostserv/main";
  607. #loadmodule "modules/hostserv/help";
  608. #loadmodule "modules/hostserv/onoff";
  609. #loadmodule "modules/hostserv/offer";
  610. #loadmodule "modules/hostserv/request";
  611. #loadmodule "modules/hostserv/vhost";
  612. #loadmodule "modules/hostserv/vhostnick";
  613. #loadmodule "modules/hostserv/group";
  614.  
  615. /* HelpServ modules.
  616. * HelpServ allows users to request help from network staff in a few different ways.
  617. *
  618. * Core components modules/helpserv/main
  619. * HELPME command modules/helpserv/helpme
  620. * Help Ticket system modules/helpserv/ticket
  621. * Service List modules/helpserv/services
  622. *
  623. * The ticket system works like a bugtracker ot helpdesk ticket system, HELPME
  624. * works like a one-time alert. You should probably only load one of the two systems.
  625. */
  626. #loadmodule "modules/helpserv/main";
  627. #loadmodule "modules/helpserv/helpme";
  628. #loadmodule "modules/helpserv/ticket";
  629. #loadmodule "modules/helpserv/services";
  630.  
  631. /* Channel listing service.
  632. *
  633. * Allows users to list channels with more flexibility than the /list
  634. * command.
  635. *
  636. * Core components modules/alis/main
  637. */
  638. #loadmodule "modules/alis/main";
  639.  
  640. /* StatServ module.
  641. * StatServ provides basic statistics and split tracking.
  642. *
  643. * Core components modules/statserv/main
  644. * CHANNEL command modules/statserv/channel
  645. * NETSPLIT command modules/statserv/netsplit
  646. * SERVER command modules/statserv/server
  647. */
  648. loadmodule "modules/statserv/main";
  649. #loadmodule "modules/statserv/channel";
  650. loadmodule "modules/statserv/netsplit";
  651. loadmodule "modules/statserv/server";
  652.  
  653. /* GroupServ module.
  654. * GroupServ allows users to create groups to easily mass-manage channel
  655. * access and more.
  656. *
  657. * Core components modules/groupserv/main
  658. * ACSNOLIMIT command modules/groupserv/acsnolimit
  659. * DROP command modules/groupserv/drop
  660. * FDROP command modules/groupserv/fdrop
  661. * FFLAGS command modules/groupserv/fflags
  662. * FLAGS command modules/groupserv/flags
  663. * HELP command modules/groupserv/help
  664. * INFO command modules/groupserv/info
  665. * JOIN command modules/groupserv/join
  666. * LIST command modules/groupserv/list
  667. * LISTCHANS command modules/groupserv/listchans
  668. * REGISTER command modules/groupserv/register
  669. * REGNOLIMIT command modules/groupserv/regnolimit
  670. * SET command modules/groupserv/set
  671. * SET CHANNEL command modules/groupserv/set_channel
  672. * SET DESCRIPTION command modules/groupserv/set_description
  673. * SET EMAIL command modules/groupserv/set_email
  674. * SET JOINFLAGS command modules/groupserv/set_joinflags
  675. * SET OPEN command modules/groupserv/set_open
  676. * SET PUBLIC command modules/groupserv/set_public
  677. * SET URL command modules/groupserv/set_url
  678. *
  679. */
  680. loadmodule "modules/groupserv/main";
  681. loadmodule "modules/groupserv/acsnolimit";
  682. loadmodule "modules/groupserv/drop";
  683. loadmodule "modules/groupserv/fdrop";
  684. loadmodule "modules/groupserv/fflags";
  685. loadmodule "modules/groupserv/flags";
  686. loadmodule "modules/groupserv/help";
  687. loadmodule "modules/groupserv/info";
  688. loadmodule "modules/groupserv/join";
  689. loadmodule "modules/groupserv/list";
  690. loadmodule "modules/groupserv/listchans";
  691. loadmodule "modules/groupserv/register";
  692. loadmodule "modules/groupserv/regnolimit";
  693. loadmodule "modules/groupserv/set";
  694. loadmodule "modules/groupserv/set_channel";
  695. loadmodule "modules/groupserv/set_description";
  696. loadmodule "modules/groupserv/set_email";
  697. loadmodule "modules/groupserv/set_joinflags";
  698. loadmodule "modules/groupserv/set_open";
  699. loadmodule "modules/groupserv/set_public";
  700. loadmodule "modules/groupserv/set_url";
  701.  
  702. /*
  703. * Various modules.
  704. *
  705. * Atheme includes an optional HTTP server that can be used for integration
  706. * with portal software and other useful things. To enable it, load this
  707. * module, and uncomment the httpd { } block towards the bottom of the config.
  708. *
  709. * HTTP Server modules/misc/httpd
  710. */
  711. loadmodule "modules/misc/httpd";
  712.  
  713. /* XMLRPC server module.
  714. *
  715. * The XML-RPC handler requires modules/misc/httpd to be loaded as it merely
  716. * registers a path handler for XML-RPC. The path used for XML-RPC is /xmlrpc.
  717. *
  718. * XMLRPC handler for the httpd modules/transport/xmlrpc
  719. */
  720. loadmodule "modules/transport/xmlrpc";
  721.  
  722. /* Extended target entity types. [EXPERIMENTAL]
  723. *
  724. * Atheme can set up special target mapping entities which match multiple
  725. * users in channel access entries. These target mapping entity types are
  726. * defined through the 'exttarget' modules listed below.
  727. *
  728. * Exttarget handling core modules/exttarget/main
  729. * $oper exttarget match type modules/exttarget/oper
  730. * $registered exttarget match type modules/exttarget/registered
  731. * $channel exttarget match type modules/exttarget/channel
  732. * $chanacs exttarget match type modules/exttarget/chanacs
  733. */
  734. #loadmodule "modules/exttarget/main";
  735. #loadmodule "modules/exttarget/oper";
  736. #loadmodule "modules/exttarget/registered";
  737. #loadmodule "modules/exttarget/channel";
  738. #loadmodule "modules/exttarget/chanacs";
  739.  
  740. /* Other modules.
  741. *
  742. * Put any other modules you want to load on startup here. The path
  743. * is relative to PREFIX or PREFIX/lib/atheme, depending on how Atheme
  744. * was compiled.
  745. */
  746. #loadmodule "modules/contrib/ns_listlogins";
  747.  
  748. /******************************************************************************
  749. * SERVICES RUNTIME CONFIGURATION SECTION. *
  750. ******************************************************************************/
  751.  
  752. /* The serverinfo{} block defines how we appear on the IRC network. */
  753. serverinfo {
  754. /* name
  755. * The server name that this program uses on the IRC network.
  756. * This is the name you'll have to use in C:/N:Lines. It must be
  757. * unique on the IRC network and contain at least one dot, but does
  758. * not have to be equal to any DNS name.
  759. */
  760. name = "services.int";
  761.  
  762. /* desc
  763. * The ``server comment'' we send to the IRC network.
  764. * If you want server hiding, prefix your desc with "(H)"
  765. */
  766. desc = "Atheme IRC Services";
  767.  
  768. /* numeric
  769. * Some protocol drivers (Charybdis, Ratbox2, Hybrid, P10, IRCNet)
  770. * require a server id, also known as a numeric. Please consult your
  771. * ircd's documentation when providing this value.
  772. */
  773. numeric = "00A";
  774.  
  775. /* (*)recontime
  776. * The number of seconds before we reconnect to the uplink.
  777. */
  778. recontime = 10;
  779.  
  780. /* (*)netname
  781. * The name of your network.
  782. */
  783. netname = "misconfigured network";
  784.  
  785. /* (*)hidehostsuffix
  786. * P10 +x host hiding gives <account>.<hidehostsuffix>.
  787. * If using +x on asuka/bircd/undernet, this must agree
  788. * with F:HIDDEN_HOST.
  789. */
  790. hidehostsuffix = "users.misconfigured";
  791.  
  792. /* (*)adminname
  793. * The name of the person running this service.
  794. */
  795. adminname = "misconfigured admin";
  796.  
  797. /* (*)adminemail
  798. * The email address of the person running this service.
  799. */
  800. adminemail = "misconfigured@admin.tld";
  801.  
  802. /* (*)mta
  803. * The full path to your mail transfer agent.
  804. * This is used for email authorization and password retrieval.
  805. * Comment this out to disable sending email.
  806. * Warning: sending email can disclose the IP of your services
  807. * unless you take precautions (not discussed here further).
  808. */
  809. mta = "/usr/sbin/sendmail";
  810.  
  811. /* (*)loglevel
  812. * Specify the default categories of logging information to record
  813. * in the master Atheme logfile, usually var/atheme.log.
  814. *
  815. * Options include:
  816. * debug, all - meta-keyword for all possible categories
  817. * trace - meta-keyword for a little bit of info
  818. * misc - like trace, but with some more miscillaneous info
  819. * notice - meta-keyword for notice-like information
  820. * ------------------------------------------------------------------------------
  821. * error - critical errors
  822. * info - miscillaneous log notices
  823. * verbose - A bit more verbose than info, not quite as spammy as debug
  824. * commands - all command use
  825. * admin - administrative command use
  826. * register - account and channel registrations
  827. * set - changes of account or channel settings
  828. * request - user requests (currently only vhosts)
  829. * network - log notices related to network status
  830. * rawdata - log raw data sent and received by services
  831. * wallops - <not yet used>
  832. */
  833. loglevel = { error; info; admin; network; wallops; };
  834.  
  835. /* (*)maxlogins
  836. * What is the maximum number of sessions allowed to login to one
  837. * username? This reduces potential abuse. It is only checked on login.
  838. */
  839. maxlogins = 5;
  840.  
  841. /* (*)maxusers
  842. * What are the maximum usernames that one email address can register?
  843. * Set to 0 to disable this check (it can be slow currently).
  844. */
  845. maxusers = 5;
  846.  
  847. /* (*)maxnicks
  848. * If GROUP is loaded, what are the maximum nicknames that one
  849. * username can register?
  850. */
  851. maxnicks = 5;
  852.  
  853. /* (*)maxchans
  854. * What are the maximum channels that one username can register?
  855. */
  856. maxchans = 5;
  857.  
  858. /* (*)mdlimit
  859. * How many metadata entries can be added to an object?
  860. */
  861. mdlimit = 30;
  862.  
  863. /* (*)emaillimit, emailtime
  864. * The maximum number of emails allowed to be sent in
  865. * that amount of time (seconds). If this is exceeded,
  866. * wallops will be sent, at most one per minute.
  867. */
  868. emaillimit = 10;
  869. emailtime = 300;
  870.  
  871. /* (*)auth
  872. * What type of username registration authorization do you want?
  873. * If "email", Atheme will send a confirmation email to the address to
  874. * ensure it's valid. If registration is not completed within one day,
  875. * the username will expire. If "none", no message will be sent and
  876. * the username will be fully registered.
  877. * Valid values are: email, none.
  878. */
  879. auth = none;
  880.  
  881. /* casemapping
  882. * Specify the casemapping to use. Almost all TSora (and any that follow
  883. * the RFC correctly) ircds will use rfc1459 casemapping. Bahamut, Unreal,
  884. * and other ``Dalnet'' ircds will use ascii casemapping.
  885. * Valid values are: rfc1459, ascii.
  886. */
  887. casemapping = rfc1459;
  888. };
  889.  
  890. /* uplink{} blocks define connections to IRC servers.
  891. * Multiple may be defined but only one will be used at a time (IRC
  892. * being a tree shaped network).
  893. */
  894. uplink "irc.example.net" {
  895. // The server name of the ircd you're linking to goes above.
  896.  
  897. // host
  898. // The hostname to connect to.
  899. host = "127.0.0.1";
  900.  
  901. // vhost
  902. // The source IP to connect from, used on machines with multiple interfaces.
  903. #vhost = "202.119.187.31";
  904.  
  905. // password
  906. // The password used for linking.
  907. password = "linkage";
  908.  
  909. // port
  910. // The port to connect to.
  911. port = 6667;
  912. };
  913.  
  914. /* this is an example for using an IPv6 address as an uplink */
  915. uplink "irc6.example.net" {
  916. host = "::1";
  917. password = "linkage";
  918. port = 6667;
  919. };
  920.  
  921. /* Services configuration.
  922. *
  923. * Each of these blocks can contain a nick, user, host, real and aliases.
  924. * Several of them also have options specific to the service.
  925. */
  926.  
  927. /* NickServ configuration.
  928. *
  929. * The nickserv {} block contains settings specific to the NickServ modules.
  930. *
  931. * NickServ provides nickname or username registration and authentication
  932. * services. It provides necessary authentication features required for
  933. * Services to operate correctly. You should make sure these settings
  934. * are properly configured for your network.
  935. */
  936. nickserv {
  937. /* (*)spam
  938. * Have NickServ tell people about how great it and ChanServ are.
  939. */
  940. spam;
  941.  
  942. /* no_nick_ownership
  943. * Enable this to disable nickname ownership (old userserv{}).
  944. * This changes changes "nickname" to "account" in most messages,
  945. * disables GHOST on users not logged in to the same account and
  946. * makes the spam directive ineffective.
  947. * It is suggested that the nick be set to UserServ, login.so
  948. * be loaded instead of identify.so and ghost.so not be loaded.
  949. */
  950. #no_nick_ownership;
  951.  
  952. /* (*)nick
  953. * The nickname we want NickServ to have.
  954. */
  955. nick = "NickServ";
  956.  
  957. /* (*)user
  958. * The username we want NickServ to have.
  959. */
  960. user = "NickServ";
  961.  
  962. /* (*)host
  963. * The hostname we want NickServ to have.
  964. */
  965. host = "services.int";
  966.  
  967. /* (*)real
  968. * The realname (gecos) information we want NickServ to have.
  969. */
  970. real = "Nickname Services";
  971.  
  972. /* (*)aliases
  973. * Command aliases for NickServ.
  974. */
  975. aliases {
  976. "ID" = "IDENTIFY";
  977. "MYACCESS" = "LISTCHANS";
  978. };
  979.  
  980. /* (*)access
  981. * This block allows you to modify the access level required to run
  982. * commands. The list of possible accesses are listed in the operclass
  983. * section later in this .conf . Note that you can only set the access
  984. * on an actual command, not an alias.
  985. */
  986. access {
  987. };
  988.  
  989. /* (*)expire
  990. * The number of days before inactive registrations are expired.
  991. */
  992. expire = 30;
  993.  
  994. /* (*)enforce_expire
  995. * The number of days of no use after which to ignore enforcement
  996. * settings on nicks.
  997. */
  998. #enforce_expire = 14;
  999.  
  1000. /* (*)enforce_delay
  1001. * The number of seconds to delay nickchange enforcement settings
  1002. * on nicks.
  1003. */
  1004. #enforce_delay = 30;
  1005.  
  1006. /* (*)enforce_prefix
  1007. * The prefix to use when changing the user's nick on enforcement
  1008. */
  1009. #enforce_prefix = "Guest";
  1010.  
  1011. /* (*)cracklib_dict
  1012. * The location and filename prefix of the cracklib dictionaries
  1013. * for use with nickserv/cracklib. This must be provided if you are
  1014. * going to be using nickserv/cracklib.
  1015. */
  1016. #cracklib_dict = "/var/cache/cracklib/cracklib_dict";
  1017.  
  1018. /* (*)cracklib_warn
  1019. * If this option is set and nickserv/cracklib is loaded, nickserv will just
  1020. * warn users that their password is insecure, recommend they change it and
  1021. * still register the nick. If this option is unset, it will refuse to
  1022. * register the nick at all until the user chooses a better password.
  1023. */
  1024. #cracklib_warn;
  1025.  
  1026. /* (*)emailexempts
  1027. * A list of email addresses that will be exempt from the check of how many
  1028. * accounts one user may have. Any email address in this block may register
  1029. * an unlimited number of accounts/usernames.
  1030. */
  1031. emailexempts {
  1032. };
  1033. };
  1034.  
  1035. /* ChanServ configuration.
  1036. *
  1037. * The chanserv {} block contains settings specific to the ChanServ modules.
  1038. *
  1039. * ChanServ provides channel registration services, which allows users to own
  1040. * channels. It is not required, but is strongly recommended.
  1041. */
  1042. chanserv {
  1043. /* (*)nick
  1044. * The nickname we want the client to have.
  1045. */
  1046. nick = "ChanServ";
  1047.  
  1048. /* (*)user
  1049. * The username we want the client to have.
  1050. */
  1051. user = "ChanServ";
  1052.  
  1053. /* (*)host
  1054. * The hostname we want the client to have.
  1055. */
  1056. host = "services.int";
  1057.  
  1058. /* (*)real
  1059. * The GECOS of the client.
  1060. */
  1061. real = "Channel Services";
  1062.  
  1063. /* (*)aliases
  1064. * Command aliases for ChanServ.
  1065. */
  1066. aliases {
  1067. };
  1068.  
  1069. /* (*)access
  1070. * Command access changes for ChanServ.
  1071. */
  1072. access {
  1073. };
  1074.  
  1075. /* fantasy
  1076. * Do you want to enable fantasy commands? This can
  1077. * use a lot of CPU up, and will only work if you have
  1078. * join_chans (in general) enabled as well.
  1079. */
  1080. fantasy;
  1081.  
  1082. /* (*) hide_xop
  1083. * Hide the XOP templates from sight. This is useful if you
  1084. * want to use templates and not have the XOP templates displayed.
  1085. */
  1086. #hide_xop;
  1087.  
  1088. /* (*) templates
  1089. * Defines what flags the global templates comprise.
  1090. *
  1091. * For the special XOP templates:
  1092. * These should all be different and not equal to the empty set,
  1093. * except that hop may be equal to vop to disable hop.
  1094. * Each subsequent level should have more flags (except +VHO).
  1095. * For optimal functioning of /cs forcexop, aop should not have
  1096. * any of +sRf, hop should not have any of +sRfoOr and vop should
  1097. * not have any of +sRfoOrhHt.
  1098. * If this is not specified, the values of Atheme 0.3 are used,
  1099. * which are generally less intuitive than these.
  1100. * Note: changing these leaves the flags of existing channel access
  1101. * entries unchanged, thus removing them of the view of /cs xop list.
  1102. * Usually the channel founder can use /cs forcexop to update the
  1103. * entries to the new levels.
  1104. *
  1105. * Advice:
  1106. * If you want to add a co-founder role, remove the flags permission
  1107. * from the SOP role, and define a co-founder role with flags
  1108. * permissions.
  1109. */
  1110. templates {
  1111. vop = "+AV";
  1112. hop = "+AHhtv";
  1113. aop = "+AOhiortv";
  1114. sop = "+AOafhiorstv";
  1115.  
  1116. founder = "+AFORafhiorstv";
  1117.  
  1118. /* some examples (which are commented out...) */
  1119. #member = "+Ai";
  1120. #op = "+AOiortv";
  1121. };
  1122.  
  1123. /* (*) deftemplates
  1124. * Defines default templates to set on new channels, as a
  1125. * space-separated list of name=+flags pairs.
  1126. * Note: at this time no syntax checking is done on this; it
  1127. * is your own responsibility to make sure it is correct.
  1128. */
  1129. #deftemplates = "MEMBER=+Ai OP=+AOiortv";
  1130.  
  1131. /* (*) changets
  1132. * Change the channel TS to the registration time when someone
  1133. * recreates a registered channel, ensuring that they are deopped
  1134. * and all their modes are undone. Note that this involves ChanServ
  1135. * joining. When the channel was not recreated no deops will be done
  1136. * (apart from the SECURE option).
  1137. * This also solves the "join-mode" problem where someone recreates
  1138. * a registered channel and then sets some modes before they are
  1139. * deopped.
  1140. * This is currently supported for charybdis, hybrid, ratbox,
  1141. * bahamut, and unrealircd. For charybdis, hybrid and ratbox
  1142. * it only fully works with TS6, with TS5 bans and last-moment modes
  1143. * will still apply.
  1144. * (That can also be used to advantage, when first enabling this.)
  1145. */
  1146. #changets;
  1147.  
  1148. /* (*) trigger
  1149. * This setting allows you to change the trigger prefix for
  1150. * ChanServ's in-channel command feature (disableable via chanserv::fantasy).
  1151. * If no setting is provided, the default is used, which is "!".
  1152. *
  1153. * Other settings you could consider trying: ".", "~", "?", "`", "'".
  1154. */
  1155. trigger = "!";
  1156.  
  1157. /* (*)expire
  1158. * The number of days before inactive registrations are expired.
  1159. */
  1160. expire = 30;
  1161.  
  1162. /* (*)maxchanacs
  1163. * The maximum number of entries allowed in a channel's access list
  1164. * (both channel ops and akicks), 0 for unlimited.
  1165. */
  1166. maxchanacs = 0;
  1167.  
  1168. /* (*)maxfounders
  1169. * The maximum number of founders allowed in a channel.
  1170. * Note that all founders have the exact same privileges and
  1171. * the list of founders is shown in various places.
  1172. */
  1173. maxfounders = 4;
  1174.  
  1175. /* (*)founder_flags
  1176. * The flags a user will get when they register a new channel.
  1177. * This MUST include at least 'F' or it will be ignored.
  1178. * If it is not set, Atheme will give the user all channel flags.
  1179. */
  1180. #founder_flags = "AFORfiorstv";
  1181.  
  1182. /* (*)akick_time
  1183. * The default expiration time (in minutes) for AKICKs.
  1184. * Comment this option out or set to zero for permanent AKICKs
  1185. * by default (the old behaviour).
  1186. */
  1187. #akick_time = 10;
  1188. };
  1189.  
  1190. /* CHANFIX configuration.
  1191. *
  1192. * The chanfix {} block contains settings specific to the CHANFIX modules.
  1193. *
  1194. * CHANFIX provides channel recovery services without registration, which
  1195. * allows users to maintain control of channels even if ChanServ is not used
  1196. * to register them.
  1197. */
  1198. chanfix {
  1199. /* (*)nick
  1200. * The nickname we want the client to have.
  1201. */
  1202. nick = "ChanFix";
  1203.  
  1204. /* (*)user
  1205. * The username we want the client to have.
  1206. */
  1207. user = "ChanFix";
  1208.  
  1209. /* (*)host
  1210. * The hostname we want the client to have.
  1211. */
  1212. host = "services.int";
  1213.  
  1214. /* (*)real
  1215. * The GECOS of the client.
  1216. */
  1217. real = "Channel Fixing Service";
  1218.  
  1219. /* (*)autofix
  1220. * Automatically fix channels if they become opless and meet fixing
  1221. * criteria.
  1222. */
  1223. autofix;
  1224. };
  1225.  
  1226. /* Global noticing configuration.
  1227. *
  1228. * The global {} block contains settings specific to the Global notice module.
  1229. *
  1230. * The Global notice module provides the ability to mass-notify a network.
  1231. */
  1232. global {
  1233. /* (*)nick
  1234. * Sets the nick used for sending out a global notice.
  1235. */
  1236. nick = "Global";
  1237.  
  1238. /* (*)user
  1239. * Sets the username used for this client.
  1240. */
  1241. user = "Global";
  1242.  
  1243. /* (*)host
  1244. * The hostname used for this client.
  1245. */
  1246. host = "services.int";
  1247.  
  1248. /* (*)real
  1249. * The GECOS (real name) of the client.
  1250. */
  1251. real = "Network Announcements";
  1252. };
  1253.  
  1254. /* InfoServ configuration
  1255. *
  1256. * The infoserv {} block contains settings specific to the InfoServ module.
  1257. *
  1258. * The InfoServ modules provides the ability to mass-notify a network and send
  1259. * news to users when they connect to the network.
  1260. */
  1261. infoserv {
  1262. /* (*)nick
  1263. * Sets the nick used for InfoServ and sending out informational messages.
  1264. */
  1265. nick = "InfoServ";
  1266.  
  1267. /* (*)user
  1268. * Sets the username used for this client.
  1269. */
  1270. user = "InfoServ";
  1271.  
  1272. /* (*)host
  1273. * The hostname used for this client,
  1274. */
  1275. host = "services.int";
  1276.  
  1277. /* (*)real
  1278. * The GECOS (real name) of the client.
  1279. */
  1280. real = "Information Service";
  1281.  
  1282. /* (*)logoninfo_count
  1283. * The number of InfoServ messages a user will see upon connect.
  1284. * If there are more than this number, the user will be able to
  1285. * see the rest with /msg infoserv list .
  1286. */
  1287. logoninfo_count = 3;
  1288. };
  1289.  
  1290. /* OperServ configuration.
  1291. *
  1292. * The operserv {} block contains settings specific to the OperServ modules.
  1293. *
  1294. * OperServ provides essential network management tools for IRC operators
  1295. * on the IRC network.
  1296. */
  1297. operserv {
  1298. /* (*)nick
  1299. * The nickname we want the Operator Service to have.
  1300. */
  1301. nick = "OperServ";
  1302.  
  1303. /* (*)user
  1304. * Sets the username used for this client.
  1305. */
  1306. user = "OperServ";
  1307.  
  1308. /* (*)host
  1309. * The hostname used for this client.
  1310. */
  1311. host = "services.int";
  1312.  
  1313. /* (*)real
  1314. * The GECOS (real name) of the client.
  1315. */
  1316. real = "Operator Services";
  1317.  
  1318. /* (*)aliases
  1319. * Command aliases for OperServ.
  1320. */
  1321. aliases {
  1322. };
  1323.  
  1324. /* (*)access
  1325. * Command access changes for OperServ.
  1326. */
  1327. access {
  1328. };
  1329. };
  1330.  
  1331. /* SaslServ configuration.
  1332. *
  1333. * The saslserv {} block contains settings specific to the SaslServ modules.
  1334. *
  1335. * SaslServ provides an authentication agent which is compatible with the
  1336. * SASL over IRC (SASL/IRC) protocol extension.
  1337. */
  1338. saslserv {
  1339. /* (*)nick
  1340. * The nickname we want SaslServ to have.
  1341. */
  1342. nick = "SaslServ";
  1343.  
  1344. /* (*)user
  1345. * The username we want SaslServ to have.
  1346. */
  1347. user = "SaslServ";
  1348.  
  1349. /* (*)host
  1350. * The hostname we want SaslServ to have.
  1351. */
  1352. host = "services.int";
  1353.  
  1354. /* (*)real
  1355. * The realname (gecos) information we want SaslServ to have.
  1356. */
  1357. real = "SASL Authentication Agent";
  1358. };
  1359.  
  1360. /* MemoServ configuration.
  1361. *
  1362. * The memoserv {} block contains settings specific to the MemoServ modules.
  1363. *
  1364. * MemoServ provides a note-taking service that you can use to send notes
  1365. * to offline users (provided they are registered with Services).
  1366. */
  1367. memoserv {
  1368. /* (*)nick
  1369. * The nickname we want MemoServ to have.
  1370. */
  1371. nick = "MemoServ";
  1372.  
  1373. /* (*)user
  1374. * The username we want MemoServ to have.
  1375. */
  1376. user = "MemoServ";
  1377.  
  1378. /* (*)host
  1379. * The hostname we want MemoServ to have.
  1380. */
  1381. host = "services.int";
  1382.  
  1383. /* (*)real
  1384. * The realname (gecos) information we want MemoServ to have.
  1385. */
  1386. real = "Memo Services";
  1387.  
  1388. /* (*)aliases
  1389. * Command aliases for MemoServ.
  1390. */
  1391. aliases {
  1392. };
  1393.  
  1394. /* (*)access
  1395. * Command access changes for MemoServ.
  1396. */
  1397. access {
  1398. };
  1399. };
  1400.  
  1401. /* GameServ configuration.
  1402. *
  1403. * The gameserv {} block contains settings specific to the GameServ modules.
  1404. *
  1405. * GameServ provides various in-channel commands for games.
  1406. */
  1407. gameserv {
  1408. /* (*)nick
  1409. * The nickname we want GameServ to have.
  1410. */
  1411. nick = "GameServ";
  1412.  
  1413. /* (*)user
  1414. * Sets the username used for this client.
  1415. */
  1416. user = "GameServ";
  1417.  
  1418. /* (*)host
  1419. * The hostname used for this client.
  1420. */
  1421. host = "services.int";
  1422.  
  1423. /* (*)real
  1424. * The GECOS (real name) of the client.
  1425. */
  1426. real = "Game Services";
  1427.  
  1428. /* (*)aliases
  1429. * Command aliases for GameServ.
  1430. */
  1431. aliases {
  1432. };
  1433.  
  1434. /* (*)access
  1435. * Command access changes for GameServ.
  1436. */
  1437. access {
  1438. };
  1439. };
  1440.  
  1441. /* RPGServ configuration.
  1442. *
  1443. * The rpgserv {} block contains settings specific to the RPGServ modules.
  1444. *
  1445. * RPGServ provides a facility for finding roleplaying channels.
  1446. */
  1447. rpgserv {
  1448. /* (*)nick
  1449. * The nickname we want GameServ to have.
  1450. */
  1451. nick = "RPGServ";
  1452.  
  1453. /* (*)user
  1454. * Sets the username used for this client.
  1455. */
  1456. user = "RPGServ";
  1457.  
  1458. /* (*)host
  1459. * The hostname used for this client.
  1460. */
  1461. host = "services.int";
  1462.  
  1463. /* (*)real
  1464. * The GECOS (real name) of the client.
  1465. */
  1466. real = "RPG Finding Services";
  1467.  
  1468. /* (*)aliases
  1469. * Command aliases for GameServ.
  1470. */
  1471. aliases {
  1472. };
  1473.  
  1474. /* (*)access
  1475. * Command access changes for GameServ.
  1476. */
  1477. access {
  1478. };
  1479. };
  1480.  
  1481. /* BotServ configuration.
  1482. *
  1483. * The botserv {} block contains settings specific to the BotServ modules.
  1484. *
  1485. * BotServ provides virtual channel bots.
  1486. */
  1487. botserv {
  1488. /* (*)nick
  1489. * The nickname we want BotServ to have.
  1490. */
  1491. nick = "BotServ";
  1492.  
  1493. /* (*)user
  1494. * Sets the username used for this client.
  1495. */
  1496. user = "BotServ";
  1497.  
  1498. /* (*)host
  1499. * The hostname used for this client.
  1500. */
  1501. host = "services.int";
  1502.  
  1503. /* (*)real
  1504. * The GECOS (real name) of the client.
  1505. */
  1506. real = "Bot Services";
  1507.  
  1508. /* (*)min_users
  1509. * Minimum number of users a channel must have before a Bot is allowed
  1510. * to be assigned to that channel.
  1511. */
  1512. min_users = 0;
  1513. };
  1514.  
  1515. /* GroupServ configuration.
  1516. *
  1517. * The groupserv {} block contains settings specific to the GroupServ modules.
  1518. *
  1519. * GroupServ provides features for managing a collection of channels at once.
  1520. *
  1521. */
  1522. groupserv {
  1523. /* (*)nick
  1524. * The nickname we want GroupServ to have.
  1525. */
  1526. nick = "GroupServ";
  1527.  
  1528. /* (*)user
  1529. * The username we want GroupServ to have.
  1530. */
  1531. user = "GroupServ";
  1532.  
  1533. /* (*)host
  1534. * The hostname we want GroupServ to have.
  1535. */
  1536. host = "services.int";
  1537.  
  1538. /* (*)real
  1539. * The realname (gecos) information we want GroupServ to have.
  1540. */
  1541. real = "Group Managment Services";
  1542.  
  1543. /* (*)aliases
  1544. * Command aliases for GroupServ.
  1545. */
  1546. aliases {
  1547. };
  1548.  
  1549. /* (*)access
  1550. * Command access changes for GroupServ.
  1551. */
  1552. access {
  1553. };
  1554.  
  1555. /* (*)maxgroups
  1556. * Maximum number of groups one username can be founder of.
  1557. */
  1558. maxgroups = 5;
  1559.  
  1560. /* (*)maxgroupacs
  1561. * Maximum number of access entries you may have in a group.
  1562. */
  1563. maxgroupacs = 100;
  1564.  
  1565. /* (*)enable_open_groups
  1566. * Setting this option will allow any group founder to mark
  1567. * their group as "anyone can join".
  1568. */
  1569. enable_open_groups;
  1570.  
  1571. /* (*)join_flags
  1572. * This is the GroupServ flagset that users who JOIN a open
  1573. * group will get upon join. Please check the groupserv/flags
  1574. * helpfile before changing this option. Valid flagsets (for
  1575. * example) would be: "+v" or "+cv". It is not valid to use
  1576. * minus flags (such as "-v") here.
  1577. */
  1578. join_flags = "+";
  1579. };
  1580.  
  1581. /* HostServ configuration.
  1582. *
  1583. * The hostserv {} block contains settings specific to the HostServ modules.
  1584. *
  1585. * HostServ provides advanced virtual host management.
  1586. */
  1587. hostserv {
  1588. /* (*)nick
  1589. * The nickname we want HostServ to have.
  1590. */
  1591. nick = "HostServ";
  1592.  
  1593. /* (*)user
  1594. * Sets the username used for this client.
  1595. */
  1596. user = "HostServ";
  1597.  
  1598. /* (*)host
  1599. * The hostname used for this client.
  1600. */
  1601. host = "services.int";
  1602.  
  1603. /* (*)real
  1604. * The GECOS (real name) of the client.
  1605. */
  1606. real = "Host Management Services";
  1607.  
  1608. /* (*)request_per_nick
  1609. * Whether the request system should work per nick or per account.
  1610. * The recommended setting is to leave this disabled, so that
  1611. * vhosts work as consistently as possible.
  1612. */
  1613. #request_per_nick;
  1614.  
  1615. /* (*)aliases
  1616. * Command aliases for HostServ.
  1617. */
  1618. aliases {
  1619. "APPROVE" = "ACTIVATE";
  1620. "DENY" = "REJECT";
  1621. };
  1622.  
  1623. /* (*)access
  1624. * Command access changes for HostServ.
  1625. */
  1626. access {
  1627. };
  1628. };
  1629.  
  1630. /* HelpServ configuration
  1631. *
  1632. * The helpserv {} block contains settings specific to the HelpServ modules.
  1633. *
  1634. * HelpServ adds a few different ways for users to request help from network staff.
  1635. */
  1636. helpserv {
  1637. /* (*)nick
  1638. * The nickname we want HelpServ to have.
  1639. */
  1640. nick = "HelpServ";
  1641.  
  1642. /* (*)user
  1643. * The username we want HelpServ to have.
  1644. */
  1645. user = "HelpServ";
  1646.  
  1647. /* (*)host
  1648. * The hostname we want HelpServ to have.
  1649. */
  1650. host = "services.int";
  1651.  
  1652. /* (*)real
  1653. * The realname (gecos) information we want HelpServ to have.
  1654. */
  1655. real = "Help Services";
  1656. };
  1657.  
  1658. /* StatServ configuration
  1659. *
  1660. * The statserv {} block contains settings specific to the StatServ modules.
  1661. *
  1662. * StatServ adds basic stats and split tracking.
  1663. */
  1664. statserv {
  1665. /* (*)nick
  1666. * The nickname we want StatServ to have.
  1667. */
  1668. nick = "StatServ";
  1669.  
  1670. /* (*)user
  1671. * The username we want StatServ to have.
  1672. */
  1673. user = "StatServ";
  1674.  
  1675. /* (*)host
  1676. * The hostname we want StatServ to have.
  1677. */
  1678. host = "services.int";
  1679.  
  1680. /* (*)real
  1681. * The realname (gecos) information we want StatServ to have.
  1682. */
  1683. real = "Statistics Services";
  1684. };
  1685.  
  1686. /* ALIS configuration.
  1687. *
  1688. * The alis {} block contains settings specific to the ALIS modules.
  1689. */
  1690. alis {
  1691. /* (*)nick
  1692. * The nickname we want ALIS to have.
  1693. */
  1694. nick = "ALIS";
  1695.  
  1696. /* (*)user
  1697. * The username we want ALIS to have.
  1698. */
  1699. user = "alis";
  1700.  
  1701. /* (*)host
  1702. * The hostname we want ALIS to have.
  1703. */
  1704. host = "services.int";
  1705.  
  1706. /* (*)real
  1707. * The realname (gecos) information we want ALIS to have.
  1708. */
  1709. real = "Channel Directory";
  1710. };
  1711.  
  1712. /* HTTP server configuration.
  1713. *
  1714. * The httpd {} block contains settings specific to the HTTP server module.
  1715. *
  1716. * The HTTP server in Services is used for serving XMLRPC requests. It can
  1717. * also serve static documents and statistics pages.
  1718. */
  1719. httpd {
  1720. /* host
  1721. * The host that the HTTP server will listen on.
  1722. * Use 0.0.0.0 if you want to listen on all available hosts.
  1723. */
  1724. host = "0.0.0.0";
  1725.  
  1726. /* host (ipv6)
  1727. * If you want, you can have Atheme listen on an IPv6 host too.
  1728. * Use :: if you want to listen on all available IPv6 hosts.
  1729. */
  1730. #host = "::";
  1731.  
  1732. /* www_root
  1733. * The directory that contains the files that should be served by the httpd.
  1734. */
  1735. www_root = "/var/www";
  1736.  
  1737. /* port
  1738. * The port that the HTTP server will listen on.
  1739. */
  1740. port = 8080;
  1741. };
  1742.  
  1743. /* LDAP configuration.
  1744. *
  1745. * The ldap {} block contains settings specific to the LDAP authentication
  1746. * module.
  1747. */
  1748. ldap {
  1749. /* (*)url
  1750. * LDAP URL of the server to use.
  1751. */
  1752. url = "ldap://127.0.0.1";
  1753.  
  1754. /* (*)dnformat
  1755. * Format string to convert an account name to an LDAP DN.
  1756. * Must contain exactly one %s which will be replaced by the account
  1757. * name.
  1758. * Services will attempt a simple bind with this DN and the given
  1759. * password; if this is successful the password is considered correct.
  1760. */
  1761. dnformat = "cn=%s,dc=jillestest,dc=com";
  1762. };
  1763.  
  1764. /******************************************************************************
  1765. * LOGGING SECTION. *
  1766. ******************************************************************************/
  1767.  
  1768. /*
  1769. * logfile{} blocks can be used to set up log files other than the master
  1770. * logfile used by services, which is controlled by serverinfo::loglevel.
  1771. *
  1772. * The various logging categories are:
  1773. * debug, all - meta-keyword for all possible categories
  1774. * trace - meta-keyword for a little bit of info
  1775. * misc - like trace, but with some more miscillaneous info
  1776. * notice - meta-keyword for notice-like information
  1777. * ------------------------------------------------------------------------------
  1778. * error - critical errors
  1779. * info - miscillaneous log notices
  1780. * verbose - A bit more verbose than info, not quite as spammy as debug
  1781. * commands - all command use
  1782. * admin - administrative command use
  1783. * register - account and channel registrations
  1784. * set - changes of account or channel settings
  1785. * request - user requests (currently only vhosts)
  1786. * network - log notices related to network status
  1787. * rawdata - log raw data sent and received by services
  1788. * wallops - <not yet used>
  1789. */
  1790.  
  1791. /*
  1792. * This block logs all account and channel registrations and drops,
  1793. * and account and channel setting changes to var/account.log.
  1794. */
  1795. logfile "var/account.log" { register; set; };
  1796.  
  1797. /*
  1798. * This block logs all command use to var/commands.log.
  1799. */
  1800. logfile "var/commands.log" { commands; };
  1801.  
  1802. /*
  1803. * You can log to IRC channels, and even split it by category, too.
  1804. * This entry provides roughly the same functionality as the old snoop
  1805. * feature.
  1806. */
  1807. logfile "#services" { error; info; admin; request; register; };
  1808.  
  1809. /******************************************************************************
  1810. * GENERAL PARAMETERS CONFIGURATION SECTION. *
  1811. ******************************************************************************/
  1812.  
  1813. /* The general {} block defines general configuration options. */
  1814. general {
  1815.  
  1816. /* (*)helpchan
  1817. * Network help channel. Shown to users when they request
  1818. * help for a command that doesn't exist.
  1819. */
  1820. #helpchan = "#help";
  1821.  
  1822. /* (*)helpurl
  1823. * Network webpage for services help. Shown to users when they
  1824. * request help for a command that doesn't exist.
  1825. */
  1826. #helpurl = "http://www.stack.nl/~jilles/irc/atheme-help/";
  1827.  
  1828. /* (*)silent
  1829. * If you want to prevent services from sending
  1830. * WALLOPS/GLOBOPS about things uncomment this.
  1831. * Not recommended.
  1832. */
  1833. #silent;
  1834.  
  1835. /* (*)verbose_wallops
  1836. * If you want services to send you more information about
  1837. * events that are occuring (in particular AKILLs), uncomment the
  1838. * directive below.
  1839. *
  1840. * WARNING! This may result in large amounts of wallops/globops
  1841. * floods.
  1842. */
  1843. #verbose_wallops;
  1844.  
  1845. /* (*)join_chans
  1846. * Should ChanServ be allowed to join registered channels?
  1847. * This option is useful for the fantasy command set.
  1848. *
  1849. * If enabled, you can tell ChanServ to join via SET GUARD ON.
  1850. *
  1851. * If you use ircu-like ircd (asuka, bircd, undernet), you must
  1852. * leave this enabled, and put guard in default cflags.
  1853. *
  1854. * For ratbox it is recommended to leave it on and put guard in
  1855. * default cflags, in order that ChanServ does not have to join/part
  1856. * to do certain things. On the other hand, enabling this increases
  1857. * potential for bots fighting with ChanServ.
  1858. *
  1859. * Regardless of this option, ChanServ will temporarily join
  1860. * channels which would otherwise be empty if necessary to enforce
  1861. * akick/restricted/close, and to change the TS if changets is
  1862. * enabled.
  1863. */
  1864. join_chans;
  1865.  
  1866. /* (*)leave_chans
  1867. * Do we leave registered channels after everyone else has left?
  1868. * Turning this off serves little purpose, except to mark "official"
  1869. * network channels by keeping them open, and to preserve the
  1870. * topic and +beI lists.
  1871. */
  1872. leave_chans;
  1873.  
  1874. /* secure
  1875. * Do you want to require the use of /msg <service>@<services host>?
  1876. * Turning this on helps protect against spoofers, but is disabled
  1877. * as most networks do not presently use it.
  1878. */
  1879. #secure;
  1880.  
  1881. /* (*)uflags
  1882. * The default flags to set for usernames upon registration.
  1883. * Valid values are: hold, neverop, noop, hidemail, nomemo, emailmemos,
  1884. * enforce, privmsg, private, quietchg and none.
  1885. */
  1886. uflags = { hidemail; };
  1887.  
  1888. /* (*)cflags
  1889. * The default flags to set for channels upon registration.
  1890. * Valid values are: hold, secure, verbose, verbose_ops, keeptopic,
  1891. * topiclock, guard, private, nosync, limitflags and none.
  1892. */
  1893. cflags = { verbose; guard; };
  1894.  
  1895. /* (*)raw
  1896. * Do you want to allow SRAs to use the RAW and INJECT commands?
  1897. * These commands are for debugging. If you don't know how to use them
  1898. * then don't enable them. They are not supported.
  1899. */
  1900. #raw;
  1901.  
  1902. /* (*)flood_msgs
  1903. * Do you want services to detect floods?
  1904. * Set to how many messages before a flood is triggered.
  1905. * Note that some messages that need a lot of processing count
  1906. * as two or four messages.
  1907. * If services receives `flood_msgs' within `flood_time' the user will
  1908. * trigger the flood protection.
  1909. * Setting this to zero disables flood protection.
  1910. */
  1911. flood_msgs = 7;
  1912.  
  1913. /* (*)flood_time
  1914. * Do you want services to detect floods?
  1915. * Set to how long before the counter resets.
  1916. * If services receives `flood_msgs' within `flood_time' the user will
  1917. * trigger the flood protection.
  1918. */
  1919. flood_time = 10;
  1920.  
  1921. /* (*)ratelimit_uses
  1922. * After how many uses of a command will users be throttled.
  1923. * After `ratelimit_uses' of a command within `ratelimit_period', users
  1924. * will not be able to run that ratelimited command until the period is up.
  1925. * Comment this, ratelimit_period below or both options out to disable rate limiting.
  1926. * Currently used in helpserv/helpme, helpserv/ticket, hostserv/request,
  1927. * nickserv/register and chanserv/register.
  1928. */
  1929. ratelimit_uses = 5;
  1930.  
  1931. /* (*)ratelimit_period
  1932. * After how much time (in seconds) will the ratelimit_uses counter reset.
  1933. * After `ratelimit_uses' of a command within `ratelimit_period', users
  1934. * will not be able to run that ratelimited command until the period is up.
  1935. * Comment this, ratelimit_uses above or both options out to disable rate limiting.
  1936. * Currently used in helpserv/helpme, helpserv/ticket, hostserv/request,
  1937. * nickserv/register and chanserv/register.
  1938. */
  1939. ratelimit_period = 60;
  1940.  
  1941. /* (*)kline_time
  1942. * The default expire time for KLINE's in days.
  1943. * Setting this to 0 makes all KLINE's permanent.
  1944. */
  1945. kline_time = 7;
  1946.  
  1947. /* (*)clone_time
  1948. * This is the default expiry time for CLONE exemptions in minutes.
  1949. * Setting this to 0 makes all CLONE exemptions permanent.
  1950. */
  1951. clone_time = 0;
  1952.  
  1953. /* commit_interval
  1954. * The time between database writes in minutes.
  1955. */
  1956. commit_interval = 5;
  1957.  
  1958. /* (*)default_clone_allowed
  1959. * The limit after which clones will be KILLed or TKLINEd.
  1960. * Used by operserv/clones.
  1961. */
  1962. default_clone_allowed = 5;
  1963.  
  1964. /* (*)default_clone_warn
  1965. * The limit after which clones will be warned that they may not
  1966. * have any more concurrent connections. Should be lower than
  1967. * default_clone_allowed . Used by operserv/clones.
  1968. */
  1969. default_clone_warn = 4;
  1970.  
  1971. /* (*)clone_identified_increase_limit
  1972. * If this option is enabled, the clone limit for a IP/host will
  1973. * be increased by 1 per clone that's identified to services.
  1974. * This has a limit of double the clone limits above.
  1975. */
  1976. clone_identified_increase_limit;
  1977.  
  1978. /* (*)uplink_sendq_limit
  1979. * The maximum amount of data that may be queued to be sent
  1980. * to the uplink, in bytes. This should be enough to contain
  1981. * Atheme's response to the netburst, but smaller than the
  1982. * IRCd's sendq limit for servers.
  1983. */
  1984. uplink_sendq_limit = 1048576;
  1985.  
  1986. /* (*)language
  1987. * Language to use for channel and oper messages and as default
  1988. * for users.
  1989. */
  1990. language = "en";
  1991.  
  1992. /* exempts
  1993. * This block contains a list of user@host masks. Users matching any
  1994. * of these will not be automatically K:lined by services.
  1995. */
  1996. exempts {
  1997. };
  1998.  
  1999. /* allow_taint
  2000. * By enabling this option, Atheme will run in configurations where
  2001. * the upstream will not provide support. By enabling this feature,
  2002. * you void any perceived rights to support.
  2003. */
  2004. #allow_taint;
  2005.  
  2006. /* (*)immune_level
  2007. * This option allows you to customize the operlevel which gets kick
  2008. * immunity privileges.
  2009. *
  2010. * The following flags are available:
  2011. * immune - require whatever ircd usermode is needed for kick
  2012. * immunity (this is the default);
  2013. * admin - require admin privileges for kick immunity
  2014. * ircop - require any ircop privileges for kick immunity (umode +o)
  2015. */
  2016. immune_level = immune;
  2017. };
  2018.  
  2019. /******************************************************************************
  2020. * OPERATOR AND PRIVILEGES CONFIGURATION SECTION. *
  2021. ******************************************************************************/
  2022.  
  2023. /* Operator configuration
  2024. * See the PRIVILEGES document for more information.
  2025. * NOTE: All changes apply immediately upon rehash. You may need
  2026. * to send a signal (killall -HUP atheme-services) to regain control.
  2027. */
  2028. /* (*) Operclasses specify groups of services operator privileges */
  2029.  
  2030. /* The "ircop" operclass specifies privileges all IRCops get.
  2031. * This may be empty in which case IRCops get no privs.
  2032. * At least chan:cmodes, chan:joinstaffonly and general:auspex are suggested.
  2033. */
  2034. operclass "ircop" {
  2035. privs {
  2036. special:ircop;
  2037. };
  2038.  
  2039. privs {
  2040. user:auspex;
  2041. user:admin;
  2042. user:sendpass;
  2043. user:vhost;
  2044. user:mark;
  2045. };
  2046.  
  2047. privs {
  2048. chan:auspex;
  2049. chan:admin;
  2050. chan:cmodes;
  2051. chan:joinstaffonly;
  2052. };
  2053.  
  2054. privs {
  2055. general:auspex;
  2056. general:helper;
  2057. general:viewprivs;
  2058. general:flood;
  2059. };
  2060.  
  2061. privs {
  2062. operserv:omode;
  2063. operserv:akill;
  2064. operserv:jupe;
  2065. operserv:global;
  2066. };
  2067.  
  2068. privs {
  2069. group:auspex;
  2070. group:admin;
  2071. };
  2072. };
  2073.  
  2074. operclass "sra" {
  2075. /* You can inherit privileges from a lower operclass. */
  2076. extends "ircop";
  2077.  
  2078. privs {
  2079. user:hold;
  2080. user:regnolimit;
  2081. };
  2082.  
  2083. privs {
  2084. general:metadata;
  2085. general:admin;
  2086. };
  2087.  
  2088. privs {
  2089. #operserv:massakill;
  2090. #operserv:akill-anymask;
  2091. operserv:noop;
  2092. operserv:grant;
  2093. #operserv:override;
  2094. };
  2095.  
  2096. /* needoper
  2097. * Only grant privileges to IRC users in this oper class if they
  2098. * are opered; other use of privilege (channel succession, XMLRPC,
  2099. * etc.) is unaffected by this.
  2100. */
  2101. needoper;
  2102. };
  2103.  
  2104.  
  2105. /* (*) Operator blocks specify accounts with certain privileges
  2106. * Oper classes must be defined before they are used in operator blocks.
  2107. */
  2108. operator "jilles" {
  2109. /* operclass */
  2110. operclass = "sra";
  2111. /* password
  2112. * Normally, the user needs to identify/log in using the account's
  2113. * password, and may need to be an IRCop (see operclass::needoper
  2114. * above). If you consider this not secure enough, you can
  2115. * specify an additional password here, which the user must enter
  2116. * using the OperServ IDENTIFY command, before the privileges can
  2117. * be used.
  2118. * The password must be encrypted if a crypto module is in use.
  2119. */
  2120. #password = "$1$3gJMO9by$0G60YE6GqmuHVH3AnFPor1";
  2121. };
  2122.  
  2123. /******************************************************************************
  2124. * INCLUDE CONFIGURATION SECTION. *
  2125. ******************************************************************************/
  2126.  
  2127. /* You may also specify other files for inclusion.
  2128. * For example:
  2129. *
  2130. * include "etc/sras.conf";
  2131. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement