weechat骇客聊天的感觉

weechat骇客聊天的感觉

install weechat

yaourt -S weechat

set weechat

Error "TLS handshake failed", what can I do?

You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx" by your server name:

/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"

对于freenode:

/set irc.server.freenode.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"

How can I connect to freenode server using SSL?

Set option weechat.network.gnutls_ca_file to file with certificates:

/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"

Note: Check that you have this file on your system (commonly brought by package "ca-certificates").
Arch: yaourt -S ca-certificates.正常情况下已经安装了。
Setup server port, SSL, dhkey_size, then connect:

/set irc.server.freenode.addresses "chat.freenode.net/7000"
/set irc.server.freenode.ssl on
/set irc.server.freenode.ssl_dhkey_size 1024

How can I be identified before joining channels?

If server supports SASL, you should use that instead of sending command for nickserv authentication, for example:

/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.freenode.sasl_username "mynick"
/set irc.server.freenode.sasl_password "xxxxxxx"

Connet freenode

/connect freenode

你可能感兴趣的:(weechat骇客聊天的感觉)