New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Definitely, although at least you could expect that a legitimate requester won't be sending the request through the same circuit over and over. Most existing built-in DoS mitigations work similarly to that.
thats the ideal solution, anyway if you are interested in testing the one i built let me know
Hey thats my project
For OP, even without seeing the source, one criticism I would have (and to a lesser extent anubis, because it works a bit different) is that you should reconsider making your own reverse proxy like you did in golang.
In haproxy-protection, the main reason to go with HAProxy as a base rather than a self built one is that it's actually designed to be a reverse proxy. HAProxy has historically been quite secure, is very performant, compatible and has an unbelievable amount of features and options. The kind of stuff that you will need if you want it to be truly flexible and able to productise it, that would take a very long time to match in a home grown proxy.
Just for example, let's say you wanted to sell your service and let people configure timeouts for their website. There isn't just one kind of timeout in a proxy. There's a timeout for the client request headers being received, the full client request to be received, timeouts to send requests to the backend, receive response from the backend, timeout for idle websocket connections, the full request timeout, etc. In HAProxy it would be trivial to make that configurable in a very performant way with maps, using the set-timeout and dynamically update those via the runtime api+dataplaneapi. The same principle applies for all aspects of the operation of a proxy.
But anyways, good luck, at least have fun making it