[an error occurred while processing this directive] (none)

Configuring SASL for XChat

There are multiple scripts available to support SASL in XChat. The Perl script is the most comprehensive, and most likely to work. Because of distribution-specific patches introduced in Debian and Ubuntu, the Python script may break in these distributions. The "lite" script is mostly kept for historical interest.

Configuring SASL for XChat: Perl script

This script is based on the SASL script for irssi, and was ported by Lian Wan Situ.

  1. Copy the script, cap_sasl_xchat.pl, into your ~/.xchat directory, C:\Users\USERNAME\AppData\Roaming\X-Chat directory, or from wherever XChat loads startup scripts.

  2. Load the script using the /load command, or select load script from the Scripts and Plugins menu.

  3. The script needs to be configured with /sasl set. The network name (e.g. freenode — case matters), your registered nickname, NickServ password, and authentication mechanism will need to be provided. The authentication mechanism will be one of those returned by /sasl mechanisms, but note that DH-BLOWFISH is not supported anymore.

  4. If you don't mind your password being saved to your hard drive or if you don't want to type the /sasl set command every time before you connect, you will need to do /sasl save.

  5. If everything has been configured correctly, the next time you connect you should see the message:

    SASL authentication successful

To see other options available, you can run just /sasl.

If you have trouble running cap_sasl_xchat.pl because your distribution or operating system does not have the required Perl modules, you can download Crypt::DH from CPAN, or try this version, which uses a different module and may work better on some systems.

Configuring SASL for XChat: Python script

This script is by Roberto Leandrini.

  1. Copy the script, cap_sasl_xchat.py, into your ~/.xchat directory, C:\Users\USERNAME\AppData\Roaming\X-Chat directory, or from wherever XChat loads startup scripts.

  2. Load the script using the /load command, or select load script from the Scripts and Plugins menu.

  3. The script needs to be configured with /sasl set. The network name (e.g. freenode — case matters), your registered nickname, and NickServ password will need to be provided.

  4. If everything has been configured correctly, the next time you connect you should see the message:

    SASL authentication successful

To see other options available, you can run just /sasl.

Alternative Configuration for SASL

  1. Download the script: sasl-lite-xchat.pl

  2. Open the script in your favorite editor, and change EDIT in my $sasl_user = "EDIT"; to be your registered nick. Then change EDIT in my $sasl_password = "EDIT"; to be your NickServ password.

  3. Copy the script into the directory from which XChat loads startup scripts. The next time you connect, you should see the message:

    SASL authentication successful

If you know of any additions or corrections, or would like to contribute improvements, contact us at the email below.

Copyright © 2002 – 2015 by freenode Creative Commons License
Comments to email address: support at freenode dot net