Skip to content

Commit

Permalink
Merge pull request #155 from GervaisdeM/update-cloudflare-ips
Browse files Browse the repository at this point in the history
Update IPs as per email from cloudflare
  • Loading branch information
mitchellkrogza authored May 6, 2021
2 parents ed4482f + 7fd907b commit 244807e
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 47 deletions.
20 changes: 10 additions & 10 deletions .dev-tools/apache2.2.template
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ BrowserMatchNoCase "(?:\b)ZyBorg(?:\b)" bad_bot
Include custom.d/blacklist-user-agents.conf

# ************************************
# GOOD REFERERS - Spared from Checking
# GOOD REFERERS - Spared from Checking
# ************************************

# Add all your own web site domain names and server names in this section
Expand All @@ -808,7 +808,7 @@ Include custom.d/whitelist-domains.conf

# Add here all referrer words and URL's that are to blocked.
# Referers are often used to spam or make your site appear to be spam
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# be monitoring your logs frequently so that you know who is trying to do what
# Referers can also result in high bounce rates on your sites by sending fake traffic
#
Expand Down Expand Up @@ -854,7 +854,7 @@ Include custom.d/whitelist-domains.conf
# you will generate a 403 error.

# curl --referer http://www.mysite.com/blog/photo-of-girl/ http://www.mysite.com/

# So please be careful with these and think carefully before you add new words.
# Remember we are trying to keep out the general riff-raff not kill your web sites.

Expand All @@ -868,7 +868,7 @@ Include custom.d/whitelist-domains.conf
# customized list of bad referrer words are automatically now included for you
# Read Comments inside bad-referrer-words.conf for customization tips.
# Updating the main globalblacklist.conf file will not touch your custom include files

Include custom.d/bad-referrer-words.conf

# ************************
Expand All @@ -882,7 +882,7 @@ Include custom.d/bad-referrer-words.conf
# **********************
# Blocking of SEO company Semalt.com (now merged into this one section)
# MIRAI Botnet Domains Used for Mass Attacks
# Other known bad SEO companies and Ad Hijacking Sites
# Other known bad SEO companies and Ad Hijacking Sites
# Sites linked to malware, adware and ransomware

# *****************
Expand All @@ -894,9 +894,9 @@ Include custom.d/bad-referrer-words.conf
# curl -I http://www.yourdomain.com -e http://8gold.com

# This uses curl to send the referer string to your site and you should see an immediate
# 403 Forbidden Error
# 403 Forbidden Error

# Because of case-insensitive matching any combination of capitilization
# Because of case-insensitive matching any combination of capitilization
# will all produce a positive hit - make sure you always test.

# curl -I http://www.yourdomain.com -e http://NOT-8gold.com
Expand Down Expand Up @@ -7962,7 +7962,7 @@ Allow from env=good_ref
# whitelisted IP addresses are automatically now included for you.
# Read Comments inside whitelist-ips.conf for customization tips.
# Updating the main globalblacklist.conf file will not touch your custom include files

Include custom.d/whitelist-ips.conf

# ***********
Expand Down Expand Up @@ -8101,7 +8101,7 @@ deny from 89.36.223.188

# ****************************************
# NIBBLER - SEO testing and reporting tool
# ****************************************
# ****************************************
# See - http://nibbler.silktide.com/

# START NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###
Expand All @@ -8116,7 +8116,7 @@ deny from 54.242.250.203


# ---------------------
# BLOCK FAKE GOOGLEBOTS
# BLOCK FAKE GOOGLEBOTS
# ---------------------

# START FAKE GOOGLEBOTS ### DO NOT EDIT THIS LINE AT ALL ###
Expand Down
26 changes: 13 additions & 13 deletions .dev-tools/apache2.4.template
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# CONFIGURATION INSIDE A VIRTUALHOST EXAMPLE
# ******************************************
# This is how you should include the globalblacklist.conf within a VirtualHost

