mitchellkrogza / nginx-ultimate-bad-bot-blocker

Nginx Block Bad Bots, Spam Referrer Blocker, Vulnerability Scanners, User-Agents, Malware, Adware, Ransomware, Malicious Sites, with anti-DDOS, Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat Offenders
Other
3.82k stars 472 forks source link

Letsencrypt certbot fails due to non-ascii characters being inserted #382

Open tradenet opened 4 years ago

tradenet commented 4 years ago

On a Debian 9 machine. No problem on Centos 7 machine. When I do a sudo /usr/local/sbin/update-ngxblocker -n Non-ascii character is inserted at: grep -nRP '[\x80-\xFF]' /etc/nginx /etc/nginx/conf.d/globalblacklist.conf:4369: "~*(?:\b)lifehacĸer.com(?:\b)" 1;

Weird this only happens on my Debian 9 box.

slartibartfass commented 3 years ago

I can approve this error, happening on Debian 9.12, not on my Ubuntu Installations

itoffshore commented 3 years ago

you probably need to use grep from stretch backports

see backports

tradenet commented 1 year ago

FYI I've upgraded this machine to Debian 10 (buster) and this issue still happens. Very annoying to say the least.