This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
+8 more
Affected surfaces
Summary
AI summaryFixed kubefwd on Windows by automatically detecting the correct hosts file path.
Full changelog
Bug Fixes
-
fix: Windows hosts path auto-detection (#359) - kubefwd now automatically detects the correct hosts file path based on the operating system:
- Windows:
C:\Windows\System32\drivers\etc\hosts - Linux/macOS:
/etc/hosts
Previously, the
--hosts-pathflag defaulted to/etc/hostson all platforms, causing kubefwd to fail immediately on Windows with "Hosts path does not exist: /etc/hosts". - Windows:
Changes
- Added
runtimeimport to detect OS at runtime - Added
defaultHostsPath()function that returns OS-appropriate path - Updated
--hosts-pathflag to use dynamic default
Windows Support
This release fixes a critical issue that prevented kubefwd from running on Windows without manually specifying the --hosts-path flag. Windows users can now run kubefwd without any additional configuration:
Before (Windows):
kubefwd svc -n mynamespace
FATA[12:34:18] Hosts path does not exist: /etc/hosts
After (Windows):
kubefwd --help | findstr hosts-path
--hosts-path string Hosts file path. (default "C:\Windows\System32\drivers\etc\hosts")
Installation
Windows
Download from GitHub Releases and extract to your PATH.
# Download and extract (PowerShell)
Invoke-WebRequest -Uri "https://github.com/txn2/kubefwd/releases/download/v1.25.8/kubefwd_Windows_x86_64.zip" -OutFile kubefwd.zip
Expand-Archive kubefwd.zip -DestinationPath C:\kubefwd
# Add C:\kubefwd to your PATH
macOS (Homebrew)
brew install txn2/tap/kubefwd
Linux
Download from GitHub Releases or use your package manager.
Verifying This Release
All release artifacts are signed with Sigstore for supply chain security. Each binary archive has its own .sigstore.json signature bundle.
Verify Individual Binaries
# Example: Verify the Linux x86_64 binary
curl -LO https://github.com/txn2/kubefwd/releases/download/v1.25.8/kubefwd_Linux_x86_64.tar.gz
curl -LO https://github.com/txn2/kubefwd/releases/download/v1.25.8/kubefwd_Linux_x86_64.tar.gz.sigstore.json
cosign verify-blob \
--bundle kubefwd_Linux_x86_64.tar.gz.sigstore.json \
--certificate-identity-regexp="https://github.com/txn2/kubefwd/.*" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
kubefwd_Linux_x86_64.tar.gz
Verify Checksums File
curl -LO https://github.com/txn2/kubefwd/releases/download/v1.25.8/kubefwd_checksums.txt
curl -LO https://github.com/txn2/kubefwd/releases/download/v1.25.8/kubefwd_checksums.txt.sigstore.json
cosign verify-blob \
--bundle kubefwd_checksums.txt.sigstore.json \
--certificate-identity-regexp="https://github.com/txn2/kubefwd/.*" \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
kubefwd_checksums.txt
Available Signed Artifacts
| Platform | Archive | Signature |
|----------|---------|-----------|
| Linux x86_64 | kubefwd_Linux_x86_64.tar.gz | kubefwd_Linux_x86_64.tar.gz.sigstore.json |
| Linux arm64 | kubefwd_Linux_arm64.tar.gz | kubefwd_Linux_arm64.tar.gz.sigstore.json |
| Linux armv6 | kubefwd_Linux_armv6.tar.gz | kubefwd_Linux_armv6.tar.gz.sigstore.json |
| Linux i386 | kubefwd_Linux_i386.tar.gz | kubefwd_Linux_i386.tar.gz.sigstore.json |
| macOS x86_64 | kubefwd_Darwin_x86_64.tar.gz | kubefwd_Darwin_x86_64.tar.gz.sigstore.json |
| macOS arm64 | kubefwd_Darwin_arm64.tar.gz | kubefwd_Darwin_arm64.tar.gz.sigstore.json |
| Windows x86_64 | kubefwd_Windows_x86_64.zip | kubefwd_Windows_x86_64.zip.sigstore.json |
| Windows i386 | kubefwd_Windows_i386.zip | kubefwd_Windows_i386.zip.sigstore.json |
Docker Image Verification
cosign verify txn2/kubefwd:v1.25.8 \
--certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
--certificate-identity-regexp="https://github.com/txn2/kubefwd/.*"
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About txn2/kubefwd
Kubernetes bulk port forwarding with service discovery, /etc/hosts management, traffic monitoring, and pod log streaming
Related context
Related tools
Beta — feedback welcome: [email protected]