[jboss-jira] [JBoss JIRA] (WFLY-3878) Wildfly rejects calls due to a bug in Undertow with an UnknownHostException
Mayank Goyal (JIRA)
issues at jboss.org
Fri Sep 19 12:17:02 EDT 2014
Mayank Goyal created WFLY-3878:
----------------------------------
Summary: Wildfly rejects calls due to a bug in Undertow with an UnknownHostException
Key: WFLY-3878
URL: https://issues.jboss.org/browse/WFLY-3878
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 8.1.0.Final
Environment: All
Reporter: Mayank Goyal
Assignee: Stuart Douglas
Refer to undertow commit:
https://github.com/undertow-io/undertow/commit/204684cc41fc369f56bd0305a7a0fd501ff30f16
With proxy-address-forwarding="true" set in wildfly configuration & X-Forwarded-For headers passed in headers with additional proxies following behaviour can be noticed.
For example with X-Forwarded-For set as "123.123.123.123, 210.210.210.210" following IP is reported to the application "123.123.123.12". Which is incorrect and has its own implications.
With X-Forwarded-For set as "1.1.1.1, 2.2.2.2" an java.net.UnknownHostException is thrown in the undertow package. And the connection is terminated with an Internal server error returned to the caller.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list