[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-584) httpd Host header validation check with IPv6 address in MCMP requests

Michal Karm Babacek (JIRA) issues at jboss.org
Fri Aug 11 03:11:00 EDT 2017


     [ https://issues.jboss.org/browse/MODCLUSTER-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Karm Babacek updated MODCLUSTER-584:
-------------------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/modcluster/mod_cluster/pull/278, https://github.com/modcluster/mod_cluster/pull/277


> httpd Host header validation check with IPv6 address in MCMP requests
> ---------------------------------------------------------------------
>
>                 Key: MODCLUSTER-584
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-584
>             Project: mod_cluster
>          Issue Type: Bug
>          Components: Core & Container Integration (Java)
>    Affects Versions: 2.0.0.Alpha1, 1.2.13.Final, 1.3.6.Final
>            Reporter: Bogdan Sikora
>            Assignee: Matus Madzin
>            Priority: Blocker
>
> This is a regression as 2.4.23-GA works.
> Reproducer:
> 1. Set up httpd mod_cluster balancer with Ipv6 address with advertisement on.
> 2. Set up worker node (tested with EAP)
> 3. Checks on console if they correctly connect
> {color:red}Issue:{color}
> Httpd log:
> {noformat}
> [Wed May 10 04:41:31.930288 2017] [core:debug] [pid 15638] vhost.c(796): [client 2620:52:0:105f:5054:ff:fe22:d46f:44474] AH02415: [strict] Invalid host name '2620:52:0:105f:5054:ff:fe22:d46f', problem near: :52:0:
> [Wed May 10 04:41:31.930332 2017] [core:debug] [pid 15638] vhost.c(891): [client 2620:52:0:105f:5054:ff:fe22:d46f:44474] AH00550: Client sent malformed Host header: 2620:52:0:105f:5054:ff:fe22:d46f:8747
> [Wed May 10 04:41:31.930338 2017] [core:debug] [pid 15638] protocol.c(1385): [client 2620:52:0:105f:5054:ff:fe22:d46f:44474] AH00569: client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /
> {noformat}
> EAP6(6.4.10) log:
> {noformat}
> 04:41:29,316 ERROR [org.jboss.modcluster] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) MODCLUSTER000042: Error null sending INFO command to 2620:52:0:105f:5054:ff:fe22:d46f/2620:52:0:105f:5054:ff:fe22:d46f:8747, configuration will be reset: null
> {noformat}
> Tomcat log:
> {noformat}
> May 10, 2017 9:05:25 AM org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler sendRequest
> ERROR: MODCLUSTER000042: Error null sending INFO command to 2620:52:0:105f:5054:ff:fe22:d46f/2620:52:0:105f:5054:ff:fe22:d46f:8747, configuration will be reset: null
> {noformat}
> Issue was reproduced with EAP-7.1.0.DR17 too. Httpd-2.4.23-GA don't have this issue.
> Issue has some connection to ipv6 as some ipv6 tests passed.
> Failed on:
> 2620:52:0:105f:5054:ff:fe22:d46f,  2620:52:0:105f:5054:ff:fe0c:5717, 2620:52:0:105f:5054:ff:feb5:a642, ...
> Passed on:
> 2620:52:0:1040:e8f4:2bff:feef:e504, 2620:52:0:1040:440c:3ff:fee1:df02, ...



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the mod_cluster-issues mailing list