feature: throttle sandbox authentication requests
A clear and concise description of what you want the system to do.
Implement controls against:
- Password spray attack (track by source IP address)
- Password brute-force attack (track by user identity)
Upon the detection of the above attack, the offending IP/identity should be blocked for a period of time, e.g. 15 minutes.
Record username and source IP address.
- Block source IP address that failed auth 10+ times within 2 minute period across multiple usernames
- Block username who failed auth 5+ times within 5 minute period having same source IP address
You should consider a way to disable this if the user wants to rely on external solutions. It would also be great if Caddy-security could provide an integration for Crowdsec. It already exists with caddy-crowdsec-bouncer for Caddy but integrating it for Caddy-security may simplify the setup ?
You should consider a way to disable this if the user wants to rely on external solutions.
@LeonardMeyer , good point! 👍
It would also be great if Caddy-security could provide an integration for Crowdsec. It already exists with caddy-crowdsec-bouncer for Caddy but integrating it for Caddy-security may simplify the setup ?
idk yet.