Please sign in to comment.
add implementation of X-Forwarded-For header (Fabian Linzberger)
* Add x_forwarded_for_log_proxy_whitelist global config parameter and parsing for it. * Add x_forwarded_for header in record definition and collection (based on code by Chris Double he mentions on http://www.bluishcoder.co.nz/2006/04/handling-x-forwarded-for-in-yaws.html) * For yaws_server:maybe_access_log/3: if originating IP is present in x_forwarded_for_log_proxy_whitelist, log last IP found in x-forwarded-for header instead of originating IP
- Loading branch information...
Showing with 63 additions and 10 deletions.