Download the PHP package hryvinskyi/magento2-bot-verification-cloudflare without Composer
On this page you can find all versions of the php package hryvinskyi/magento2-bot-verification-cloudflare. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hryvinskyi/magento2-bot-verification-cloudflare
More information about hryvinskyi/magento2-bot-verification-cloudflare
Files in hryvinskyi/magento2-bot-verification-cloudflare
Package magento2-bot-verification-cloudflare
Short Description Cloudflare edge-server addresses as trusted proxies for Hryvinskyi_BotVerification
License MIT
Informations about the package magento2-bot-verification-cloudflare
Magento 2 Bot Verification: Cloudflare
Cloudflare's edge servers as trusted proxies for
hryvinskyi/magento2-bot-verification. Install it only on a
shop behind Cloudflare. The package is configuration only: one etc/di.xml.
It declares Cloudflare's published ranges, https://www.cloudflare.com/ips-v4/ and https://www.cloudflare.com/ips-v6/
(plain text, one range per line), as proxy lists. The client-address walk then steps over the Cloudflare edge server
that delivered a request and reads the visitor's address just left of it in X-Forwarded-For. It steps over one edge
server at most, because Cloudflare's ranges also carry its customers' Workers, which can send a request with any
X-Forwarded-For.
If the shop's origin can be reached around Cloudflare, a Worker that calls it directly is taken for the edge server. That lets an impostor through and never refuses a real crawler. Cloudflare's Authenticated Origin Pulls closes it.
An edge range Cloudflare adds after the last stored fetch is not known as an edge until the next successful refresh (every 6 hours, or up to 7 days while fetches fail): a request that arrives through it is read as coming from the edge server itself, so a real crawler behind it can be refused in that window.
The module declares no crawler.
License
MIT
All versions of magento2-bot-verification-cloudflare with dependencies
hryvinskyi/magento2-bot-verification Version ^1.0
magento/framework Version >=103.0.0