Advertisement
independentt

UnrealIRCd 4.03 Config with SSL Working

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