1 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
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. #
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) #
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"
20 # privs: special privileges that users with this class may utilise.
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.
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.
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)
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"
36 # usermodes: Oper-only usermodes that opers with this class can use.
39 # chanmodes: Oper-only channel modes that opers with this class can use.
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">
48 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
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. #
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.
61 # classes: classes (above blocks) that this type belongs to.
62 classes="OperChat BanControl HostCloak Shutdown ServerLink"
64 # vhost: host oper gets on oper-up. This is optional.
65 vhost="netadmin.omega.org.za"
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.
72 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" vhost="ircop.omega.org.za">
73 <type name="Helper" classes="HostCloak" vhost="helper.omega.org.za">
76 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
78 # Opers are defined here. This is a very important section. #
79 # Remember to only make operators out of trust worthy people. #
82 # oline with plain-text password
84 # name: oper login that is used to oper up (/oper name password).
85 # Remember: This is case sensitive
88 # password: case-sensitive, unhashed...yea...self-explanatory.
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"
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 /sslinfo
100 # command while the module is loaded, and is also noticed on connect.
101 # This enhances security by verifying that the person opering up has
102 # a matching SSL client certificate, which is very difficult to
103 # forge (impossible unless preimage attacks on the hash exist).
104 # If m_sslinfo isn't loaded, this option will be ignored.
105 #fingerprint="67cb9dc013248a829bb2171ed11becd4"
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
109 # if the oper is on wifi, or specifically, unsecured wifi. Note that it
110 # is redundant to specify this option if you specify a fingerprint.
111 # This setting only takes effect if m_sslinfo is loaded.
114 # vhost: overrides the vhost in the type block. Class and modes may also
116 vhost="brain.netadmin.omega"
118 # type: What oper type this oline is. See the block above for list
119 # of types. NOTE: This is case-sensitive as well.
122 # oline with plain-text password and no comments..for all who like copy & paste
126 host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
127 #fingerprint="67cb9dc013248a829bb2171ed11becd4"
130 # oline with hashed password. It is highly recommended to use hashed passwords.
132 # name: oper login that is used to oper up (/oper name password).
133 # Remember: This is case sensitive
136 # hash: what hash this password is hashed with. requires the module
137 # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be
138 # loaded and the password hashing module (m_password_hash.so)
139 # loaded. Options here are: "md5", "sha256" and "ripemd160".
140 # Create hashed password with: /mkpasswd <hash> <password>
143 # password: a hash of your password (see above option) hashed
144 # with /mkpasswd <hash> <password> . See m_password_hash in modules.conf
145 # for more information about password hashing.
146 password="1ec1c26b50d5d3c58d9583181af8076655fe00756bf7285940ba3670f99fcba0"
148 # host: What hostnames/IP's are allowed to oper up with this oline.
149 # Multiple options can be separated by spaces and CIDR's are allowed.
150 # You CAN use just * or *@* for this section, but it is not recommended
151 # for security reasons.
152 host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
154 # type: What oper type this oline is. See the block above for list
155 # of types. NOTE: This is case-sensitive as well.