Repository navigation
glassbox 0.4.0
Changes
glassbox 0.4.0 adds network connections to watch captures.
- Open connections. With
--pid, each capture now includesconnections.txt: the open TCP and UDP connections of the agent's process tree when the capture was written, one per line with pid, protocol, local and remote address, and state. On macOS it is read withlsof; on Linux from/proc. It runs as the same user, with no extra privileges. - It is a point-in-time list. Connections that opened and closed before the capture are not shown. If the list cannot be read, the file says so instead of being left out.
Install
With Homebrew:
brew install jacob-adm/tap/glassbox
Or download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.4.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.4.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.4.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.4.0-aarch64-unknown-linux-gnu.tar.gz |
The macOS binary is not notarized. If it was downloaded with a browser, clear the quarantine flag with xattr -d com.apple.quarantine glassbox, or build from source with cargo install --git https://github.com/jacob-adm/glassbox --tag v0.4.0.
Not on crates.io yet.