View Issue Details

IDProjectCategoryView StatusLast Update
0006599unrealircdpublic2025-12-12 16:55
ReporterBalthazar Assigned Tosyzop  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version6.1.10 
Summary0006599: TKL/GLINE ~account matching fails when the value contains a colon (:)
DescriptionI have found a bug where extended bans (specifically ~account) fail to enforce the ban if the account name itself contains a colon.

When I add a GLINE for an account containing a colon (e.g., ~account:prefix:value), the server accepts the command and the ban appears correctly in the GLINE list. However, the ban is ineffective: a user logging in with that exact account name is not disconnected.

Use Case Context: We use a specific account naming convention for users without reserved nicknames, where the account field is a hash prefixed by a: (e.g., a:1a2b3c...). It is used mainly to avoid any personal information disclosure (email).

This description was redacted with an IA.
Steps To ReproduceIdentify or create a user with an account name containing a colon (e.g., test:user).
Add a GLINE targeting this account: /gline ~account:test:user 0 Testing bug
Verify the ban is added: /gline (The ban appears correctly in the list).
Connect with a client using the account test:user.
Observed Result: The user successfully connects and is not disconnected by the GLINE.
Expected Result: The user should be disconnected immediately due to the match.
3rd party modules

Activities

syzop

2025-12-12 15:33

administrator   ~0023580

I cannot reproduce this on 6.2.2. You say you are on 6.1.10. Can you retry with latest release?

As oper I do:
GLINE ~account:some:account 5m testing

Client connects, called "h5667".

Then from a server (raw server traffic):
SVSLOGIN * h5667 some:account

Result:
:maintest.test.net 465 h5667 :You are not welcome on this network. G-Lined: testing. Email [email protected] for more information.
:maintest.test.net NOTICE h5667 :You are not welcome on this network. G-Lined: testing. Email [email protected] for more information.
ERROR :Closing Link: h5667[192.168.xx.xx] (Banned (G-Lined): testing)

Balthazar

2025-12-12 16:07

reporter   ~0023581

Hello
Sorry, I must have been half asleep...
You're right, in fact I made a mistake in the GLINE syntax creation.
Sorry for that, after double check, everything is working in 6.1.10

syzop

2025-12-12 16:55

administrator   ~0023582

Alright :)

Issue History

Date Modified Username Field Change
2025-12-12 10:14 Balthazar New Issue
2025-12-12 15:33 syzop Note Added: 0023580
2025-12-12 15:33 syzop Assigned To => syzop
2025-12-12 15:33 syzop Status new => feedback
2025-12-12 16:07 Balthazar Note Added: 0023581
2025-12-12 16:55 syzop Status feedback => closed
2025-12-12 16:55 syzop Resolution open => no change required
2025-12-12 16:55 syzop Note Added: 0023582