SHARE
TWEET

Untitled

a guest Jan 24th, 2020 310 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org).
  3.  * $Id$
  4.  *
  5.  * Works for Unreal3.2 and up
  6.  *
  7.  * Okay guys.  This is the new example.conf. Its look is much like C++, kinda.
  8.  * Anyway it is time to go over this.  It's hard to pick up at first, but
  9.  * with some pratice and reading you'll understand.
  10.  *
  11.  * Just copy this file to your main unrealircd dir and call it 'unrealircd.conf'.
  12.  *
  13.  * NOTE:  All lines, except the opening { line, end in an ;, including the
  14.  * closing } line. The IRCd will ignore commented lines.
  15.  *
  16.  * PLEASE READ doc/unreal32docs.html! The online version is also available at:
  17.  * www.vulnscan.org/UnrealIRCd/unreal32docs.html
  18.  * It contains a lot information about the configfile: gives information about
  19.  * every block, variable, etc..
  20.  * If you try to edit this file without reading the documentation properly
  21.  * then you are pretty much guaranteed to fail!
  22.  */
  23.  
  24. /* Type of comments */
  25. #Comment type 1 (Shell type)
  26. // Comment type 2(C++ style)
  27. /* Comment type 3 (C Style) */
  28. #those lines are ignored by the ircd.
  29.  
  30. /*
  31.  * UnrealIRCd supports modules, loading some of them is required.
  32.  * You need at least the commands module and a cloaking module.
  33.  */
  34.  
  35. /* FOR *NIX, uncomment the following 2lines: */
  36. include "modules.default.conf";
  37. include "operclass.default.conf";
  38. /* NOTE: cloaking module is included in modules.default.conf */
  39. /* FOR Windows, uncomment the following 2 lines: */
  40. //loadmodule "modules/commands.dll";
  41. //loadmodule "modules/cloak.dll";
  42.  
  43. /*
  44.  * You can also include other configuration files.
  45.  * help.conf contains all the /helpop text. The badwords.*.conf
  46.  * files contain all the badword entries for mode +G...
  47.  * spamfilter.conf contains some good rules for current trojans.
  48.  * You probably want to include them:
  49.  */
  50. include "help/help.conf";
  51. /* all badwords are now in badwords.conf */
  52. include "badwords.conf";
  53. include "spamfilter.conf";
  54.  
  55. /*
  56.  * NEW: me {}
  57.  * OLD: M:Line
  58.  * me {} defines the name, description and unreal server numeric for
  59.  * this server. Syntax is as follows:
  60.  * me {
  61.  *  name "server.name";
  62.  *  info "Server Description";
  63.  *  numeric (server numeric*);
  64.  * };
  65.  * If linking, this numeric may not be used by any other server on the network.
  66.  */
  67. me {
  68.     name irc.chatlatin.org;
  69.     info "LATIN CHAT servidor";
  70.     sid 001;
  71. };
  72.  
  73. /*
  74.  * NEW: admin {}
  75.  * OLD: A:Line
  76.  * Admin gives information on the server admin. you
  77.  * may put as many lines under admin { as you wish.
  78.  * Syntax is as follows:
  79.  * admin {
  80.  *   "first line";
  81.  *   "second line";
  82.  *   [etc]
  83.  * };
  84.  */
  85. admin {
  86.     "Aaron Farias";
  87.     "Dark";
  88.     "Aaronfarias@att.net";
  89. };
  90.  
  91. /*
  92.  * NEW: class {}
  93.  * OLD: Y:line (old was confusing)
  94.  * These define settings for classes. A class is a group setting for
  95.  * connections. Example, server connections, instead of going to a client's
  96.  * class, you direct it to the server class. Syntax is as follows
  97.  * class (class name)
  98.  * {
  99.  *     pingfreq (how often to ping a user/server in seconds);
  100.  *     maxclients (how many connections for this class);
  101.  *     sendq (maximum send queue from a connection);
  102.  *     recvq (maximum receive queue from a connection [flood control]);
  103.  *  };
  104.  */
  105.  
  106. class           clients
  107. {
  108.     pingfreq 90;
  109.     maxclients 500;
  110.     sendq 100000;
  111.     recvq 8000;
  112. };
  113.  
  114. class           servers
  115. {
  116.     pingfreq 90;
  117.     maxclients 10;      /* Max servers we can have linked at a time */
  118.     sendq 1000000;
  119.     connfreq 100; /* How many seconds between each connection attempt */
  120. };
  121.  
  122. /*
  123.  * NEW: allow {}
  124.  * OLD: I:Line
  125.  * This defines allowing of connections...
  126.  * Basically for clients, it allows them to connect so you can have some
  127.  * control and/or set a password.
  128.  * Syntax is as follows:
  129.  * allow {
  130.  *    ip (ip mask to allow);
  131.  *    hostname (host mask);
  132.  *    class (class to send them to [see class {}]);
  133.  *    password "(password)"; (optional)
  134.  *    maxperip (how many connections per ip); (optional)
  135.  * };
  136.  */
  137.  
  138. allow {
  139.     ip "*@*";
  140.     class clients;
  141.     maxperip 65535;
  142. };
  143.  
  144. /* Passworded allow line */
  145. allow {
  146. /* CHANGED BY 3.2.x TO 4.0 CONF UPGRADE!! Was: ip *@255.255.255.255; hostname *@*.passworded.ugly.people; */
  147.     ip "*@255.255.255.255";
  148.     class clients;
  149.     maxperip 1;
  150.     password "f00Ness";
  151. };
  152.  
  153. /*
  154.  * NEW: allow channel {}
  155.  * OLD: chrestrict
  156.  * Allows a user to join a channel...
  157.  * like an except from deny channel.
  158.  * Syntax:
  159.  * allow channel {
  160.  *   channel "channel name";
  161.  *   class "clients"; (optional)
  162.  * };
  163.  */
  164. allow channel {
  165.     channel "#WarezSucks";
  166.     class "clients";
  167. };
  168.  
  169. /*
  170.  * NEW: oper {}
  171.  * OLD: O:Line
  172.  * Defines an IRC Operator
  173.  * IRC operators are there to keep sanity to the server and usually keep it
  174.  * maintained and connected to the network.
  175.  * The syntax is as follows:
  176.  * oper (login) {
  177.  *     class (class to put them in, if different from I, moves them to new
  178.  *                class);
  179.  *     from {
  180.  *        userhost (ident@host);
  181.  *        userhost (ident@host);
  182.  *     };
  183.  *     flags
  184.  *     {
  185.  *       (flags here*);
  186.  *     };
  187.  *     OR
  188.  *     flags "old type flags, like OAaRD";
  189.  * };
  190.  */
  191.  
  192.  
  193. /* For a list of oper flags, see doc/unreal32docs.html#operblock
  194.  * [HIGHLY recommended to read]
  195.  */
  196.  
  197. oper Dark {
  198.     mask *;
  199.     password "clave";
  200.     class clients;
  201.     operclass netadmin;
  202.     swhois "is a Network Root Administrator";
  203. };
  204.  
  205. oper DJ {
  206.         mask *@*;
  207.         password "clve";
  208.         class clients;
  209.         operclass netadmin;
  210.         swhois "is a Network Administrator";
  211. };
  212.  
  213.  
  214.  
  215. /*
  216.  * NEW: listen {}
  217.  * OLD: P:Line
  218.  * This defines a port for the ircd to bind to, to
  219.  * allow users/servers to connect to the server.
  220.  * Syntax is as follows:
  221.  * listen (ip number):(port number)
  222.  * {
  223.  *   options {
  224.  *     (options here);
  225.  *   };
  226.  * };
  227.  * or for a plain
  228.  * listen: listen (ip):(port);
  229.  *
  230.  * NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;
  231.  *
  232.  * That works also.
  233.  */
  234.  
  235. /* Options for listen:
  236.     OLD |   NEW
  237.     S       serversonly
  238.     C       clientsonly
  239.     J       java
  240.     s       ssl
  241.     *       standard
  242. */
  243.  
  244. /* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,
  245.  * besides numerous high-SSL ports, some people say you should run
  246.  * it at 994 because that's the official SSL port.. but that
  247.  * requires root! Besides, port 194 is the official irc port and
  248.  * have you ever seen an ircd running on that?
  249.  * So, our suggestion is to use port 6697 for SSL, this is used by
  250.  * quite some networks and is recognized by for example StunTour.
  251.  * You are free to open up as many SSL ports as you want, but
  252.  * by (also) using 6697 you help the world standardize a bit ;).
  253.  */
  254. /*
  255. listen         *:7999
  256. {
  257.     options
  258.     {
  259.         ssl;
  260.         clientsonly;
  261.     };
  262. };
  263. */
  264.  
  265. listen {
  266.         ip *;
  267.         port 9999;
  268. };
  269.  
  270. listen {
  271.         ip *;
  272.         port 8888;
  273.     options {
  274.         ssl;
  275.     };
  276. };
  277.  
  278. /* NOTE: If you are on an IRCd shell with multiple IP's you are
  279.  *       likely to get 'Address already in use' errors in your log
  280.  *       and the ircd won't start. This means you MUST bind
  281.  *       to a specific IP instead of '*', so for example:
  282.  *       listen 1.2.3.4:6667;
  283.  *       Obviously, replace the IP with the IP that was assigned to you.
  284.  */
  285.  
  286. /*
  287.  * NEW: link {}
  288.  * OLD: C/N:Lines
  289.  * This defines an okay for a server connection.
  290.  * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
  291.  * Syntax is as follows:
  292.  * link (server name)
  293.  * {
  294.  *  username    (username, * works too);
  295.  *  hostname    (ip number/hostmask);
  296.  *  bind-ip     (What IP to bind to when connecting, or *);
  297.  *  port        (port to connect to, if any);
  298.  *  hub (If this is a hub, * works, or servermasks it may bring in);
  299.  *  [or leaf *;]
  300.  *  password-connect "(pass to send)";
  301.  *  password-receive "(pass we should receive)";
  302.  *  class       (class to direct servers into);
  303.  *  options {
  304.  *      (options here*);
  305.  *  };
  306.  *      // If we use SSL, we can choose what cipher to use in SSL mode
  307.  *      // Retrieve a list by "openssl ciphers", separate ciphers with :'s
  308.  *      
  309.  *      ciphers "DES-CBC3-MD5";
  310.  *
  311.  * };
  312. */
  313.  
  314.  
  315.  
  316.  
  317.  
  318. /*
  319.  *
  320.  * NEW: ulines {}
  321.  * OLD: U:Line
  322.  * U-lines give servers more power/commands, this should ONLY be set
  323.  * for services/stats servers and NEVER for normal UnrealIRCd servers!
  324.  * Syntax is as follows:
  325.  * ulines {
  326.  *  (server to uline);
  327.  *  (server to uline);
  328.  *  [etc]
  329.  * };
  330. */
  331. ulines {
  332.     services.roxnet.org;
  333.     stats.roxnet.org;
  334. };
  335.  
  336. /*
  337.  * NEW: drpass {}
  338.  * OLD: X:Line
  339.  * This defines the passwords for /die and /restart.
  340.  * Syntax is as follows:
  341.  * drpass {
  342.  *  restart     "(password for restarting)";
  343.  *  die             "(password for die)";
  344.  * };
  345.  */
  346. drpass {
  347.     restart "I-love-to-restart";
  348.     die "die-you-stupid";
  349. };
  350.  
  351. /*
  352.  * NEW: log {} OLD: N/A Tells the ircd where and what to log(s). You can have
  353.  * as many as you wish.
  354.  *
  355.  * FLAGS: errors, kills, tkl, connects, server-connects, oper
  356.  *
  357.  * Syntax:
  358.  * log "log file"
  359.  * {
  360.  *    flags
  361.  *    {
  362.  *        flag;
  363.  *        flag;
  364.  *        etc..
  365.  *    };
  366.  * };
  367.  */
  368.  
  369. log "ircd.log" {
  370.     /* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
  371.        same log */
  372.     maxsize 2097152;
  373.     flags {
  374.         oper;
  375.         connects;
  376.         server-connects;
  377.         kills;
  378.         errors;
  379.         sadmin-commands;
  380.         chg-commands;
  381.         oper-override;
  382.         spamfilter;
  383.     };
  384. };
  385.  
  386. /*
  387.  * NEW: alias {}
  388.  * OLD: N/A
  389.  * This allows you to set command aliases such as /nickserv, /chanserv etc
  390.  * FLAGS: services, stats, normal
  391.  *
  392.  * Syntax:
  393.  * alias "name" {
  394.  *  target "points to";
  395.  *  type aliastype;
  396.  * };
  397.  *
  398.  * [NOTE: You could also include a pre-defined alias file here, see doc/unreal32docs.html section 2.9]
  399.  */
  400.  
  401. // This points the command /nickserv to the user NickServ who is connected to the set::services-server server
  402. /*alias NickServ {
  403.     target "NickServ";
  404.     type services;
  405. };*/
  406.  
  407. // If you want the command to point to the same nick as the command, you can leave the nick entry out
  408. //alias ChanServ { type services; };
  409.  
  410. // Points the /statserv command to the user StatServ on the set::stats-server server
  411. //alias StatServ { type stats; };
  412.  
  413. // Points the /superbot command to the user SuperBot
  414. //alias SuperBot { type normal; };
  415.  
  416.  
  417. /* Standard aliases */
  418. alias NickServ { type services; };
  419. alias ChanServ { type services; };
  420. alias MemoServ { type services; };
  421. alias OperServ { type services; };
  422. alias HelpServ { type services; };
  423. alias StatServ { type services; };
  424. alias BotServ { type services; };
  425. alias HostServ { type services; };
  426. alias cs { nick chanserv; type services; };
  427. alias ns { nick nickserv; type services; };
  428. alias ms { nick memoserv; type services; };
  429. alias os { nick operserv; type services; };
  430. alias hs { nick hostserv; type services; };
  431. alias bs { nick botserv; type services;  };
  432.  
  433. /*
  434.  * NEW: alias {}
  435.  * OLD: N/A
  436.  * This allows you to set command aliases such as /identify, /services, etc
  437.  *
  438.  * Syntax:
  439.  * alias "name" {
  440.  *  format "format string" {
  441.  *      target "points to";
  442.  *              type aliastype;
  443.  *      parameters "parameters to send";
  444.  *  };
  445.  *  type command;
  446.  * };
  447.  */
  448. /* This is shown seperately because even though it has teh same name as the previous directive, it is very
  449.  * different in syntax, although it provides a similar function and relys on the standard aliases to work.
  450.  */
  451. /*
  452. alias "identify" {
  453.     format "^#" {
  454.         target "chanserv";
  455.         type services;
  456.         parameters "IDENTIFY %1-";
  457.     };
  458.     format "^[^#]" {
  459.         target "nickserv";
  460.         type services;
  461.         parameters "IDENTIFY %1-";
  462.     };
  463.     type command;
  464. };
  465. */
  466. /* The alias::format directive is a regular expression. The first format matches the /identify command when
  467.  * the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY
  468.  * %1-. The second format matches then /identify command when the first character is not a #. It then
  469.  * passes the command to the nickserv alias with parameters IDENTIFY %1-.
  470.  */
  471.  
  472. /* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a
  473.  * parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from
  474.  * N until the last parameter in the string. You may also specify %n which is replaced by
  475.  * the user's nickname.
  476. */
  477.  
  478. /* Standard aliases */
  479. alias "services" {
  480.     format "^#" {
  481.         target "chanserv";
  482.         type services;
  483.         parameters "%1-";
  484.     };
  485.     format "^[^#]" {
  486.         target "nickserv";
  487.         type services;
  488.         parameters "%1-";
  489.     };
  490.     type command;
  491. };
  492.  
  493. alias "identify" {
  494.     format "^#" {
  495.         target "chanserv";
  496.         type services;
  497.         parameters "IDENTIFY %1-";
  498.     };
  499.     format "^[^#]" {
  500.         target "nickserv";
  501.         type services;
  502.         parameters "IDENTIFY %1-";
  503.     };
  504.     type command;
  505. };
  506.  
  507. /* This is an example of a real command alias */
  508. /* This maps /GLINEBOT to /GLINE <parameter> 2d etc... */
  509. alias "glinebot" {
  510.     format ".+" {
  511.         command "gline";
  512.         type real;
  513.         parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
  514.     };
  515.     type command;
  516. };
  517.  
  518. /*
  519.  * NEW: files {}
  520.  * OLD: include/config.h
  521.  *
  522.  * This block overrides the IRCd's default paths for loading things
  523.  * like the MOTD, saving its PID, or writing/loading its tunefile. The
  524.  * existence of this block allows one UnrealIRCd installation to
  525.  * support multiple running instances when combined with the -c
  526.  * commandline option.
  527.  *
  528.  * As usual, relative paths are interpreted relative to the directory
  529.  * where UnrealIRCd would find unrealircd.conf if -c is _not_
  530.  * specified on the commandline.
  531.  */
  532. files
  533. {
  534.     /* The Message Of The Day shown to users who log in: */
  535.     /* motd /home/ircd/unreal/ircd.motd; */
  536.  
  537.     /*
  538.      * A short MOTD. If this file exists, it will be displayed to
  539.      * the user in place of the MOTD. Users can still view the
  540.      * full MOTD by using the /MOTD command.
  541.      */
  542.     /* shortmotd ircd.smotd; */
  543.  
  544.     /* Shown when an operator /OPERs up */
  545.     /* opermotd oper.motd; */
  546.  
  547.     /* Services MOTD append. */
  548.     /* svsmotd ircd.svsmotd; */
  549.  
  550.     /* Bot MOTD */
  551.     /* botmotd bot.motd; */
  552.  
  553.     /* Shown upon /RULES */
  554.     /* rules ircd.rules; */
  555.  
  556.     /*
  557.      * Where the IRCd stores and loads a few values which should
  558.      * be persistent across server restarts. Must point to an
  559.      * existing file which the IRCd has permission to alter or to
  560.      * a file in a folder within which the IRCd may create files.
  561.      */
  562.     /* tunefile ircd.tune; */
  563.  
  564.     /* Where to save the IRCd's pid. Should be writable by the IRCd. */
  565.     /* pidfile ircd.pid; */
  566. };
  567.  
  568. /*
  569.  * NEW: tld {}
  570.  * OLD: T:Line
  571.  * This sets a different motd and rules files
  572.  * depending on the clients hostmask.
  573.  * Syntax is as follows:
  574.  * tld {
  575.  *    mask (ident@host);
  576.  *    motd "(motd file)";
  577.  *    rules "(rules file)";
  578.  * };
  579.  */
  580.  
  581. tld {
  582.     mask *@*;
  583.         motd "/home/dark/unrealircd/ircd.motd";
  584.         rules "/home/dark/unrealircd/ircd.motd";
  585.         channel "#main";
  586. };
  587.  
  588. official-channels {
  589.         "#main" { topic "The Main Channel"; };
  590.         "#opers" { topic "Our Opers"; };
  591. };
  592.  
  593. /* note: you can just delete the example block above,
  594.  * in which case the defaults motd/rules files (ircd.motd, ircd.rules)
  595.  * will be used for everyone.
  596.  */
  597.  
  598. /*
  599.  * NEW: ban nick {}
  600.  * OLD: Q:Line
  601.  * Bans a nickname, so it can't be used.
  602.  * Syntax is as follows:
  603.  * ban nick {
  604.  *  mask "(nick to ban)";
  605.  *  reason "(reason)";
  606.  * };
  607. */
  608. ban nick {
  609.     mask "*C*h*a*n*S*e*r*v*";
  610.     reason "Reserved for Services";
  611. };
  612. /*
  613.  * NEW: ban ip {}
  614.  * OLD: Z:Line
  615.  * Bans an ip from connecting to the network.
  616.  * Syntax:
  617.  * ban ip { mask (ip number/hostmask); reason "(reason)"; };
  618. */
  619. ban ip {
  620.     mask 195.86.232.81;
  621.     reason "Delinked server";
  622. };
  623. /*
  624.  * NEW: ban server {}
  625.  * OLD: Server Q:Line
  626.  * Disables a server from connecting to the network.
  627.  * if the server links to a remote server, local server
  628.  * will disconnect from the network.
  629.  * Syntax is as follows:
  630.  * ban server {
  631.  *  mask "(server name)";
  632.  *  reason "(reason to give)";
  633.  * };
  634. */
  635.  
  636. ban server {
  637.     mask eris.berkeley.edu;
  638.     reason "Get out of here.";
  639. };
  640. /*
  641.  * NEW: ban user {}
  642.  * OLD: K:Line
  643.  * This makes it so a user from a certain mask can't connect
  644.  * to your server.
  645.  * Syntax:
  646.  * ban user { mask (hostmask/ip number); reason "(reason)"; };
  647. */
  648.  
  649. ban user {
  650.     mask *tirc@*.saturn.bbn.com;
  651.         reason "Idiot";
  652. };
  653.  
  654. /*
  655.  * NEW: ban realname {}
  656.  * OLD: n:Line
  657.  * This bans a certain realname from being used.
  658.  * Syntax:
  659.  * ban realname {
  660.  *  mask "(real name)";
  661.  *  reason "(reason)";
  662.  * };
  663. */
  664.  
  665. ban realname {
  666.     mask "Swat Team";
  667.     reason "mIRKFORCE";
  668. };
  669.  
  670. ban realname {
  671.     mask "sub7server";
  672.     reason "sub7";
  673. };
  674.  
  675. /*
  676.  * NOTE FOR ALL BANS, they may be repeated for addition entries!
  677.  *
  678.  * NEW: except ban {}
  679.  * OLD: E:Line
  680.  * This makes it so you can't get banned.
  681.  * Syntax:
  682.  * except ban { mask (ident@host); };
  683.  * Repeat the except ban {} as many times
  684.  * as you want for different hosts.
  685.  */
  686.  
  687. except ban {
  688.     /* don't ban stskeeps */
  689.     mask           *stskeeps@212.*;
  690. };
  691.  
  692. /*
  693.  * NEW: deny dcc {}
  694.  * OLD: dccdeny.conf
  695.  * Use this to block dcc send's... stops
  696.  * viruses better.
  697.  * Syntax:
  698.  * deny dcc
  699.  * {
  700.  *   filename "file to block (ie, *exe)";
  701.  *   reason "reason";
  702.  * };
  703.  */
  704. deny dcc {
  705.     filename "*sub7*";
  706.     reason "Possible Sub7 Virus";
  707. };
  708.  
  709. /*
  710.  * NEW: deny channel {}
  711.  * OLD: N/A (NEW)
  712.  * This blocks channels from being joined.
  713.  * Syntax:
  714.  * deny channel {
  715.  *  channel "(channel)";
  716.  *  reason "reason";
  717.  *      class "clients"; (optional)
  718.  * };
  719. */
  720. deny channel {
  721.     channel "*warez*";
  722.     reason "Warez is illegal";
  723.     class "clients";
  724. };
  725.  
  726. /*
  727.  * NEW: vhost {}
  728.  * OLD: Vhost.conf file
  729.  * This sets a fake ip for non-opers, or
  730.  * opers too lazy to /sethost :P
  731.  * Syntax:  
  732.  *   vhost {
  733.  *       vhost (vhost.com);
  734.  *       from {
  735.  *            userhost (ident@host to allow to use it);
  736.  *       };
  737.  *       login (login name);
  738.  *       password (password);
  739.  *   };
  740.  *        then to use this vhost, do /vhost (login) (password) in IRC
  741.  */
  742. vhost {
  743.     vhost           i.hate.microsefrs.com;
  744.     mask *.image.dk;
  745.     login           stskeeps;
  746.     password        moocowsrulemyworld;
  747. };
  748.  
  749. /* You can include other configuration files */
  750. /* include "klines.conf"; */
  751.  
  752. /* Network configuration */
  753. set {
  754.         modes-on-join           "+fnr-cipst [15m#m3,4j#R5]:10";
  755.     network-name        "Latin-chat";
  756.     default-server      "irc.chatlatin.org";
  757.     services-server     "services.localhost";
  758.     stats-server        "stats.localhost";
  759.     help-channel        "#main";
  760.     hiddenhost-prefix   "rox";
  761.     /* prefix-quit      "no"; */
  762.     /* Cloak keys should be the same at all servers on the network.
  763.      * They are used for generating masked hosts and should be kept secret.
  764.      * The keys should be 3 random strings of 5-100 characters
  765.      * (10-20 chars is just fine) and must consist of lowcase (a-z),
  766.      * upcase (A-Z) and digits (0-9) [see first key example].
  767.      * HINT: On *NIX, you can run './unreal gencloak' in your shell to let
  768.      *       Unreal generate 3 random strings for you.
  769.      */
  770.     cloak-keys {
  771.         "aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
  772.         "aoAr1HnR6gl3sJ7hVz4Zb7x4Yw11";
  773.         "aoAr1HnR6gl3sJ7hVz4Zb7x4Yw22";
  774.     };
  775.     /* on-oper host */
  776.     };
  777.  
  778. /* Server specific configuration */
  779.  
  780. set {
  781.     kline-address "timido@ubuntu.com";
  782.     modes-on-connect "+w";
  783.     modes-on-oper    "+xwgs";
  784.     oper-auto-join "#opers";
  785.     options {
  786.         hide-ulines;
  787.         /* You can enable ident checking here if you want */
  788.         /* identd-check; */
  789.         show-connect-info;
  790.     };
  791.  
  792.     maxchannelsperuser 10;
  793.     /* The minimum time a user must be connected before being allowed to use a QUIT message,
  794.      * This will hopefully help stop spam */
  795.     anti-spam-quit-message-time 10s;
  796.     /* Make the message in static-quit show in all quits - meaning no
  797.            custom quits are allowed on local server */
  798.     /* static-quit "Client quit";   */
  799.  
  800.     /* You can also block all part reasons by uncommenting this and say 'yes',
  801.      * or specify some other text (eg: "Bye bye!") to always use as a comment.. */
  802.     /* static-part yes; */
  803.  
  804.     /* This allows you to make certain stats oper only, use * for all stats,
  805.      * leave it out to allow users to see all stats. Type '/stats' for a full list.
  806.      * Some admins might want to remove the 'kGs' to allow normal users to list
  807.      * klines, glines and shuns.
  808.      */
  809.     oper-only-stats "okfGsMRUEelLCXzdD";
  810.  
  811.     /* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
  812.     anti-flood { connect-flood 3:60; };
  813.  
  814.     /* Anti flood protection */
  815.     anti-flood {
  816.         nick-flood 3:60;    /* 3 nickchanges per 60 seconds (the default) */
  817.     };
  818.  
  819.     /* Spam filter */
  820.     spamfilter {
  821.         ban-time 1d; /* default duration of a *line ban set by spamfilter */
  822.         ban-reason "Spam/Advertising"; /* default reason */
  823.         virus-help-channel "#help"; /* channel to use for 'viruschan' action */
  824.         /* except "#help"; channel to exempt from filtering */
  825.     };
  826. };
  827.  
  828. /*
  829.  * Problems or need more help?
  830.  * 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
  831.  * 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
  832.  * 3) If you still have problems you can go irc.unrealircd.org #unreal-support,
  833.  *    note that we require you to READ THE DOCUMENTATION and FAQ first!
  834.  */
  835.  
  836.  
  837. link services.localhost {
  838.     incoming {
  839.         mask *;
  840.     };
  841.     outgoing {
  842.         bind-ip  *;
  843.         hostname 127.0.0.1;
  844.         port     5825;
  845.         options {  };
  846.     };
  847.     password "clave";
  848.     class    servers;
  849. };
  850.  
  851. ulines {
  852.     services.localhost;
  853. };
  854.  
  855. listen {
  856. ip 127.0.0.1;
  857. port 5825;
  858. options {
  859. serversonly;
  860. };
  861. };
  862.  
  863.  
  864. listen { ip *; port 5825; options {  }; };
  865.  
  866.  
  867.  
  868. webirc {
  869.     mask 99.88.239.170;
  870.     password "clave";
  871. };
  872.  
  873.  
  874. blacklist efnetrbl {
  875.         dns {
  876.                 name rbl.efnetrbl.org;
  877.                 type record;
  878.                 reply { 1; 4; 5; };
  879.         };
  880.         action gline;
  881.         ban-time 24h;
  882.         reason "Proxy/Drone/TOR detected. Check http://rbl.efnetrbl.org/?i=$ip for details.";
  883. };
  884.  
  885.  
  886.  
  887.  
  888.  
  889. blacklist dronebl {
  890.         dns {
  891.                 name dnsbl.dronebl.org;
  892.                 type record;
  893.                 reply { 3; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; };
  894.         };
  895.         action gline;
  896.         ban-time 24h;
  897.         reason "Proxy/Drone detected. Check https://dronebl.org/lookup?ip=$ip for details. No Lamers Use your Real Host";
  898. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top