2012-08-07 09:47:17 +02:00
[[command_relay_relay]]
[command]*`relay`* リレー管理::
2013-10-20 11:39:11 +02:00
2013-11-04 21:41:34 +01:00
----
2012-08-07 09:47:17 +02:00
/relay list|listfull|listrelay
2014-11-02 11:16:39 +01:00
add <name> <port>
del|stop|restart <name>
2012-08-07 09:47:17 +02:00
raw
sslcertkey
2014-11-02 11:16:39 +01:00
list: list relay clients (only active relays)
listfull: list relay clients (verbose, all relays)
listrelay: list relays (name and port)
add: add a relay (listen on a port)
del: remove a relay (clients remain connected)
stop: close the server socket (clients remain connected)
restart: close the server socket and listen again on port (clients remain connected)
name: relay name (see format below)
port: port used for relay
raw: open buffer with raw Relay data
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
2012-08-07 09:47:17 +02:00
2014-11-02 11:16:39 +01:00
Relay name is: [ipv4.][ipv6.][ssl.]<protocol.name>
ipv4: force use of IPv4
ipv6: force use of IPv6
ssl: enable SSL
protocol.name: protocol and name to relay:
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
- protocol "weechat" (name is not used)
2012-08-07 09:47:17 +02:00
2014-11-02 11:16:39 +01:00
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
The "weechat" protocol allows a remote interface to connect on the port, see the list here: http://weechat.org/download/
Without argument, this command opens buffer with list of relay clients.
Examples:
irc proxy, for server "freenode":
2012-08-07 09:47:17 +02:00
/relay add irc.freenode 8000
2014-11-02 11:16:39 +01:00
irc proxy, for server "freenode", with SSL:
2012-08-07 09:47:17 +02:00
/relay add ssl.irc.freenode 8001
2014-11-02 11:16:39 +01:00
irc proxy, for all servers (client will choose), with SSL:
2013-02-23 08:33:38 +01:00
/relay add ssl.irc 8002
2014-11-02 11:16:39 +01:00
weechat protocol:
2012-08-07 09:47:17 +02:00
/relay add weechat 9000
2014-11-02 11:16:39 +01:00
weechat protocol with SSL:
2012-08-07 09:47:17 +02:00
/relay add ssl.weechat 9001
2014-11-02 11:16:39 +01:00
weechat protocol with SSL, using only IPv4:
2012-10-16 19:14:26 +02:00
/relay add ipv4.ssl.weechat 9001
2014-11-02 11:16:39 +01:00
weechat protocol with SSL, using only IPv6:
2012-10-16 19:14:26 +02:00
/relay add ipv6.ssl.weechat 9001
2014-11-02 11:16:39 +01:00
weechat protocol with SSL, using IPv4 + IPv6:
2012-10-16 19:14:26 +02:00
/relay add ipv4.ipv6.ssl.weechat 9001
2013-11-04 21:41:34 +01:00
----
2012-08-07 09:47:17 +02:00