Advertisement
Guest User

ircd.conf

a guest
May 30th, 2017
746
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.71 KB | None | 0 0
  1. # =========================================================================
  2. # QUICKSTART: server configuration (see reference.conf for details)
  3. # =========================================================================
  4.  
  5. /* server name and administration info */
  6. global {
  7. name irc.Pinoy-Talaga.net; # IRC name of the server
  8. info "Pinoy torrent of your life"; # A short info line
  9. admin {
  10. "Jhong"; # Three information lines sent
  11. "Admin "; # in reply to ADMIN command
  12. "jhong@sedecalp@gmail.com";
  13. };
  14. };
  15.  
  16. /* server options */
  17. options {
  18. network_name irc.pinoy-talaga.net; # A name is needed even if not linked
  19. local_kline pinoytalaga2017@gmail.com; # Contact email for server bans
  20. show_links; # Show servers in LINKS
  21. allow_split_ops; # Give ops in empty channels
  22.  
  23. // use these options when services is on the network
  24. services_name services.pinoy-talaga.net; # Name of services (NS/CS/MS/RS) server
  25. stats_name stats.pinoy-talaga.net; # Name of stats (OS/SS/HS) server
  26. network_kline pinoytalaga2017@gmail.com; # Contact email for network bans
  27. nshelpurl "http://pinoy-talaga.net/help.php"; # Nick registration help page
  28.  
  29. // if you need to link more than 1 server, uncomment the following line
  30. # servtype hub;
  31. };
  32.  
  33. /* where to listen for connections */
  34. port {
  35. port 6667; # Port to listen on
  36. bind 127.0.0.1; # IP address to listen on
  37. flags S; # allow SSL connections on this port
  38. };
  39.  
  40. /* more listening ports */
  41. port { port 6668; bind 127.0.0.1; };
  42. port { port 6669; bind 127.0.0.1; };
  43. port { port 7000; bind 127.0.0.1; };
  44.  
  45. /* allow clients to connect */
  46. allow {
  47. host *@*; # Allow anyone
  48. class users; # Place them in the users class
  49. };
  50.  
  51. /* connection class for users */
  52. class {
  53. name users; # Class name
  54. maxusers 100; # Maximum connections
  55. pingfreq 90; # Check idle connections every N seconds
  56. maxsendq 100000; # 100KB send buffer limit
  57. };
  58.  
  59. /* connection class for server operators */
  60. class {
  61. name opers;
  62. pingfreq 90;
  63. maxsendq 500000; # 500KB limit for opers
  64. };
  65.  
  66. /* the server administrator */
  67. oper {
  68. name Jhong; # Username
  69. passwd letmein; # Password
  70. access OAaRD; # Server Administrator
  71. host *@*; # Must be connecting from here
  72. // insert other other hostmasks here
  73. class opers; # Belongs in the opers class
  74. };
  75.  
  76. /* for services */
  77. super {
  78. "services.pinoy-talaga.net";
  79. "stats.pinoy-talaga.net";
  80. // insert any other special servers here
  81. };
  82.  
  83. /* reserved nicknames */
  84. restrict { type nick; mask "NickServ"; reason "reserved for services"; };
  85. restrict { type nick; mask "ChanServ"; reason "reserved for services"; };
  86. restrict { type nick; mask "MemoServ"; reason "reserved for services"; };
  87. restrict { type nick; mask "RootServ"; reason "reserved for services"; };
  88. restrict { type nick; mask "OperServ"; reason "reserved for services"; };
  89. restrict { type nick; mask "StatServ"; reason "reserved for services"; };
  90. restrict { type nick; mask "HelpServ"; reason "reserved for services"; };
  91. restrict { type nick; mask "services"; reason "reserved for services"; };
  92.  
  93.  
  94. /* === these next two blocks are for linking to a hub === */
  95.  
  96. /* class for uplink hub */
  97. class {
  98. name hub;
  99. pingfreq 120; # Idle check every 2 minutes
  100. connfreq 300; # Try autoconnect every 5 minutes
  101. maxsendq 1000000; # 1MB send queue
  102. maxlinks 1; # Autoconnect to only 1 hub at a time
  103. };
  104.  
  105. /* our uplink hub */
  106. connect {
  107. name hub.name; # Hub's IRC name
  108. host 172.16.4.2; # Hub's IP address
  109. port 7325; # Autoconnect to hub's port 7325
  110. bind 127.0.0.1; # We connect from this IP
  111. apasswd letmein; # We accept this password from hub
  112. cpasswd letmein; # We send this password to hub
  113. flags H; # It is a hub
  114. class hub; # Use hub class
  115. };
  116.  
  117.  
  118. /* === these next two blocks are for linking to services === */
  119.  
  120. /* class for services */
  121. class {
  122. name services;
  123. pingfreq 60; # Idle check every minute
  124. maxsendq 5000000; # 5MB backlog buffer
  125. };
  126.  
  127. /* our services */
  128. connect {
  129. name services.pinoy-talaga.net; # Services' IRC name
  130. host 127.0.0.1; # IP address services connects from
  131. apasswd letmein; # Password services sends
  132. cpasswd letmein; # Same password
  133. class services;
  134. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement