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

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Post Reply
mastersifoo
Posts: 3
Joined: Wed Feb 02, 2022 2:56 am

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

Post 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
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

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

Post 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*") ?
mastersifoo
Posts: 3
Joined: Wed Feb 02, 2022 2:56 am

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

Post by mastersifoo »

Nick 'IRC' not in bad nick list.
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

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

Post 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
mastersifoo
Posts: 3
Joined: Wed Feb 02, 2022 2:56 am

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

Post by mastersifoo »

or just give a warning like:

Reserved for internal IRCd purposes

and halt, not to kill services proccess
Lord255
Posts: 95
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

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

Post 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)
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

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

Post 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))
Lord255
Posts: 95
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

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

Post 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! :)
Post Reply