# ********************************************************
# ********************************************************
# <VirtualHost *:80>
Expand Down Expand Up @@ -783,7 +783,7 @@ BrowserMatchNoCase "(?:\b)ZyBorg(?:\b)" bad_bot
Include custom.d/blacklist-user-agents.conf

# ************************************
# GOOD REFERERS - Spared from Checking
# GOOD REFERERS - Spared from Checking
# ************************************

# Add all your own web site domain names and server names in this section
Expand All @@ -803,7 +803,7 @@ Include custom.d/whitelist-domains.conf

# Add here all referrer words and URL's that are to blocked.
# Referers are often used to spam or make your site appear to be spam
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# be monitoring your logs frequently so that you know who is trying to do what
# Referers can also result in high bounce rates on your sites by sending fake traffic
#
Expand Down Expand Up @@ -849,7 +849,7 @@ Include custom.d/whitelist-domains.conf
# you will generate a 403 error.

# curl --referer http://www.mysite.com/blog/photo-of-girl/ http://www.mysite.com/

# So please be careful with these and think carefully before you add new words.
# Remember we are trying to keep out the general riff-raff not kill your web sites.

Expand Down Expand Up @@ -877,7 +877,7 @@ Include custom.d/bad-referrer-words.conf
# **********************
# Blocking of SEO company Semalt.com (now merged into this one section)
# MIRAI Botnet Domains Used for Mass Attacks
# Other known bad SEO companies and Ad Hijacking Sites
# Other known bad SEO companies and Ad Hijacking Sites
# Sites linked to malware, adware and ransomware

# *****************
Expand All @@ -889,9 +889,9 @@ Include custom.d/bad-referrer-words.conf
# curl -I http://www.yourdomain.com -e http://8gold.com

# This uses curl to send the referer string to your site and you should see an immediate
# 403 Forbidden Error
# 403 Forbidden Error

# Because of case-insensitive matching any combination of capitilization
# Because of case-insensitive matching any combination of capitilization
# will all produce a positive hit - make sure you always test.

# curl -I http://www.yourdomain.com -e http://NOT-8gold.com
Expand Down Expand Up @@ -7945,15 +7945,15 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref
# NOW WE ACTIVATE THE BLOCKER USING OUR ACCESS CONTROLS WITH NEW APACHE 2.4 SYNTAX
# ***************************************************************************************
# Remember to de-activate the module access_compat by running sudo a2dismod access_compat
# This is where we actually make the blocker work, everything before and above this
# This is where we actually make the blocker work, everything before and above this
# section is merely where we are declaring our environment variables.
# ***************************************************************************************

# ******************************************
# CONFIGURATION INSIDE A VIRTUALHOST EXAMPLE
# ******************************************
# This is how you should include the globalblacklist.conf within a VirtualHost

# ********************************************************
# ********************************************************
# <VirtualHost *:80>
Expand Down Expand Up @@ -8025,7 +8025,7 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref

# ****************************************
# NIBBLER - SEO testing and reporting tool
# ****************************************
# ****************************************
# See - http://nibbler.silktide.com/

# START NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###
Expand All @@ -8039,7 +8039,7 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref
# END NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###

# ---------------------
# BLOCK FAKE GOOGLEBOTS
# BLOCK FAKE GOOGLEBOTS
# ---------------------

# START FAKE GOOGLEBOTS ### DO NOT EDIT THIS LINE AT ALL ###
Expand Down Expand Up @@ -8273,7 +8273,7 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref
# Custom Blacklisted IP addresses are automatically now included for you.
# Read Comments inside blacklist-ips.conf for customization tips.
# Updating the main globalblacklist.conf file will not touch your custom include files

Include custom.d/blacklist-ips.conf


Expand Down
20 changes: 10 additions & 10 deletions Apache_2.2/custom.d/globalblacklist.conf
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ BrowserMatchNoCase "(?:\b)ZyBorg(?:\b)" bad_bot
Include custom.d/blacklist-user-agents.conf

