You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2017/10/26 08:43:34 UTC

[Bug 61670] New: X-Forwarded-For: 10.11.12.13:12345 creates a AAAA dns query

https://bz.apache.org/bugzilla/show_bug.cgi?id=61670

            Bug ID: 61670
           Summary: X-Forwarded-For: 10.11.12.13:12345 creates a AAAA dns
                    query
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_remoteip
          Assignee: bugs@httpd.apache.org
          Reporter: andrei.kalfas@gmail.com
  Target Milestone: ---

Created attachment 35465
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35465&action=edit
tcpdump showcasing the extra AAAA dns query

Azure's Application Gateway forwards the useragent ip via the X-Forwarded-For
header as documented [1] and adds the port to it. 

Trouble is that remoteip picks up and does a AAAA dns query resulting obviously
in a negative response.

This should not happen - stripping of the port there is no extra dns query.

[1]
https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-faq

I've attached a tcpdump that showcase the error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org