Created
March 22, 2019 18:45
-
-
Save digitalengineering/896934dd526302a68c198e1b0333219b to your computer and use it in GitHub Desktop.
fail2ban config to block attacks on magento payflow endpoint "/paypal/transparent/requestSecureToken"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Definition] | |
failregex = ^(www\.)?YOUR_DOMAIN.com:443 <HOST>.* "(GET|POST) \/paypal\/transparent\/requestSecureToken\/ HTTP\/.\..".*$ | |
ignoreregex = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[magento-paypal-token-endpoint] | |
enabled = true | |
port = http,https | |
filter = magento-paypal-token-endpoint | |
logpath = /var/log/apache2/other_vhosts_access.log | |
bantime = 86400 | |
maxretry = 10 | |
findtime = 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the info