You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2023/01/14 14:53:47 UTC
[GitHub] [apisix] aswarcewicz opened a new issue, #8683: Block IP for certain time if it hit error status code limit
aswarcewicz opened a new issue, #8683:
URL: https://github.com/apache/apisix/issues/8683
### Description
I would like to ask is it possible to block IP address for certain time if it hit configured number of errors from remote service.
For example:
User try to make SQL Injection.
Service returns response code 500
After 10 attempts to hack my service I would like to globally block User IP Address for 1 hour.
One other requirment - I would like to combine this rule with existing limit-count plugin.
I already have global limit-count per IP configured
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] aswarcewicz commented on issue #8683: Block IP for certain time if it hit error status code limit
Posted by GitBox <gi...@apache.org>.
aswarcewicz commented on issue #8683:
URL: https://github.com/apache/apisix/issues/8683#issuecomment-1383614473
ok, thank you for this workaround.
I hope some day this scenario wil be supported out of the box with APISIX :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #8683: Block IP for certain time if it hit error status code limit
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #8683:
URL: https://github.com/apache/apisix/issues/8683#issuecomment-1383115555
Currently not. strategies cannot be tweaked dynamically.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] aswarcewicz commented on issue #8683: Block IP for certain time if it hit error status code limit
Posted by GitBox <gi...@apache.org>.
aswarcewicz commented on issue #8683:
URL: https://github.com/apache/apisix/issues/8683#issuecomment-1383164664
Maybe there are any plans to support this scenario?
It will be helpful in other cases too.
For example when malicious user try to BruteForce password.
With this functionality we can be block this user and prevent attack.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] aswarcewicz closed issue #8683: Block IP for certain time if it hit error status code limit
Posted by GitBox <gi...@apache.org>.
aswarcewicz closed issue #8683: Block IP for certain time if it hit error status code limit
URL: https://github.com/apache/apisix/issues/8683
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #8683: Block IP for certain time if it hit error status code limit
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #8683:
URL: https://github.com/apache/apisix/issues/8683#issuecomment-1383343655
@aswarcewicz For your case, it could be implemented out of the APISIX. You may set up a feedback system that checks the access logs and invokes APISIX Admin API to tweak the plugin.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org