Public paste
pwn
By: GaLiL | Date: Jul 12 2007 14:59 | Format: None | Expires: never | Size: 37.13 KB | Hits: 1778

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