Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loadmodule "modules/protocol/inspircd12";
- #loadmodule "modules/backend/flatfile";
- #loadmodule "modules/crypto/posix";
- loadmodule "modules/nickserv/main";
- #loadmodule "modules/nickserv/access";
- loadmodule "modules/nickserv/drop";
- loadmodule "modules/nickserv/ghost";
- loadmodule "modules/nickserv/group";
- loadmodule "modules/nickserv/help";
- loadmodule "modules/nickserv/hold";
- loadmodule "modules/nickserv/identify";
- loadmodule "modules/nickserv/info";
- loadmodule "modules/nickserv/list";
- loadmodule "modules/nickserv/listmail";
- #loadmodule "modules/nickserv/login";
- loadmodule "modules/nickserv/logout";
- loadmodule "modules/nickserv/mark";
- loadmodule "modules/nickserv/freeze";
- loadmodule "modules/nickserv/listchans";
- loadmodule "modules/nickserv/register";
- loadmodule "modules/nickserv/resetpass";
- loadmodule "modules/nickserv/return";
- loadmodule "modules/nickserv/sendpass";
- loadmodule "modules/nickserv/set";
- loadmodule "modules/nickserv/set_accountname";
- #loadmodule "modules/nickserv/set_privmsg";
- #loadmodule "modules/nickserv/set_private";
- loadmodule "modules/nickserv/setpass";
- #loadmodule "modules/nickserv/subscribe";
- #loadmodule "modules/nickserv/enforce";
- loadmodule "modules/nickserv/status";
- loadmodule "modules/nickserv/taxonomy";
- loadmodule "modules/nickserv/verify";
- loadmodule "modules/nickserv/vhost";
- loadmodule "modules/chanserv/main";
- loadmodule "modules/chanserv/akick";
- loadmodule "modules/chanserv/ban";
- #loadmodule "modules/chanserv/unban_self";
- loadmodule "modules/chanserv/close";
- loadmodule "modules/chanserv/clear";
- loadmodule "modules/chanserv/clear_bans";
- loadmodule "modules/chanserv/clear_users";
- loadmodule "modules/chanserv/count";
- loadmodule "modules/chanserv/drop";
- #loadmodule "modules/chanserv/fflags";
- loadmodule "modules/chanserv/flags";
- loadmodule "modules/chanserv/ftransfer";
- loadmodule "modules/chanserv/getkey";
- loadmodule "modules/chanserv/halfop";
- loadmodule "modules/chanserv/help";
- loadmodule "modules/chanserv/hold";
- loadmodule "modules/chanserv/info";
- loadmodule "modules/chanserv/invite";
- loadmodule "modules/chanserv/kick";
- loadmodule "modules/chanserv/list";
- loadmodule "modules/chanserv/mark";
- loadmodule "modules/chanserv/op";
- #loadmodule "modules/chanserv/quiet";
- loadmodule "modules/chanserv/recover";
- loadmodule "modules/chanserv/register";
- loadmodule "modules/chanserv/set";
- #loadmodule "modules/chanserv/set_private";
- loadmodule "modules/chanserv/status";
- loadmodule "modules/chanserv/taxonomy";
- loadmodule "modules/chanserv/template";
- loadmodule "modules/chanserv/topic";
- loadmodule "modules/chanserv/voice";
- loadmodule "modules/chanserv/why";
- #loadmodule "modules/chanserv/xop";
- loadmodule "modules/operserv/main";
- loadmodule "modules/operserv/akill";
- #loadmodule "modules/operserv/clearchan";
- #loadmodule "modules/operserv/clones";
- loadmodule "modules/operserv/compare";
- loadmodule "modules/operserv/help";
- loadmodule "modules/operserv/identify";
- loadmodule "modules/operserv/ignore";
- loadmodule "modules/operserv/jupe";
- loadmodule "modules/operserv/mode";
- loadmodule "modules/operserv/modinspect";
- loadmodule "modules/operserv/modlist";
- loadmodule "modules/operserv/modload";
- loadmodule "modules/operserv/modunload";
- loadmodule "modules/operserv/noop";
- #loadmodule "modules/operserv/rakill";
- loadmodule "modules/operserv/rehash";
- loadmodule "modules/operserv/restart";
- loadmodule "modules/operserv/rmatch";
- loadmodule "modules/operserv/rnc";
- loadmodule "modules/operserv/rwatch";
- loadmodule "modules/operserv/shutdown";
- #loadmodule "modules/operserv/soper";
- loadmodule "modules/operserv/specs";
- loadmodule "modules/operserv/update";
- loadmodule "modules/operserv/uptime";
- loadmodule "modules/memoserv/main";
- loadmodule "modules/memoserv/help";
- loadmodule "modules/memoserv/send";
- loadmodule "modules/memoserv/sendops";
- loadmodule "modules/memoserv/list";
- loadmodule "modules/memoserv/read";
- loadmodule "modules/memoserv/forward";
- loadmodule "modules/memoserv/delete";
- loadmodule "modules/memoserv/ignore";
- loadmodule "modules/global/main";
- loadmodule "modules/backend/opensex";
- serverinfo {
- /* name
- * The server name that this program uses on the IRC network.
- * This is the name you'll have to use in C:/N:Lines. It must be
- * unique on the IRC network and contain at least one dot, but does
- * not have to be equal to any DNS name.
- */
- name = "irc.undergroundirc.de";
- /* desc
- * The ``server comment'' we send to the IRC network.
- * If you want server hiding, prefix your desc with "(H)"
- */
- desc = "Atheme IRC Services";
- /* numeric
- * Some protocol drivers (Charybdis, Ratbox2, Hybrid, P10, IRCNet)
- * require a server id, also known as a numeric. Please consult your
- * ircd's documentation when providing this value.
- */
- numeric = "00A";
- /* (*)recontime
- * The number of seconds before we reconnect to the uplink.
- */
- recontime = 10;
- /* (*)netname
- * The name of your network.
- */
- netname = "UndergroundIRC";
- /* (*)hidehostsuffix
- * P10 +x host hiding gives <account>.<hidehostsuffix>.
- * If using +x on asuka/bircd/undernet, this must agree
- * with F:HIDDEN_HOST.
- */
- hidehostsuffix = "users.misconfigured";
- /* (*)adminname
- * The name of the person running this service.
- */
- adminname = "Blokky";
- /* (*)adminemail
- * The email address of the person running this service.
- */
- adminemail = "ircops@undergroundirc.de";
- /* (*)mta
- * The full path to your mail transfer agent.
- * This is used for email authorization and password retrieval.
- * Comment this out to disable sending email.
- * Warning: sending email can disclose the IP of your services
- * unless you take precautions (not discussed here further).
- */
- mta = "/usr/sbin/sendmail";
- /* (*)loglevel
- * Specify the default categories of logging information to record
- * in the master Atheme logfile, usually var/atheme.log.
- *
- * Options include:
- * debug, all - meta-keyword for all possible categories
- * trace - meta-keyword for a little bit of info
- * misc - like trace, but with some more miscillaneous info
- * notice - meta-keyword for notice-like information
- * ------------------------------------------------------------------------------
- * error - critical errors
- * info - miscillaneous log notices
- * commands - all command use
- * admin - administrative command use
- * register - account and channel registrations
- * set - changes of account or channel settings
- * network - log notices related to network status
- * rawdata - log raw data sent and received by services
- * wallops - <not yet used>
- */
- loglevel = { error; info; admin; network; wallops; };
- /* (*)maxlogins
- * What is the maximum number of sessions allowed to login to one
- * username? This reduces potential abuse. It is only checked on login.
- */
- maxlogins = 5;
- /* (*)maxusers
- * What are the maximum usernames that one email address can register?
- */
- maxusers = 5;
- /* (*)maxnicks
- * If GROUP is loaded, what are the maximum nicknames that one
- * username can register?
- */
- maxnicks = 5;
- /* (*)maxchans
- * What are the maximum channels that one username can register?
- */
- maxchans = 5;
- /* (*)mdlimit
- * How many metadata entries can be added to an object?
- */
- mdlimit = 30;
- /* (*)emaillimit, emailtime
- * The maximum number of emails allowed to be sent in
- * that amount of time (seconds). If this is exceeded,
- * wallops will be sent, at most one per minute.
- */
- emaillimit = 10;
- emailtime = 300;
- /* (*)auth
- * What type of username registration authorization do you want?
- * If "email," Atheme will send a confirmation email to the address to
- * ensure it's valid. If "none," no message will be sent and the username
- * will be fully registered.
- * Valid values are: email, none.
- */
- auth = none;
- /* casemapping
- * Specify the casemapping to use. Almost all TSora (and any that follow
- * the RFC correctly) ircds will use rfc1459 casemapping. Bahamut, Unreal,
- * and other ``Dalnet'' ircds will use ascii casemapping.
- * Valid values are: rfc1459, ascii.
- */
- casemapping = rfc1459;
- };
- uplink "services.undergroundirc.de" {
- // the server name goes above
- // host
- // The hostname to connect to.
- host = "80.246.59.186";
- // vhost
- // The source IP to connect from, used on machines with multiple interfaces.
- #vhost = "202.119.187.31";
- // password
- // The password used for linking.
- password = "service_server";
- // port
- // The port used for linking.
- port = 7001;
- };
- /* NickServ configuration.
- *
- * The nickserv {} block contains settings specific to the NickServ modules.
- *
- * NickServ provides nickname or username registration and authentication
- * services. It provides necessary authentication features required for
- * Services to operate correctly. You should make sure these settings
- * are properly configured for your network.
- */
- nickserv {
- // If you want NickServ to tell people about how great it is, enable the directive
- // below.
- spam;
- /* no_nick_ownership
- * Enable this to disable nickname ownership (old userserv{}).
- * This changes changes "nickname" to "account" in most messages,
- * disables GHOST on users not logged in to the same account and
- * makes the spam directive ineffective.
- * It is suggested that the nick be set to UserServ, login.so
- * be loaded instead of identify.so and ghost.so not be loaded.
- */
- #no_nick_ownership;
- /* (*)nick
- * The nickname we want NickServ to have.
- */
- nick = "NickServ";
- /* user
- * The username we want NickServ to have.
- */
- user = "NickServ";
- /* host
- * The hostname we want NickServ to have.
- */
- host = "services.int";
- /* real
- * The realname (gecos) information we want NickServ to have.
- */
- real = "Nickname Services";
- /* (*)expire
- * The number of days before inactive registrations are expired.
- */
- expire = 30;
- };
- /* ChanServ configuration.
- *
- * The chanserv {} block contains settings specific to the ChanServ modules.
- *
- * ChanServ provides channel registration services, which allows users to own
- * channels. It is not required, but is strongly recommended.
- */
- chanserv {
- /* (*)nick
- * The nickname we want the client to have.
- */
- nick = "ChanServ";
- /* user
- * The username we want the client to have.
- */
- user = "ChanServ";
- /* host
- * The hostname we want the client to have.
- */
- host = "services.pcintelligence.nl";
- /* real
- * The GECOS of the client.
- */
- real = "Channel Services";
- /* fantasy
- * Do you want to enable fantasy commands? This can
- * use a lot of CPU up, and will only work if you have
- * join_chans (in general) enabled as well.
- */
- fantasy;
- /* (*) ca_xop
- * Defines what flags the xop access levels comprise.
- * These should all be different and not equal to the empty set,
- * except that hop may be equal to vop to disable hop.
- * Each subsequent level should have more flags (except +VHO).
- * For optimal functioning of /cs forcexop, aop should not have
- * any of +sRf, hop should not have any of +sRfoOr and vop should
- * not have any of +sRfoOrhHt.
- * If this is not specified, the values of Atheme 0.3 are used,
- * which are generally less intuitive than these.
- * Note: changing these leaves the flags of existing channel access
- * entries unchanged, thus removing them of the view of /cs xop list.
- * Usually the channel founder can use /cs forcexop to update the
- * entries to the new levels.
- */
- vop = "+VA";
- hop = "+vVhHtA";
- aop = "+vhoOtriA";
- sop = "+vhoOtrsifA";
- /* (*) deftemplates
- * Defines default templates to set on new channels, as a
- * space-separated list of name=+flags pairs.
- * Note: at this time no syntax checking is done on this; it
- * is your own responsibility to make sure it is correct.
- */
- #deftemplates = "MEMBER=+iA OP=+voOtriA";
- /* (*) changets
- * Change the channel TS to the registration time when someone
- * recreates a registered channel, ensuring that they are deopped
- * and all their modes are undone. Note that this involves ChanServ
- * joining. When the channel was not recreated no deops will be done
- * (apart from the SECURE option).
- * This also solves the "join-mode" problem where someone recreates
- * a registered channel and then sets some modes before they are
- * deopped.
- * This is currently supported for charybdis, hybrid, ratbox,
- * bahamut and inspircd 1.1+. For charybdis, hybrid and ratbox
- * it only fully works with TS6, with TS5 bans and last-moment modes
- * will still apply.
- * (That can also be used to advantage, when first enabling this.)
- */
- #changets;
- /* (*) trigger
- * This setting allows you to change the trigger prefix for
- * ChanServ's in-channel command feature (disableable via chanserv::fantasy).
- * If no setting is provided, the default is used, which is "!".
- *
- * Other settings you could consider trying: ".", "~", "?", "`", "'".
- */
- trigger = "!";
- /* (*)expire
- * The number of days before inactive registrations are expired.
- */
- expire = 30;
- /* (*)maxchanacs
- * The maximum number of entries allowed in a channel's access list
- * (both channel ops and akicks), 0 for unlimited.
- */
- maxchanacs = 0;
- /* (*)maxfounders
- * The maximum number of founders allowed in a channel.
- * Note that all founders have the exact same privileges and
- * the list of founders is shown in various places.
- */
- maxfounders = 4;
- };
- /* Global noticing configuration.
- *
- * The global {} block contains settings specific to the Global notice modules.
- *
- * The Global notice modules provide the ability to mass-notify a network.
- */
- global {
- /* nick
- * Sets the nick used for sending out a global notice.
- */
- nick = "Global";
- /* user
- * Sets the username used for this client.
- */
- user = "Global";
- /* host
- * The hostname used for this client.
- */
- host = "services.int";
- /* real
- * The GECOS (real name) of the client.
- */
- real = "Network Announcements";
- };
- /* OperServ configuration.
- *
- * The operserv {} block contains settings specific to the OperServ modules.
- *
- * OperServ provides essential network management tools for IRC operators
- * on the IRC network.
- */
- operserv {
- /* nick
- * The nickname we want the Operator Service to have.
- */
- nick = "OperServ";
- /* user
- * Sets the username used for this client.
- */
- user = "OperServ";
- /* host
- * The hostname used for this client.
- */
- host = "services.int";
- /* real
- * The GECOS (real name) of the client.
- */
- real = "Operator Services";
- };
- /* SaslServ configuration.
- *
- * The saslserv {} block contains settings specific to the SaslServ modules.
- *
- * SaslServ provides an authentication agent which is compatible with the
- * SASL over IRC (SASL/IRC) protocol extension.
- */
- saslserv {
- /* (*)nick
- * The nickname we want SaslServ to have.
- */
- nick = "SaslServ";
- /* user
- * The username we want SaslServ to have.
- */
- user = "SaslServ";
- /* host
- * The hostname we want SaslServ to have.
- */
- host = "services.int";
- /* real
- * The realname (gecos) information we want SaslServ to have.
- */
- real = "SASL Authentication Agent";
- };
- /* MemoServ configuration.
- *
- * The memoserv {} block contains settings specific to the MemoServ modules.
- *
- * MemoServ provides a note-taking service that you can use to send notes
- * to offline users (provided they are registered with Services).
- */
- memoserv {
- /* (*)nick
- * The nickname we want MemoServ to have.
- */
- nick = "MemoServ";
- /* user
- * The username we want MemoServ to have.
- */
- user = "MemoServ";
- /* host
- * The hostname we want MemoServ to have.
- */
- host = "services.int";
- /* real
- * The realname (gecos) information we want MemoServ to have.
- */
- real = "Memo Services";
- };
- /* GameServ configuration.
- *
- * The gameserv {} block contains settings specific to the GameServ modules.
- *
- * GameServ provides various in-channel commands for games.
- */
- gameserv {
- /* nick
- * The nickname we want GameServ to have.
- */
- nick = "GameServ";
- /* user
- * Sets the username used for this client.
- */
- user = "GameServ";
- /* host
- * The hostname used for this client.
- */
- host = "services.int";
- /* real
- * The GECOS (real name) of the client.
- */
- real = "Game Services";
- };
- /* HTTP server configuration.
- *
- * The httpd {} block contains settings specific to the HTTP server module.
- *
- * The HTTP server in Services is used for serving XMLRPC requests. It can
- * also serve static documents and statistics pages.
- */
- /******************************************************************************
- * LOGGING SECTION. *
- ******************************************************************************/
- /*
- * logfile{} blocks can be used to set up log files other than the master
- * logfile used by services, which is controlled by serverinfo::loglevel.
- *
- * The various logging categories are:
- * debug, all - meta-keyword for all possible categories
- * trace - meta-keyword for a little bit of info
- * misc - like trace, but with some more miscillaneous info
- * notice - meta-keyword for notice-like information
- * ------------------------------------------------------------------------------
- * error - critical errors
- * info - miscillaneous log notices
- * commands - all command use
- * admin - administrative command use
- * register - account and channel registrations
- * set - changes of account or channel settings
- * network - log notices related to network status
- * rawdata - log raw data sent and received by services
- * wallops - <not yet used>
- */
- /*
- * This block logs all account and channel registrations and drops,
- * and account and channel setting changes to var/account.log.
- */
- logfile "var/account.log" { register; set; };
- /*
- * This block logs all command use to var/commands.log.
- */
- logfile "var/commands.log" { commands; };
- /******************************************************************************
- * GENERAL PARAMETERS CONFIGURATION SECTION. *
- ******************************************************************************/
- /* The general {} block defines general configuration options. */
- general {
- /* (*)chan
- * The channel the client joins and sends certain
- * messages to.
- * Comment to disable.
- */
- chan = "#services";
- /* (*)silent
- * If you want to prevent services from sending
- * WALLOPS/GLOBOPS about things uncomment this.
- * Not recommended.
- */
- #silent;
- /* (*)verbose_wallops
- * If you want services to send you more information about
- * events that are occuring (in particular AKILLs), uncomment the
- * directive below.
- *
- * WARNING! This may result in large amounts of wallops/globops
- * floods.
- */
- #verbose_wallops;
- /* (*)join_chans
- * Should ChanServ be allowed to join registered channels?
- * This option is useful for the fantasy command set.
- *
- * If enabled, you can tell ChanServ to join via SET GUARD ON.
- *
- * If you use ircu-like ircd (asuka, bircd, undernet), you must
- * leave this enabled, and put guard in default cflags.
- *
- * For ratbox it is recommended to leave it on and put guard in
- * default cflags, in order that ChanServ does not have to join/part
- * to do certain things. On the other hand, enabling this increases
- * potential for bots fighting with ChanServ.
- *
- * Regardless of this option, ChanServ will temporarily join
- * channels which would otherwise be empty if necessary to enforce
- * akick/staffonly/close, and to change the TS if changets is
- * enabled.
- */
- join_chans;
- /* (*)leave_chans
- * Do we leave registered channels after everyone else has left?
- * Turning this off serves little purpose, except to mark "official"
- * network channels by keeping them open, and to preserve the
- * topic and +beI lists.
- */
- leave_chans;
- /* secure
- * Do you want to require the use of /msg <service>@<services host>?
- * Turning this on helps protect against spoofers, but is disabled
- * as most networks do not presently use it.
- */
- #secure;
- /* (*)uflags
- * The default flags to set for usernames upon registration.
- * Valid values are: hold, neverop, noop, hidemail, nomemo, enforce,
- * privmsg, private and none.
- */
- uflags = { none; };
- /* (*)cflags
- * The default flags to set for channels upon registration.
- * Valid values are: hold, secure, verbose, verbose_ops, keeptopic,
- * topiclock, guard and none.
- */
- cflags = { verbose; guard; };
- /* (*)raw
- * Do you want to allow SRAs to use the RAW and INJECT commands?
- * These commands are for debugging. If you don't know how to use them
- * then don't enable them. They are not supported.
- */
- #raw;
- /* (*)flood_msgs
- * Do you want services to detect floods?
- * Set to how many messages before a flood is triggered.
- * If services receives `flood_msgs' within `flood_time' the user will
- * trigger the flood protection.
- * Setting this to zero disables flood protection.
- */
- flood_msgs = 7;
- /* (*)flood_time
- * Do you want services to detect floods?
- * Set to how long before the counter resets.
- * If services receives `flood_msgs' within `flood_time' the user will
- * trigger the flood protection.
- */
- flood_time = 10;
- /* (*)kline_time
- * The default expire time for KLINE's in days.
- * Setting this to 0 makes all KLINE's permanent.
- */
- kline_time = 7;
- /* commit_interval
- * The time between database writes in minutes.
- */
- commit_interval = 5;
- /* (*)default_clone_limit
- * The default clone limit used by operserv/clones.
- */
- default_clone_limit = 5;
- };
- /******************************************************************************
- * OPERATOR AND PRIVILEGES CONFIGURATION SECTION. *
- ******************************************************************************/
- /* Operator configuration
- * See the PRIVILEGES document for more information.
- * NOTE: All changes apply immediately upon rehash. You may need
- * to send a signal (killall -HUP atheme-services) to regain control.
- */
- /* (*) Operclasses specify groups of services operator privileges */
- operclass "sra" {
- /* You can have multiple privs {} blocks in an oper class.
- * This example uses multiple privs {} blocks to organize the privileges
- * granted to the operclass by category.
- */
- privs = {
- special:ircop;
- };
- privs = {
- user:auspex;
- user:admin;
- user:sendpass;
- user:vhost;
- user:mark;
- user:hold;
- user:regnolimit;
- };
- privs = {
- chan:auspex;
- chan:admin;
- chan:cmodes;
- chan:joinstaffonly;
- };
- privs = {
- general:auspex;
- general:viewprivs;
- general:flood;
- general:metadata;
- general:admin;
- };
- privs = {
- operserv:omode;
- operserv:akill;
- #operserv:massakill;
- #operserv:akill-anymask;
- operserv:jupe;
- operserv:noop;
- operserv:global;
- operserv:grant;
- };
- /* needoper
- * Only grant privileges to IRC users in this oper class if they
- * are opered; other use of privilege (channel succession, XMLRPC,
- * etc.) is unaffected by this.
- */
- needoper;
- };
- /* The "ircop" operclass specifies privileges all IRCops get.
- * This may be empty in which case IRCops get no privs.
- * At least chan:cmodes, chan:joinstaffonly and general:auspex are suggested.
- */
- operclass "ircop" {
- privs = {
- special:ircop;
- };
- privs = {
- user:auspex;
- user:admin;
- user:sendpass;
- user:vhost;
- user:mark;
- };
- privs = {
- chan:auspex;
- chan:admin;
- chan:cmodes;
- chan:joinstaffonly;
- };
- privs = {
- general:auspex;
- general:viewprivs;
- general:flood;
- };
- privs = {
- operserv:omode;
- operserv:akill;
- operserv:jupe;
- operserv:global;
- };
- };
- /* (*) Operator blocks specify accounts with certain privileges
- * Oper classes must be defined before they are used in operator blocks.
- */
- operator "jilles" {
- /* operclass */
- operclass = "sra";
- /* password
- * If specified, the user must use the OperServ IDENTIFY command
- * with the password before the privileges can be used.
- * The password must be encrypted if a crypto module is in use.
- */
- #password = "$1$3gJMO9by$0G60YE6GqmuHVH3AnFPor1";
- };
- /******************************************************************************
- * INCLUDE CONFIGURATION SECTION. *
- ******************************************************************************/
- /* You may also specify other files for inclusion.
- * For example:
- *
- * include "etc/sras.conf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement