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 | Field and Description |
---|---|
static AttributeRepository.AttributeKey<SshdSocketAddress> |
ClientSessionCreator.TARGET_SERVER |
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 |
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.
|
ChannelDirectTcpip |
AbstractClientSession.createDirectTcpipChannel(SshdSocketAddress local,
SshdSocketAddress remote) |
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(int localPort,
SshdSocketAddress remote)
Starts a local 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 | Field and Description |
---|---|
protected SshdSocketAddress |
TcpipClientChannel.localEntry |
protected SshdSocketAddress |
TcpipClientChannel.remote |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
LocalForwardingEntry.getBoundAddress() |
SshdSocketAddress |
PortForwardingInformationProvider.getBoundRemotePortForward(int port) |
SshdSocketAddress |
DefaultForwarder.getBoundRemotePortForward(int port) |
SshdSocketAddress |
LocalForwardingEntry.getCombinedBoundAddress()
A combined address using the following logic:
If original requested local binding has a specific port and non-wildcard address then use the local binding
as-is
If original requested local binding has a specific address but no specific port, then combine its address
with the actual auto-allocated port at binding.
If original requested local binding has neither a specific address nor a specific port then use the effective
bound address.
|
SshdSocketAddress |
Forwarder.getForwardedPort(int remotePort) |
SshdSocketAddress |
DefaultForwarder.getForwardedPort(int remotePort) |
SshdSocketAddress |
LocalForwardingEntry.getLocalAddress() |
SshdSocketAddress |
TcpipClientChannel.getTunnelEntrance() |
SshdSocketAddress |
ForwardingTunnelEndpointsProvider.getTunnelEntrance() |
SshdSocketAddress |
TcpipClientChannel.getTunnelExit() |
SshdSocketAddress |
ForwardingTunnelEndpointsProvider.getTunnelExit() |
SshdSocketAddress |
Forwarder.localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.
|
SshdSocketAddress |
DefaultForwarder.localPortForwardingRequested(SshdSocketAddress local) |
static SshdSocketAddress |
LocalForwardingEntry.resolveCombinedBoundAddress(SshdSocketAddress local,
SshdSocketAddress bound) |
SshdSocketAddress |
PortForwardingManager.startDynamicPortForwarding(SshdSocketAddress local)
Start dynamic local port forwarding using a SOCKS proxy.
|
SshdSocketAddress |
DefaultForwarder.startDynamicPortForwarding(SshdSocketAddress local) |
default SshdSocketAddress |
PortForwardingManager.startLocalPortForwarding(int localPort,
SshdSocketAddress remote)
Start forwarding the given local port on the client to the given address on the server.
|
SshdSocketAddress |
PortForwardingManager.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
DefaultForwarder.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 |
DefaultForwarder.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
Modifier and Type | Method and Description |
---|---|
protected InetSocketAddress |
DefaultForwarder.doBind(SshdSocketAddress address,
IoAcceptor acceptor) |
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
|
void |
Forwarder.localPortForwardingCancelled(SshdSocketAddress local)
Called when the other side cancelled a remote port forward.
|
void |
DefaultForwarder.localPortForwardingCancelled(SshdSocketAddress local) |
SshdSocketAddress |
Forwarder.localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.
|
SshdSocketAddress |
DefaultForwarder.localPortForwardingRequested(SshdSocketAddress local) |
static SshdSocketAddress |
LocalForwardingEntry.resolveCombinedBoundAddress(SshdSocketAddress local,
SshdSocketAddress bound) |
protected void |
DefaultForwarder.signalEstablishedDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress local,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwarder.signalEstablishedDynamicTunnel(SshdSocketAddress local,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwarder.signalEstablishedExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwarder.signalEstablishedExplicitTunnel(SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding,
SshdSocketAddress boundAddress,
Throwable reason) |
protected void |
DefaultForwarder.signalEstablishingDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress local) |
protected void |
DefaultForwarder.signalEstablishingDynamicTunnel(SshdSocketAddress local) |
protected void |
DefaultForwarder.signalEstablishingExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding) |
protected void |
DefaultForwarder.signalEstablishingExplicitTunnel(SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding) |
protected void |
DefaultForwarder.signalTearingDownDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress address) |
protected void |
DefaultForwarder.signalTearingDownDynamicTunnel(SshdSocketAddress address) |
protected void |
DefaultForwarder.signalTearingDownExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remoteAddress) |
protected void |
DefaultForwarder.signalTearingDownExplicitTunnel(SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remote) |
protected void |
DefaultForwarder.signalTornDownDynamicTunnel(PortForwardingEventListener listener,
SshdSocketAddress address,
Throwable reason) |
protected void |
DefaultForwarder.signalTornDownDynamicTunnel(SshdSocketAddress address,
Throwable reason) |
protected void |
DefaultForwarder.signalTornDownExplicitTunnel(PortForwardingEventListener listener,
SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remoteAddress,
Throwable reason) |
protected void |
DefaultForwarder.signalTornDownExplicitTunnel(SshdSocketAddress boundAddress,
boolean localForwarding,
SshdSocketAddress remoteAddress,
Throwable reason) |
SshdSocketAddress |
PortForwardingManager.startDynamicPortForwarding(SshdSocketAddress local)
Start dynamic local port forwarding using a SOCKS proxy.
|
SshdSocketAddress |
DefaultForwarder.startDynamicPortForwarding(SshdSocketAddress local) |
default SshdSocketAddress |
PortForwardingManager.startLocalPortForwarding(int localPort,
SshdSocketAddress remote)
Start forwarding the given local port on the client to the given address on the server.
|
SshdSocketAddress |
PortForwardingManager.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
DefaultForwarder.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 |
DefaultForwarder.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
void |
PortForwardingManager.stopDynamicPortForwarding(SshdSocketAddress local)
Stop a previously started dynamic port forwarding.
|
void |
DefaultForwarder.stopDynamicPortForwarding(SshdSocketAddress local) |
void |
PortForwardingManager.stopLocalPortForwarding(SshdSocketAddress local)
Stop forwarding the given local address.
|
void |
DefaultForwarder.stopLocalPortForwarding(SshdSocketAddress local) |
void |
PortForwardingManager.stopRemotePortForwarding(SshdSocketAddress remote)
Stop forwarding of the given remote address.
|
void |
DefaultForwarder.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 |
DefaultForwarder.unbindDynamicForwarding(SshdSocketAddress local,
SocksProxy proxy,
InetSocketAddress bound) |
protected void |
DefaultForwarder.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.getBoundRemotePortForward(int port) |
Modifier and Type | Method and Description |
---|---|
List<SshdSocketAddress> |
SessionHelper.getBoundLocalPortForwards(int port) |
List<Map.Entry<SshdSocketAddress,SshdSocketAddress>> |
SessionHelper.getLocalForwardsBindings() |
List<Map.Entry<SshdSocketAddress,SshdSocketAddress>> |
SessionHelper.getLocalForwardsBindings() |
List<Map.Entry<Integer,SshdSocketAddress>> |
SessionHelper.getRemoteForwardsBindings() |
List<SshdSocketAddress> |
SessionHelper.getStartedLocalPortForwards() |
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 |
---|---|
static <V> Map.Entry<SshdSocketAddress,? extends V> |
SshdSocketAddress.findMatchingOptionalWildcardEntry(Map<SshdSocketAddress,? extends V> map,
SshdSocketAddress address) |
Modifier and Type | Method and Description |
---|---|
static <V> V |
SshdSocketAddress.findByOptionalWildcardAddress(Map<SshdSocketAddress,? extends V> map,
SshdSocketAddress address) |
static <V> Map.Entry<SshdSocketAddress,? extends V> |
SshdSocketAddress.findMatchingOptionalWildcardEntry(Map<SshdSocketAddress,? extends V> map,
SshdSocketAddress address) |
protected boolean |
SshdSocketAddress.isEquivalent(SshdSocketAddress that) |
static <V> V |
SshdSocketAddress.removeByOptionalWildcardAddress(Map<SshdSocketAddress,? extends V> map,
SshdSocketAddress address) |
Modifier and Type | Method and Description |
---|---|
static <V> V |
SshdSocketAddress.findByOptionalWildcardAddress(Map<SshdSocketAddress,? extends V> map,
SshdSocketAddress address) |
static <V> Map.Entry<SshdSocketAddress,? extends V> |
SshdSocketAddress.findMatchingOptionalWildcardEntry(Map<SshdSocketAddress,? extends V> map,
SshdSocketAddress address) |
static <V> V |
SshdSocketAddress.removeByOptionalWildcardAddress(Map<SshdSocketAddress,? extends V> map,
SshdSocketAddress address) |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
TcpipServerChannel.getOriginatorAddress() |
SshdSocketAddress |
TcpipServerChannel.getTunnelEntrance() |
SshdSocketAddress |
TcpipServerChannel.getTunnelExit() |
Modifier and Type | Method and Description |
---|---|
boolean |
TcpForwardingFilter.canConnect(TcpForwardingFilter.Type type,
SshdSocketAddress address,
Session session)
Determine if the session may create an outbound connection.
|
boolean |
StaticDecisionForwardingFilter.canConnect(TcpForwardingFilter.Type type,
SshdSocketAddress address,
Session session) |
boolean |
TcpForwardingFilter.canListen(SshdSocketAddress address,
Session session)
Determine if the session may listen for inbound connections.
|
boolean |
StaticDecisionForwardingFilter.canListen(SshdSocketAddress address,
Session session) |
protected boolean |
StaticDecisionForwardingFilter.checkAcceptance(String request,
Session session,
SshdSocketAddress target) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.