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
4.09k stars 484 forks source link

duplicate network #552

Closed FlowLaGit closed 9 months ago

FlowLaGit commented 10 months ago

Hello,

sorry i am not sure if this is a bug or not.

I get the [warn] message when starting nginx.

2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "138.199.57.151", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18896 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "143.244.38.129", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18912 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "195.181.163.194", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19007 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "5.188.120.15", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19134 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "89.187.173.66", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19181

LOCAL Version: 4.2024.02.4291 Updated: Wed Feb 7 10:03:06 UTC 2024

REMOTE Version: 4.2024.02.4291 Updated: Wed Feb 7 10:03:06 UTC 2024

Latest Blacklist Already Installed: 4.2024.02.4291

is this a normal behavior?

tradenet commented 10 months ago

Hello,

sorry i am not sure if this is a bug or not.

I get the [warn] message when starting nginx.

2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "138.199.57.151", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18896 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "143.244.38.129", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18912 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "195.181.163.194", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19007 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "5.188.120.15", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19134 2024/02/07 21:01:01 [warn] 2767352#2767352: duplicate network "89.187.173.66", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19181

LOCAL Version: 4.2024.02.4291 Updated: Wed Feb 7 10:03:06 UTC 2024

REMOTE Version: 4.2024.02.4291 Updated: Wed Feb 7 10:03:06 UTC 2024

Latest Blacklist Already Installed: 4.2024.02.4291

is this a normal behavior?

See: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/548

sainikbiswas commented 9 months ago

Hi there, the following IPs below are not a bug but this needs fixing.

138.199.57.151 143.244.38.129 195.181.163.194 89.187.173.66 5.188.120.15

They are listed under "BunnyCDN" as to be allowed and under "Start SEO Analysis Tools" to be blocked in the globalblacklist.conf file if I understand correctly. To fix this remove the ip addresses from BunnyCDN in the globalblacklist.conf file in nginx and check using the command

nginx -t followed by a restart.

It should fix the problem for now. Here is the latest IP address list from BunnyCDN that you can add in globalblacklist.conf.

https://bunnycdn.com/api/system/edgeserverlist/

Hope this helps.

tradenet commented 9 months ago

Actually it's working as designed.You might submit a PR if you have a "fix".

mitchellkrogza commented 9 months ago

Not a bug please read the README

Screenshot_2024-03-03-06-56-13-408_com android chrome-edit