Advertisement
independentt

UNREAL IRCd Server Config (with SSL)

Sep 6th, 2015
27,676
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. loadmodule "src/modules/commands.so";
  2. loadmodule "src/modules/cloak.so";
  3. include "help.conf";
  4. include "badwords.channel.conf";
  5. include "badwords.message.conf";
  6. include "badwords.quit.conf";
  7. include "spamfilter.conf";
  8. include "oper.conf";
  9.  
  10. hideserver
  11.         {
  12.         disable-map yes;
  13.         disable-links yes;
  14.         map-deny-message "For More Info About /Map join #help And Ask Staff Online There";
  15.         links-deny-message "For More Info About /Links join #help And Ask Staff Online There";
  16. };
  17.  
  18. me
  19. {
  20.         name "your.network.name";
  21.         info "Yournet NETWORK";
  22.             numeric 1;
  23. };
  24.  
  25. admin {
  26.         "Yournet Admin";
  27.         "Email : admin@Yournet";
  28.         "Yournet Administrator";
  29. };
  30.  
  31. class           clients
  32. {
  33.         pingfreq 70;
  34.         maxclients 3999;
  35.         sendq 9000000;
  36.         recvq 32000;
  37. };
  38.  
  39. class           servers
  40. {
  41.         pingfreq 90;
  42.         maxclients 10;
  43.         sendq 10000000;
  44.         connfreq 100;
  45. };
  46.  
  47. allow {
  48.         ip             *@*;
  49.         hostname       *@*;
  50.         class           clients;
  51.         maxperip 30;
  52. };
  53.  
  54. listen           0.0.0.0:6667;
  55. listen           0.0.0.0:6660;
  56. listen           0.0.0.0:6661;
  57. listen           0.0.0.0:6662;
  58. listen           0.0.0.0:6663;
  59. listen           0.0.0.0:6664;
  60. listen           0.0.0.0:6665;
  61. listen           0.0.0.0:6666;
  62. listen           0.0.0.0:6668;
  63. listen           0.0.0.0:6669;
  64. listen           0.0.0.0:7000;
  65. listen         *:6697
  66. {
  67.         options
  68.         {
  69.                 ssl;
  70.                 clientsonly;
  71.         };
  72. };
  73. listen         *:7001
  74. {
  75.         options
  76.         {
  77.                 ssl;
  78.                 clientsonly;
  79.         };
  80. };
  81. listen         *:7002
  82. {
  83.         options
  84.         {
  85.                 ssl;
  86.                 clientsonly;
  87.         };
  88. };
  89. listen         *:7003
  90. {
  91.         options
  92.         {
  93.                 ssl;
  94.                 serversonly;
  95.         };
  96. };
  97.  
  98. ulines {
  99.         Services.Yournet;
  100.         stats.Yournet;
  101.         neostats.Yournet;
  102. };
  103.  
  104.  
  105. log "ircd.log" {
  106.         maxsize 2097152;
  107.         flags {
  108.                 oper;
  109.                 kline;
  110.                 server-connects;
  111.                 kills;
  112.                 errors;
  113.                 sadmin-commands;
  114.                 chg-commands;
  115.                 oper-override;
  116.                 spamfilter;
  117.         };
  118. };
  119.  
  120. alias NickServ { type services; };
  121. alias OperServ { type services; };
  122. alias ChanServ { type services; };
  123. alias HelpServ { type services; };
  124. alias MemoServ { type services; };
  125. alias HostServ { type services; };
  126. alias BotServ { type services; };
  127. alias StatServ { type stats; };
  128.  
  129. alias "identify" {
  130.         format "^#" {
  131.                 nick "ChanServ";
  132.                 type services;
  133.                 parameters "IDENTIFY %1-";
  134.         };
  135.         format "^[^#]" {
  136.                 nick "NickServ";
  137.                 type services;
  138.                 parameters "IDENTIFY %1-";
  139.         };
  140.         type command;
  141.  
  142. };
  143.  
  144. alias "services" {
  145.         format "^#" {
  146.                 nick "ChanServ";
  147.                 type services;
  148.                 parameters "%1-";
  149.         };
  150.         format "^[^#]" {
  151.                 nick "NickServ";
  152.                 type services;
  153.                 parameters "%1-";
  154.         };
  155.         type command;
  156. };
  157.  
  158. alias "os" {
  159.         format "^" {
  160.                 nick "OperServ";
  161.                 type services;
  162.                 parameters "%1-";
  163.         };
  164.         type command;
  165. };
  166. alias "bs" {
  167.         format "^" {
  168.                 nick "BotServ";
  169.                 type services;
  170.                 parameters "%1-";
  171.         };
  172.         type command;
  173. };
  174. alias "cs" {
  175.         format "^" {
  176.                 nick "ChanServ";
  177.                 type services;
  178.                 parameters "%1-";
  179.         };
  180.         type command;
  181. };
  182. alias "hs" {
  183.         format "^" {
  184.                 nick "HostServ";
  185.                 type services;
  186.                 parameters "%1-";
  187.         };
  188.         type command;
  189. };
  190. alias "ns" {
  191.         format "^" {
  192.                 nick "NickServ";
  193.                 type services;
  194.                 parameters "%1-";
  195.         };
  196.         type command;
  197. };
  198. alias "ms" {
  199.         format "^" {
  200.                 nick "MemoServ";
  201.                 type services;
  202.                 parameters "%1-";
  203.         };
  204.         type command;
  205. };
  206.  
  207. ban nick {
  208.         mask "*C*h*a*n*S*e*r*v*";
  209.         reason "Reserved for Services";
  210. };
  211.  
  212. vhost {
  213.         vhost           IRCop.Yournet;
  214.         from {
  215.                 userhost       *@*;
  216.         };
  217.         login           Yournet;
  218.         password        Yournetpassword;
  219. };
  220.  
  221. set {
  222.     default-server none;
  223.     services-server Services.Yournet;
  224.     network-name BlackIRC;
  225.     hosts {
  226.         local           "Staff@Yournet";
  227.                 global          "Staff@Yournet";
  228.                 coadmin         "Staff@Yournet";
  229.                 admin           "Admin@Yournet";
  230.                 servicesadmin   "Staff@Yournet";
  231.                 netadmin        "Staff@Yournet";
  232.                 host-on-oper-up "yes";
  233.     };
  234.     help-channel "#help";
  235.     hiddenhost-prefix "Yournet";
  236.     cloak-keys {
  237.         "YOUR";
  238.         "CLOAK";
  239.         "Keys";
  240.     };
  241. };
  242.  
  243. set {
  244.         auto-join "#Yournet";
  245.  
  246. };
  247.  
  248. set {
  249.         kline-address "kline@Yournet";
  250.         modes-on-connect "+iwxv";
  251.         modes-on-oper    "+pTWvxwgs";
  252.         oper-auto-join "#Yournet,#Opers,#help";
  253.         dns {
  254.                 nameserver 127.0.0.1;
  255.                 timeout 2s;
  256.                 retries 2;
  257.         };
  258.         options {
  259.                 identd-check;
  260.                 hide-ulines;
  261.                 show-connect-info;
  262.                 flat-map;
  263.  
  264.         };
  265.  
  266.         maxchannelsperuser 15;
  267.         anti-spam-quit-message-time 10s;
  268.         #static-quit "Yournet Client Quit";
  269.         oper-only-stats "*";
  270.         throttle {
  271.                 connections 3;
  272.                 period 60s;
  273.         };
  274.  
  275.         anti-flood {
  276.                 nick-flood 3:60;
  277.         };
  278.  
  279.         spamfilter {
  280.                 ban-time 1d;
  281.                 ban-reason "Spam/Advertising is not tolerated on Yournet";
  282.                 virus-help-channel "#help";
  283.                 except "#services";
  284.         };
  285. };
  286.  link Services.Yournet
  287. {
  288.  username *;
  289.  hostname 127.0.0.1;
  290.  port *;
  291.  bind-ip 0.0.0.0;
  292.  password-connect "";
  293.  password-receive "";
  294.  class servers;
  295. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement