pkg.soopen package index

brew / 順位 7874

trojan-go を Homebrew, MacPorts, Nix でインストール

trojan-go のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install trojan-go

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install trojan-go

MacPorts ports tree · net/trojan-go/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#trojan-go

nixpkgs package indexes · pkgs/by-name/tr/trojan-go/package.nix · ソース: api.github.com

概要

パッケージ概要

Trojan proxy in Go

コマンドとエイリアス

  • trojan-go

履歴

プロジェクトの歴史と使われ方

Trojan-Go is a Go implementation of the Trojan proxy protocol. The official README describes it as compatible with the original Trojan protocol and configuration file format, while adding performance, routing, WebSocket, AEAD, plugin, API, and YAML configuration features.

プロジェクトの歴史

Trojan-Go's history is best understood as an extension-oriented reimplementation rather than a wholly separate protocol. Its README emphasizes compatibility with the original Trojan feature set, including TLS tunneling, UDP proxying, transparent proxy modes, detection-resistance mechanisms, MySQL persistence, user authentication, traffic statistics, and quota controls.

The Go implementation then adds features aimed at real-world deployment friction: a simplified mode, automatic SOCKS5/HTTP proxy adaptation, TProxy support, smux multiplexing, custom routing, WebSocket-over-TLS for CDN transit, TLS fingerprint handling, gRPC APIs, pluggable transports, Shadowsocks AEAD-style secondary encryption, and YAML configuration.

採用の歴史

The official README points users to precompiled release binaries, Docker deployment, and a Telegram feedback group. It also names graphical clients that support Trojan-Go extensions, including Qv2ray and Igniter-Go, while noting compatibility with original Trojan clients when extension-only features are not used.

This adoption history is concentrated in the proxy/censorship-circumvention tooling niche rather than general networking. Package managers such as Homebrew, MacPorts, and Nix make the daemon easier to install on developer machines and small servers, while the README's cross-compilation examples show interest in routers, Raspberry Pi, and other constrained targets.

使われ方

The README documents quick server and client startup flags, conventional config-file operation with `trojan-go -config config.json`, URL-based client startup, and Docker deployment with host-mounted configuration. It shows separate server and client examples and provides both JSON and YAML client/server config examples.

Package users typically install the binary, write a server or client config, and run it as a local proxy, transparent proxy, relay, or daemon. The package is useful to operators who want the Trojan ecosystem with a single Go binary and extra transports such as WebSocket over TLS.

パッケージ好きにとっての重要性

Trojan-Go is package-nerd-significant because it is a protocol-compatible reimplementation that exposes many deployment choices through one binary. It is also an example of proxy tooling where packaging, release binaries, Docker images, and cross-compilation all matter because users deploy the same tool on desktops, servers, routers, and small devices.

Its Homebrew formula is especially relevant for macOS users who want to test or operate proxy tooling without manually downloading release archives from GitHub.

タイムライン

  • Original Trojan compatibility: README documents compatibility with the original Trojan protocol and config format.
  • Extension phase: README documents multiplexing, routing, WebSocket-over-TLS, AEAD, gRPC API, transport plugins, and YAML config.
  • Current README: precompiled binaries, Docker deployment, quick-start flags, and config-file operation are documented as primary usage paths.

Related projects

  • Trojan, Qv2ray, Igniter-Go, Shadowsocks AEAD, smux, v2ray-plugin

セキュリティ状態

リスクレベル: orange

formula declares a Homebrew service.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • formula declares a Homebrew service

信号

  • metadata:service

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
config.jsonserver.jsonclient.jsonclient.yaml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
trojan-go実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版0.10.6
マネージャ更新日2026-07-26
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:trojan-go
バージョン0.10.6
パッケージマネージャHomebrew
ホームページhttps://p4gefau1t.github.io/trojan-go/
リポジトリhttps://github.com/p4gefau1t/trojan-go
最終更新2026-07-26T00:51:27+02:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

trojan-go

nix profile install nixpkgs#trojan-go
  • normalized package name match
  • 一致条件: Trojan Go
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/trojan-go/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

trojan-go

sudo port install trojan-go
  • normalized package name match
  • 一致条件: Trojan Go
MacPorts ports tree · api.github.com · MacPorts ports tree: net/trojan-go/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation