How haonixao/umbrella-protocol works
Umbrella Protocol combines a Fyne client with a configurable server and three traffic transports: Hysteria, Torrent Stealth, and XHTTP. The user workflow is to configure and start a client tunnel, which routes traffic through a selected server mode; activation is a separate Gmail-based control plane. The graph preserves the documented shaper, decoy, UI settings, and tunnel-tool capabilities. Some client wiring and unsampled subsystems are shown only where documented; those links are dashed when source evidence was not provided.
Main entry points: app.go Client controls · server/main.go Server protocol dispatcher · settings.go Settings window · hysteria/main.go Hysteria client
Components 24
Client application
- UI entry
umbrella_client/cmd/ui/main.go - Client controls
umbrella_client/internal/app/app.go - Client settings
umbrella_client/internal/settings/settings.go - Settings window
umbrella_client/internal/windows/settings.go - Client configuration
umbrella_client/internal/client/config/config.go - Config and phases storage
umbrella_client/internal/storage/storage.go - External tunnel tools
umbrella_client/internal/tunnel/tunnel.go
Activation control plane
- Gmail IMAP client
umbrella_client/pkg/imap/gmail/imap.go - IP activator
umbrella_server/internal/activator/activator.go - Activation keys
umbrella_server/pkg/umanager/manager.go
Traffic transports
- Hysteria client
umbrella_client/internal/client/hysteria/main.go - Torrent client
umbrella_client/internal/client/torrent/main.go - XHTTP client
umbrella_client/internal/client/xhttp/main.go
Server runtime
- Server configuration
umbrella_server/internal/config/config.go - Server protocol dispatcher
umbrella_server/cmd/server/main.go - Hysteria server
umbrella_server/internal/hysteria/hysteria.go - Torrent server
umbrella_server/internal/torrent/torrent.go - XHTTP server
umbrella_server/internal/xhttp/xhttp.go
Protection and settings
- Traffic shaper
umbrella_client/internal/client/shaper/shaper.go - Decoy traffic
umbrella_client/internal/client/decoy/decoy.go - UI themes
umbrella_client/internal/ui/theme.go
Other components
- User
- Gmail IMAP
- Internet destinations
Connections 28
- User → UI entry: starts
umbrella_client/cmd/ui/main.go - UI entry → Client controls: runs
umbrella_client/cmd/ui/main.go - User → Client controls: controls
- Client controls → Client settings: uses
- Settings window → Client configuration: edits
- Settings window → Config and phases storage: persists
- Settings window → External tunnel tools: configures
- Client controls → Hysteria client: starts mode
- Client controls → Torrent client: starts mode
- Client controls → XHTTP client: starts mode
- Client controls → UI themes: uses theme
- Client controls → Decoy traffic: runs decoys
- Hysteria client → Traffic shaper: shapes traffic
- Torrent client → Traffic shaper: shapes traffic
- XHTTP client → Traffic shaper: shapes traffic
- Gmail IMAP client → Gmail IMAP: uses IMAP
umbrella_client/pkg/imap/gmail/imap.go - Gmail IMAP client → IP activator: exchanges activation
README.md - IP activator → Activation keys: checks IP
- Server protocol dispatcher → Server configuration: loads
umbrella_server/cmd/server/main.go - Server protocol dispatcher → Hysteria server: dispatches
umbrella_server/cmd/server/main.go - Server protocol dispatcher → Torrent server: dispatches
umbrella_server/cmd/server/main.go - Server protocol dispatcher → XHTTP server: dispatches
umbrella_server/cmd/server/main.go - Hysteria client → Hysteria server: routes traffic
README.md - Torrent client → Torrent server: routes traffic
README.md - XHTTP client → XHTTP server: routes traffic
README.md - Hysteria server → Internet destinations: forwards traffic
README.md - Torrent server → Internet destinations: forwards traffic
README.md - XHTTP server → Internet destinations: forwards traffic
README.md