Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Q-Lined nick kills oper when services is restarted  (Read 7164 times)

0 Members and 1 Guest are viewing this topic.

Alex Sacramento

  • Anope User
  • Offline Offline
  • Posts: 2
Q-Lined nick kills oper when services is restarted
« 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?
Logged

Darth Panda

  • Anope User
  • Offline Offline
  • Posts: 33
    • Cheap Software
Re: Q-Lined nick kills oper when services is restarted
« Reply #1 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.
Logged
Some things just don't need to be fixed.
Less is usually more.
One meets his destiny often on the road he takes to avoid it.

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Q-Lined nick kills oper when services is restarted
« Reply #2 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.
Logged

Darth Panda

  • Anope User
  • Offline Offline
  • Posts: 33
    • Cheap Software
Re: Q-Lined nick kills oper when services is restarted
« Reply #3 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.
Logged
Some things just don't need to be fixed.
Less is usually more.
One meets his destiny often on the road he takes to avoid it.

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Q-Lined nick kills oper when services is restarted
« Reply #4 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)
Logged

Alex Sacramento

  • Anope User
  • Offline Offline
  • Posts: 2
Re: Q-Lined nick kills oper when services is restarted
« Reply #5 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..
Logged

Darth Panda

  • Anope User
  • Offline Offline
  • Posts: 33
    • Cheap Software
Re: Q-Lined nick kills oper when services is restarted
« Reply #6 on: August 15, 2009, 03:24:37 PM »

the best solution is still to prohibit the use of Q:Lined nicks even for opers.
Logged
Some things just don't need to be fixed.
Less is usually more.
One meets his destiny often on the road he takes to avoid it.

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Q-Lined nick kills oper when services is restarted
« Reply #7 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..  ::)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Q-Lined nick kills oper when services is restarted
« Reply #8 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.
Logged
Pages: [1]   Go Up