mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
doc: update chapter on relay unix domain sockets; add translations (user's guide)
This commit is contained in:
@@ -3270,6 +3270,28 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
Der Port (im Beispiel: 9000) ist der Port der in der Relay Erweiterung angegeben wurde.
|
||||
Die URI muss immer auf "/weechat" enden (_irc_ und _weechat_ Protokoll).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
|
||||
Using the protocol option "unix" with the `/relay add` command, you can listen
|
||||
using any protocol on a UNIX domain socket at a given path. For example:
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
This allows clients to connect using the weechat protocol to
|
||||
_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
|
||||
for relay clients, when other ports cannot be opened. Using OpenSSH:
|
||||
|
||||
----
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||
instance running on "hostname".
|
||||
|
||||
[[relay_commands]]
|
||||
==== Befehle
|
||||
|
||||
|
||||
@@ -3197,23 +3197,23 @@ The URI must always end with "/weechat" (for _irc_ and _weechat_ protocols).
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
|
||||
Using the protocol option "unix" with the "/relay add" command, you can listen
|
||||
Using the protocol option "unix" with the `/relay add` command, you can listen
|
||||
using any protocol on a UNIX domain socket at a given path. For example:
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
This will allow clients to connect using the WeeChat protocol to
|
||||
This allows clients to connect using the weechat protocol to
|
||||
_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
|
||||
for relay clients, when other ports cannot be opened. Using OpenSSH:
|
||||
|
||||
----
|
||||
$ ssh -L9000:/home/xxx/.weechat/relay_socket foo_host
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
This will then allow for local relay clients to connect on port 9000 to a
|
||||
WeeChat instance running on "foo_host".
|
||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||
instance running on "hostname".
|
||||
|
||||
[[relay_commands]]
|
||||
==== Commands
|
||||
|
||||
@@ -3303,6 +3303,29 @@ Le port (9000 dans l'exemple) est le port défini dans l'extension Relay.
|
||||
L'URI doit toujours se terminer par "/weechat" (pour les protocoles _irc_ et
|
||||
_weechat_).
|
||||
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
|
||||
En utilisant l'option de protocole "unix" avec la commande `/relay add`,
|
||||
vous pouvez écouter avec n'importe quel protocole sur un socket UNIX et un
|
||||
chemin donné. Par exemple :
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
Cela autorise les clients à se connecter en utilisant le protocole weechat à
|
||||
_~/.weechat/relay_socket_. Cela est utile pour autoriser le "SSH forwarding"
|
||||
pour les clients relay, quand d'autres ports ne peuvent pas être ouverts.
|
||||
Avec OpenSSH :
|
||||
|
||||
----
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
Cela redirige les clients relay locaux qui se connectent au port 9000 vers
|
||||
l'instance de WeeChat qui tourne sur "hostname".
|
||||
|
||||
[[relay_commands]]
|
||||
==== Commandes
|
||||
|
||||
|
||||
@@ -3408,6 +3408,28 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
The port (9000 in example) is the port defined in Relay plugin.
|
||||
The URI must always end with "/weechat" (for _irc_ and _weechat_ protocols).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
|
||||
Using the protocol option "unix" with the `/relay add` command, you can listen
|
||||
using any protocol on a UNIX domain socket at a given path. For example:
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
This allows clients to connect using the weechat protocol to
|
||||
_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
|
||||
for relay clients, when other ports cannot be opened. Using OpenSSH:
|
||||
|
||||
----
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||
instance running on "hostname".
|
||||
|
||||
[[relay_commands]]
|
||||
==== Comandi
|
||||
|
||||
|
||||
@@ -3191,6 +3191,28 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
ポート番号 (例では 9000 番) は Relay プラグインで定義したものです。URI
|
||||
の最後には必ず "/weechat" をつけます (_irc_ と _weechat_ プロトコルの場合)。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
|
||||
Using the protocol option "unix" with the `/relay add` command, you can listen
|
||||
using any protocol on a UNIX domain socket at a given path. For example:
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
This allows clients to connect using the weechat protocol to
|
||||
_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
|
||||
for relay clients, when other ports cannot be opened. Using OpenSSH:
|
||||
|
||||
----
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||
instance running on "hostname".
|
||||
|
||||
[[relay_commands]]
|
||||
==== コマンド
|
||||
|
||||
|
||||
@@ -3228,6 +3228,28 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
Port (9000 w przykładzie) to port zdefiniowany we wtyczce relay.
|
||||
Adres URL musi się zawsze kończyć "/weechat" (dla protokołów _irc_ i _weechat_).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
|
||||
Using the protocol option "unix" with the `/relay add` command, you can listen
|
||||
using any protocol on a UNIX domain socket at a given path. For example:
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
This allows clients to connect using the weechat protocol to
|
||||
_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
|
||||
for relay clients, when other ports cannot be opened. Using OpenSSH:
|
||||
|
||||
----
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||
instance running on "hostname".
|
||||
|
||||
[[relay_commands]]
|
||||
==== Komendy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user