View Issue Details

IDProjectCategoryView StatusLast Update
0002516unrealircdpublic2005-05-09 14:55
Reporterdarknet Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionopen 
Summary0002516: [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

Activities

codemastr

2005-05-09 14:53

reporter   ~0009907

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.

syzop

2005-05-09 14:55

administrator   ~0009908

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.

Issue History

Date Modified Username Field Change
2005-05-09 14:43 darknet New Issue
2005-05-09 14:53 codemastr Status new => closed
2005-05-09 14:53 codemastr Note Added: 0009907
2005-05-09 14:55 syzop Note Added: 0009908