content-size-limit-asgi
content-size-limit-asgi copied to clipboard
Is it possible to add IP exposure once it detects a malicious big uploading event?
Hi Steinnes!
Thank you for your rigorous work!
In my application, the uploaded file size is limited by javascript program, so whenever a size breach occurs, I know for sure it is an attack rather than a careless flaw.
I want to ban the ip for some time to hit the hacker. Is it possible to add an feature to detect client's ip from the header, with or without nignx 'x-real-ip' tag?
Thanks in advance.