Advertisement
Guest User

Untitled

a guest
May 15th, 2017
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.20 KB | None | 0 0
  1. #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
  2. # #
  3. # Classes are a group of commands which are grouped together and #
  4. # given a unique name. They're used to define which commands #
  5. # are available to certain types of Operators. #
  6. # #
  7. # #
  8. # Note: It is possible to make a class which covers all available #
  9. # commands. To do this, specify commands="*". This is not really #
  10. # recommended, as it negates the whole purpose of the class system, #
  11. # however it is provided for fast configuration (e.g. in test nets) #
  12. # #
  13.  
  14. <class
  15. name="Shutdown"
  16.  
  17. # commands: oper commands that users of this class can run.
  18. commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD GUNLOADMODULE GRELOADMODULE SAJOIN SAPART SANICK SAQUIT SATOPIC"
  19.  
  20. # privs: special privileges that users with this class may utilise.
  21. # VIEWING:
  22. # - channels/auspex: allows opers with this priv to see more detail about channels than normal users.
  23. # - users/auspex: allows opers with this priv to view more details about users than normal users.
  24. # - servers/auspex: allows opers with this priv to see more detail about server information than normal users.
  25. # ACTIONS:
  26. # - users/mass-message: allows opers with this priv to PRIVMSG and NOTICE to a server mask (e.g. NOTICE $*)
  27. # - channels/high-join-limit: allows opers with this priv to join <channels:opers> total channels instead of <channels:users> total channels.
  28. # - channels/set-permanent: allows opers with this priv to set +P on channels with m_permchannels.
  29. # PERMISSIONS:
  30. # - users/flood/no-throttle: allows opers with this priv to send commands without being throttled (*NOTE)
  31. # - users/flood/increased-buffers: allows opers with this priv to send and recieve data without worrying about being disconnected for exceeding limits (*NOTE)
  32. #
  33. # *NOTE: These privs are potantially dangerous, as they grant users with them the ability to hammer your server's CPU/RAM as much as they want, essentially.
  34. privs="users/auspex channels/auspex servers/auspex users/mass-message channels/high-join-limit channels/set-permanent users/flood/no-throttle users/flood/increased-buffers"
  35.  
  36. # usermodes: Oper-only usermodes that opers with this class can use.
  37. usermodes="*"
  38.  
  39. # chanmodes: Oper-only channel modes that opers with this class can use.
  40. chanmodes="*">
  41.  
  42. <class name="ServerLink" commands="CONNECT SQUIT CONNECT MKPASSWD ALLTIME SWHOIS CLOSE JUMPSERVER LOCKSERV" usermodes="*" chanmodes="*" privs="servers/auspex">
  43. <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE TLINE RLINE CHECK NICKLOCK SHUN CLONES CBAN" usermodes="*" chanmodes="*">
  44. <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE" usermodes="*" chanmodes="*" privs="users/mass-message">
  45. <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT TAXONOMY" usermodes="*" chanmodes="*" privs="users/auspex">
  46.  
  47.  
  48. #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
  49. # #
  50. # This is where you specify which types of operators you have on #
  51. # your server, as well as the commands they are allowed to use. #
  52. # This works alongside with the classes specified above. #
  53. # #
  54.  
  55. <type
  56. # name: Name of type. Used in actual olines below.
  57. # Cannot contain spaces. If you would like a space, use
  58. # the _ character instead and it will translate to a space on whois.
  59. name="NetAdmin"
  60.  
  61. # classes: classes (above blocks) that this type belongs to.
  62. classes="OperChat BanControl HostCloak Shutdown ServerLink"
  63.  
  64. # host: host oper gets on oper-up. This is optional.
  65. host="netadmin.omega.org.za"
  66.  
  67. # modes: usermodes besides +o that are set on a oper of this type
  68. # when they oper up. Used for snomasks and other things.
  69. # Requires that m_opermodes.so be loaded.
  70. modes="+s +cCqQ">
  71.  
  72. <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
  73. <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
  74.  
  75.  
  76. #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
  77. # #
  78. # Opers are defined here. This is a very important section. #
  79. # Remember to only make operators out of trust worthy people. #
  80. # #
  81.  
  82. # oline with plain-text password
  83. <oper
  84. # name: oper login that is used to oper up (/oper name password).
  85. # Remember: This is case sensitive
  86. name="Witness"
  87.  
  88. # password: case-sensitive, unhashed...yea...self-explanatory.
  89. password="bornagain1"
  90.  
  91. # host: What hostnames/IP's are allowed to oper up with this oline.
  92. # Multiple options can be separated by spaces and CIDR's are allowed.
  93. # You CAN use just * or *@* for this section, but it is not recommended
  94. # for security reasons.
  95. host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
  96.  
  97. # ** ADVANCED ** This option is disabled by default.
  98. # fingerprint: When using the m_sslinfo module, you may specify
  99. # a key fingerprint here. This can be obtained by using the
  100. # /fingerprint command while the module is loaded. This enhances
  101. # security by verifying that the person opering up has the matching
  102. # key/certificate combination. This enhances security a great deal.
  103. # If m_sslinfo and m_ssl_gnutls/m_ssl_openssl aren't loaded,
  104. # this option will be ignored.
  105. #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
  106.  
  107. # sslonly: This oper can only oper up if they're using a SSL connection.
  108. # Setting this option adds a decent bit of security. Highly recommended if
  109. # the oper is on wifi or specifically, unsecured wifi.
  110. # This setting only takes effect if m_sslinfo and m_ssl_gnutls or m_ssl_openssl
  111. # are loaded.
  112. #sslonly="yes"
  113.  
  114. # type: What oper type this oline is. See the block above for list
  115. # of types. NOTE: This is case-sensitive as well.
  116. type="NetAdmin">
  117.  
  118. # oline with plain-text password and no comments..for all who like copy & paste
  119. <oper
  120. name="Brain"
  121. password="s3cret"
  122. host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
  123. #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
  124. type="NetAdmin">
  125.  
  126. # oline with hashed password. It is highly recommended to use hashed passwords.
  127. <oper
  128. # name: oper login that is used to oper up (/oper name password).
  129. # Remember: This is case sensitive
  130. name="Brain"
  131.  
  132. # hash: what hash this password is hashed with. requires the module
  133. # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
  134. # loaded and the password hashing module (m_password_hash.so)
  135. # loaded. Options here are: "md5", "sha256" and "ripemd160".
  136. # Create hashed password with: /mkpasswd <hash> <password>
  137. hash="sha256"
  138.  
  139. # password: a hash of your password (see above option) hashed
  140. # with /mkpasswd <hash> <password> . See m_password_hash in modules.conf
  141. # for more information about password hashing.
  142. password="1ec1c26b50d5d3c58d9583181af8076655fe00756bf7285940ba3670f99fcba0"
  143.  
  144. # host: What hostnames/IP's are allowed to oper up with this oline.
  145. # Multiple options can be separated by spaces and CIDR's are allowed.
  146. # You CAN use just * or *@* for this section, but it is not recommended
  147. # for security reasons.
  148. host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
  149.  
  150. # type: What oper type this oline is. See the block above for list
  151. # of types. NOTE: This is case-sensitive as well.
  152. type="NetAdmin">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement