Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
ChannelDirectTcpip.getLocalSocketAddress() |
SshdSocketAddress |
ChannelDirectTcpip.getRemoteSocketAddress() |
Constructor and Description |
---|
ChannelDirectTcpip(SshdSocketAddress local,
SshdSocketAddress remote) |
Modifier and Type | Method and Description |
---|---|
protected Collection<SshdSocketAddress> |
KnownHostsServerKeyVerifier.resolveHostNetworkIdentities(ClientSession clientSession,
SocketAddress remoteAddress)
Retrieves the host identities to be used when matching or updating an entry
for it - by default returns the reported remote address and the original
connection target host name/address (if same, then only one value is returned)
|
Modifier and Type | Method and Description |
---|---|
protected NamedFactory<Mac> |
KnownHostsServerKeyVerifier.getHostValueDigester(ClientSession clientSession,
SocketAddress remoteAddress,
SshdSocketAddress hostIdentity)
Invoked by
KnownHostsServerKeyVerifier.prepareKnownHostEntry(ClientSession, SocketAddress, PublicKey)
in order to query whether to use a hashed value instead of a plain one for the
written host name/address - default returns null - i.e., no hashing |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
AbstractClientSession.startDynamicPortForwarding(SshdSocketAddress local) |
SshdSocketAddress |
AbstractClientSession.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
AbstractClientSession.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
Modifier and Type | Method and Description |
---|---|
ChannelDirectTcpip |
AbstractClientSession.createDirectTcpipChannel(SshdSocketAddress local,
SshdSocketAddress remote) |
ChannelDirectTcpip |
ClientSession.createDirectTcpipChannel(SshdSocketAddress local,
SshdSocketAddress remote)
Create a direct tcp-ip channel which can be used to stream data to a remote port from the server.
|
default DynamicPortForwardingTracker |
ClientSession.createDynamicPortForwardingTracker(SshdSocketAddress local)
Starts a dynamic port forwarding and returns a tracker that stops the
forwarding when the
close() method is called. |
default ExplicitPortForwardingTracker |
ClientSession.createLocalPortForwardingTracker(SshdSocketAddress local,
SshdSocketAddress remote)
Starts a local port forwarding and returns a tracker that stops the
forwarding when the
close() method is called. |
default ExplicitPortForwardingTracker |
ClientSession.createRemotePortForwardingTracker(SshdSocketAddress remote,
SshdSocketAddress local)
Starts a remote port forwarding and returns a tracker that stops the
forwarding when the
close() method is called. |
SshdSocketAddress |
AbstractClientSession.startDynamicPortForwarding(SshdSocketAddress local) |
SshdSocketAddress |
AbstractClientSession.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
AbstractClientSession.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
void |
AbstractClientSession.stopDynamicPortForwarding(SshdSocketAddress local) |
void |
AbstractClientSession.stopLocalPortForwarding(SshdSocketAddress local) |
void |
AbstractClientSession.stopRemotePortForwarding(SshdSocketAddress remote) |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
PortForwardingTracker.getBoundAddress() |
SshdSocketAddress |
PortForwardingTracker.getLocalAddress() |
SshdSocketAddress |
ExplicitPortForwardingTracker.getRemoteAddress() |
Constructor and Description |
---|
DynamicPortForwardingTracker(ClientSession session,
SshdSocketAddress localAddress,
SshdSocketAddress boundAddress) |
ExplicitPortForwardingTracker(ClientSession session,
boolean localForwarding,
SshdSocketAddress localAddress,
SshdSocketAddress remoteAddress,
SshdSocketAddress boundAddress) |
PortForwardingTracker(ClientSession session,
SshdSocketAddress localAddress,
SshdSocketAddress boundAddress) |
Modifier and Type | Class and Description |
---|---|
class |
LocalForwardingEntry |
Modifier and Type | Field and Description |
---|---|
protected SshdSocketAddress |
TcpipClientChannel.localEntry |
protected SshdSocketAddress |
TcpipClientChannel.remote |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
PortForwardingInformationProvider.getBoundLocalPortForward(int port) |
SshdSocketAddress |
DefaultForwardingFilter.getBoundLocalPortForward(int port) |
SshdSocketAddress |
PortForwardingInformationProvider.getBoundRemotePortForward(int port) |
SshdSocketAddress |
DefaultForwardingFilter.getBoundRemotePortForward(int port) |
SshdSocketAddress |
DefaultForwardingFilter.getForwardedPort(int remotePort) |
SshdSocketAddress |
ForwardingFilter.getForwardedPort(int remotePort) |
SshdSocketAddress |
TcpipClientChannel.getTunnelEntrance() |
SshdSocketAddress |
ForwardingTunnelEndpointsProvider.getTunnelEntrance() |
SshdSocketAddress |
TcpipClientChannel.getTunnelExit() |
SshdSocketAddress |
ForwardingTunnelEndpointsProvider.getTunnelExit() |
SshdSocketAddress |
DefaultForwardingFilter.localPortForwardingRequested(SshdSocketAddress local) |
SshdSocketAddress |
ForwardingFilter.localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.
|
SshdSocketAddress |
PortForwardingManager.startDynamicPortForwarding(SshdSocketAddress local)
Start dynamic local port forwarding using a SOCKS proxy.
|
SshdSocketAddress |
DefaultForwardingFilter.startDynamicPortForwarding(SshdSocketAddress local) |
SshdSocketAddress |
PortForwardingManager.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
DefaultForwardingFilter.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
PortForwardingManager.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local)
Start forwarding tcpip from the given address on the server to the
given address on the client.
|
SshdSocketAddress |
DefaultForwardingFilter.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
Modifier and Type | Method and Description |
---|---|
List<Map.Entry<Integer,SshdSocketAddress>> |
PortForwardingInformationProvider.getLocalForwardsBindings() |
List<Map.Entry<Integer,SshdSocketAddress>> |
DefaultForwardingFilter.getLocalForwardsBindings() |
List<Map.Entry<Integer,SshdSocketAddress>> |
PortForwardingInformationProvider.getRemoteForwardsBindings() |
List<Map.Entry<Integer,SshdSocketAddress>> |
DefaultForwardingFilter.getRemoteForwardsBindings() |
Modifier and Type | Method and Description |
---|---|
default void |
PortForwardingEventListener.establishedDynamicTunnel(Session session,
SshdSocketAddress local,
SshdSocketAddress boundAddress,
Throwable reason)
Signals a successful/failed attempt to establish a dynamic port forwarding
|
default void |
PortForwardingEventListener.establishedExplicitTunnel(Session session,
SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding,
SshdSocketAddress boundAddress,
Throwable reason)
Signals a successful/failed attempt to establish a local/remote port forwarding
|
default void |
PortForwardingEventListener.establishingDynamicTunnel(Session session,
SshdSocketAddress local)
Signals the attempt to establish a dynamic port forwarding
|
default void |
PortForwardingEventListener.establishingExplicitTunnel(Session session,
SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding)
Signals the attempt to establish a local/remote port forwarding
|
protected boolean |
LocalForwardingEntry.isEquivalent(SshdSocketAddress that) |
void |
DefaultForwardingFilter.localPortForwardingCancelled(SshdSocketAddress local) |
void |
ForwardingFilter.localPortForwardingCancelled(SshdSocketAddress local)
Called when the other side cancelled a remote port forward.
|
SshdSocketAddress |
DefaultForwardingFilter.localPortForwardingRequested(SshdSocketAddress local) |
SshdSocketAddress |
ForwardingFilter.localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.
|
protected void |
DefaultForwardingFilter.signalEstablishedDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress local,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwardingFilter.signalEstablishedDynamicTunnel(SshdSocketAddress local,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwardingFilter.signalEstablishedExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwardingFilter.signalEstablishedExplicitTunnel(SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwardingFilter.signalEstablishingDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress local) |
protected void |
DefaultForwardingFilter.signalEstablishingDynamicTunnel(SshdSocketAddress local) |
protected void |
DefaultForwardingFilter.signalEstablishingExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding) |
protected void |
DefaultForwardingFilter.signalEstablishingExplicitTunnel(SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding) |
protected void |
DefaultForwardingFilter.signalTearingDownDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress address) |
protected void |
DefaultForwardingFilter.signalTearingDownDynamicTunnel(SshdSocketAddress address) |
protected void |
DefaultForwardingFilter.signalTearingDownExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remoteAddress) |
protected void |
DefaultForwardingFilter.signalTearingDownExplicitTunnel(SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remote) |
protected void |
DefaultForwardingFilter.signalTornDownDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress address,
Throwable reason) |
protected void |
DefaultForwardingFilter.signalTornDownDynamicTunnel(SshdSocketAddress address,
Throwable reason) |
protected void |
DefaultForwardingFilter.signalTornDownExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remoteAddress,
Throwable reason) |
protected void |
DefaultForwardingFilter.signalTornDownExplicitTunnel(SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remoteAddress,
Throwable reason) |
SshdSocketAddress |
PortForwardingManager.startDynamicPortForwarding(SshdSocketAddress local)
Start dynamic local port forwarding using a SOCKS proxy.
|
SshdSocketAddress |
DefaultForwardingFilter.startDynamicPortForwarding(SshdSocketAddress local) |
SshdSocketAddress |
PortForwardingManager.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
DefaultForwardingFilter.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
PortForwardingManager.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local)
Start forwarding tcpip from the given address on the server to the
given address on the client.
|
SshdSocketAddress |
DefaultForwardingFilter.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
void |
PortForwardingManager.stopDynamicPortForwarding(SshdSocketAddress local)
Stop a previously started dynamic port forwarding.
|
void |
DefaultForwardingFilter.stopDynamicPortForwarding(SshdSocketAddress local) |
void |
PortForwardingManager.stopLocalPortForwarding(SshdSocketAddress local)
Stop forwarding the given local address.
|
void |
DefaultForwardingFilter.stopLocalPortForwarding(SshdSocketAddress local) |
void |
PortForwardingManager.stopRemotePortForwarding(SshdSocketAddress remote)
Stop forwarding of the given remote address.
|
void |
DefaultForwardingFilter.stopRemotePortForwarding(SshdSocketAddress remote) |
default void |
PortForwardingEventListener.tearingDownDynamicTunnel(Session session,
SshdSocketAddress address)
Signals a request to tear down a dynamic forwarding
|
default void |
PortForwardingEventListener.tearingDownExplicitTunnel(Session session,
SshdSocketAddress address,
boolean localForwarding,
SshdSocketAddress remoteAddress)
Signals a request to tear down a local/remote port forwarding
|
default void |
PortForwardingEventListener.tornDownDynamicTunnel(Session session,
SshdSocketAddress address,
Throwable reason)
Signals a successful/failed request to tear down a dynamic port forwarding
|
default void |
PortForwardingEventListener.tornDownExplicitTunnel(Session session,
SshdSocketAddress address,
boolean localForwarding,
SshdSocketAddress remoteAddress,
Throwable reason)
Signals a successful/failed request to tear down a local/remote port forwarding
|
protected void |
DefaultForwardingFilter.unbindDynamicForwarding(SshdSocketAddress local,
SocksProxy proxy,
InetSocketAddress bound) |
protected void |
DefaultForwardingFilter.unbindLocalForwarding(SshdSocketAddress local,
SshdSocketAddress remote,
InetSocketAddress bound) |
Constructor and Description |
---|
LocalForwardingEntry(SshdSocketAddress local,
InetSocketAddress bound) |
LocalForwardingEntry(SshdSocketAddress local,
SshdSocketAddress bound) |
TcpipClientChannel(TcpipClientChannel.Type type,
IoSession serverSession,
SshdSocketAddress remote) |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
SessionHelper.getBoundLocalPortForward(int port) |
SshdSocketAddress |
SessionHelper.getBoundRemotePortForward(int port) |
Modifier and Type | Method and Description |
---|---|
List<Map.Entry<Integer,SshdSocketAddress>> |
SessionHelper.getLocalForwardsBindings() |
List<Map.Entry<Integer,SshdSocketAddress>> |
SessionHelper.getRemoteForwardsBindings() |
Modifier and Type | Field and Description |
---|---|
static SshdSocketAddress |
SshdSocketAddress.LOCALHOST_ADDRESS
A dummy placeholder that can be used instead of
null s |
Modifier and Type | Method and Description |
---|---|
static SshdSocketAddress |
SshdSocketAddress.toSshdSocketAddress(SocketAddress addr) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SshdSocketAddress.isEquivalent(SshdSocketAddress that) |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
TcpipServerChannel.getOriginatorAddress() |
SshdSocketAddress |
TcpipServerChannel.getTunnelEntrance() |
SshdSocketAddress |
TcpipServerChannel.getTunnelExit() |
Modifier and Type | Method and Description |
---|---|
boolean |
StaticDecisionForwardingFilter.canConnect(TcpForwardingFilter.Type type,
SshdSocketAddress address,
Session session) |
boolean |
TcpForwardingFilter.canConnect(TcpForwardingFilter.Type type,
SshdSocketAddress address,
Session session)
Determine if the session may create an outbound connection.
|
boolean |
StaticDecisionForwardingFilter.canListen(SshdSocketAddress address,
Session session) |
boolean |
TcpForwardingFilter.canListen(SshdSocketAddress address,
Session session)
Determine if the session may listen for inbound connections.
|
protected boolean |
StaticDecisionForwardingFilter.checkAcceptance(String request,
Session session,
SshdSocketAddress target) |
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.