Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-121

Add Factories to create IoAcceptors for TcpipForwardSupport & X11ForwardSupport

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: