Discuss this help topic in SecureBlackbox Forum

TElIdSSHServerIOHandler.OnBeforeOpenClientForwarding

TElIdSSHServerIOHandler     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when client requested a client TCP-forwarding.

Declaration

[C#/Java]
    not implemented;

[VB.NET]
    not implemented;

[Pascal]
    property OnBeforeOpenClientForwarding: TSSHBeforeOpenClientForwardingEvent;
    TSSHBeforeOpenClientForwardingEvent = procedure(Sender: TObject; const DestHost: string; DestPort: integer; const SrcHost: string; SrcPort: integer; var Accept: boolean) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • DestHost - remote host to connect with and data send
  • DestPort - port on the DestHost
  • SrcHost - host connected to the client
  • SrcPort - port on the SrcHost
  • Accept - set this parameter to True if you agree to provide the forwarding.

Description

    If you agree to provide forwarding set Access parameter to True. In order to provide client forwarding server has to establish connection with remote server and transfer data received from the client to this server, and back - from the remote server to the client.

See also:     OnBeforeOpenCommand     OnBeforeOpenShell     OnBeforeOpenSubsystem     OnBeforeOpenX11Forwarding    

Discuss this help topic in SecureBlackbox Forum