Advertisement
Guest User

xtheme.conf

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