we need to block an IP for a {n} minutes after {n} number of failed attempt . Any idea how we can do this in EDGE ?
You'd have to build this logic using the Cache policies. The cache key will be the IP address of the source/client. The cache time to live will be {n} minutes (which you can set externally). Populate the cache when you detect the first error and set the cache value to 1. Then use this as a counter to allow/deny requests.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |