#-#-#-#-#-#-#-#-#-#-#-#-# CLASS CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-# # # # Classes are a group of commands which are grouped together and # # given a unique name. They're used to define which commands # # are available to certain types of Operators. # # # # # # Note: It is possible to make a class which covers all available # # commands. To do this, specify commands="*". This is not really # # recommended, as it negates the whole purpose of the class system, # # however it is provided for fast configuration (e.g. in test nets). # # # #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-# # # # This is where you specify which types of operators you have on # # your server, as well as the commands they are allowed to use. # # This works alongside with the classes specified above. # # # #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-# # # # Opers are defined here. This is a very important section. # # Remember to only make operators out of trustworthy people. # # # # Operator account with a plaintext password. ). # Remember: This is case sensitive. name="Attila" # password: Case-sensitive, unhashed (plaintext). password="s3cret" # host: What hostnames and IPs are allowed to use this operator account. # Multiple options can be separated by spaces and CIDRs are allowed. # You can use just * or *@* for this section, but it is not recommended # for security reasons. host="attila@inspircd.org *@2001:db8::/32" # ** ADVANCED ** This option is disabled by default. # fingerprint: When using the sslinfo module, you may specify a space separated # list of TLS (SSL) client certificate fingerprints here. These can be obtained by using # the /SSLINFO command while the module is loaded, and is also noticed on connect. # This enhances security by verifying that the person opering up has # a matching TLS (SSL) client certificate, which is very difficult to # forge (impossible unless preimage attacks on the hash exist). # If the sslinfo module isn't loaded, this option will be ignored. #fingerprint="67cb9dc013248a829bb2171ed11becd4" # autologin: If a TLS (SSL) client certificate fingerprint for this oper is specified, # you can have the oper block automatically log in. This moves all security # of the oper block to the protection of the TLS (SSL) client certificate, so be sure # that the private key is well-protected! Requires the sslinfo module. #autologin="yes" # sslonly: If enabled, this oper can only oper up if they're using a TLS (SSL) connection. # Setting this option adds a decent bit of security. Highly recommended # if the oper is on wifi, or specifically, unsecured wifi. Note that it # is redundant to specify this option if you specify a fingerprint. # This setting only takes effect if the sslinfo module is loaded. #sslonly="yes" # vhost: Overrides the vhost in the type block. Class and modes may also # be overridden. vhost="attila.example.org" # type: Which type of operator this person is; see the block # above for the list of types. NOTE: This is case-sensitive as well. type="NetAdmin"> # Operator with a plaintext password and no comments, for easy copy & paste. # Operator with a hashed password. It is highly recommended to use hashed passwords. ). # Remember: This is case sensitive. name="Adam" # hash: The hash function this password is hashed with. Requires the # module for the selected function (bcrypt, md5, sha1, or sha256) and # the password hashing module (password_hash) to be loaded. # # You may also use any of the above other than bcrypt prefixed with # either "hmac-" or "pbkdf2-hmac-" (requires the pbkdf2 module). # Create hashed passwords with: /MKPASSWD . hash="bcrypt" # password: A hash of the password (see above option) hashed # with /MKPASSWD <hashtype> <plaintext>. See the password_hash module # in modules.conf for more information about password hashing. password="qQmv3LcF$Qh63wzmtUqWp9OXnLwe7yv1GcBwHpq59k2a0UrY8xe0" # host: What hostnames and IPs are allowed to use this operator account. # Multiple options can be separated by spaces and CIDRs are allowed. # You can use just * or *@* for this section, but it is not recommended # for security reasons. host="*@127.0.0.1 *@192.0.2.40 *@198.51.100.4" # type: Which type of operator this person is; see the block # above for the list of types. NOTE: This is case-sensitive as well. type="Helper"> # Once you have edited this file you can remove this line. This is just to # ensure that you don't hastily include the file without reading it. <die reason="Using opers.conf.example without editing it is a security risk">