Releases: SamNet-dev/torware
Releases · SamNet-dev/torware
Torware v1.1 — MTProxy, Unbounded & Security Hardening
Torware v1.1 — Feature Patch
A major release adding MTProxy (Telegram Proxy) and Lantern Unbounded Proxy support, along with security hardening, Docker image pinning, and dashboard optimizations. Help censored users access both Tor and Telegram from a single server. 🧅📱
🌟 New Features
- 📱 MTProxy (Telegram Proxy): Run an official Telegram proxy with FakeTLS obfuscation — traffic looks like normal HTTPS to cloudflare.com or google.com. Includes QR code generation for easy sharing.
- 🔗 MTProxy Telegram Integration: Send proxy link & QR code directly via Telegram bot with
/tor_mtproxycommand. Option to send new link automatically when settings change. ⚠️ Port Change Warnings: System warns when MTProxy port changes that the proxy URL has changed and old links won't work.- 🛡️ MTProxy Security Settings: Configure connection limits and geo-block specific countries from accessing your proxy.
- 🌐 Lantern Unbounded Proxy: Run Lantern's volunteer WebRTC proxy alongside your Tor relay — help censored users through a second circumvention network.
- 📊 Unbounded Stats: Live and all-time connection tracking on dashboard, Telegram bot command
/tor_unbounded, CLItorware unbounded. - 🏷️ Telegram Proxy Only Mode: New setup option (7) to run just MTProxy without any Tor relay — perfect for Telegram-only servers.
- 📤 Send Link via Telegram: New menu option in both Telegram settings (9) and MTProxy settings (9) to send proxy link & QR code.
⚡ Performance
- Parallel Data Fetching: Dashboard now fetches container stats, Snowflake metrics, and MTProxy data in parallel.
- Top 5 Graphs: All country/traffic graphs limited to top 5 instead of 10-15 — fits better on screen.
- Batched Docker Stats: Single docker stats call with parallel processing for all containers.
- ~50% Faster Dashboard: Reduced refresh time through parallelized operations.
🔒 Security
- 📌 Pinned Docker Images: All images use specific version tags for reproducibility:
thetorproject/obfs4-bridge:0.24osminogin/tor-simple:0.4.8.10thetorproject/snowflake-proxy:0.20nineseconds/mtg:2.1.7
- 🔐 Sanitized Settings Loading: Config file parsed explicitly instead of bash
source— prevents code injection. - ✅ Bash 4.2+ Requirement: Enables safer variable handling with
declare -g. - 💓 Health Checks for All Containers: Tor relays, Snowflake, Unbounded, and MTProxy all have Docker health checks.
- 🌐 Host Networking for MTProxy: Reliable DNS resolution without container DNS issues.
📝 Logging & Config
- 📋 Structured JSON Logging: Optional JSON log format for integration with log aggregators (
LOG_FORMAT=json ./torware.sh). - ⚙️ Centralized CONFIG Array: New associative array for cleaner state management.
- 💾 Log File Output: Optional file logging with
LOG_FILE=/var/log/torware.log.
🐛 Fixes
- Fixed Dashboard Uptime: No longer shows N/A.
- Snowflake Traffic in Totals: Dashboard totals now include Snowflake bandwidth.
- CPU Limit Cap: Snowflake CPU limit capped to available cores.
- Bridge Line Parsing: Fixed fingerprint replacement and PT port issues.
- Startup False Failure: Fixed incorrect failure detection on relay startup.
- Live Map Overflow: Fixed display overflow in live peer map.
- Container Alignment: Fixed table alignment with long container names.
📚 Documentation
- README Updated: Full documentation in English and Farsi (فارسی).
- New CLI Commands:
torware mtproxy,torware unboundeddocumented. - Bot Commands:
/tor_mtproxy,/tor_unboundedadded to help.
⬆️ Seamless Upgrade from v1.0
Existing users can update without reinstalling. All containers, settings, Telegram config, and Tor identity keys are preserved. New features (MTProxy, Unbounded) are disabled by default until you enable them from the menu.
💡 Tip: After updating, try Option 7 (MTProxy) or Option 6 (Unbounded) from the main menu to enable the new proxy types!
📥 How to Install/Update
curl -sL https://raw.githubusercontent.com/SamNet-dev/torware/main/torware.sh | sudo bash