Page 1 of 1

Services kill fight (myserver -> IRC), shutting down

Posted: Wed Feb 02, 2022 8:55 am
by mastersifoo
Dear

Services was shutting down when create a new bot server

Unrealircd version: UnrealIRCd-6.0.2
Atheme version: atheme 7.2.12
@BotServ> MasterSifoo BOT:ADD: IRC ([email protected]) [Channel Bot Services]
-BotServ- IRC ([email protected]) [Channel Bot Services] created.
[19:25] <@OperServ> handle_kill(): sifoo.ircnet.my killed service IRC (Bad nick)
[19:25] <@OperServ> handle_kill(): services kill fight (sifoo.ircnet.my -> IRC), shutting down
[19:25] * @ChanServ ([email protected]) Quit (shutting down)
Related with
https://github.com/unrealircd/unrealirc ... ick.c#L122

Re: Services kill fight (myserver -> IRC), shutting down

Posted: Wed Feb 02, 2022 10:26 am
by CrazyCat
Is atheme unlined in unrealircd ? And haven't you a ban block matching MasterSifoo (or whatever is the nick of the bot you create - something like "*M*a*s*t*e*r*") ?

Re: Services kill fight (myserver -> IRC), shutting down

Posted: Wed Feb 02, 2022 11:07 am
by mastersifoo
Nick 'IRC' not in bad nick list.

Re: Services kill fight (myserver -> IRC), shutting down

Posted: Wed Feb 02, 2022 12:32 pm
by CrazyCat
ok, you were right, it's an hardcoded denied as ircd.
So, two alternatives:
1. find another nick for your bot
2. remove the hardcoded condition and recompile unrealircd

Re: Services kill fight (myserver -> IRC), shutting down

Posted: Thu Feb 03, 2022 3:54 am
by mastersifoo
or just give a warning like:

Reserved for internal IRCd purposes

and halt, not to kill services proccess

Re: Services kill fight (myserver -> IRC), shutting down

Posted: Thu Mar 03, 2022 12:35 am
by Lord255
i wonder where this was hardcoded. :o ircd or anope side?
i tried to search but.. ircd is a quite often used word :D
so. if its unreal sided issue, maybe raise a bugreport?
(crazycat: if you could limk the relevant code i would appreciate it. :D)

Re: Services kill fight (myserver -> IRC), shutting down

Posted: Thu Mar 03, 2022 10:48 am
by CrazyCat
It's in modules/nick.c: https://github.com/unrealircd/unrealirc ... ick.c#L122

Code: Select all

if (!do_remote_nick_name(nick) || !strcasecmp("ircd", nick) || !strcasecmp("irc", nick))

Re: Services kill fight (myserver -> IRC), shutting down

Posted: Thu Mar 03, 2022 5:54 pm
by Lord255
CrazyCat wrote: Thu Mar 03, 2022 10:48 am It's in modules/nick.c: https://github.com/unrealircd/unrealirc ... ick.c#L122

Code: Select all

if (!do_remote_nick_name(nick) || !strcasecmp("ircd", nick) || !strcasecmp("irc", nick))
thx thx! :)