# ************************************
# GOOD REFERERS - Spared from Checking
# GOOD REFERERS - Spared from Checking
# ************************************

# Add all your own web site domain names and server names in this section
Expand All @@ -808,7 +808,7 @@ Include custom.d/whitelist-domains.conf

# Add here all referrer words and URL's that are to blocked.
# Referers are often used to spam or make your site appear to be spam
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# be monitoring your logs frequently so that you know who is trying to do what
# Referers can also result in high bounce rates on your sites by sending fake traffic
#
Expand Down Expand Up @@ -854,7 +854,7 @@ Include custom.d/whitelist-domains.conf
# you will generate a 403 error.

# curl --referer http://www.mysite.com/blog/photo-of-girl/ http://www.mysite.com/

# So please be careful with these and think carefully before you add new words.
# Remember we are trying to keep out the general riff-raff not kill your web sites.

Expand All @@ -868,7 +868,7 @@ Include custom.d/whitelist-domains.conf
# customized list of bad referrer words are automatically now included for you
# Read Comments inside bad-referrer-words.conf for customization tips.
# Updating the main globalblacklist.conf file will not touch your custom include files

Include custom.d/bad-referrer-words.conf

# ************************
Expand All @@ -882,7 +882,7 @@ Include custom.d/bad-referrer-words.conf
# **********************
# Blocking of SEO company Semalt.com (now merged into this one section)
# MIRAI Botnet Domains Used for Mass Attacks
# Other known bad SEO companies and Ad Hijacking Sites
# Other known bad SEO companies and Ad Hijacking Sites
# Sites linked to malware, adware and ransomware

# *****************
Expand All @@ -894,9 +894,9 @@ Include custom.d/bad-referrer-words.conf
# curl -I http://www.yourdomain.com -e http://8gold.com

# This uses curl to send the referer string to your site and you should see an immediate
# 403 Forbidden Error
# 403 Forbidden Error

# Because of case-insensitive matching any combination of capitilization
# Because of case-insensitive matching any combination of capitilization
# will all produce a positive hit - make sure you always test.

# curl -I http://www.yourdomain.com -e http://NOT-8gold.com
Expand Down Expand Up @@ -7962,7 +7962,7 @@ Allow from env=good_ref
# whitelisted IP addresses are automatically now included for you.
# Read Comments inside whitelist-ips.conf for customization tips.
# Updating the main globalblacklist.conf file will not touch your custom include files

Include custom.d/whitelist-ips.conf

# ***********
Expand Down Expand Up @@ -8101,7 +8101,7 @@ deny from 89.36.223.188

# ****************************************
# NIBBLER - SEO testing and reporting tool
# ****************************************
# ****************************************
# See - http://nibbler.silktide.com/

# START NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###
Expand All @@ -8116,7 +8116,7 @@ deny from 54.242.250.203


# ---------------------
# BLOCK FAKE GOOGLEBOTS
# BLOCK FAKE GOOGLEBOTS
# ---------------------

# START FAKE GOOGLEBOTS ### DO NOT EDIT THIS LINE AT ALL ###
Expand Down
26 changes: 13 additions & 13 deletions Apache_2.4/custom.d/globalblacklist.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# CONFIGURATION INSIDE A VIRTUALHOST EXAMPLE
# ******************************************
# This is how you should include the globalblacklist.conf within a VirtualHost

# ********************************************************
# ********************************************************
# <VirtualHost *:80>
Expand Down Expand Up @@ -783,7 +783,7 @@ BrowserMatchNoCase "(?:\b)ZyBorg(?:\b)" bad_bot
Include custom.d/blacklist-user-agents.conf

# ************************************
# GOOD REFERERS - Spared from Checking
# GOOD REFERERS - Spared from Checking
# ************************************

