View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002516 | unreal | ircd | public | 2005-05-09 14:43 | 2005-05-09 14:55 |
| Reporter | darknet | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | open | ||
| Summary | 0002516: [Feature Request] +b ~R:regex | ||||
| Description | *Sorry about my english* This is a request for: +b ~R:regex it will give a ban for a match regex mask.. Example: mode # +b ~R:^[a-z]{1,6}\d{4}![a-z]{6}@.+ ... im hope you understand me:P | ||||
| 3rd party modules | |||||
|
|
Regex is an extremely CPU and memory intensive process. Allowing users to create regexps would make it very easy for a user to take down the entire server. This is not a feature we intend to ever add. |
|
|
We won't implement this.. basically regexes are too complex for bans and affect 1) risk of crashes and security and 2) speed. But you could write a 3rd party module to do it. Still, I don't recommend it... regexes are complex and (crash)bugs in the regex engine are found pretty much every release.. so if you allow users to use such regexes they could crash the whole ircd. |