Hi All,<br><br>I am a newbie in setting up an IRC server/<br>I have my IRC up and running but I am not able to become an IRC operator.<br>I am able to become a channel operator.<br><br>Following are the auth and oper blocks I have in the order. When I try to be an IRC operator I always get error code "491" which probably says that I am missing an "O-line".<br>
But I don't understand where and how to write that "O-line".<br><br>In the operator block I did try writing the following line but it did not work.<br> user = "O:sn6i23a";<br><br>Any help is really appreciated. I am using version 8.0.4<br>
<br>Thanks<br>Snehal.<br><br><br>auth {<br> /*<br> * user: the user@host allowed to connect. Multiple user<br> * lines are permitted per auth block.<br> */<br> #user = "*@<a href="http://172.16.0.0/12">172.16.0.0/12</a>";<br>
#user = "*test@123D:B567:*";<br> user = "*@*";<br><br> /* password: an optional password that is required to use this block */<br> #password = "letmein";<br><br> /*<br> * encrypted: controls whether the auth password above has been<br>
* encrypted.<br> */<br> encrypted = yes;<br><br> /*<br> * spoof: fake the users host to this. This is free-form,<br> * just do everyone a favor and don't abuse it. ('=' prefix on /stats I)<br>
*/<br> spoof = "I.still.hate.packets - Snehal";<br><br> /* class: the class the user is placed in */<br> class = "opers";<br><br> /*<br> * need_password - don't allow users who haven't supplied the correct<br>
* password to connect using another auth{} block<br> * ('&' prefix on /stats I if disabled)<br> * need_ident - require the user to have identd to connect ('+' prefix on /stats I)<br>
* spoof_notice - enable spoofing notification to admins<br> * exceed_limit - allow a user to exceed class limits ('>' prefix on /stats I)<br> * kline_exempt - exempt this user from k/glines ('^' prefix on /stats I)<br>
* gline_exempt - exempt this user from glines ('_' prefix on /stats I)<br> * resv_exempt - exempt this user from resvs ('$' prefix on /stats I)<br> * no_tilde - remove ~ from a user with no ident ('-' prefix on /stats I)<br>
* can_flood - allow this user to exceed flood limits ('|' prefix on /stats I)<br> */<br> flags = need_password, spoof_notice, exceed_limit, kline_exempt,<br> gline_exempt, resv_exempt, no_tilde, can_flood;<br>
<br># flags = spoof_notice, exceed_limit, kline_exempt,<br># gline_exempt, resv_exempt, no_tilde, can_flood;<br><br>};<br><br>auth {<br> /*<br> * redirect: the server and port to redirect a user to. A user does<br>
* not have to obey the redirection, the ircd just suggests an alternative<br> * server for them.<br> */<br> redirserv = "this.is.not.a.real.server";<br> redirport = 6667;<br> <br> user = "*.server";<br>
<br> /* class: a class is required even though it is not used */<br> class = "users";<br>};<br><br>auth {<br> user = "*@*";<br> class = "users";<br># flags = need_ident;<br>};<br>
<br>operator {<br> /* name: the name of the oper */<br> name = "Snehal Patel";<br><br> /*<br> * user: the user@host required for this operator. Multiple<br> * user="" lines are supported.<br>
*/<br> #user = "*<a href="http://sheep@192.168.0.0/16">sheep@192.168.0.0/16</a>";<br> #user = "*@<a href="http://127.0.0.0/8">127.0.0.0/8</a>";<br> user = "sn6i23a";<br><br> /*<br>
* password: the password required to oper. By default this will<br> * need to be encrypted by using the provided mkpasswd tool.<br> * Several password hash algorithms are available depending<br> * on your system's crypt() implementation. For example, a modern<br>
* glibc already has support for SHA-256/512, and MD5 encryption<br> * algorithms.<br> */<br> password = "td2do/4xnfiUE";<br><br> /*<br> * encrypted: controls whether the oper password above has been<br>
* encrypted.<br> */<br> encrypted = yes;<br><br> /*<br> * rsa_public_key_file: the public key for this oper when using Challenge.<br> * A password should not be defined when this is used, see <br> * doc/challenge.txt for more information.<br>
*/<br> rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";<br><br> /* class: the class the oper joins when they successfully /oper */<br> class = "opers";<br><br> /*<br> * umodes: default usermodes opers get when they /oper. If defined,<br>
* it will override oper_umodes settings in general {}.<br> * Available usermodes:<br> *<br> * +b - bots - See bot and drone flooding notices<br> * +c - cconn - Client connection/quit notices<br>
* +C - cconn_full - Client connection/quit notices full<br> * +D - deaf - Don't receive channel messages<br> * +d - debug - See debugging notices<br> * +f - full - See auth{} block full notices<br>
* +G - softcallerid - Server Side Ignore for users not on your channels<br> * +g - callerid - Server Side Ignore (for privmsgs etc)<br> * +H - hidden - Hides operator status to other users<br> * +i - invisible - Not shown in NAMES or WHO unless you share a<br>
* a channel<br> * +j - rej - See rejected client notices<br> * +k - skill - See server generated KILL messages<br> * +l - locops - See LOCOPS messages<br> * +n - nchange - See client nick changes<br>
* +s - servnotice - See general server notices<br> * +u - unauth - See unauthorized client notices<br> * +w - wallop - See server generated WALLOPS<br> * +x - external - See remote server connection and split notices<br>
* +y - spy - See LINKS, STATS, TRACE notices etc.<br> * +z - operwall - See oper generated WALLOPS<br> */<br> umodes = locops, servnotice, operwall, wallop;<br><br> /*<br> * privileges: controls the activities and commands an oper is <br>
* allowed to do on the server. All options default to no.<br> * Available options:<br> *<br> * module - allows MODULE<br> * global_kill - allows remote users to be /KILL'd<br> * remote - allows remote SQUIT and CONNECT<br>
* remoteban - allows remote KLINE/UNKLINE<br> * dline - allows DLINE<br> * undline - allows UNDLINE<br> * kline - allows KILL and KLINE<br> * unkline - allows UNKLINE<br> * gline - allows GLINE<br>
* xline - allows XLINE<br> * globops - allows GLOBOPS<br> * operwall - allows OPERWALL<br> * nick_changes - allows oper to see nickchanges via usermode +n<br> * rehash - allows oper to REHASH config<br>
* die - allows DIE<br> * restart - allows RESTART<br> * set - allows SET<br> * admin - gives admin privileges. admins for example,<br> * may see the real IP addresses of servers.<br>
*/<br> flags = global_kill, remote, kline, unkline, xline, globops, restart,<br> die, rehash, nick_changes, admin, operwall, module;<br>};<br><br><br>