Skip to content

Releases: 406-mot-acceptable/lmtm

v0.1.1 - legacy SSH fix + compact tunnel dashboard

Choose a tag to compare

@406-mot-acceptable 406-mot-acceptable released this 11 May 13:37

Patch release. See #1 for full diff.

Fixed

  • SSH handshake against legacy gateways. Older MikroTik/Ubiquiti firmwares that only present an ssh-rsa host key now connect on the first attempt — Go's default HostKeyAlgorithms no longer includes ssh-rsa, so the permissive list now covers rsa-sha2-512/256, ed25519, ecdsa-*, and ssh-rsa in a single handshake. ssh-rsa-only retry kept as fallback.
  • Error reporting on connect failure. When both attempts failed the wrapper used to return the first error, masking the actual cause; now wraps the retry error with the first attempt as context.
  • Slow international links. Bumped Dial + ClientConfig timeouts from 10s to 30s.

Changed

  • Tunnel dashboard. Rewritten to render one line per device — <IP> <localPort> <localPort> ... <MAC> [n/m up] — instead of one bordered panel per device. Local-port tokens are colored by individual tunnel status and stay clickable for HTTP/HTTPS remote ports.
  • Dashboard scroll. Wrapped the device list in a bubbles/viewport; j/k, arrows, pgup/pgdn, b/f, u/d all scroll. Viewport resizes live on terminal resize.

Diagnostics

  • Connect handshake success/failure now logged to ~/.lmtm/tunnel.log with the host-key algorithms tried — makes future connection bugs self-diagnosable.

Install

Build from source: make build (Go 1.22+). No prebuilt binaries attached.

v0.1.0

Choose a tag to compare

@406-mot-acceptable 406-mot-acceptable released this 17 Apr 07:24

Features

  • Auto-detection of MikroTik RouterOS and Ubiquiti airOS/EdgeOS
  • MAC vendor lookup and device classification
  • Deterministic port mapping (base + last octet)
  • Subnet rescan and manual IP:Port entry on the devices screen
  • MikroTik gateways auto-forward WinBox (8291)
  • OSC8 clickable hyperlinks in the active tunnel view
  • Localhost-only binding, host key verification, no InsecureIgnoreHostKey

Install

Download lmtm-linux-amd64, then:
chmod +x lmtm-linux-amd64
./lmtm-linux-amd64