Skip to content

Unveils real client ip behind incapsula proxy with consideration of ip spoofing

Notifications You must be signed in to change notification settings

intval/IncapsulaIpFixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incapsula Ip Fixer

Build Status Latest Stable Version Total Downloads

Unveils real client ip hidden by Incapusla proxy and cdn service. Ip spoofing protection checks the remote addr against allowed incapsulas IP list

This software is distributed under the BSD Licence. You can do whatever you want.

Usage

Execute the method FixRemoteAddrInServerArray
it will update the passed _SERVER array with correct remote addr only if the request is coming through incapsula
(new \Intval\IncapsulaIpFixer($_SERVER))->FixRemoteAddrInServerArray();

GetClientIp()
returns real clients ip behind incapsula proxy

About

Unveils real client ip behind incapsula proxy with consideration of ip spoofing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages