Skip to content

v1.0.0

Compare
Choose a tag to compare
@rgzr rgzr released this 19 Feb 17:16
· 1 commit to main since this release

This is the first stable release of sshtun.

Some changes from v0 have been made:

  • Start() receives a context. The tunnel can be stopped canceling the context or by calling Stop().
  • The ssh connection is only made when a tunneled connection is accepted, and all tunneled connections share the same ssh connection.
  • A SetTunneledConnState() method has been added. It allows to provide an optional callback that receives updates on the underlying tunneled connections status.
  • Removed Debug() method, the package does not import log package.
  • The default key files searched have been modified to be coherent with what ssh client does.
  • Upgraded dependencies, as vulnerabilities in the ssh package have been found.