pedestal

simongray 2021-03-26T06:38:02.005600Z

@souenzzo I’ve added the DosFilter too. It was pretty easy to do, example here: https://github.com/kuhumcst/glossematics/blob/master/src/dk/cst/hjelmslev/service.clj#L36-L46

simongray 2021-03-26T06:42:25.006800Z

Incredible, they already moved their own documentation. Anyway, the relevant configuration params are also availalable here: https://wiki.eclipse.org/Jetty/Reference/DoSFilter

souenzzo 2021-03-26T12:44:03.007500Z

I'm expecting something where I can run a function that returns if it's a DoS or not

simongray 2021-03-26T12:56:59.009300Z

I think the nature of DoS attacks or other kinds of surges preclude running custom code, but I can see why that would be nice in a Clojure context.