Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 4.36 KB | None | 0 0
  1. ircd.conf:
  2. serverinfo {
  3.     name = "goodnet.irc";
  4.     use_ts6 = yes;
  5.     sid = "000";
  6.     description = "ircd-ratbox GoodNet server";
  7.     network_name = "GoodNet";
  8.     network_desc = "GoodNet Home Network";
  9.     hub = no;
  10.     vhost = "10.78.23.5";# ip to bind this server too (useful on multi-ip homes)
  11.     default_max_clients = 100;
  12. };
  13. admin {
  14.     name = "irc";
  15.     description = "Learning IRC";
  16.     email = "<basnevod@gmail.com>";
  17. };
  18. log {
  19.     fname_userlog = "/var/loguserlog";
  20.     #fname_fuserlog = "/var/logfuserlog";
  21.     fname_operlog = "/var/logoperlog";
  22.     #fname_foperlog = "/var/logfoperlog";
  23.     fname_serverlog = "/var/logserverlog";
  24.     fname_glinelog = "/var/logglinelog";
  25.     #fname_klinelog = "/var/logklinelog";
  26.     fname_killlog = "/var/logkilllog";
  27.     fname_operspylog = "/var/logoperspylog";
  28.     #fname_ioerrorlog = "/var/logioerror";
  29. };
  30.  
  31. class "users" {
  32.     ping_time = 2 minutes;
  33.     number_per_ident = 2;
  34.     number_per_ip = 3;
  35.     number_per_ip_global = 5;
  36.     max_number = 100;
  37.     sendq = 100 kbytes;
  38. };
  39.  
  40.  
  41. class "server" {
  42.     ping_time = 5 minutes;
  43.     connectfreq = 10 minutes;
  44.     max_number = 1;
  45.     sendq=2 megabytes;
  46. };
  47.  
  48. listen {
  49.     host = "10.78.23.5";
  50.     port = 6661 .. 6669;
  51.  
  52. };
  53.  
  54. auth {
  55.     user = "*@*";
  56.     class = "users";
  57.  
  58. };
  59.  
  60. operator "irc" {
  61.     user = "*@*";
  62.     rsa_public_key_file = "/home/irc/public.key";
  63.     flags = global_kill, remote, kline, unkline, gline, die, rehash, admin, xline, operwall;
  64.     #password = "ehecvfhnfy"
  65. };
  66.  
  67.  
  68. connect "ratbox.services" {
  69.     host = "10.78.23.5";
  70.     send_password = "testpassword";
  71.     accept_password = "testpassword";
  72.     port = 5000;
  73.     class = "server";
  74.     flags = encrypted, global_kill, remote, kline, unkline, gline, die, rehash, admin, xline, operwall
  75.  
  76. };
  77.  
  78. service {
  79.     name = "ratbox.services";
  80.  
  81. };
  82.  
  83.  
  84. channel {
  85.     use_invex = yes;
  86.     use_except = yes;
  87.     use_knock = yes;
  88.     invite_ops_only = yes;
  89.     knock_delay = 1 minute;
  90.     knock_delay_channel = 1 minute;
  91.     max_chans_per_user = 25;
  92.     quiet_on_ban = yes;
  93.     max_bans = 100;
  94.     no_create_on_split = yes;
  95.     no_join_on_split = no;
  96.     burst_topicwho = yes;
  97.  
  98. };
  99.  
  100.  
  101. general {
  102.     hide_error_messages = opers;
  103.     default_invisible = no;
  104.     default_operstring = "is an IRC Operator";
  105.     default_adminstring = "is a Server Administrator";
  106.     tkline_expire_notices = no;
  107.     default_floodcount = 10;
  108.     disable_fake_channels = yes;
  109.     failed_oper_notice = yes;
  110.     dots_in_ident=2;
  111.     dot_in_ip6_addr = no;
  112.     min_nonwildcard = 3;
  113.     min_nonwildcard_simple = 3;
  114.     max_accept = 20;
  115.     max_monitor = 60;
  116.     anti_nick_flood = yes;
  117.     max_nick_time = 20 seconds;
  118.     max_nick_changes = 5;
  119.     anti_spam_exit_message_time = 5 minutes;
  120.     client_exit = yes;
  121.     dline_with_reason = yes;
  122.     kline_delay = 5 seconds;
  123.     kline_with_reason = yes;
  124.     kline_reason = "Connection closed";
  125.     non_redundant_klines = yes;
  126.     warn_no_nline = yes;
  127.     caller_id_wait = 1 minute;
  128.     pace_wait_simple = 1 second;
  129.     pace_wait = 10 seconds;
  130.     short_motd = no;
  131.     ping_cookie = no;
  132.     connect_timeout = 30 seconds;
  133.     disable_auth = no;
  134.     no_oper_flood = yes;
  135.     glines = yes;
  136.     gline_time = 1 day;
  137.     gline_min_cidr = 16;
  138.     idletime = 0;
  139.     max_targets = 10;
  140.     client_flood = 20;
  141.     use_whois_actually = yes;
  142.  
  143.     oper_only_umodes = bots, cconn, debug, full, skill, nchange, rej, spy, external, operwall, locops, unauth;
  144.  
  145.     oper_umodes = locops, servnotice, operwall, wallop;
  146.  
  147. };
  148.  
  149. modules {
  150.     path = "/usr/share/ircd/modules";
  151.     path = "/usr/share/ircd/modules/autoload";
  152.  
  153. };
  154.  
  155.  
  156. ratbox.services.conf:
  157.  
  158. serverinfo {
  159.         name = "ratbox.services";
  160.     sid = "001";
  161.         description = "ratbox services";
  162.     ratbox = yes;
  163. };
  164.  
  165. admin {
  166.         name = "irc";
  167.         description = "Main Server Administrator";
  168.         email = "<root@localhost>";
  169. };
  170.  
  171. connect "goodnet.irc" {
  172.         host = "10.78.23.5";
  173.     password = "testpassword"; /* this password needs to be changed */
  174.         port = 6667;
  175. };
  176.  
  177.  
  178. service "userserv" {
  179.     nick = "USERSERV";
  180.     username = "user";
  181.     host = "services.int";
  182.     realname = "user registration service";
  183.     flags = opered, msg_self;
  184.     loglevel = 5;
  185. };
  186.  
  187. service "chanserv" {
  188.     nick = "CHANSERV";
  189.     username = "chan";
  190.     host = "services.int";
  191.     realname = "channel registration service";
  192.     flags = opered, login_help;
  193. };
  194.  
  195. service "nickserv" {
  196.     nick = "NICKSERV";
  197.     username = "nick";
  198.     host = "services.int";
  199.     realname = "nickname services";
  200.     flags = opered, msg_self, disabled;
  201.     warn_string = "This nickname is registered, you may be disconnected if a user regains this nickname.";
  202. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement