[3.3.x] Extensions Database Releases • Cloudflare Real IP

Kanál pre nové uvolnené rozšírenia z portálu phpbBB.com.
Užívateľov profilový obrázok
phpBB.sk[bot]
Bot
Príspevky: 2042
Dátum registrácie: 20. Decembra 2015, 01:38
Kontaktovať užívateľa:

[3.3.x] Extensions Database Releases • Cloudflare Real IP

Príspevok od užívateľa phpBB.sk[bot] » 19. Júla 2026, 18:33


Extension name: Cloudflare Real IP
Author: Stoker 4.0
Extension description: Cloudflare Real IP securely unmasks real visitor IPs behind Cloudflare by fetching and caching official Cloudflare IPv4/IPv6 ranges(24 hours), validating each request's origin through CIDR matching, and only trusting CF-Connecting-IP headers from verified Cloudflare servers. Logs spoofing attempts for security monitoring.
If fetching fails, it will be in the phpBB error log and the extension will use the hardcoded IP range instead.
If fetching succeed, it will be in the admin log.


If you have a load balancer, reverse proxy, or CDN sitting between Cloudflare and your phpBB server, the extension might not detect Cloudflare properly. Adding your proxy's IP to the trusted list fixes this.
Signs you need it:
  • Extension is enabled but IPs still show as Cloudflare IPs instead of real user IPs
  • You have nginx, HAProxy, or another proxy in front of phpBB
If everything works fine: Don't touch it. You don't need it.
For troubleshooting or other reasons you can add your IP to the trusted IP list. Its done manual in the main_listener:Code: protected $trusted_ips = [// '1.2.3.4', // Example IPv4// '2001:db8::1', // Example IPv6];Extension version: 1.0.3
Tested on phpBB version: 3.3.15

Download file: unmaskcloudflare_1.0.3.zip
File size: 10.93 KiB

Extension overview page: View

Except where otherwise noted, the phpBB Team is not responsible nor required to provide support for this extension. By installing this extension, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

[url=https://www.phpbb.com/customise/db/exte ... ip/support]-->Extension support

https://www.phpbb.com/community/viewtop ... #p16124329

Napísať odpoveď

Kto je prítomný

Užívatelia prezerajúci toto fórum: Žiadny pripojení užívatelia a 12 neregistrovaných