Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: User gets killed instead of having nick changed  (Read 7357 times)

0 Members and 1 Guest are viewing this topic.

Fabien ANDRE

  • Anope User
  • Offline Offline
  • Posts: 2
User gets killed instead of having nick changed
« on: October 11, 2011, 02:30:42 PM »

Hi,

I am using Anope 1.8.6 with hybrid 7.2.2 and when a nick is registered NickServ kills the user instead of changing its nick to Guest<number>.

If I try to use the nick "C7", which is registered, I have this in anope logs :
[Oct 11 15:27:20.190764 2011] debug: Received: PING :insa.xion345.info
[Oct 11 15:27:20.190789 2011] debug: Sent: :services.xion345.info PONG insa.xion345.info
[Oct 11 15:27:20.190822 2011] debug: Received: :insa.xion345.info 421 ChanServ SVSNICK :Unknown command
[Oct 11 15:27:20.190834 2011] debug: unknown message from server (:insa.xion345.info 421 ChanServ SVSNICK :Unknown command)
[Oct 11 15:27:23.518255 2011] debug: Received: NICK C7 1 1318339643 +i ~C7 pc-rdt2101.res.insa insa.xion345.info :purple
[Oct 11 15:27:23.518352 2011] debug: new user: C7
[Oct 11 15:27:23.518521 2011] debug: Sent: :services.xion345.info SVSMODE C7 +d 1
[Oct 11 15:27:23.518555 2011] debug: Emitting event "newnick" (1 args)
[Oct 11 15:27:23.518636 2011] debug: Sent: :NickServ NOTICE C7 :This nickname is registered and protected.  If it is your
[Oct 11 15:27:23.518737 2011] debug: Sent: :NickServ NOTICE C7 :nick, type /msg NickServ IDENTIFY password.  Otherwise,
[Oct 11 15:27:23.518809 2011] debug: Sent: :NickServ NOTICE C7 :please choose a different nick.
[Oct 11 15:27:23.518888 2011] debug: Sent: :NickServ NOTICE C7 :If you do not change within one minute, I will change your nick.
[Oct 11 15:27:23.518921 2011] debug: Changing mode for C7 to +i
[Oct 11 15:27:23.518998 2011] debug: Received: :insa.xion345.info SJOIN 1318252322 #general + :C7
[Oct 11 15:27:23.519041 2011] debug: Emitting event "join_channel" (3 args)
[Oct 11 15:27:23.519068 2011] debug: C7 joins #general
[Oct 11 15:27:23.519098 2011] debug: Setting correct user modes for C7 on #general (current status: 0, giving modes)
[Oct 11 15:27:23.519127 2011] debug: Emitting event "join_channel" (3 args)
[Oct 11 15:27:23.519154 2011] debug: Changing modes for #general to +
[Oct 11 15:27:27.169755 2011] debug: Received: :Xion345 PRIVMSG NickServ :identify fabion20
[Oct 11 15:27:27.169921 2011] enc_sha1: hashed from [fabion20] to [572C950C5E2F33BD1C47DAD784774B4BA2A8A31B]
[Oct 11 15:27:27.169974 2011] debug: Emitting event "nick_id" (1 args)
[Oct 11 15:27:27.170005 2011] NickServ: Xion345!fabien@192.168.42.201 identified for nick Xion345
[Oct 11 15:27:27.170156 2011] debug: Sent: :NickServ NOTICE Xion345 :Password accepted - you are now recognized.
[Oct 11 15:28:27.231236 2011] debug: Sent: :NickServ KILL C7 :NickServ (Services nickname-enforcer kill)
[Oct 11 15:28:27.231328 2011] debug: C7 killed
[Oct 11 15:28:27.231366 2011] debug: Emitting event "user_logoff" (1 args)

Here are the relevant parts of Hybrid and anope configuration :

Hybrid
Code: [Select]
connect {
    name = "services.xion345.info";
    host = "127.0.0.1";
    send_password = "xxxxxxxxxxx";
    accept_password = "xxxxxxx";
    port = 60001;
    class = "server";
    hub_mask = "*";
}

shared {
        name = "services.xion345.info";
};

Anope
Code: [Select]
IRCDModule "hybrid"
RemoteServer    127.0.0.1 60000 "xxxxxx"

ServerName  "services.xion345.info"
ServerDesc  "Services for IRC Networks"
ServiceUser "services@localhost"

NSDefKill
NSDefSecure
NSDefPrivate
NSDefHideEmail
NSDefHideUsermask
NSDefMemoSignon
NSDefMemoReceive

Do you have any idea why NickServ kills users instead of changing their nicks ?
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: User gets killed instead of having nick changed
« Reply #1 on: October 11, 2011, 02:42:12 PM »

Simply because hybrid does not support the SVSNICK command needed to force change a users nick.
In the absence of the SVSNICK command anope falls back on the old method of simply killing the user.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Fawkes

  • Anope User
  • Offline Offline
  • Posts: 21
Re: User gets killed instead of having nick changed
« Reply #2 on: October 11, 2011, 02:52:42 PM »

i can help you setting it up properly.

you got to install some of the contrib modules and so on ...
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: User gets killed instead of having nick changed
« Reply #3 on: October 11, 2011, 03:18:44 PM »

Simply because hybrid does not support the SVSNICK command needed to force change a users nick.
In the absence of the SVSNICK command anope falls back on the old method of simply killing the user.

Imho, if ircd->svsnick if 0 then anope shouldn't tell the user it will. So to me, that's a bug.
Logged

Fawkes

  • Anope User
  • Offline Offline
  • Posts: 21
Re: User gets killed instead of having nick changed
« Reply #4 on: October 11, 2011, 04:45:17 PM »

Imho, if ircd->svsnick if 0 then anope shouldn't tell the user it will. So to me, that's a bug.
hybrid ircd has no svsnick (only via contrib module)
means the services cant "protect" the nick... which means they will kill the user .
and even if you installed the contrib modules for hybrid, anope wont recognize them (means you have to set svsnick to 1 in the hybrid.c and need to recompile)
but still if you need help, feel free to pm me :)
Logged

Fabien ANDRE

  • Anope User
  • Offline Offline
  • Posts: 2
Re: User gets killed instead of having nick changed
« Reply #5 on: October 11, 2011, 05:11:56 PM »

Thank you for your help.
I think I am going to chance ircd (I also need the WEBIRC that hybrid doesn't support).

Do you have any ircd which is not too complicated to configure and which supports webirc and svsnick to recommend ?
Logged

Fawkes

  • Anope User
  • Offline Offline
  • Posts: 21
Re: User gets killed instead of having nick changed
« Reply #6 on: October 11, 2011, 05:35:40 PM »

Thank you for your help.
I think I am going to chance ircd (I also need the WEBIRC that hybrid doesn't support).

Do you have any ircd which is not too complicated to configure and which supports webirc and svsnick to recommend ?

hybrid supports webirc ...

well you may use inspircd or unrealircd
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: User gets killed instead of having nick changed
« Reply #7 on: October 12, 2011, 01:03:01 AM »

hybrid ircd has no svsnick (only via contrib module)
means the services cant "protect" the nick... which means they will kill the user .
and even if you installed the contrib modules for hybrid, anope wont recognize them (means you have to set svsnick to 1 in the hybrid.c and need to recompile)
but still if you need help, feel free to pm me :)

I wasn't needing help if fact, not only do I know where and how the bug exists but where and how to patch it. Im saying that if anope claims it will change a users nick and it can't because its code, then it's a bug.
Logged
Pages: [1]   Go Up