Without this patch the handling of
X-Forwarded-For headers is insecure in a
default apache conf supplied with puppet.
This patch ensures X-Forwarded-For headers
are dropped.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
This commit is contained in:
Moses Mendoza 2012-03-28 10:54:59 -07:00
Родитель 2d51b642fc
Коммит 8f84207c12
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -26,6 +26,9 @@ Listen 8140
SSLVerifyDepth 1
SSLOptions +StdEnvVars
# This header needs to be set if using a loadbalancer or proxy
RequestHeader unset X-Forwarded-For
RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e