Advertisement
Guest User

Untitled

a guest
May 16th, 2017
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 10.15 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
  19. GUNLOADMODULE GRELOADMODULE SAJOIN SAPART SANICK SAQUIT SATOPIC SAMODE
  20. SAWHOIS SAKICK"
  21.  
  22.     # privs: special privileges that users with this class may utilise.
  23.     #  VIEWING:
  24.     #   - channels/auspex: allows opers with this priv to see more
  25. #detail about channels than normal users.
  26.     #   - users/auspex: allows opers with this priv to view more
  27. #details about users than normal users.
  28.     #   - servers/auspex: allows opers with this priv to see more
  29. #detail about server information than normal users.
  30.     # ACTIONS:
  31.     #   - users/mass-message: allows opers with this priv to PRIVMSG
  32. #and NOTICE to a server mask (e.g. NOTICE $*)
  33.     #   - channels/high-join-limit: allows opers with this priv to join
  34. #<channels:opers> total channels instead of <channels:users> total
  35. #channels.
  36.      #   - channels/set-permanent: allows opers with this priv to set +P
  37. #on channels with m_permchannels.
  38.      # PERMISSIONS:
  39.      #   - users/flood/no-throttle: allows opers with this priv to send
  40. #commands without being throttled (*NOTE)
  41.      #   - users/flood/increased-buffers: allows opers with this priv to
  42. #send and recieve data without worrying about being disconnected for
  43. #exceeding limits (*NOTE)
  44.      #
  45.      # *NOTE: These privs are potantially dangerous, as they grant users
  46. #with them the ability to hammer your server's CPU/RAM as much as they
  47. #want, essentially.
  48.      privs="users/auspex channels/auspex servers/auspex
  49. users/mass-message channels/high-join-limit channels/set-permanent
  50. users/flood/no-throttle users/flood/increased-buffers"
  51.      # usermodes: Oper-only usermodes that opers with this class can
  52. #use.
  53.      usermodes="*"
  54.  
  55.      # chanmodes: Oper-only channel modes that opers with this class can
  56.  
  57. #use.
  58.      chanmodes="*">
  59.  
  60. <class name="ServerLink" commands="CONNECT SQUIT CONNECT MKPASSWD
  61. ALLTIME SWHOIS CLOSE JUMPSERVER LOCKSERV UNLOCKSERV" usermodes="*"
  62. chanmodes="*" privs="servers/auspex">
  63. <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE
  64. TLINE RLINE CHECK NICKLOCK NICKUNLOCK SHUN CLONES CBAN" usermodes="*"
  65. chanmodes="*">
  66. <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE" usermodes="*"
  67. chanmodes="*" privs="users/mass-message">
  68. <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST
  69. CHGIDENT TAXONOMY OPERMOTD WALLOPS" usermodes="*" chanmodes="*"
  70. privs="users/auspex">
  71. <class name="SA" commands="SAJOIN SAPART SANICK SAQUIT SATOPIC SAMODE
  72. SAWHOIS SAKICK" usermodes="*" chanmodes="*">
  73. <class name="Chazzprivs" commands="" privs="users/auspex channels/auspex
  74. servers/auspex users/mass-message channels/high-join-limit
  75. chanmodes="*">
  76. <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE" usermodes="*"
  77. chanmodes="*" privs="users/mass-message">
  78. <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST
  79. CHGIDENT TAXONOMY OPERMOTD WALLOPS" usermodes="*" chanmodes="*"
  80. privs="users/auspex">
  81. <class name="SA" commands="SAJOIN SAPART SANICK SAQUIT SATOPIC SAMODE
  82. SAWHOIS SAKICK" usermodes="*" chanmodes="*">
  83. <class name="Chazzprivs" commands="" privs="users/auspex channels/auspex
  84. servers/auspex users/mass-message channels/high-join-limit
  85. channels/set-permanent users/flood/no-throttle
  86. users/flood/increased-buffers">
  87. #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
  88. #                                                                     #
  89. #   This is where you specify which types of operators you have on    #
  90. #   your server, as well as the commands they are allowed to use.     #
  91. #   This works alongside with the classes specified above.            #
  92. #                                                                     #
  93.  
  94. <type
  95.    # name: Name of type. Used in actual olines below.
  96.    # Cannot contain spaces. If you would like a space, use
  97.    # the _ character instead and it will translate to a space on whois.
  98.    name="NetAdmin"
  99.  
  100.    # classes: classes (above blocks) that this type belongs to.
  101.    classes="OperChat BanControl HostCloak Shutdown ServerLink"
  102.  
  103.    # host: host oper gets on oper-up. This is optional.
  104. #    host="netadmin.omega.org.za"
  105.    override="INVITE KEY LIMIT BANWALK KICK MODEOP MODEDEOP MODEVOICE
  106. MODEDEVOICE MODEHALFOP MODEDEHALFOP OTHERMODE"
  107.    # modes: usermodes besides +o that are set on a oper of this type
  108.    # when they oper up. Used for snomasks and other things.
  109.    # Requires that m_opermodes.so be loaded.
  110.    modes="wh +l">
  111. <type name="IRCOp" classes="OperChat BanControl HostCloak SA Chazzprivs"
  112. override="INVITE KEY KICK MODEVOICE MODEHALFOP OTHERMODE" modes="wh +l">
  113. <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink"
  114. override="INVITE KEY LIMIT BANWALK KICK MODEOP MODEDEOP MODEVOICE
  115. MODEDEVOICE MODEHALFOP MODEDEHALFOP OTHERMODE" modes="wh +l">
  116. <type name="Helper" classes="HostCloak" modes="wh +l">
  117.  
  118.  
  119. #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
  120. #                                                                     #
  121. #   Opers are defined here. This is a very important section.         #
  122. #   Remember to only make operators out of trust worthy people.       #
  123. #                                                                     #
  124.  
  125. # oline with plain-text password
  126. #<oper
  127. #      # name: oper login that is used to oper up (/oper name password).
  128. #      # Remember: This is case sensitive
  129. #      #name="Brain"
  130.  
  131. #      # password: case-sensitive, unhashed...yea...self-explanatory.
  132. #      #password="s3cret"
  133.  
  134. #      # host: What hostnames/IP's are allowed to oper up with this
  135. #oline.
  136. #      # Multiple options can be separated by spaces and CIDR's are
  137. #allowed.
  138. #      # You CAN use just * or *@* for this section, but it is not
  139. recommended
  140. #      # for security reasons.
  141. #      #host="ident@dialup15.isp.com *@localhost *@server.com
  142. #*@3ffe::0/16"
  143.  
  144. #      # ** ADVANCED ** This option is disabled by default.
  145. #      # fingerprint: When using the m_sslinfo module, you may specify
  146. #      # a key fingerprint here. This can be obtained by using the
  147. #      # /fingerprint command while the module is loaded. This enhances
  148. #      # security by verifying that the person opering up has the
  149. #matching
  150. #     # key/certificate combination. This enhances security a great
  151. #deal.
  152. #      # If m_sslinfo and m_ssl_gnutls/m_ssl_openssl aren't loaded,
  153. #      # this option will be ignored.
  154. #      #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
  155. #      # sslonly: This oper can only oper up if they're using a SSL
  156. #connection.
  157. #      # Setting this option adds a decent bit of security. Highly
  158. #recommended if
  159. #      # the oper is on wifi or specifically, unsecured wifi.
  160. #      # This setting only takes effect if m_sslinfo and m_ssl_gnutls or
  161. #m_ssl_openssl
  162. #      # are loaded.
  163. #      #sslonly="yes"
  164.  
  165. #      # type: What oper type this oline is. See the block above for
  166. #list
  167. #      # of types. NOTE: This is case-sensitive as well.
  168. #      type="NetAdmin">
  169.  
  170. # oline with plain-text password and no comments..for all who like copy
  171. & paste
  172. #<oper
  173. #      name="Brain"
  174. #      password="s3cret"
  175. #      host="ident@dialup15.isp.com *@localhost *@server.com
  176. *@3ffe::0/16"
  177. #      #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
  178. #      type="NetAdmin">
  179.  
  180. # oline with hashed password. It is highly recommended to use hashed
  181. #passwords.
  182. #<oper
  183. #      # name: oper login that is used to oper up (/oper name password).
  184. #      # Remember: This is case sensitive
  185. #      name="electricmaster"
  186.  
  187. #      # hash: what hash this password is hashed with. requires the
  188. #module
  189. #      # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
  190. #      # loaded and the password hashing module (m_password_hash.so)
  191. #      # loaded. Options here are: "md5", "sha256" and "ripemd160".
  192. #      # Create hashed password with: /mkpasswd <hash> <password>
  193. #     #hash="sha256"
  194.  
  195. #      # password: a hash of your password (see above option) hashed
  196. #      # with /mkpasswd <hash> <password> . See m_password_hash in
  197. #modules.conf
  198. #      # for more information about password hashing.
  199. #
  200. #password="2978e6080609886c2255193f2a3ed3ec3c0b2ab8554eb769c5ccebf1¬
  201. #8d6f2f9b"
  202.  
  203. #      # host: What hostnames/IP's are allowed to oper up with this
  204. #oline.
  205. #      # Multiple options can be separated by spaces and CIDR's are
  206. #allowed.
  207. #      # You CAN use just * or *@* for this section, but it is not
  208. #recommended
  209. #      # for security reasons.
  210. #      #host="ident@dialup15.isp.com *@localhost *@server.com
  211. #*@3ffe::0/16"
  212. #
  213. #      # type: What oper type this oline is. See the block above for
  214. #list
  215. #      # of types. NOTE: This is case-sensitive as well.
  216. #      type="NetAdmin">
  217.  
  218. <oper name="electricmaster"
  219. password="277389da13777bfce734c0a3acef284f613ea8325fb4cdf95f0f161447b48cfe"
  220. hash="sha256" host="*@*" type="NetAdmin">
  221. <oper name="KevinM"
  222. password="72457fa9c79ad97401c0815a30edcbc038a551c19f0c7b9e86014b7f84cb2441"
  223. hash="sha256" host="*@*" type="NetAdmin">
  224. <oper name="Ambur"
  225. password="c2ee57b13c10e71a29e4fab57032b5319a8f0e8d14c48ccdc4aab98536d75264"
  226. hash="sha256" host="*@*" type="IRCOp"> #jqswkfoa
  227. <oper name="dbdii407"
  228. password="a55e8598011000ba805dd2cf4e8da85863cd76e807055eac47c7a675684ff9ed"
  229. hash="sha256" host="*@*" type="IRCOp">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement