Jaka Jancar created SSHD-309:
--------------------------------

             Summary: ForwardingFilter/TcpipForwarder should have a nicer way 
to reject local port forwarding requests
                 Key: SSHD-309
                 URL: https://issues.apache.org/jira/browse/SSHD-309
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 0.10.1
            Reporter: Jaka Jancar
            Priority: Minor


Currently, if ForwardingFilter returns false in canListen, this causes 
TcpipForwarder to throw an IOException, polluting logs for what is basically a 
client error.

TcpipForwarder#localPortForwardingRequested should have a way to return failure 
(either because of ForwardingFilter permission check or something else) and 
TcpipForwardHandler should return that as Result.ReplyFailure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to