Page 1 of 2
UnreaIRCD Win Oper help.
Posted: Mon Jun 15, 2009 5:05 pm
by h4tr3d
Hello, I have Unrealircd setup for windows.. on my win 2008 server... it runs fine...
but I can't seem to set the oper permissions right.... could someone maybe walk me through a tutorial on how to do it?... I Basically want to be able to login my ircd and anyone who knows the oper can oper themselfs... like /Oper H4tr3d H3LLX aswell as when I oper.. it pull me to #Opers...
.. I'm fairly new with this ircd stuff, i managed to get the config file up and working... but confused on this oper part.
If anyone can go into some detail and help me out would be greatly appreciated

Re: UnreaIRCD Win Oper help.
Posted: Mon Jun 15, 2009 7:18 pm
by h4tr3d
I got oper working for me only... but my friend cant... it takes him to opers room but thats it... anybody know how to set it to unlimited # of operators?
Re: UnreaIRCD Win Oper help.
Posted: Mon Jun 15, 2009 8:32 pm
by Stealth
Show us your oper block
Re: UnreaIRCD Win Oper help.
Posted: Mon Jun 15, 2009 10:21 pm
by h4tr3d
Here is my oper block... not sure if this is exactly what you need.
/* For a list of oper flags, see doc/unreal32docs.html#operblock
* [HIGHLY recommended to read]
*/
oper Ryan {
class clients;
from {
userhost *@*;
};
password "h4tr3d";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
Re: UnreaIRCD Win Oper help.
Posted: Mon Jun 15, 2009 10:28 pm
by katsklaw
that's exactly what he asked for, but what exactly are you typing to /oper ??
Please remember we are trying to troubleshoot the oper that *cant* login, not an oper than can. So this appears to either be your oper block (which works) or your "friend" is using your nick as his/her password.
Re: UnreaIRCD Win Oper help.
Posted: Mon Jun 15, 2009 11:44 pm
by h4tr3d
Ok.... Look.. I Can oper fine... by typing /oper Ryan h4tr3d ... but my friend when he types it.... he goes into the oper room... but he cannot +o Himself.......... Something must be wrong with my oper block i know it........
could anyone help?
i want anyone to be able to opt themself... whoever has the oper code....
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 11:21 am
by katsklaw
since you are using the allowed host of *@*, then anyone that types /oper Ryan h4tr3d will be opered. Basically, if it works for you it'll work for anyone. The oper block either works or it doesn't and you claim it works for you. Therefore, it works for everyone.
Also lets talk about +o, there are 2 different +o's 1 is a usermode that denotes you as an IRCop, the other is a channel mode +o which is chanop and is only granted by other channel operators or by services if the person is on the op list. These modes are *not* connected in any way. Opers are not automatically granted chanops (thankfully) status just because they are IRCops. It's possible you are getting ops in the oper channel because you are on the op list and they are not.
Hope that helps.
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 2:19 pm
by h4tr3d
Oper does not seem to work the way it should on my server...... if my friend makes A room... and i join it.... and than i try oper.... it does not let me.......something is wrong with it... perhaps, i could show you guys?
try connect to my irc channel and oper urself... /server 209.17.170.193 /oper Ryan mypasswordhere .. when i oper it takes me to opers and gives me +o ..but only because im first in the room... cause when i take away -o i can't re-give myself it..........
see if you can oper.... i bet you cant........

.. and i've written it exactly how it is in my .INI file.
I'm so frustrated with this.... here is an exact copy of my unreal ircd config.... to maybe help me diagnose my problem.. or where i've made errors..
http://209.17.170.193/unrealircd.conf
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 3:15 pm
by Stealth
Did you even bother reading what katsklaw said?
Also lets talk about +o, there are 2 different +o's 1 is a usermode that denotes you as an IRCop, the other is a channel mode +o which is chanop and is only granted by other channel operators or by services if the person is on the op list. These modes are *not* connected in any way. Opers are not automatically granted chanops (thankfully) status just because they are IRCops. It's possible you are getting ops in the oper channel because you are on the op list and they are not.
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 3:38 pm
by h4tr3d
How can i Add another user to the opt list..... and yes i did read it....also on linux ircds.... its never done this .. just windows
:S
and that dosent explain why when i oper myself and i de-opt... i cant re-opt myself... it says ur not channel operator
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 4:29 pm
by Stealth
h4tr3d wrote:and that dosent explain why when i oper myself and i de-opt... i cant re-opt myself... it says ur not channel operator
Because that's how IRC works
Again, opers do NOT automatically get op in every channel. It is that simple. It has always been that way on Unreal.
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 4:32 pm
by h4tr3d
Well can somone help me with this oper / user problem o.O
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 8:15 pm
by katsklaw
ok , I dropped by your server, I was the only one there .. I then opered as you said and it worked.
Code: Select all
.:15:05:. Nick: katsklaw [darkness@rox-*.tu.ok.cox.net][network]
.:15:05:. Real Name: Into the darkness
.:15:05:. Umodes: +iowghaAsxN +fFveqs
.:15:05:. Real Host: *@*.tu.ok.cox.net [network]
.:15:05:. Channels: #opers
.:15:05:. Server: elecserv.h4tr3d.hell [our server]
.:15:05:. Oper: Network Administrator
.:15:05:. HelpOp: katsklaw is available for help.
.:15:05:. Extra Info: whatever i likeee
.:15:05:. Idle Time: 6mins 39secs Sign On: Tue Jun 16 14:58:29 2009
.:15:05:. End of /WHOIS katsklaw
then I cloned
Code: Select all
.:15:05:. -
.:15:05:. Nick: katsklaw` [darkness@rox-*.tu.ok.cox.net][network]
.:15:05:. Real Name: Into the darkness
.:15:05:. Umodes: +iowghaAsxN +fFveqs
.:15:05:. Real Host: *@*.tu.ok.cox.net [network]
.:15:05:. Channels: #opers
.:15:05:. Server: elecserv.h4tr3d.hell [our server]
.:15:05:. Oper: Network Administrator
.:15:05:. HelpOp: katsklaw` is available for help.
.:15:05:. Extra Info: whatever i likeee
.:15:05:. Idle Time: 27secs Sign On: Tue Jun 16 15:04:54 2009
.:15:05:. End of /WHOIS katsklaw`
Then cloned again.
Code: Select all
.:15:05:. Nick: sdfgsdfg [darkness@rox-*.tu.ok.cox.net][network]
.:15:05:. Real Name: Into the darkness
.:15:05:. Umodes: +iowghaAsxN +fFveqs
.:15:05:. Real Host: *@*.tu.ok.cox.net [network]
.:15:05:. Channels: #opers
.:15:05:. Server: elecserv.h4tr3d.hell [our server]
.:15:05:. Oper: Network Administrator
.:15:05:. HelpOp: sdfgsdfg is available for help.
.:15:05:. Extra Info: whatever i likeee
.:15:05:. Idle Time: 12secs Sign On: Tue Jun 16 15:05:07 2009
.:15:05:. End of /WHOIS sdfgsdfg
.:15:05:. -
Everything worked as it should. It seems the only thing wrong is your expectations of how IRC works. That and you are missing services which will help out too.
What's happening is you gain ops for being the first in channel, then you deop thinking you can just simply type: /mode #channel +o your-nick and be re-opped.
1>
GAINING OPS IN A CHANNEL HAS NOTHING TO DO WITH BEING AN IRCOP!
2> Just my opinion but I think you need to work on your IRC knowledge more before running your own server. It seems you don't know the difference between IRCop and ChanOp nor the difference between chanmodes and umodes.
3> I can help fill in the gaps or explain something specific that you just don't quite understand, but I haven't the time to teach you everything from scratch .. sorry.
Good luck with your network.
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 8:24 pm
by h4tr3d
Ok, i understand that the first person who /opers is +o'd and than pulled to #Opers .. And When I do it thats what happens.. but when my friend does it.. hes puleld to #Oper .. but inside the oper.. he cannot +O himself .. nor can he become operator....... :S on other linux servers.. this same thing has not happend..... I Realize you were able to log in and oper.. but yourself.. but you were the only person there, if i had been there.. you would have not been able to oper... which is my big issue... and i know my friend is typing the command exactly.... it's like when I login and oper.. ok its fine.. than when he logs in and trys nothing happens.. almost like somewhere in my IRCD.conf it's stopping 2 people from being Oper...... i guess my final question is... how can i change this to work, the way i want it too?
Re: UnreaIRCD Win Oper help.
Posted: Tue Jun 16, 2009 8:36 pm
by katsklaw
h4tr3d wrote:Ok, i understand that the first person who /opers is +o'd and than pulled to #Opers .. And When I do it thats what happens.. but when my friend does it.. hes puleld to #Oper .. but inside the oper.. he cannot +O himself .. nor can he become operator....... :S on other linux servers.. this same thing has not happend..... i guess my final question is... how can i change this to work, the way i want it too?
I'm only going to explain this one last time, but I'll do it differently.
1> you type: /oper name password
2> The ircd validates your credintials and since all is good it sets you
umode +o (global ircop)
3> the ircd then forces you to join #Opers, where then you are granted
chanmode +o (chanop)
4> your friend types: /oper name password
5> The ircd validates their credintials and since all is good it sets them
umode +o (global ircop)
6> the ircd then forces them to join #Opers, where then they are
NOT granted
chanmode +o (chanop) because the channel is not empty!
7> Since you have no services, they have to be opped (chanop, chanmode +o) by you or another ChanOp, they can NOT do it themselves with the /mode cmd
This is where you are stuck.
Now, there IS a command that services admins (umode +a) can use and that is /samode, try:
/helpop ?samode for more information. You can also add the can_override flag to your oper block, it does seem to be missing, I can't promise that will "fix" it as you say since I don't believe in overrides.
Peace