Enabling Strip X-Forward-For Feature Blocks Communications to Certain Websites
Resolution
Issue
Some websites block incoming communications from host computers when Strip-X FF feature is enabled on the Palo Alto Networks firewall.
For example:
Cause
The strip x-forward-for option (Device > Setup > Content-ID) for the header provides security by removing the IP address in this field of the client when sending out a request to a web site in the GET request. With sites that use IDP/IDS this is being seen as an invalid value because there is no value in this field. When this happens the GET request will be dropped by the remote site.
Here is a sample text export of the GET packet showing the XFF field is blanked out on transmit by Palo Alto Networks firewall:
Host: www.publix.com\r\n
Via: 1.1 linux2.pantac3.org:3128 (squid/2.7.STABLE7)\r\n
X-Forwarded-For: \r\n <<<----
Resolution
The functionality of this feature is working as designed. Contact impacted websites so their IDS/IPS devices can be configured to accept communications from host computers.
owner: kadak