MINA SSHD
  1. MINA SSHD
  2. SSHD-121

Add Factories to create IoAcceptors for TcpipForwardSupport & X11ForwardSupport

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Labels:
      None

      Description

      I would like to make it possible for applications embedding Mina SSHD to have greater control over the IoAcceptors used by port forwards. I will do the work and submit a patch if this effort seems valuable to the project.

      I would like to add these methods to the ServerFactoryManager interface:

      ForwardingAcceptorFactory getTcpipForwardNioSocketAcceptorFactory();
      ForwardingAcceptorFactory getX11ForwardNioSocketAcceptorFactory();

      Create an Interface ForwardingAcceptorFactory with:

      public NioSocketAcceptor createNioSocketAcceptor(ServerSession ss);

      Use the ForwardingAcceptorFactory in TcpipForwardSupport and X11ForwardSupport.

      Implement a DefaultForwardingAcceptorFactory to be used by default.

        Issue Links

          Activity

          Guillaume Nodet made changes -
          Link This issue is related to SSHD-62 [ SSHD-62 ]
          Guillaume Nodet made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Guillaume Nodet [ gnt ]
          Fix Version/s 0.7.0 [ 12317953 ]
          Resolution Fixed [ 1 ]
          Bill Kuker made changes -
          Summary Add Factories to create IoAcceptors TcpipForwardSupport & X11ForwardSupport Add Factories to create IoAcceptors for TcpipForwardSupport & X11ForwardSupport
          Bill Kuker made changes -
          Summary Add Factories to create IoAcceptors for SshServer, TcpipForwardSupport & X11ForwardSupport Add Factories to create IoAcceptors TcpipForwardSupport & X11ForwardSupport
          Bill Kuker made changes -
          Attachment SSHD-121-Proposal.patch [ 12476888 ]
          Bill Kuker made changes -
          Field Original Value New Value
          Description I would like to make it possible for applications embedding Mina SSHD to have greater control over the IoAcceptors used by port forwards. I will do the work and submit a patch if this effort seems valuable to the project.

          I would like to add these methods to the ServerFactoryManager interface:

              Factory<NioSocketAcceptor> getTcpipForwardNioSocketAcceptorFactory();
              Factory<NioSocketAcceptor> getX11ForwardNioSocketAcceptorFactory();
              Factory<? extends IoAcceptor> getSshServerNioSocketAcceptorFactory();

          Replace SshServer's createAcceptor() and configure(IoAcceptor) methods with a single call to the factory in create()

          Use the NioSocketAcceptor factories in TcpipForwardSupport and X11ForwardSupport.

          Implement a Factory<NioSocketAcceptor> to be used by default.
          I would like to make it possible for applications embedding Mina SSHD to have greater control over the IoAcceptors used by port forwards. I will do the work and submit a patch if this effort seems valuable to the project.

          I would like to add these methods to the ServerFactoryManager interface:

              ForwardingAcceptorFactory getTcpipForwardNioSocketAcceptorFactory();
              ForwardingAcceptorFactory getX11ForwardNioSocketAcceptorFactory();

          Create an Interface ForwardingAcceptorFactory with:

              public NioSocketAcceptor createNioSocketAcceptor(ServerSession ss);

          Use the ForwardingAcceptorFactory in TcpipForwardSupport and X11ForwardSupport.

          Implement a DefaultForwardingAcceptorFactory to be used by default.
          Bill Kuker created issue -

            People

            • Assignee:
              Guillaume Nodet
              Reporter:
              Bill Kuker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development