daily pastebin goal
72%
SHARE
TWEET

unreal_config

Misteralex007 Jul 7th, 2017 165 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. include "modules.default.conf";
  2.  
  3. include "help/help.conf";
  4. include "badwords.conf";
  5. include "spamfilter.conf";
  6. include "operclass.default.conf";
  7.  
  8. me {
  9.     name "irc.alexserrano.fr";
  10.     info "Developer IRC";
  11.     sid "001";
  12. };
  13.  
  14. admin {
  15.     "Misteralex007";
  16.     "Alex";
  17.     "MY_ADRESS_EMAIL";
  18. };
  19.  
  20. class clients
  21. {
  22.     pingfreq 90;
  23.     maxclients 1000;
  24.     sendq 200k;
  25.     recvq 8000;
  26. };
  27.  
  28. class opers
  29. {
  30.     pingfreq 90;
  31.     maxclients 50;
  32.     sendq 1M;
  33.     recvq 8000;
  34. };
  35.  
  36. class servers
  37. {
  38.     pingfreq 60;
  39.     connfreq 15; /* try to connect every 15 seconds */
  40.     maxclients 10; /* max servers */
  41.     sendq 5M;
  42. };
  43.  
  44. allow {
  45.     ip *@*;
  46.     class clients;
  47.     maxperip 3;
  48. };
  49.  
  50. allow {
  51.     ip *@192.0.2.1;
  52.     class clients;
  53.     password "somesecretpasswd";
  54.     maxperip 20;
  55. };
  56.  
  57. oper Misteralex007 {
  58.     class opers;
  59.     mask *@*;
  60.     password "MY_PASSWORD";
  61.     /* Oper permissions are defined in an 'operclass' block.
  62.      * See https://www.unrealircd.org/docs/Operclass_block
  63.      * UnrealIRCd ships with a number of default blocks, see
  64.      * the article for a full list. We choose 'netadmin' here.
  65.      */
  66.     operclass netadmin;
  67.     swhois "est l'administrateur";
  68.     #vhost netadmin.mynet.org;
  69. };
  70.  
  71. listen {
  72.     ip *;
  73.     port 6667;
  74. };
  75.  
  76. listen {
  77.     ip *;
  78.     port 6697;
  79.     options { ssl; };
  80. };
  81.  
  82. listen {
  83.     ip *;
  84.     port 6900;
  85.     options { ssl; serversonly; };
  86. };
  87.  
  88. link hub.mynet.org
  89. {
  90.     incoming {
  91.         mask *@something;
  92.     };
  93.  
  94.     outgoing {
  95.         bind-ip *; /* or explicitly an IP */
  96.         hostname hub.mynet.org;
  97.         port 6900;
  98.         options { ssl; };
  99.     };
  100.  
  101.     password "00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF"; /* SSL fingerprint of other server */
  102.  
  103.     class servers;
  104. };
  105.  
  106. ulines {
  107.     services.mynet.org;
  108. };
  109.  
  110. drpass {
  111.     restart "restart";
  112.     die "die";
  113. };
  114.  
  115. log "ircd.log" {
  116.     flags {
  117.         oper;
  118.         connects;
  119.         server-connects;
  120.         kills;
  121.         errors;
  122.         sadmin-commands;
  123.         chg-commands;
  124.         oper-override;
  125.         tkl;
  126.         spamfilter;
  127.     };
  128. };
  129.  
  130.  
  131. include "aliases/anope.conf";
  132.  
  133. ban nick {
  134.     mask "*C*h*a*n*S*e*r*v*";
  135.     reason "Reserved for Services";
  136. };
  137.  
  138. ban ip {
  139.     mask 195.86.232.81;
  140.     reason "Hate you";
  141. };
  142.  
  143. ban server {
  144.     mask eris.berkeley.edu;
  145.     reason "Get out of here.";
  146. };
  147.  
  148. ban user {
  149.     mask *tirc@*.saturn.bbn.com;
  150.     reason "Idiot";
  151. };
  152.  
  153. ban realname {
  154.     mask "Swat Team";
  155.     reason "mIRKFORCE";
  156. };
  157.  
  158. ban realname {
  159.     mask "sub7server";
  160.     reason "sub7";
  161. };
  162.  
  163. except ban {
  164.     mask *@192.0.2.1;
  165.     // you may add more mask entries here..
  166. };
  167.  
  168. except tkl {
  169.     mask *@192.0.2.1;
  170.     type all;
  171. };
  172.  
  173. deny dcc {
  174.     filename "*sub7*";
  175.     reason "Possible Sub7 Virus";
  176. };
  177.  
  178. deny channel {
  179.     channel "*warez*";
  180.     reason "Warez is illegal";
  181.     class "clients";
  182. };
  183.  
  184. vhost {
  185.     vhost i.hate.microsefrs.com;
  186.     mask *@unrealircd.com;
  187.     login "test";
  188.     password "test";
  189. };
  190.  
  191. set {
  192.     network-name        "MYNet";
  193.     default-server      "irc.mynet.org";
  194.     services-server     "services.mynet.org";
  195.     stats-server        "stats.mynet.org";
  196.     help-channel        "#Help";
  197.     hiddenhost-prefix   "Clk";
  198.     prefix-quit         "Quit";
  199.  
  200.     /* Cloak keys should be the same at all servers on the network.
  201.      * They are used for generating masked hosts and should be kept secret.
  202.      * The keys should be 3 random strings of 50-100 characters
  203.      * and must consist of lowcase (a-z), upcase (A-Z) and digits (0-9).
  204.      * HINT: On *NIX, you can run './unrealircd gencloak' in your shell to let
  205.      *       UnrealIRCd generate 3 random strings for you.
  206.      */
  207.     cloak-keys {
  208.         "NO YOU DON'T SEE THIS KEY";
  209.         "NO YOU DON'T SEE THIS KEY";
  210.         "NO YOU DON'T SEE THIS KEY";
  211.     };
  212. };
  213.  
  214. set {
  215.     kline-address "MY_ADRESS_EMAIL"; /* e-mail or URL shown when a user is banned */
  216.     modes-on-connect "+ixw"; /* when users connect, they will get these user modes */
  217.     modes-on-oper    "+xwgs"; /* when someone becomes IRCOp they'll get these modes */
  218.     oper-auto-join "#opers"; /* IRCOps are auto-joined to this channel */
  219.     options {
  220.         hide-ulines; /* hide U-lines in /MAP and /LINKS */
  221.         show-connect-info; /* show "looking up your hostname" messages on connect */
  222.     };
  223.  
  224.     maxchannelsperuser 10; /* maximum number of channels a user may /JOIN */
  225.  
  226.     anti-spam-quit-message-time 10s;
  227.  
  228.     anti-flood {
  229.         nick-flood 3:60;    /* 3 nick changes per 60 seconds (the default) */
  230.         connect-flood 3:60; /* 3 connection attempts per 60 seconds (the default) */
  231.         away-flood 4:120;   /* 4 times per 2 minutes you may use /AWAY (default) */
  232.     };
  233.  
  234.     spamfilter {
  235.         ban-time 1d; /* default duration of a *LINE ban set by spamfilter */
  236.         ban-reason "Spam/Advertising"; /* default reason */
  237.         virus-help-channel "#help"; /* channel to use for 'viruschan' action */
  238.         /* except "#help"; channel to exempt from Spamfilter */
  239.     };
  240. };
  241.  
  242. webirc {
  243.     mask 217.182.XXX.XXX;
  244.     password "2edc8XXXXX";
  245. };
  246.  
  247. except throttle {
  248.     mask 217.182.XXX.XXX;
  249. };
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