Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Alex Sacramento on August 06, 2009, 10:47:41 PM

Title: Q-Lined nick kills oper when services is restarted
Post by: Alex Sacramento on August 06, 2009, 10:47:41 PM
Well, we know that Q-Line protects a nick to be used for a normal user, but any IRCop can use.. when I change my nick for a Q-Lined nick, it is normal, no kills.. but if the services is restarted, services kills my Q-Lined nick, even if it is oper.. I think that the services should check the nick if is O-Lined before to kill the nick on start.. any normal users can be killed, of course.. it may be some bug?
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Darth Panda on August 06, 2009, 10:51:41 PM
The purpose of a Q:Line is to prevent a nick from being used ... period. It's not designed to be a place holder for opers and if you are using a nick that is reserved for and by services you are likely being nick collided.

My advice, stop allowing your opers to use Q:Lined nicks.

PS: That means it's not a bug.
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Naram Qashat on August 07, 2009, 05:19:09 PM
Also, this has nothing to do with Anope either.  Q:lines are under the IRCd's realm of control, regardless of how they are set.
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Darth Panda on August 07, 2009, 06:29:22 PM
Also, this has nothing to do with Anope either.  Q:lines are under the IRCd's realm of control, regardless of how they are set.

So you're saying Anope won't do anything if an oper is using NickServ's nick when it starts? I bet it does as well as any other nick services Q:Lined.
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Naram Qashat on August 08, 2009, 07:44:53 PM
Well, as far as I can tell, at least with Anope 1.9.1 and InspIRCd 1.2, Anope does nothing if a client is using a pseudo-client's nick, but Insp sends an SVSNICK to change the pseudo-client to it's UID, and even if the client changes nicks later, Anope doesn't change the pseudo-client back.  It should be noted that Anope's inspircd12 apparently doesn't use Q:lines for the clients, Anope only sends UID commands to the server.  I haven't tested Anope 1.8.x or a different protocol module yet.  If anyone else can, make sure you run Anope in debug mode and can provide a log of what Anope sends and receives in the case of someone, say, using OperServ. (Assuming that OperServ is still named as such in the config)
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Alex Sacramento on August 09, 2009, 04:10:08 PM
Also, this has nothing to do with Anope either.  Q:lines are under the IRCd's realm of control, regardless of how they are set.

well.. on UnrealIRCD IRCops can use any Q-Lined nicks, I know that if you apply a SQLINE in an online nick, Services will automatically kill the nick if is a normal user.. but IRCops get not kill..
now, if you restart the services you will get kill.. even if is IRCop, admin, etc.. even autoidentified in the services.. perhaps is missing the IRCop check before the services kill the nick..
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Darth Panda on August 15, 2009, 03:24:37 PM
the best solution is still to prohibit the use of Q:Lined nicks even for opers.
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Jan Milants on August 15, 2009, 04:36:52 PM
It should be noted that Anope's inspircd12 apparently doesn't use Q:lines for the clients, Anope only sends UID commands to the server.  I haven't tested Anope 1.8.x or a different protocol module yet.  If anyone else can, make sure you run Anope in debug mode and can provide a log of what Anope sends and receives in the case of someone, say, using OperServ. (Assuming that OperServ is still named as such in the config)
The InspIRCd 1.2 protocol module for Anope 1.8 will sends Q:lines to the ircd for all its pseudo-clients.. however I haven't thought of what happens if a user already has it.. it ll probably not retake the client nicknames..
and i doubt i can change that without messing with the core.. I already had to make some core changes to be able to auto-id after services restart so..  ::)
Title: Re: Q-Lined nick kills oper when services is restarted
Post by: Naram Qashat on August 15, 2009, 06:54:49 PM
the best solution is still to prohibit the use of Q:Lined nicks even for opers.

And that right there is outside the control of Anope, as Anope does not enforce Q:lines, the IRCd does.