Bug 954017 - Feature request: [WFLY-457] Replace mod_cluster proxy-list attribute with list of outbound socket bindings
Summary: Feature request: [WFLY-457] Replace mod_cluster proxy-list attribute with lis...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: mod_cluster
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: TBD EAP 7
Assignee: Radoslav Husar
QA Contact: Michal Karm Babacek
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-19 21:55 UTC by Aaron Ogburn
Modified: 2018-12-01 15:35 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-27 21:32:06 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-457 0 Critical Closed Replace mod_cluster proxy-list attribute with list of outbound socket bindings 2018-01-12 15:34:07 UTC

Description Aaron Ogburn 2013-04-19 21:55:49 UTC
Description of problem:

mod_cluster only uses the default interface and this currently isn't configurable.


Expected results:

The proxy-list attribute is improved to allow a desired address/interface to be specified for the Jboss side of the proxy connection.


Additional info:

What looks to be the cause from org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler:

        private synchronized Socket getConnection() throws IOException {
            if ((this.socket == null) || this.socket.isClosed()) {
                this.socket = this.socketFactory.createSocket();
                InetAddress address = this.socketAddress.getAddress();
                if ( address instanceof Inet6Address && ((Inet6Address)address).isLinkLocalAddress()) {
                    /* We need to work-around a java6 bug */
                    InetSocketAddress addr = new InetSocketAddress(address, 0);
                    this.socket.bind(addr);
                    this.socket.connect(this.socketAddress, this.socketTimeout);
                } else {
                    // no socket bind. socket connected from default interface.
                    this.socket.connect(this.socketAddress, this.socketTimeout);  
                }
                this.socket.setSoTimeout(this.socketTimeout);
                this.localAddress = this.socket.getLocalAddress();
            }
            return this.socket;
        }


We need a way to change the bind address of this socket through the configuration of the modcluster subsystem

Comment 2 Jean-frederic Clere 2013-06-27 06:16:59 UTC
See https://issues.jboss.org/browse/WFLY-457
it is not fixed upstream

Comment 6 Rostislav Svoboda 2014-01-22 10:07:41 UTC
FYI - https://issues.jboss.org/browse/WFLY-457 is still open and targeted for  9.0.0.CR1

Comment 7 Rostislav Svoboda 2014-01-27 11:17:33 UTC
QA NACK as there is no RFE in https://issues.jboss.org/browse/EAP6 and WFLY issue is targeted for next major release.

Comment 8 Paul Ferraro 2014-07-15 15:50:38 UTC
This should be deferred to EAP7.

Comment 9 Michal Karm Babacek 2015-01-20 15:01:12 UTC
Dear Rado, could you create an EAP7 RFE Jira so as this bugzilla won't slip through the cracks?
Thx :-)

Comment 10 Radoslav Husar 2015-01-22 18:01:25 UTC
This is already implemented (9.0.0.Alpha1) so no need for RFE.

Comment 11 Michal Karm Babacek 2015-01-27 21:32:06 UTC
Closed;Upstream
https://issues.jboss.org/browse/WFLY-457


Note You need to log in before you can comment on or make changes to this bug.