View Issue Details

IDProjectCategoryView StatusLast Update
0006492unrealircdpublic2025-01-03 08:46
Reporterarmyn Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version6.1.9.1 
Summary0006492: group security problem
DescriptionWith this block configured:

security-group users-boulets-ovni {

    asn {
        36903;
    };
    exclude-identified yes;
    reputation-score <5;


}

It even glines those who don't match this ASN but have a reputation score below 5.
TagsNo tags attached.
3rd party modules

Activities

PeGaSuS

2025-01-03 00:48

reporter   ~0023413

As explained on https://www.unrealircd.org/docs/Security-group_block#Syntax
/* Match people based on ANY of these criteria (OR) */

So, clearly not a bug.

Valware

2025-01-03 03:23

reporter   ~0023414

RTFM

syzop

2025-01-03 08:46

administrator   ~0023415

I see this was explained on IRC. Just for anyone else: if you want to use AND like matching you should use crules, see https://www.unrealircd.org/docs/Crule. With such a rule you can make complex things with AND or even mixing AND with OR.

In this case it would be something like:
rule "!is_identified() && reputation()<5 && match_asn(36903)";

Issue History

Date Modified Username Field Change
2025-01-03 00:40 armyn New Issue
2025-01-03 00:48 PeGaSuS Note Added: 0023413
2025-01-03 03:23 Valware Note Added: 0023414
2025-01-03 08:46 syzop Assigned To => syzop
2025-01-03 08:46 syzop Status new => closed
2025-01-03 08:46 syzop Resolution open => no change required
2025-01-03 08:46 syzop Note Added: 0023415