addr = new InetSocketAddress(address, port);
} catch (RuntimeException e) {
addr = null;
}
final ForwardingFilter filter = session.getServerFactoryManager().getForwardingFilter();
if (addr == null || filter == null || !filter.canListen(addr, session)) {
if (wantReply) {
buffer = session.createBuffer(SshConstants.Message.SSH_MSG_REQUEST_FAILURE, 0);
session.writePacket(buffer);
}
return;