View Issue Details

IDProjectCategoryView StatusLast Update
0006159unrealircdpublic2022-08-03 20:28
ReporterPeGaSuS Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version20.04
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

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-08-03 20:28 PeGaSuS New Issue