Difference between revisions of "SASL"

From Rizon Wiki
Jump to navigation Jump to search
(Added mIRC guidelines.)
m (Formed HexChat sections into procedure steps.)
Line 15: Line 15:
</pre>
</pre>
===HexChat===
===HexChat===
As login method select '''SASL (username + password)'''. In the password field enter your nickserv password.
# '''HexChat''' → '''Network List''' (or press {{Key Txt|Ctrl}} + {{Key Txt|S}}) for the ''' Network List''' dialogue box.
# In the '''Networks''' list, find and select '''Rizon''' item, then press {{Button|Edit...}}
# As '''Login method''' select {{Button|SASL (username + password) &nbsp;&nbsp;&nbsp;{{Unicode|▼}}}}
# In the '''Password''' field enter <code><em>YourPassword</em></code>
# Press {{Button|Close}} then {{Button|Connect}}
===ZNC===
===ZNC===
Please refer to the [https://wiki.znc.in/Sasl ZNC wiki] for instructions.
Please refer to the [https://wiki.znc.in/Sasl ZNC wiki] for instructions.
Line 66: Line 70:
</pre>
</pre>
===HexChat===
===HexChat===
''Note: The pem file should have the same as it appears in the serverlist <sup>(Ctrl+S)</sup>.
''Note: The '''<big><kbd>.pem</kbd></big>''' file name should match what appears in the '''Networks''' list (step #2, below). This guide assumes that they are both named '''Rizon'''.<br />
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.
The generated '''<big><kbd>.pem</kbd></big>''' file 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.
# '''HexChat''' → '''Network List''' (or press {{Key Txt|Ctrl}} + {{Key Txt|S}}) for the ''' Network List''' dialogue box.
# In the '''Networks''' list, find and select '''Rizon''' item, then press {{Button|Edit...}}
# As '''Login method''' select {{Button|SASL EXTERNAL (cert) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{Unicode|▼}}}}
# Press {{Button|Close}} then {{Button|Connect}}
If the file exists, all your subsequent connections to Rizon network will use this certificate.
 
===ZNC===
===ZNC===
Please refer to the [https://wiki.znc.in/Sasl ZNC wiki] for instructions.
Please refer to the [https://wiki.znc.in/Sasl ZNC wiki] for instructions.

Revision as of 11:36, 24 September 2020

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

  1. HexChatNetwork List (or press Ctrl + S) for the Network List dialogue box.
  2. In the Networks list, find and select Rizon item, then press Edit...
  3. As Login method select SASL (username + password)    
  4. In the Password field enter YourPassword
  5. Press Close then Connect

ZNC

Please refer to the ZNC wiki for instructions.

mIRC

  1. ToolsOptions... (or press Alt + O) to open the mIRC Options dialogue box.
  2. Go to ConnectServers.
  3. Under IRC Servers:, find and select Rizon group, and press Add
  4. Fill the fields with the following data:
Description Random server SASL (Plain)
Address irc.rizon.net
Ports +6697,+9999
Group Rizon
Password Leave it emptry!
Login Method SASL (/CAP)           
Password YourPassword
  1. Press OK then Select and (re)connect.

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 name should match what appears in the Networks list (step #2, below). This guide assumes that they are both named Rizon.
The generated .pem file should be in ~/.config/hexchat/certs/Rizon.pem for Linux/Unix users, and %appdata%\HexChat\certs\Rizon.pem for Windows users.

  1. HexChatNetwork List (or press Ctrl + S) for the Network List dialogue box.
  2. In the Networks list, find and select Rizon item, then press Edit...
  3. As Login method select SASL EXTERNAL (cert)      
  4. Press Close then Connect

If the file exists, all your subsequent connections to Rizon network will use this certificate.

ZNC

Please refer to the ZNC wiki for instructions.

mIRC

  1. ToolsOptions... (or press Alt + O) to open the mIRC Options dialogue box.
  2. Go to ConnectServers.
  3. Under IRC Servers:, find and select Rizon group, and press Add
  4. Fill the fields with the following data:
Description Random server SASL (External)
Address irc.rizon.net
Ports +6697,+9999
Group Rizon
Password Leave it emptry!
Login Method SASL External (/CAP)  
Password Leave it emptry!
  1. Press OK then Select and (re)connect.