option forwardfor except network issue

From: Sigurd H°gsbro <sigurd.hogsbro#museeka.com>
Date: Tue, 16 Jun 2009 16:06:36 +0100

Hello all,

I'm trying to deploy haproxy as a replacement for the proxy-module in lighttpd 1.5svn (not yet released), and have managed to mostly configure it to my desires.

I'm having problems getting haproxy to recognise all the RFC1918 networks as exception subnets - what is the correct syntax to exclude all of the 10/8, 172.16/12, 192.168/16 networks from X-Forwarded-For header rewriting for a given frontend? Below is the start of my frontend stanza.



listen http

        bind                    :80
        mode                    http
        option httpclose
        option forwardfor       except
        option forwardfor      except
        option forwardfor      except
Received on 2009/06/16 17:06

This archive was generated by hypermail 2.2.0 : 2009/06/16 17:15 CEST