コンテンツにスキップ

「Tox」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
ページの作成:「Category:インターネットアプリケーション en:Tox ru:Tox プロジェクトの [https://tox.chat/ ホームページ] より: : ''Tox は分散型...」
 
Kgx (トーク | 投稿記録)
他言語へのリンクを修正
 
(4人の利用者による、間の6版が非表示)
1行目: 1行目:
[[Category:インターネットアプリケーション]]
[[Category:Voice over IP]]
[[Category:インスタントメッセージ]]
[[en:Tox]]
[[en:Tox]]
プロジェクトの [https://tox.chat/ ホームページ] から: "Tox は、音声およびビデオチャット機能を備えた分散型の安全なメッセンジャーです。"
[[ru:Tox]]
プロジェクトの [https://tox.chat/ ホームページ] より:
: ''Tox は分散型のセキュアなメッセンジャーです。音声・動画チャットができます。''


== インストール ==
== インストール ==


多数存在する [https://wiki.tox.chat/clients Tox クライアント] のどれかをインストールしてください依存パッケージとして {{pkg|toxcore}} がインストれます
Tox を使用するには、[https://wiki.tox.chat/clients Tox クライアント] を [[インストール]] する必要があります[[アプリケーション一覧/インネット#Tox clients]] を参照してくだ


== プロキシ ==
現在、公式リポジトリには2つのクライアントが存在します:


[[Tor]] 経由で接続するには、まず次のように起動します:
* {{App|qTox|Qt で書かれたパワフルな Tox クライアント。|https://wiki.tox.chat/clients/qtox|{{Pkg|qtox}}}}
* {{App|Toxic|ncurses ベースの CLI。|https://wiki.tox.chat/clients/toxic|{{Pkg|toxic}}}}


[tor]$ /usr/bin/tor
もしくは、AUR からインストールできるクライアントも存在します:


次に、Tox クライアントを設定します。例えば:
* {{App|gTox|GTK3 スタイルの Tox クライアント。|https://github.com/KoKuToru/gTox/|{{AUR|gtox-git}}}}

* {{App|µTox (uTox)|軽量な Tox クライアント。|https://github.com/GrayHatter/utox/|{{AUR|utox-git}}}}
$ toxic -t -p 127.0.0.1 9050
* {{App|Ratox|FIFO ベースのクライアント。|http://ratox.2f30.org/|{{AUR|ratox-git}}}}
* {{App|qTox|Qt で書かれた強力な Tox クライアント。最新の GitHub バージョン。|https://wiki.tox.chat/clients/qtox|{{AUR|qtox-git}}}}
* {{App|Ricin|軽量かつハックしやすい Tox クライアント。Vala & Gtk3 で書かれています。|https://ricin.im/|{{AUR|ricin-git}}}}
* {{App|Tox Pidgin Protocol Plugin|[[Pidgin]] の中で Tox プロトコルを使えるようにする Pidgin のプラグイン。|http://tox.dhs.org/|{{AUR|tox-prpl-git}}}}
* {{App|Toxic|ncurses ベースの CLI。最新版。|https://wiki.tox.chat/clients/toxic|{{AUR|toxic-git}}}}


== ノードの実行 ==
== ノードの実行 ==
28行目: 22行目:
Tox で他人と接続するには、まず [https://wiki.tox.chat/users/nodes DHT ノード] に接続する必要があります。全ての DHT ノードは相互に接続され、全てのユーザーが DHT ノードに接続している限り、一方向あるいは双方向で他者と接続することができます。
Tox で他人と接続するには、まず [https://wiki.tox.chat/users/nodes DHT ノード] に接続する必要があります。全ての DHT ノードは相互に接続され、全てのユーザーが DHT ノードに接続している限り、一方向あるいは双方向で他者と接続することができます。


デフォルトでは、tox のブートストプサスファイル {{ic|/usr/lib/systemd/system}} にありますがsystemd がサービスファイルを認識しないため、{{ic|/etc/systemd/system}} に移動する必要があります:
{{Pkg|toxcore}} をインストールしてください。パジをイントールすると ''tox-bootstrapd'' ユーザーが作成され、systemd のユニットファイル {{ic|/usr/lib/systemd/system/tox-bootstrapd.service}} に、設定ファイル{{ic|/etc/tox-bootstrapd.conf}} にインストールされます

# mv /usr/lib/systemd/system/tox-bootstrapd.service /etc/systemd/system

デーモンを実行するためのユーザーと設定フォルダを作成:

# useradd --no-create-home --shell /bin/false --user-group tox-bootstrapd
# mkdir --verbose /etc/tox
# chown --recursive --verbose tox-bootstrapd:tox-bootstrapd /etc/tox

''systemd'' をリロードして、新しいユニットをスキャンさせます:

# systemctl daemon-reload

以下をコピーして設定ファイル {{ic|/etc/tox-bootstrapd.conf}} を作成:

{{hc|/etc/tox-bootstrapd.conf|2=
// Tox DHT bootstrap daemon configuration file.

// Listening port (UDP).
port = 33445

// A key file is like a password, so keep it where no one can read it.
// If there is no key file, a new one will be generated.
// The daemon should have permission to read/write it.
keys_file_path = "/var/lib/tox-bootstrapd/keys"

// The PID file written to by the daemon.
// Make sure that the user that daemon runs as has permissions to write to the
// PID file.
pid_file_path = "/var/run/tox-bootstrapd/tox-bootstrapd.pid"

// Enable IPv6.
enable_ipv6 = true

// Fallback to IPv4 in case IPv6 fails.
enable_ipv4_fallback = true

// Automatically bootstrap with nodes on local area network.
enable_lan_discovery = true

enable_tcp_relay = true

// While Tox uses 33445 port by default, 443 (https) and 3389 (rdp) ports are very
// common among nodes, so it's encouraged to keep them in place.
tcp_relay_ports = [443, 3389, 33445]

// Reply to MOTD (Message Of The Day) requests.
enable_motd = true

// Just a message that is sent when someone requests MOTD.
// Put anything you want, but note that it will be trimmed to fit into 255 bytes.
motd = "tox-bootstrapd"

// Any number of nodes the daemon will bootstrap itself off.
//
// Remember to replace the provided example with your own node list.
// There is a maintained list of bootstrap nodes on Tox's wiki, if you need it
// (https://wiki.tox.chat/doku.php?id=users:nodes).
//
// You may leave the list empty or remove "bootstrap_nodes" completely,
// in both cases this will be interpreted as if you don't want to bootstrap
// from anyone.
//
// address = any IPv4 or IPv6 address and also any US-ASCII domain name.
bootstrap_nodes = (
{ // Example Node 1 (IPv4)
address = "127.0.0.1"
port = 33445
public_key = "728925473812C7AAC482BE7250BCCAD0B8CB9F737BF3D42ABD34459C1768F854"
},
{ // Example Node 2 (IPv6)
address = "::1/128"
port = 33445
public_key = "3E78BACF0F84235B30054B54898F56793E1DEF8BD46B1038B9D822E8460FAB67"
},
{ // Example Node 3 (US-ASCII domain name)
address = "example.org"
port = 33445
public_key = "8CD5A9BF0A6CE358BA36F7A653F99FA6B258FF756E490F52C1F98CC420F78858"
}
)
}}


上記の設定ファイルを編集して [https://wiki.tox.chat/users/nodes Tox wiki] に書かれているノードを選択してください。
設定ファイルを編集して [https://wiki.tox.chat/users/nodes Tox wiki] や [https://nodes.tox.chat/ Node status page] に記載されているノードを追加してください。


tox-bootstrapd サービスを[[起動]]・[[有効化]]して、Tox ノードが問題なく動作していることを確認してください:
{{ic|tox-bootstrapd.service}} を[[起動]]・[[有効化]]して、Tox ノードが問題なく動作していることを確認してください:


{{hc|1=# ss --listening --numeric --processes <nowiki>|</nowiki> grep ''node_port''|2=
{{hc|1=# ss --listening --numeric --processes <nowiki>|</nowiki> grep ''node_port''|2=

2025年1月30日 (木) 05:56時点における最新版

プロジェクトの ホームページ から: "Tox は、音声およびビデオチャット機能を備えた分散型の安全なメッセンジャーです。"

インストール

Tox を使用するには、Tox クライアントインストール する必要があります。アプリケーション一覧/インターネット#Tox clients を参照してください。

プロキシ

Tor 経由で接続するには、まず次のように起動します:

[tor]$ /usr/bin/tor

次に、Tox クライアントを設定します。例えば:

$ toxic -t -p 127.0.0.1 9050

ノードの実行

Tox で他人と接続するには、まず DHT ノード に接続する必要があります。全ての DHT ノードは相互に接続され、全てのユーザーが DHT ノードに接続している限り、一方向あるいは双方向で他者と接続することができます。

toxcore をインストールしてください。パッケージをインストールすると tox-bootstrapd ユーザーが作成され、systemd のユニットファイルが /usr/lib/systemd/system/tox-bootstrapd.service に、設定ファイルが /etc/tox-bootstrapd.conf にインストールされます。

設定ファイルを編集して Tox wikiNode status page に記載されているノードを追加してください。

tox-bootstrapd.service起動有効化して、Tox ノードが問題なく動作していることを確認してください:

# ss --listening --numeric --processes | grep node_port
udp        0      0 *:node_port                 *:*                                 576/DHT_bootstrap