Releases: 406-mot-acceptable/lmtm
Releases · 406-mot-acceptable/lmtm
Release list
v0.1.1 - legacy SSH fix + compact tunnel dashboard
Patch release. See #1 for full diff.
Fixed
- SSH handshake against legacy gateways. Older MikroTik/Ubiquiti firmwares that only present an
ssh-rsahost key now connect on the first attempt — Go's defaultHostKeyAlgorithmsno longer includesssh-rsa, so the permissive list now coversrsa-sha2-512/256,ed25519,ecdsa-*, andssh-rsain 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/dall scroll. Viewport resizes live on terminal resize.
Diagnostics
- Connect handshake success/failure now logged to
~/.lmtm/tunnel.logwith 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
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