# Add all your own web site domain names and server names in this section
Expand All @@ -803,7 +803,7 @@ Include custom.d/whitelist-domains.conf

# Add here all referrer words and URL's that are to blocked.
# Referers are often used to spam or make your site appear to be spam
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# They can be very bad for your SEO if not monitored -- DID I mention you need to
# be monitoring your logs frequently so that you know who is trying to do what
# Referers can also result in high bounce rates on your sites by sending fake traffic
#
Expand Down Expand Up @@ -849,7 +849,7 @@ Include custom.d/whitelist-domains.conf
# you will generate a 403 error.

# curl --referer http://www.mysite.com/blog/photo-of-girl/ http://www.mysite.com/

# So please be careful with these and think carefully before you add new words.
# Remember we are trying to keep out the general riff-raff not kill your web sites.

Expand Down Expand Up @@ -877,7 +877,7 @@ Include custom.d/bad-referrer-words.conf
# **********************
# Blocking of SEO company Semalt.com (now merged into this one section)
# MIRAI Botnet Domains Used for Mass Attacks
# Other known bad SEO companies and Ad Hijacking Sites
# Other known bad SEO companies and Ad Hijacking Sites
# Sites linked to malware, adware and ransomware

# *****************
Expand All @@ -889,9 +889,9 @@ Include custom.d/bad-referrer-words.conf
# curl -I http://www.yourdomain.com -e http://8gold.com

# This uses curl to send the referer string to your site and you should see an immediate
# 403 Forbidden Error
# 403 Forbidden Error

# Because of case-insensitive matching any combination of capitilization
# Because of case-insensitive matching any combination of capitilization
# will all produce a positive hit - make sure you always test.

# curl -I http://www.yourdomain.com -e http://NOT-8gold.com
Expand Down Expand Up @@ -7945,15 +7945,15 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref
# NOW WE ACTIVATE THE BLOCKER USING OUR ACCESS CONTROLS WITH NEW APACHE 2.4 SYNTAX
# ***************************************************************************************
# Remember to de-activate the module access_compat by running sudo a2dismod access_compat
# This is where we actually make the blocker work, everything before and above this
# This is where we actually make the blocker work, everything before and above this
# section is merely where we are declaring our environment variables.
# ***************************************************************************************

# ******************************************
# CONFIGURATION INSIDE A VIRTUALHOST EXAMPLE
# ******************************************
# This is how you should include the globalblacklist.conf within a VirtualHost

# ********************************************************
# ********************************************************
# <VirtualHost *:80>
Expand Down Expand Up @@ -8025,7 +8025,7 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref

# ****************************************
# NIBBLER - SEO testing and reporting tool
# ****************************************
# ****************************************
# See - http://nibbler.silktide.com/

# START NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###
Expand All @@ -8039,7 +8039,7 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref
# END NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###

# ---------------------
# BLOCK FAKE GOOGLEBOTS
# BLOCK FAKE GOOGLEBOTS
# ---------------------

# START FAKE GOOGLEBOTS ### DO NOT EDIT THIS LINE AT ALL ###
Expand Down Expand Up @@ -8273,7 +8273,7 @@ SetEnvIfNoCase Referer ~*zzlgxh\.com spam_ref
# Custom Blacklisted IP addresses are automatically now included for you.
# Read Comments inside blacklist-ips.conf for customization tips.
# Updating the main globalblacklist.conf file will not touch your custom include files

Include custom.d/blacklist-ips.conf


Expand Down
3 changes: 2 additions & 1 deletion _CPanel_Instructions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ YOUR.OWN.IP.ADDR;
103.21.244.0/22;
103.22.200.0/22;
103.31.4.0/22;
104.16.0.0/12;
104.16.0.0/13.
104.24.0.0/14;
108.162.192.0/18;
131.0.72.0/22;
141.101.64.0/18;
Expand Down

0 comments on commit 244807e

Please sign in to comment.