View Issue Details

IDProjectCategoryView StatusLast Update
0006106unrealircdpublic2022-05-23 08:20
Reporterarmyn Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version6.0.3 
Fixed in Version6.0.4-rc1 
Summary0006106: An idea for the Client connecting notice
DescriptionHi,

Notice original:
connect.LOCAL_CLIENT_CONNECT [info] Client connecting: testy (Tgl0be@x.x.x.x) [x.x.x.x] [vhost: C794F1F3.E769A130.E35E0FA4.IP] [class: user] [secure: TLSv1.2-ECDHE-RSA-AES256-GCM-SHA384] [country: FR] [reputation: 10000] [security-groups: known-users,tls-and-known-users,tls-users]

Here is something that would be useful on UnrealIRCd when a user who is shun is logging in:
connect.LOCAL_CLIENT_CONNECT [info] Client connecting: testy (Tgl0be@x.x.x.x) [x.x.x.x] [vhost: C794F1F3.E769A130.E35E0FA4.IP] [class: user] [secure: TLSv1.2-ECDHE-RSA-AES256-GCM-SHA384] [country: FR] [reputation: 10000] [security-groups: known-users,tls-and-known-users,tls-users] [shunned]

This is to quickly know if the user is shun.

like in the whois which would be useful for the connection notice:
:irc.site.com 320 Madrix Thibault :is shunned

Is this a useful feature?
Would there be any difficulties in creating it?



TagsNo tags attached.
3rd party modules

Activities

westor

2022-05-20 11:25

reporter   ~0022489

Not a bad idea yeah..

https://github.com/unrealircd/unrealircd/pull/206

armyn

2022-05-20 14:17

reporter   ~0022494

@Westor, ah yes there are only 2 lines, I will have to try by copying. Thanks

armyn

2022-05-21 06:32

reporter   ~0022495

@Westor
I just set up and restarted the IRC server, actually it works well I like it.

I also had another idea that might be just as useful, have a look, instead of this in the quit:

connect.LOCAL_CLIENT_DISCONNECT [info] Client exiting: testy (Tgl0be@lfbn-rei-1-x.w90-109.abo.wanadoo.fr) [90.x] (Connection closed)

New quit notice if the user is shun (and maybe tempshun) :
connect.LOCAL_CLIENT_DISCONNECT [info] Client exiting: testy (Tgl0be@lfbn-rei-x.w90-109.abo.wanadoo.fr) [90.x] (Connection closed) [shunned]


It would also be useful this one because like that we know if the user who left was shun.

syzop

2022-05-23 08:20

administrator   ~0022498

Thanks armyn for the suggestion and westor for the patch/PR.

I think only in the connect notice is fine. We don't show the [] stuff in exiting client at the moment, so why display shunned there. Maybe that could be made an option some day (but then not just for [shunned] but for everything [class] [blah] [bleh] etc...).

Anyway, is in 6.0.4.

commit 111ab9fada74da3f3c05bbe5f1bc14dad2031a14 (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: westor <westor7@gmail.com>
Date: Sun May 22 23:18:49 2022 -0700

    Show [shunned] in connect oper notice (#206)
    
    When someone is trying to connect and he/she is shunned , it will be displayed on connection server notice, yeah sometimes it might be helpful, why not..
    
    Suggested by armyn https://bugs.unrealircd.org/view.php?id=6106

Issue History

Date Modified Username Field Change
2022-05-20 05:38 armyn New Issue
2022-05-20 11:25 westor Note Added: 0022489
2022-05-20 14:17 armyn Note Added: 0022494
2022-05-21 06:32 armyn Note Added: 0022495
2022-05-23 08:20 syzop Assigned To => syzop
2022-05-23 08:20 syzop Status new => resolved
2022-05-23 08:20 syzop Resolution open => fixed
2022-05-23 08:20 syzop Fixed in Version => 6.0.4-rc1
2022-05-23 08:20 syzop Note Added: 0022498