🕳 bore is a simple CLI tool for making tunnels to localhost
This version changes the behavior of bore in relation to the --min-port
option. Now, when a minimum port is specified, any user that connects to bore by default (port: 0) will pick a random port that respects the value of the option. Previously the min port was only used as validation when the user connected with an explicitly specified --port
variable, and the OS was queried for a free port instead.
This also lets us add a --max-port
option, which was requested by multiple people.
Full Changelog: https://github.com/ekzhang/bore/compare/v0.4.1...v0.5.0
This version adds the simple feature of reading the remote server address from the BORE_SERVER
environment variable, rather than passing it in as the argument --to
in the CLI.
There were also minor chores: updated the dependencies, and the CLI has a slightly different look (less colors, more man page-like) due to using clap v4
.
Full Changelog: https://github.com/ekzhang/bore/compare/v0.4.0...v0.4.1
This release of bore
finally distributes the CLI via prebuilt binaries! If you scroll down to the "Assets" attached to the release, you can now download bore
and install instantly it by just adding a single file to your PATH. No need to build from source using Rust (cargo install
) anymore. Big thanks to @praveenperera for making this happen.
This release also makes internal improvements, using the tokio-util
codec library to avoid possibly unbounded memory usage if a malicious client were to stream arbitrarily long frames to the server.
Full Changelog: https://github.com/ekzhang/bore/compare/v0.3.0...v0.4.0
This release makes it possible for bore to expose any address on your local area network, not just localhost
. For example, if you have an ssh daemon running on a computer on your network at 192.168.0.22:22
, then you could forward that using something like:
bore local 22 --local-host 192.168.0.22 --to bore.pub
Then, using the port returned, you could connect to your printer from the public Internet with ssh bore.pub:<PORT>
.
We also now allow the secret to be passed in via the BORE_SECRET
environment variable, and the package has been updated to depend on a minimal set of features in tokio
, which should make build times slightly shorter.
Standalone binary builds are in development but not complete yet.
Full Changelog: https://github.com/ekzhang/bore/compare/v0.2.3...v0.3.0
This release makes it possible to run bore
from a 6 MB Docker image using a single command.
docker run -it --init --rm --network host ekzhang/bore <ARGS>
The image is built for multiple platforms (amd64, arm64) and contains a single statically-linked binary executable. They're published on Docker Hub with version tags like ekzhang/bore:latest
, ekzhang/bore:0.2
, and ekzhang/bore:0.2.3
.
Releasing standalone binary builds is planned starting with bore v0.3.0.
Full Changelog: https://github.com/ekzhang/bore/compare/v0.2.1...v0.2.3
Full Changelog: https://github.com/ekzhang/bore/compare/v0.2.0...v0.2.1
Full Changelog: https://github.com/ekzhang/bore/compare/v0.1.1...v0.2.0