View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006159 | unreal | ircd | public | 2022-08-03 20:28 | 2024-06-30 19:04 |
| Reporter | PeGaSuS | Assigned To | syzop | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Ubuntu | OS Version | 20.04 |
| Fixed in Version | 6.1.7 | ||||
| Summary | 0006159: Update ban blocks to be able to use mask items | ||||
| Description | Recently 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! | ||||
| Tags | No tags attached. | ||||
| 3rd party modules | |||||
| 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 |