Repository navigation
Project Structure
github-actions[bot] edited this page Oct 8, 2026
·
3 revisions
meso-miner/
โโโ *.go # Core network stack (root package)
โโโ go.mod / go.sum # Module: github.com/urnetwork/connect (Go 1.27)
โโโ Dockerfile # Alpine multi-arch provider image
โโโ CHANGELOG.md # Version history with per-release notes
โโโ FORK_CHANGES.md # Delta summary vs upstream urnetwork/connect
โโโ CODESTYLE.md # Go conventions for this codebase
โ
โโโ provider/ # Provider CLI binary
โ โโโ main.go # Entrypoint: auth / provide / auth-provide commands
โ โโโ proxy_health_log.go # Per-proxy health state machine and dead-proxy detection
โ โโโ proxy_slow_retry.go # Slow-retry state: 24h daily gate, 14-day drop ceiling, persistence
โ โโโ proxy_reload.go # SIGHUP-triggered hot-reload of proxy list
โ โโโ proxy_state.go # In-memory proxy registry with startup stagger
โ โโโ proxy_benchmark.go # Optional per-proxy SOCKS5 latency probes
โ โโโ bandwidth_reporter.go # Posts bandwidth metrics to configured fleet target
โ โโโ proxy_id.go # Stable proxy identity across reloads
โ โโโ shmlog_linux.go # Linux shared-memory log ring buffer
โ โโโ shmlog_fallback.go # Fallback for non-Linux builds
โ โโโ direct.go # Dynamic direct native connection controller
โ โโโ proxy_paste.go # Bulk proxy ingestion and format normalization
โ โโโ ssrf_guard.go # SSRF guard for proxy source URL fetching
โ โโโ doh_cache.go # Persistent DNS-over-HTTPS resolver cache
โ โโโ client_jwt_hotrestart.go # Identity snapshotting across hot restarts
โ โโโ read_fd_frac_unix.go # Linux/Unix file descriptor pressure reader
โ โโโ read_fd_frac_windows.go # Windows file descriptor pressure stub
โ โโโ dup_linux_arm64.go # ARM64-specific fd dup shim
โ โโโ dup_linux_generic.go # Generic Linux fd dup shim
โ โโโ hotswap_windows.go # Windows HotSwap via named pipes
โ โโโ hotswap_unix.go # Linux HotSwap via Unix sockets
โ โโโ control_socket.go # Control socket server (hotswap, shutdown, status commands)
โ โโโ control_state.go # Persistent provider state management
โ โโโ restrict_socket_windows.go # Windows DACL socket permission hardening
โ โโโ metrics_listen.go # Prometheus /metrics HTTP listener
โ โโโ metrics_provider.go # Provider-specific metrics registration
โ โโโ contract_metrics.go # Per-contract Prometheus counters
โ โโโ lifetime_metrics.go # Provider lifetime Prometheus gauges
โ โโโ Makefile # Cross-compile targets (amd64, arm64, darwin)
โ
โโโ hub/ # [REMOVED v31.3+] Fleet bandwidth dashboard server (deprecated)
โ
โโโ protocol/ # Protobuf definitions and generated Go code
โ โโโ *.proto # Source definitions (ip, transfer, frame, extender, audit)
โ โโโ *.pb.go # Generated โ do not edit directly
โ โโโ Makefile # Runs protoc to regenerate pb.go files
โ
โโโ extender/ # Extender transport implementation
โ โโโ extender.go # Client-side extender connection handler
โ โโโ extender_test.go
โ
โโโ connectctl/ # connectctl CLI (upstream tool, unmodified)
โ
โโโ api/ # API client bindings
โ โโโ bringyour.yml # API endpoint definitions
โ โโโ test.sh
โ
โโโ docker/ # Docker startup scripts
โ โโโ scripts/ # start_jwt.sh, start_stable.sh, start_nightly.sh, urnet-tools.sh
โ โโโ ... # Selected by BUILD env var at container start
โ
โโโ pelican/ # Pelican game-server panel egg
โ โโโ egg-urnetwork-323fix.json # PLCN_v3 egg definition (BUILD, USER_AUTH, PASSWORD, AUTHCODE)
โ โโโ README.md # Panel deployment guide, env vars, PELICAN-gated updates
โ
โโโ cmd/ # Go binaries (v3.23.0-fix.27.0+)
โ โโโ urnet-tools/ # Provider-aware fleet ops tool (process/systemd)
โ โโโ urnet-docker/ # Container variant (docker exec delegation)
โ
โโโ internal/urnettools/ # Shared Go core for the urnet-tools binaries
โ โโโ cli.go # Dispatch, flag parsing, confirm gates
โ โโโ target.go # Targeting (--unit/--user/--network/--network-id/--state-dir)
โ โโโ discover.go # Provider discovery (/proc + systemd units)
โ โโโ update.go # Interactive-first update, digest verify, atomic swap
โ โโโ legacy_cmds.go # Reporting config, lifecycle, tuning, and proxy commands
โ โโโ lifecycle_start_windows.go # Windows provider start (schtasks/detached)
โ โโโ lifecycle_stop_windows.go # Windows provider stop (socket shutdown + TerminateProcess)
โ โโโ lifecycle_restart_windows.go # Windows provider restart (HotSwap fallback)
โ โโโ lifecycle_windows.go # Windows lifecycle helpers (schtasks, task naming)
โ โโโ lifecycle_stubs_notwindows.go # Stubs for non-Windows builds
โ โโโ hotswap_windows.go # Windows HotSwap candidate launch
โ โโโ ... # + tests (~73)
โ
โโโ scripts/ # Installer and test scripts (installer stays shell)
โ โโโ Provider_Install_Linux.sh # One-command provider install for Linux (installs the Go urnet-tools)
โ โโโ Provider_Install_Win32.ps1
โ โโโ Provider_Uninstall_Linux.sh
โ โโโ Provider_Uninstall_Win32.ps1
โ โโโ test_provider_install.sh # CI: validates installer script logic
โ โโโ test_fallback_logic.sh # CI: validates fallback behavior
โ
โโโ docs/ # Operational documentation
โ โโโ Configuration.md
โ โโโ Docker-Deployment.md
โ โโโ Installation.md
โ โโโ Hub-Setup.md # [deprecated v31.3+]
โ โโโ Hub-Dashboard.md # [deprecated v31.3+]
โ โโโ High-Volume-Performance-Tuning.md
โ โโโ Multi-Container-Scaling.md
โ โโโ Proxy-Management.md
โ โโโ Proxy-URL-Sources.md
โ โโโ Traffic-Amplification.md
โ โโโ Adding-Proxies.md
โ โโโ Bittensor-Operations.md
โ โโโ Troubleshooting.md
โ โโโ design/ # Internal design docs (proxy health, hot-reload, bandwidth)
โ
โโโ monitoring/ # Prometheus + Grafana observability stack
โ โโโ docker-compose.yml # Prometheus + Grafana stack
โ โโโ grafana/ # Grafana dashboards and provisioning
โ โโโ prometheus/ # Prometheus scrape configuration
โ โโโ setup.sh # Monitoring stack setup script
โ
โโโ releases/ # Per-version release notes (v3.23.0-fix.*)
โ
โโโ .github/workflows/
โ โโโ build.yml # CI: parallel test-and-lint + build-and-push Docker (multi-arch)
โ โโโ dash-compat.yml # Dash/POSIX compatibility check
โ โโโ release.yml # Tags a new release, scans (VirusTotal + ClamAV), uploads provider binaries
โ โโโ shakedown.yml # Pre-release shakedown: fresh-droplet install + proxy + URL + docker test on v3.23.0-fix.* tags
โ โโโ shakedown-sweeper.yml # Every 15 min: destroy orphaned shakedown-ci droplets >3h, reap stale SSH keys
โ โโโ codeql.yml # Weekly scheduled CodeQL security scan
โ โโโ upstream_monitor.yml # Twice-daily: watch urnetwork/connect PRs and commits, Discord alerts
โ
โโโ Root package files (core network stack):
โโโ ip.go # IP packet relay core (81 KB)
โโโ ip_remote_multi_client.go # Multi-client relay coordinator
โโโ ip_security.go # Pre-compiled IP blocklist (2.3 MB)
โโโ transfer.go # Contract-based bandwidth allocation
โโโ transfer_contract_manager.go # Per-proxy contract lifecycle
โโโ transfer_route_manager.go # Adaptive routing with RTT tracking
โโโ transfer_rtt.go # RTT window measurement
โโโ transfer_encrypt.go # Per-contract encryption
โโโ transfer_queue.go # Backpressure queue
โโโ transport.go # Transport abstraction layer
โโโ transport_p2p_webrtc.go # WebRTC P2P transport
โโโ transport_pt.go # Pluggable tunnel transport
โโโ net_http.go # HTTP proxy with chunked encoding
โโโ net_http_doh.go # DNS-over-HTTPS resolver
โโโ net_resilient.go # Platform-aware resilient connections
โโโ message_pool.go # GC-reducing byte buffer pool
โโโ proxy_health.go # Proxy health scoring
โโโ tuning.go # Auto-tuning (turbo/lowmem modes)
โโโ log.go # Structured logging helpers
โโโ metrics_prometheus.go # Prometheus metrics registry and collector
โโโ connect.go # Top-level client/server entrypoint