Identifies a problem but doesn't provide a solution. Here's one that uses haproxy:

https://gitgud.io/fatchan/haproxy-protection