HexChat: IRC Client
HexChat [archive] is an open source IRC client based on XChat [archive]. It includes basic functionality found in IRC clients, like secure connections, multiple server connections, nick completion, a client-to-client protocol, direct client-to-client file transfer and chat, and a plugin system which allows extension of features and further customization.  
HexChat in Whonix ™ has been hardened according to The Tor Project's Torrifying HexChat guide.  All servers, besides the secure (SSL) version of the Open and Free Technology Community (OFTC) [archive] have been removed.  It is recommended to add the securely encrypted version of the IRC server, preferably an onion service which uses SSL as a fallback or at best, both. Also see: Torifying HexChat [archive].
Note that the official #Tor channel is on OFTC, but no Whonix ™ developers are active there! Upstream Tor developers do not support Whonix ™. For help with Whonix ™-related issues, see Support.
Reset the HexChat Identity
Open a terminal.
Before joining any channels, run the whois function from the status window.
/whois your-user-name your-user-name
The following example Chat (IRC client) screenshot shows the /whois output for user TNTBOMBOM ().
Figure: IRC /whois Output
The Tor Project Internet Relay Chat [archive] page contains general IRC safety techniques and other tips. Another useful resource is the IRC Security [archive] page. Key information and advice is provided on:
- The importance of (additional) encrypted connections:
- Avoiding Trojan Horse attacks [archive] via malicious, downloaded files.
- Defense against Denial of Service attacks [archive]. 
- Dangers associated with downloaded files.
- Firewall considerations.
- The impact of potential back-doors in IRC clients.
- Circumvention of Tor censorship.
- End-to-end encryption using OTR and other plugins.
- Social safety measures to prevent de-anonymization.
- Other miscellaneous security advice.
If a message similar to the following appears.
* Closing Link: 184.108.40.206 (No more connections permitted from your host) * Disconnected (Remote host closed socket)
This most likely means the connection to the IRC server is working, but the server disconnects because they are not accepting Tor network connections. This is a general Tor censorship problem and unrelated to Whonix; see List Of Services Blocking Tor [archive].
Unfortunately there is no easy solution and each available workaround has pros and cons:
- Use an IRC alternative if this is feasible; see Chat for options.
- If possible, use another Tor-friendly IRC network: List of IRC/chat networks that block or support Tor [archive]. 
- Check if the IRC network provides a solution for Tor users. For example, freenode provides such a mechanism [archive] via a Tor onion service and scripts.
- Combine Tor with an additional tunnel link to circumvent blocks.  A connection to Tor must be made before the tunnel-link (proxy / VPN / SSH):
proxy / VPN / SSH→
- Use an IRC bouncer; see Internet Relay Chat [archive]. In the past, there were no trustworthy and free IRC bouncer services, but this situation may have changed in 2018. IRC bouncers are very affordable, but it is difficult to register and pay anonymously, see: Money.
To follow the associated Whonix ™ development ticket, see: Migrating from IRC OFTC to Tor friendly IRC network [archive].
- https://en.wikipedia.org/wiki/XChat [archive]
- https://hexchat.github.io/ [archive]
- https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/HexChat [archive]
- This is an IRC network which provides collaboration services for members of the free software community, anywhere in the world.
- https://en.wikipedia.org/wiki/Ident [archive]
- The Tor Project notes [archive]:
In both UNIX and Windows systems, the logged in username becomes the default ident. The ident is seen by most clients during channel join and when performing the /whois command. It is therefore recommended to fake your ident before you connect to any IRC servers.
- Which otherwise can make networked computers disconnect or crash.
- Or conduct an Internet search for "Tor-friendly IRC server".
- This is a time-consuming and steep learning curve just to solve this issue.
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.
Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)