View Issue Details

IDProjectCategoryView StatusLast Update
0006159unrealircdpublic2024-06-30 19:04
ReporterPeGaSuS Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version20.04
Fixed in Version6.1.7 
Summary0006159: Update ban blocks to be able to use mask items
DescriptionRecently someone asked on IRC a way to ban people from certain countries.
They were told (by me) to use a "ban user" block with `~country` instead `mask`
While that works to ban a specific country, if we want to ban more countries we need to create a ban block for each country.
Updating the ban blocks to be able to use mask item, would allow us to ban several IPs/countries/etc in one single ban block, using something like:
ban user {
    mask {
        ~country {
            JP;
            CN;
            RU;
        }
        reason "The country you're connecting from is not welcomed in this network.";
    }
}


Cheers!
TagsNo tags attached.
3rd party modules

Relationships

has duplicate 0006319 resolvedsyzop "ban user" and "require authentication" is not a mask item 

Activities

syzop

2024-06-30 19:04

administrator   ~0023231

Done. Oh, you were first but using 0006319.

Issue History

Date Modified Username Field Change
2022-08-03 20:28 PeGaSuS New Issue
2024-06-30 19:03 syzop Relationship added has duplicate 0006319
2024-06-30 19:04 syzop Assigned To => syzop
2024-06-30 19:04 syzop Status new => closed
2024-06-30 19:04 syzop Resolution open => fixed
2024-06-30 19:04 syzop Fixed in Version => 6.1.7
2024-06-30 19:04 syzop Note Added: 0023231