View Issue Details

IDProjectCategoryView StatusLast Update
0006034unrealircdpublic2023-04-02 18:22
ReporterValware Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version6.0.0 
Summary0006034: chanmode +f: support for action 'd' in floodtype 'm' (and maybe others)
DescriptionWhen trying to set /mode #chan +f [50m#d,20t#d]:10
it translates to [50m,20t#d]:10 even though 'd' is listed in /helpop chmodef as a valid option for 'm'
TagsNo tags attached.
3rd party modules

Relationships

related to 0006245 resolvedsyzop Feature Request: Enable using more modes in floodmode actions 

Activities

syzop

2021-12-23 16:49

administrator   ~0022291

Ah, yeah, that's a documentation mistake for floodtype 'm'.

We could consider adding more action 'd' support, though, than just for floodtypes 't' and 'r'. It's basically a throttle at the specified value (X per Y), rather than taking an action after X per Y.
The downside of it is that it is less visible to everyone (including chanops) that things are being throttled/limited. So if your floodtype 'm' with action 'd' is too tight, the chanops may not notice that some messages are missing from users. That could be countered by sending a notice to the chanops about it, but that kinda contrasts with the silentless of the 'd' action.
We can think about it, though...

syzop

2022-01-07 12:38

administrator   ~0022362

commit 8536778bccb02b2b570bf405b6f7bdbf19c64d34 (HEAD -> unreal60_dev, origin/unreal60_dev)
Author: Bram Matthys <[email protected]>
Date: Fri Jan 7 12:36:16 2022 +0100

    Don't mention action 'd' in HELPOP CHMODEF for floodtype 'm', as this
    is not supported at the moment.
    Reported by Valware in https://bugs.unrealircd.org/view.php?id=6034

https://github.com/unrealircd/unrealircd/commit/8536778bccb02b2b570bf405b6f7bdbf19c64d34

syzop

2023-04-02 18:22

administrator   ~0022820

Last edited: 2023-04-02 18:22

I thought about it more but I really have my doubts about this. As mentioned in my 1st comment this makes it less explicit that a flood is happening. Also, and more important, it would not really stop any flood, just limit its rate.

The drop action 'd' is supported for t and r though, which is fine I think. Then if the flood gets bad enough to trigger 'm' it takes usual action.

I think it's better to close this than to leave it open if i have doubts...

Issue History

Date Modified Username Field Change
2021-12-23 09:23 Valware New Issue
2021-12-23 16:49 syzop Note Added: 0022291
2021-12-26 07:44 syzop Summary floodmode doesn't set correctly, reported by alice => chanmode +f: support for action 'd' in floodtype 'm' (and maybe others)
2022-01-07 12:38 syzop Note Added: 0022362
2023-03-17 12:02 syzop Relationship added related to 0006245
2023-04-02 18:22 syzop Assigned To => syzop
2023-04-02 18:22 syzop Status new => closed
2023-04-02 18:22 syzop Resolution open => no change required
2023-04-02 18:22 syzop Note Added: 0022820
2023-04-02 18:22 syzop Note Edited: 0022820