mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaka Jancar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-309) ForwardingFilter/TcpipForwarder should have a nicer way to reject local port forwarding requests
Date Mon, 07 Apr 2014 00:01:20 GMT
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)

Mime
View raw message