frp-tun v0.5.1
Official Release
Release Date: October 24, 2026
Release Artifacts: Multi-architecture native UPX binary packages with checksum manifest
License: Subject to the End User License Agreement (EULA)
Summary
Section titled “Summary”frp-tun v0.5.1 focuses on enhancing STUN/NAT traversal, weak network recovery, path-selection heuristics, and edge device probing efficiency.
Key Improvements
Section titled “Key Improvements”- STUN Concurrent Racing Discovery: DNS queries and network probes share a strict 500ms discovery budget, early-stopping as soon as 3 independent samples are collected;
- DNS Debounce & Cooldown: Implements a 5-minute local DNS cache and 30-second failure cooldown to eliminate redundant resolution overhead;
- Cellular CGNAT Delta Prediction: Adaptively identifies arithmetic port allocation patterns, executing 36–40 concurrent targeted predictive hole-punching attempts;
- Seamless Path Promotion & Fast Recovery: Tries all approved paths concurrently upon cold boot or link disruption; prioritizes connectivity recovery before smoothly promoting preferred paths;
- Preferred Private Hub Debounced Fallback: Adds a 30-second observation window and a 6-consecutive-success threshold to prevent route flapping under critical link margins;
- Steady-State Low Power Consumption: Automatically lowers probe frequency once a P2P direct path stabilizes, minimizing CPU load on embedded routers.
Downloads & Binary Assets
Section titled “Downloads & Binary Assets”All precompiled binaries are compressed using UPX lossless compression, yielding compact file sizes between 3.1MB and 3.8MB for embedded router and edge gateway deployment.
| Architecture / Platform | Filename | Download Link |
|---|---|---|
| Linux amd64 (x86_64 servers & soft routers) | frp-tun_v0.5.1_amd64 |
Download Binary |
| Linux arm64 (aarch64 Raspberry Pi, NAS, ARM routers) | frp-tun_v0.5.1_arm64 |
Download Binary |
| Linux mips (Big-endian MIPS routers & hardware) | frp-tun_v0.5.1_mips-softfloat |
Download Binary |
| Linux mipsle (Little-endian MIPS wireless routers) | frp-tun_v0.5.1_mipsle-softfloat |
Download Binary |
| Complete Checksums Manifest | checksums.txt |
Download checksums.txt |
Verification
Section titled “Verification”Always verify the SHA256 checksum after downloading:
# Verify all binaries in current directorysha256sum -c checksums.txtOfficial SHA256 Manifest
Section titled “Official SHA256 Manifest”7c61bfbeaf9be669c762512fec922d216503c80ae08fa2f592adbe817eb6180a frp-tun_v0.5.1_amd644e7b8c7fc63a32f085e7baec6b4d32a9cbf415ec4434ffae1a5472eecfe8216c frp-tun_v0.5.1_arm645928d17ee6a63529aa8784fc290302fa9bc5a5d13ba81005ca6585141e06db3f frp-tun_v0.5.1_mips-softfloatc4ea9d6bc20e29b877e6fa54cf579603e9112fa1eb7a08bc796d10db9f18b32d frp-tun_v0.5.1_mipsle-softfloatVerified Scope
Section titled “Verified Scope”- Passed Go 1.27.1 full test suite,
go vet, Python automation pipelines, and protocol signaling compatibility matrix; - Passed race detector checks and four-architecture cross-compilation validation in CI;
- Passed smoke testing for Linux network namespaces, policy routing installation, and bridge datagram pumping.
Known Limitations
Section titled “Known Limitations”- Automated cross-compilation assets do not constitute commercial hardware platform endorsement;
- Physical OpenWrt stress testing, non-zero
SO_MARKprivilege behavior, and complex multi-layer NAT traversal require evaluation in operator target networks; - Subject to the EULA Disclaimers; no automatic background update channel or SLA availability guarantee is provided.
Upgrade
Section titled “Upgrade”- Back up existing gateway configuration (e.g.
/etc/frp-tun/config.toml); - Stop the running daemon:
终端窗口 systemctl stop frp-tun - Replace the binary and set executable permissions:
终端窗口 chmod +x frp-tun_v0.5.1_amd64mv frp-tun_v0.5.1_amd64 /usr/local/bin/frp-tun - Start the service and inspect runtime status:
终端窗口 systemctl start frp-tun
Rollback
Section titled “Rollback”If unexpected behavior occurs post-upgrade:
- Stop the service:
systemctl stop frp-tun; - Restore the previous verified binary to
/usr/local/bin/frp-tun; - Clean up residual policy routes and interfaces (if any):
ip link delete frp-tun:0 2>/dev/null || true; - Restart the previous daemon version.
Revocation
Section titled “Revocation”In the event of critical security flaws or kernel panics, maintainers will mark the release as REVOKED — DO NOT USE, remove affected binary assets, and issue a security bulletin via SECURITY.md.