View Issue Details

IDProjectCategoryView StatusLast Update
0006300unrealircdpublic2023-08-19 12:19
ReporterAmiga600 Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version6.1.0 
Fixed in Version6.1.2-rc1 
Summary0006300: ban nick block - does not state who issued the command to cause the block message
DescriptionSay if you ban the nickname "NickServ" from being used, and the user tries to use it
they get this (which is fine)
[432] NickServ Nickname is unavailable: You cannot use Nicknames of Services Clients!
 
IRCOPS get this:
[info] Attempt to use banned nick nickserv [ip] blocked (You cannot use Nicknames of Services Clients!)
 
There is no mention above of the user who tried to obtain the nickname, eg. user!ident@host
 
ideally the server notice to ircops needs to be, and the ip/host info moved to the end:
[info] Attempt to use banned nick nickserv blocked (You cannot use Nicknames of Services Clients!) [user!ident@host] [ip]
 
Steps To ReproduceHave a ban nick block as follows:
ban nick { mask "*Serv"; reason "You cannot use Nicknames of Services Clients!"; }

connect say using "NickServ" and it will correctly stop you

connect say as "test" then change nickname to "NickServ" the above happens (from "description") but it does not say who did the /nick NickServ command - would be more useful to ircops if it did say who tried it
TagsNo tags attached.
3rd party modules

Activities

syzop

2023-08-19 12:19

administrator   ~0023005

Thanks, fixed now.

commit d63a8cf2d540c68c36bf5f4e2ca2741e57b19a2f (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Sat Aug 19 12:17:00 2023 +0200

    Show who actually tried to use a banned nick.
    Reported by Amiga600 in https://bugs.unrealircd.org/view.php?id=6300
    Inspired by patch from Valware in https://github.com/unrealircd/unrealircd/pull/255

Issue History

Date Modified Username Field Change
2023-07-08 14:38 Amiga600 New Issue
2023-08-19 12:19 syzop Assigned To => syzop
2023-08-19 12:19 syzop Status new => resolved
2023-08-19 12:19 syzop Resolution open => fixed
2023-08-19 12:19 syzop Fixed in Version => 6.1.2-rc1
2023-08-19 12:19 syzop Note Added: 0023005