Advertisement
Guest User

Atheme

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