View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002312 | unreal | ircd | public | 2005-02-01 15:18 | 2015-07-19 19:59 |
Reporter | Stealth | Assigned To | syzop | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | no change required | ||
Summary | 0002312: Removing multiple *:lines | ||||
Description | It would be nice to be able to remove multiple *:Lines by specifying a wildcard mask. Since this can be abused by some opers, Unreal should restrict the ones considered "too broad" to Services Admins and above. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
It's much more difficult than you might think. Consider: *@*.someisp.com *@*.com if I type /gline -*@*.com what should it do? Remove both? Or just *@*.com? |
|
Well, I think angrywolf's m_rmtkl module would remove both, but in that case, it's disabmiguated from just removing the exact match simply by being a different command... |
|
What about a flag or a different prefix for the address? Like "/gline -w <wildcard>" or "/gline $<wildcard>" (it can be something other than "$", that char was the first that came to mind for some reason). |
|
For a possible guideline... I took the concept of /stats g's filtering and I wrote a function for SrSv (in SecurityBot) with the following help entry %BSecurityBot TKL%B is a series of functions to make TKL handling easier. Specifically it will help in handling G:lines and GZ:lines. Syntax is as follows: TKL LIST [(+/- filters) [params]] TKL DEL <(+/- filters) <params>> Filters are case-sensitive. Filter-parameters may be delimited by // (for regexps) or "" (for regexps or strings). Otherwise space delimiters are assumed. if there is a mismatch in the filter vs param count, the command WILL fail. Filters may be any of: Globbing filters r %BReason%B m %BMask%B (ident@host only) s %BSetter%B Regular Expression filters R %BReason%B M %BMask%B (ident@host only) S %BSetter%B Miscellaneous Filters O/o %BOrder by%B (Sort by) - case insensitive. negative is Descending, positive is Ascending. You can specify multiple of these, but the resulting sort order is not always intuitive. Default is type,time,host Ascending. Legal, but not necessarily meaningful for delete. Available sort fields: %Btype%B, %Bident%B, %Bhost%B, %Bsetter%B, %Bexpire%B, %Btime%B, %Breason%B. Example: TKL LIST -r+s *warez* *netadmin* would list all bans that do not include the word 'warez' and set by an oper with 'netadmin' in their vhost. |
|
BTW, I did allow the same filter type to be used multiple times, which /stats g does _not_ |
|
--> 3rd party mod, IMHO. |
|
have to agree with syzop (indeed it already is a third party module - could maybe give m_rmtkl a mention in docs or something (or toss it in extras/ ?)). |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-02-01 15:18 | Stealth | New Issue | |
2005-02-02 18:14 |
|
Note Added: 0008982 | |
2005-02-03 12:40 | aquanight | Note Added: 0009003 | |
2005-02-03 13:17 | Stealth | Note Added: 0009006 | |
2006-10-16 11:31 | syzop | Relationship added | related to 0000840 |
2006-10-16 11:31 | syzop | Relationship added | related to 0002563 |
2007-04-15 16:51 | tabrisnet | Note Added: 0013411 | |
2007-04-15 16:53 | tabrisnet | Note Added: 0013412 | |
2007-04-18 05:13 |
|
Status | new => acknowledged |
2007-04-26 05:40 | syzop | Note Added: 0013720 | |
2007-04-26 06:22 |
|
Relationship added | child of 0003284 |
2007-04-27 00:05 | aquanight | Note Added: 0013752 | |
2007-04-27 03:33 |
|
Relationship replaced | has duplicate 0002563 |
2015-07-19 19:59 | syzop | Status | acknowledged => closed |
2015-07-19 19:59 | syzop | Assigned To | => syzop |
2015-07-19 19:59 | syzop | Resolution | open => no change required |