Blame


1 5127fd58 2021-12-17 jrmu version=pmwiki-2.2.130 ordered=1 urlencoded=1
2 5127fd58 2021-12-17 jrmu agent=Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
3 5127fd58 2021-12-17 jrmu author=mkf
4 5127fd58 2021-12-17 jrmu charset=UTF-8
5 5127fd58 2021-12-17 jrmu csum=
6 5127fd58 2021-12-17 jrmu ctime=1617496819
7 5127fd58 2021-12-17 jrmu host=198.251.81.133
8 5127fd58 2021-12-17 jrmu name=Weechat.Relay
9 5127fd58 2021-12-17 jrmu rev=6
10 5127fd58 2021-12-17 jrmu targets=Acme-client.Configure
11 5127fd58 2021-12-17 jrmu text=(:title Weechat Relay:)%0a%0aThis document is the specification of WeeChat Relay protocol: the protocol used to relay WeeChat data to clients, which are mostly remote interfaces.%0a%0a%0aIn this document, relay means WeeChat with relay plugin, which acts as "server" and allows clients to connect. Client mean the program you used to connect to your relay.%0a%0aTo use Weechat and Weechat Relay on OpenBSD you would need to follow those steps:%0a%0a'''Note: Start this on tmux then you can detach from it and use it as a relay from [[https://glowing-bear.org|glowing bear]] web interface '''%0a%0a[@%0a$ weechat%0a@]%0a%0a'''Note: Before you start setup Weechat Relay you will need to disable Listening to Ipv6 for it to work, at the moment it has an issue if Ipv6 is enabled for relay it binds only on Ipv6, it won't be an issue if you do own an Ipv6.'''%0a%0aFor this after you open weechat you would need to run:%0a%0a[@%0a/set relay.network.ipv6 off%0a@]%0a%0aRelay setup%0a%0aOn the server's instance of weechat:%0a[@%0a /relay add ssl.irc 8001%0a /secure set relay WHATEVER_PASSWORD%0a /set relay.network.password "${sec.data.relay}"%0a@]%0a %0aOn the server, to generate the ssl certificate using OpenSSL:%0a[@%0a mkdir -p ~/.weechat/ssl%0a cd ~/.weechat/ssl%0a openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem%0a@]%0a%0a'''Note: you can use [[Acme-client.configure|acme-client]] as well'''%0a%0aOn the client's instance of weechat:%0a[@%0a /server add ircnow irc.ircnow.org%0a /connect ircnow%0a@]%0a%0a%0a
12 5127fd58 2021-12-17 jrmu time=1631382405
13 5127fd58 2021-12-17 jrmu title=Weechat Relay
14 5127fd58 2021-12-17 jrmu author:1631382405=mkf
15 5127fd58 2021-12-17 jrmu diff:1631382405:1631382310:=10c10%0a%3c '''Note: Start this on tmux then you can detach from it and use it as a relay from [[https://glowing-bear.org|glowing bear]] web interface '''%0a---%0a> '''Note: Start this on tmux then you can detach from it and use it as a relay from [[https://glowing-bear.org]] '''%0a
16 5127fd58 2021-12-17 jrmu host:1631382405=198.251.81.133
17 5127fd58 2021-12-17 jrmu author:1631382310=mkf
18 5127fd58 2021-12-17 jrmu diff:1631382310:1631382267:minor=1c1%0a%3c (:title Weechat Relay:)%0a---%0a> (:Weechat Relay:)%0a
19 5127fd58 2021-12-17 jrmu host:1631382310=198.251.81.133
20 5127fd58 2021-12-17 jrmu author:1631382267=mkf
21 5127fd58 2021-12-17 jrmu csum:1631382267=mentioning use of Acme-client, few rewording and monospacing
22 5127fd58 2021-12-17 jrmu diff:1631382267:1618202065:=1,2c1,5%0a%3c (:Weechat Relay:)%0a%3c %0a---%0a> !! Weechat Relay%0a> %0a> '''Short introduction for what "Weechat Relay is"'''%0a> %0a> 1. Introduction%0a5,7c8,16%0a%3c %0a%3c In this document, relay means WeeChat with relay plugin, which acts as "server" and allows clients to connect. Client mean the program you used to connect to your relay.%0a%3c %0a---%0a> 1.1. Terminology%0a> The following terms are used in this document:%0a> %0a> relay: this is the WeeChat with relay plugin, which acts as "server" and allows clients to connect%0a> %0a> client: this is another software, connected to relay via a network connection; in most cases, this client is a remote interface.%0a> %0a> ----%0a> %0a10,17c19,23%0a%3c '''Note: Start this on tmux then you can detach from it and use it as a relay from [[https://glowing-bear.org]] '''%0a%3c %0a%3c [@%0a%3c $ weechat%0a%3c @]%0a%3c %0a%3c '''Note: Before you start setup Weechat Relay you will need to disable Listening to Ipv6 for it to work, at the moment it has an issue if Ipv6 is enabled for relay it binds only on Ipv6, it won't be an issue if you do own an Ipv6.'''%0a%3c %0a---%0a> Note: Start this on tmux then you can detach from it and use it as a relay from [[https://glowing-bear.org]]%0a> %0a> ''' $ weechat '''%0a> %0a> NOTE: Before you start setup Weechat Relay you will need to disable Listening to Ipv6 for it to work, at the moment it has an issue if Ipv6 is enabled for relay it binds only on Ipv6, it won't be an issue if you do own an Ipv6.%0a20,23c26,27%0a%3c [@%0a%3c /set relay.network.ipv6 off%0a%3c @]%0a%3c %0a---%0a> ''' /set relay.network.ipv6 off '''%0a> %0a27,28c31%0a%3c [@%0a%3c /relay add ssl.irc 8001%0a---%0a> ''' /relay add ssl.irc 8001%0a30,31c33%0a%3c /set relay.network.password "${sec.data.relay}"%0a%3c @]%0a---%0a> /set relay.network.password "${sec.data.relay}"'''%0a33,35c35,36%0a%3c On the server, to generate the ssl certificate using OpenSSL:%0a%3c [@%0a%3c mkdir -p ~/.weechat/ssl%0a---%0a> On the server, to generate the ssl certificate:%0a> ''' mkdir -p ~/.weechat/ssl%0a37,41c38,39%0a%3c openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem%0a%3c @]%0a%3c %0a%3c '''Note: you can use [[Acme-client.configure|acme-client]] as well'''%0a%3c %0a---%0a> openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem'''%0a> %0a43,44c41%0a%3c [@%0a%3c /server add ircnow irc.ircnow.org%0a---%0a> ''' /server add ircnow irc.ircnow.org%0a46c43,44%0a%3c @]%0a---%0a> '''%0a> -Enjoy%0a
23 5127fd58 2021-12-17 jrmu host:1631382267=198.251.81.133
24 5127fd58 2021-12-17 jrmu author:1618202065=monaco
25 5127fd58 2021-12-17 jrmu diff:1618202065:1617506474:=21,22c21,22%0a%3c ''' $ weechat '''%0a%3c %0a---%0a> '''$ weechat'''%0a> %0a26c26%0a%3c ''' /set relay.network.ipv6 off '''%0a---%0a> '''/set relay.network.ipv6 off'''%0a
26 5127fd58 2021-12-17 jrmu host:1618202065=185.173.204.160
27 5127fd58 2021-12-17 jrmu author:1617506474=monaco
28 5127fd58 2021-12-17 jrmu diff:1617506474:1617496819:=0a1%0a> %0a21,22c22,23%0a%3c '''$ weechat'''%0a%3c %0a---%0a> $ weechat%0a> %0a31c32%0a%3c ''' /relay add ssl.irc 8001%0a---%0a> /relay add ssl.irc 8001%0a33c34%0a%3c /set relay.network.password "${sec.data.relay}"'''%0a---%0a> /set relay.network.password "${sec.data.relay}"%0a36c37%0a%3c ''' mkdir -p ~/.weechat/ssl%0a---%0a> mkdir -p ~/.weechat/ssl%0a38,39c39,40%0a%3c openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem'''%0a%3c %0a---%0a> openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem%0a> %0a41c42%0a%3c ''' /server add ircnow irc.ircnow.org%0a---%0a> /server add ircnow irc.ircnow.org%0a43c44%0a%3c '''%0a---%0a> %0a
29 5127fd58 2021-12-17 jrmu host:1617506474=185.173.204.160
30 5127fd58 2021-12-17 jrmu author:1617496819=monaco
31 5127fd58 2021-12-17 jrmu csum:1617496819=weechat relay
32 5127fd58 2021-12-17 jrmu diff:1617496819:1617496819:=1,47d0%0a%3c %0a%3c !! Weechat Relay%0a%3c %0a%3c '''Short introduction for what "Weechat Relay is"'''%0a%3c %0a%3c 1. Introduction%0a%3c This document is the specification of WeeChat Relay protocol: the protocol used to relay WeeChat data to clients, which are mostly remote interfaces.%0a%3c %0a%3c 1.1. Terminology%0a%3c The following terms are used in this document:%0a%3c %0a%3c relay: this is the WeeChat with relay plugin, which acts as "server" and allows clients to connect%0a%3c %0a%3c client: this is another software, connected to relay via a network connection; in most cases, this client is a remote interface.%0a%3c %0a%3c ----%0a%3c %0a%3c To use Weechat and Weechat Relay on OpenBSD you would need to follow those steps:%0a%3c %0a%3c Note: Start this on tmux then you can detach from it and use it as a relay from [[https://glowing-bear.org]]%0a%3c %0a%3c $ weechat%0a%3c %0a%3c NOTE: Before you start setup Weechat Relay you will need to disable Listening to Ipv6 for it to work, at the moment it has an issue if Ipv6 is enabled for relay it binds only on Ipv6, it won't be an issue if you do own an Ipv6.%0a%3c For this after you open weechat you would need to run:%0a%3c %0a%3c '''/set relay.network.ipv6 off'''%0a%3c %0a%3c Relay setup%0a%3c %0a%3c On the server's instance of weechat:%0a%3c /relay add ssl.irc 8001%0a%3c /secure set relay WHATEVER_PASSWORD%0a%3c /set relay.network.password "${sec.data.relay}"%0a%3c %0a%3c On the server, to generate the ssl certificate:%0a%3c mkdir -p ~/.weechat/ssl%0a%3c cd ~/.weechat/ssl%0a%3c openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem%0a%3c %0a%3c On the client's instance of weechat:%0a%3c /server add ircnow irc.ircnow.org%0a%3c /connect ircnow%0a%3c %0a%3c -Enjoy%0a%3c %0a%3c %0a
33 5127fd58 2021-12-17 jrmu host:1617496819=185.173.204.160