Skip to content

logging.ignored_x_forwarded_for_ranges

Defines all IP ranges in the X-Forwarded-For header to be ignored by Funnelback when choosing the IP address to Log.

Key: logging.ignored_x_forwarded_for_ranges
Type: List<String>
Can be set in: collection.cfg

Description

Defines all IP ranges in the X-Forwarded-For header to be ignored by Funnelback when choosing the IP address to Log. Funnelback will prefer to use the last IP in the X-Forwarded-For header. If Funnelback can not get an IP address from this header it will use the connecting IP.

The IP ranges are specified in CIDR notation.

Default Value

logging.ignored_x_forwarded_for_ranges=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16

Examples

A request goes through two reverse proxies, the first having an IP of 1.2.3.4. The X-Forwarded-For header that Funnelback sees will contain:

client IP, 1.2.3.4

We would like to log the client's IP rather than the IP of the proxy. Our configuration should be set to:

logging.ignored_x_forwarded_for_ranges=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,1.2.3.4/32

top

Funnelback logo
v15.24.0