Advertisement
Guest User

Untitled

a guest
May 14th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. /* doc/ircd.conf - ircd-ratbox Example configuration file
  2. * Default configuration for Fedora project,
  3. * please consult /etc/ircd/example.conf for detailed informations
  4. */
  5.  
  6. serverinfo {
  7. name = "******a.com";
  8. /* use_ts6 = yes; */
  9. sid = "66L";
  10. description = "***** dev irc server";
  11. network_name = "********";
  12. network_desc = "***** network";
  13. hub = no;
  14. default_max_clients = 10000;
  15. };
  16.  
  17. admin {
  18. name = "Administrator";
  19. description = "Main Server Administrator";
  20. email = "<j****@****a.com>";
  21. };
  22.  
  23. log {
  24. fname_userlog = "/var/log/ircd/user.log";
  25. fname_operlog = "/var/log/ircd/oper.log";
  26. fname_serverlog = "/var/log/ircd/server.log";
  27. fname_glinelog = "/var/log/ircd/gline.log";
  28. fname_killlog = "/var/log/ircd/kill.log";
  29. fname_operspylog = "/var/log/ircd/operspy.log";
  30. };
  31.  
  32. listen {
  33. host = "**.**.**.**";
  34. port = 6667,10067;
  35. /* port = 10067; */
  36. };
  37.  
  38. # Connect Block
  39. connect "test.services" { # name of the server or services we are connecting to here
  40. host = "**.**.**.**"; # ip address of the services (for this demo I'm assuming the services are running on the same ip as the server itself)
  41. send_password = "*****"; # password to send to server or services
  42. accept_password = "*****"; # password to receive from server or services
  43. port = 5000; # port we are trying to connect to
  44. class = "server"; # class this connection belongs in
  45.  
  46. };
  47.  
  48. auth {
  49.  
  50. user = "*@*";
  51. class = "users";
  52. flags = kline_exempt, exceed_limit;
  53.  
  54. };
  55. class "users" {
  56.  
  57. number_per_ident = 100;
  58. number_per_ip = 100;
  59. number_per_ip_global = 100;
  60. };
  61.  
  62. class "server" { # again note "servers" this is the name of the class we are defining
  63. ping_time = 5 minutes; # frequency to ping servers
  64. connectfreq = 5 minutes; # frequency to attempt to connect
  65. max_number = 100; # max number of connections in this class
  66. sendq = 2 megabytes; # send queue
  67.  
  68. };
  69.  
  70. /* uncomment and adjust your setting if you're using ratbox-services package.
  71.  
  72. connect "ratbox.services" {
  73. host = "127.0.0.1";
  74. send_password = "****";
  75. accept_password = "****";
  76. port = 6006;
  77. class = "server";
  78. flags = topicburst;
  79. };
  80.  
  81. */
  82.  
  83. # General Block
  84. general {
  85. hide_error_messages = opers; # hide error messages from the server
  86. default_invisible = no; # set clients to +i on connect
  87. default_floodcount = 100; # default flood count value (amount of lines a user may send in one second)
  88. failed_oper_notice = yes; # let other opers know when there is a failed oper attempt
  89. anti_nick_flood = yes; # enable / disable nick flood control
  90. max_nick_changes = 5; # max number of nick changes
  91. max_nick_time = 20 seconds; # in specified amount of time
  92. anti_spam_exit_message_time = 5 minutes; # min amount of time user must be connected before allowing a custom /quit msg to be sent
  93. dline_with_reason = yes; # show reason for dline on connect?
  94. kline_delay = 0 seconds; # delay in kline
  95. kline_with_reason = yes; # show the user reason when klined
  96. non_redundant_klines = yes; # flag and ignore redundant klines
  97. short_motd = no; # send short motd?
  98. connect_timeout = 30 seconds; # time we should wait for a connection request to succeed before we drop
  99. glines = yes; # enable / disable glines
  100. gline_time = 1 day; # default gline time
  101. max_targets = 4; # max number of users another user can notice or privmsg at once
  102. client_flood = 20; # max number of lines in a clients queue before they are dropped
  103. use_whois_actually = yes; # enable / disable whois actually
  104.  
  105. # modes and oper will be able to set
  106. oper_only_umodes = bots, cconn, debug, full, skill, nchange,
  107. rej, spy, external, operwall, locops, unauth;
  108.  
  109. oper_umodes = locops, servnotice, operwall, wallop; # modes and oper will automatically get when they operup
  110.  
  111.  
  112. };
  113.  
  114.  
  115. channel {
  116. no_create_on_split = no;
  117. };
  118.  
  119. modules {
  120. path = "/usr/share/ircd/modules";
  121. path = "/usr/share/ircd/modules/autoload";
  122. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement