Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP reset on remote connection failure #538

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 3, 2024

  1. TCP dial before accepting SSH

    Will prevent the input proxy to send anything on SSH if it's not possible to connect to the remote end.
    If the TCP connection fails, SSH connection attempt is rejected with reason ConnectionFailed, and and the TCP connection error message.
    liojacqs committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    c9c7433 View commit details
    Browse the repository at this point in the history
  2. Trigger TCP reset on remote connection failure

    On remote connection failure, reset TCP connection, so the client (if well written), may be aware of an issue, even if all the data could be sent before (with TCP, data can be sent before Accept() on the server side).
    The reason for failure is sent back to the client.
    liojacqs committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    312c3cc View commit details
    Browse the repository at this point in the history