You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Nathan Vander Wilt (Created) (JIRA)" <ji...@apache.org> on 2012/02/25 06:13:46 UTC

[jira] [Created] (COUCHDB-1423) Peer not set by X-Forwarded-For when using IPv6

Peer not set by X-Forwarded-For when using IPv6
-----------------------------------------------

                 Key: COUCHDB-1423
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1423
             Project: CouchDB
          Issue Type: Bug
            Reporter: Nathan Vander Wilt
            Priority: Minor


CouchDB transparently handles an X-Forwarded-For header, using the actual client value for the request's "peer" property and logging (albeit modulo [#COUCHDB-1421]). However this does not seem to be working with IPv6 connections.

When bound on 0.0.0.0 `curl -H "X-Forwarded-For: 123.45.6.7" localhost:5984` logs a peer address of 123.45.6.7. But when bound on :: the same request logs ::FFFF:127.0.0.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira