Quantcast
Channel: Autarchy of the Private Cave » WP PlugIns
Viewing all articles
Browse latest Browse all 15

fail2ban and Google translate: how to easily cut your WP blog traffic

$
0
0

translate_logofail2ban has a php-url-fopen rule.

WordPress has a Global Translator plugin, which – among others – uses Google Translate service.

If someone uses Google Translate (e.g. using Global Translate’s mini-language-flags), and goes back to your blog – that someone might get banned by fail2ban (especially if you have set maxretry to 1), as the referrer will contain the php-URL-fopen attack signature. The bad thing is that you will not realize that until after you check one or several translations yourself, as a random site visitor experiencing the problem is highly unlikely to bother reporting this problem – especially when your blog’s Contact page is also inaccessible.

Clearly, Google Translate is not the only legitimate service which will trigger that rule.

Solution: The only solution I have found is to specify the whitelist regex for the php-URL-fopen rule.

StumbleUponDeliciousCiteULikePocketKindle ItEvernotePinterestShare


Viewing all articles
Browse latest Browse all 15

Latest Images

Trending Articles





Latest Images