You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An interesting feature would be to implement: a DDOS protection system built into fullmoon, which we could easily activate. You can use the example in the redbean.dev documentation.
Thanks!
The text was updated successfully, but these errors were encountered:
Using the ProgramTokenBucket function and others (unix.setrlimit, ...)
Example: after activating a function e.g. DdosProtect(hitsByUniqueIP), fullmoon routes are limited. Basically fullmoon implements code from redbean documentation.
@evandrodacs, you should be able to use tokenBucket options (which maps to ProgramTokenBucket call): fm.run{tokenBucket = {{1, 24}}}. See the run documentation for how to specify the options.
I'm closing this, as it should be covered by the tokenBucket functionality available, but let me know if you run into any issues.
Hello,
An interesting feature would be to implement: a DDOS protection system built into fullmoon, which we could easily activate. You can use the example in the redbean.dev documentation.
Thanks!
The text was updated successfully, but these errors were encountered: