Skip to content

Releases: emirhannsarial/tifybe-cli

v1.1.3 — detect dead tunnel connections

Choose a tag to compare

@emirhannsarial emirhannsarial released this 30 Jul 14:45
0635e14

Silent tunnel failures are now detected

A connection can stop working without ever closing — the laptop suspends, the wifi changes, a NAT entry expires. Reads block on it forever and writes keep succeeding into the kernel buffer.

So tifybe listen would sit there looking perfectly healthy while every webhook went into a socket that no longer led anywhere. The 30s heartbeat did not help: nothing checked whether a reply ever came back.

The edge was in the same position from its side — it kept the tunnel registered, answered 200 to whoever sent the webhook, and then refused the reconnect with tunnel is already in use, which this client treated as fatal. So the failure was not just silent, it was sticky.

Now: the connection carries a read deadline that only a live peer can push forward. Protocol pings every 30s alongside the existing heartbeat, any incoming frame extending the deadline, and 70s of silence handing over to the reconnect loop.

Verified against a live tunnel: a session stayed up and forwarded a webhook 132 seconds after connecting, well past the point an unanswered deadline would have ended it.

The matching server-side change is already deployed, so upgrading gets you both halves.

tifybe login no longer echoes your API key

The credentials file was already written 0600, but typing the key in the clear left it in terminal scrollback and in anything recording that session. Piped input is unchanged.

Also

  • CI on every push and pull request: build, vet, gofmt, go test -race, and a cross-compile of every published target — so a broken target is caught before a tag is cut, not after
  • The release workflow reads its Go version from go.mod instead of a pinned one that could silently drift out of date

Install

curl -fsSL https://tifybe.com/install.sh | sh
irm https://tifybe.com/install.ps1 | iex

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.1.3

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.1.3

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.1.3

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.1.3

v1.1.2

Choose a tag to compare

@github-actions github-actions released this 19 Jul 23:06

Full Changelog: v1.1.1...v1.1.2

Full Changelog: v1.1.1...v1.1.2

Full Changelog: v1.1.1...v1.1.2

Full Changelog: v1.1.1...v1.1.2

Full Changelog: v1.1.1...v1.1.2

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 19 Jul 00:14

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Jul 23:07

Full Changelog: v1.0.3...v1.1.0