znc/znc — pull request #349 by Siyo92 (2013-05-10 12:33:40+00:00)
Title: Whitelisted X-Forwarded-For header support

This commit adds support for the X-Forwarded-For HTTP header. It's useful when you want to run ZNC behind a proxy.

The header is ignored unless the proxy is whitelisted using the AllowProxy setting in the main config file. AllowProxy accepts a full IP address or a wildcard.