Difference between revisions of "SASL"

From Rizon Wiki
Jump to: navigation, search
m (WeeChat: :--)
(Add HexChat)
Line 7: Line 7:
 
''Note: You need Irssi version >=0.8.18 to use SASL''
 
''Note: You need Irssi version >=0.8.18 to use SASL''
 
<pre>/NETWORK ADD -sasl_mechanism plain -sasl_username <nickname> -sasl_password <password> rizon</pre>
 
<pre>/NETWORK ADD -sasl_mechanism plain -sasl_username <nickname> -sasl_password <password> rizon</pre>
 
 
===WeeChat===
 
===WeeChat===
 
<pre>
 
<pre>
Line 15: Line 14:
 
/set irc.server.rizon.sasl_password password
 
/set irc.server.rizon.sasl_password password
 
</pre>
 
</pre>
 +
===HexChat===
 +
As login method select '''SASL (username + password)'''. In the password field enter your nickserv password.
  
 
==SASL EXTERNAL==
 
==SASL EXTERNAL==
Line 31: Line 32:
 
/set irc.server.rizon.sasl_mechanism external
 
/set irc.server.rizon.sasl_mechanism external
 
</pre>
 
</pre>
 +
===HexChat===
 +
''Note: The pem file should have the same as it appears in the serverlist <sup>(Ctrl+S)</sup>.
 +
The generated ''.pem'' file you generated should be in <code>~/.config/hexchat/certs/Rizon.pem</code> for Linux/Unix users, and <code>%appdata%\HexChat\certs\Rizon.pem</code> for Windows users.
 +
As login method select '''SASL EXTERNAL (cert)'''. If the file exists all your subsequent connections to the network will use the certificate.

Revision as of 19:45, 15 June 2017

SASL is a way to identify to your registered nickname during the connection to the network, ensuring that you don't have to manually identify to services. To use SASL you need a registered nickname.

Configuring your client to use SASL

Rizon supports both PLAIN and EXTERNAL SASL mechanisms. Instructions for configuring SASL PLAIN can be found below:

Irssi

Note: You need Irssi version >=0.8.18 to use SASL

/NETWORK ADD -sasl_mechanism plain -sasl_username <nickname> -sasl_password <password> rizon

WeeChat

/set irc.server.rizon.addresses irc.rizon.net/6697
/set irc.server.rizon.sasl_mechanism plain
/set irc.server.rizon.sasl_username username (nick)
/set irc.server.rizon.sasl_password password

HexChat

As login method select SASL (username + password). In the password field enter your nickserv password.

SASL EXTERNAL

To configure SASL EXTERNAL first set up CertFP, then set the following settings in your client:

Irssi

/NETWORK ADD -sasl_mechanism external rizon
/SERVER ADD -auto -tls -tls_verify -tls_cert ~/.irssi/certs/Rizon.pem -network rizon -port 6697 irc.rizon.net

WeeChat

/set irc.server.rizon.addresses irc.rizon.net/6697
/set irc.server.rizon.ssl on
/set irc.server.rizon.ssl_verify on
/set irc.server.rizon.ssl_cert %h/ssl/Rizon.pem
/set irc.server.rizon.sasl_mechanism external

HexChat

Note: The pem file should have the same as it appears in the serverlist (Ctrl+S). The generated .pem file you generated should be in ~/.config/hexchat/certs/Rizon.pem for Linux/Unix users, and %appdata%\HexChat\certs\Rizon.pem for Windows users. As login method select SASL EXTERNAL (cert). If the file exists all your subsequent connections to the network will use the certificate.