
BitlBee is a gateway that allows you to use various instant messaging protocols with your IRC client. It supports multiple IM networks, including MSN, Yahoo!, AIM, and Google Talk.
To set up BitlBee, you'll need to install it on your system, which can be done using your distribution's package manager or by compiling it from source.
BitlBee can be configured to use multiple IM networks at once, making it a convenient option for those who want to stay connected with friends and family across different platforms.
The configuration file is located in the /etc/bitlbee directory, and you can edit it using a text editor to customize your settings.
What is BitlBee
BitlBee is a cross-platform IRC instant messaging gateway that communicates with users via the IRC protocol. It provides a gateway to popular chat networks such as AIM and ICQ, Microsoft Messenger service, Yahoo!, Facebook Messenger, Twitter, Identi.ca, and GNU Social.
BitlBee can be installed and operated on a user's personal computer, a local server, or accessed on public gateway servers. A user registers with the BitlBee server for future credentials storage.
Expand your knowledge: Yahoo Chat Application
BitlBee supports off-the-record messaging and displays remote user status using the IRC voice attribute. It also supports file transfers on many IM networks and has plugins for GaduGadu, QQ, and other less well-known protocols.
BitlBee is written in C and is licensed under the terms of the GNU General Public License. It has been around since 2002 and has had several stable releases, with the latest one being version 3.6 released on February 7, 2019.
Here's a list of the platforms on which BitlBee can run:
- Linux
- Unix
- BSD
- Windows
- AmigaOS
- macOS
Installation and Setup
To install BitlBee, you can either install a precompiled version or compile it from source. On Debian/Ubuntu, you can install it with aptitude install bitlbee. On Gentoo Linux, you can use emerge bitlbee with specific USE flags.
You can also install BitlBee on RHEL with rpm -ivh bitlbee.rpm. If you're using a different Linux distribution, you may need to look up the specific installation instructions.
Once installed, you'll need to configure BitlBee. This involves editing the configuration file /etc/bitlbee/bitlbee.conf and replacing the password with your own. You'll also want to set the port and RunMode, which can be done in the /etc/init.d/bitlbee file.
Here are the installation options for different Linux distributions:
Remember to restart BitlBee after changing its configuration file.
Installing a Precompiled Package
Installing a precompiled package is a great way to get BitlBee up and running on your system. You can get BitlBee version >= 1.0.3 by using the package manager for your Linux distribution.
On Debian/Ubuntu, you can simply run `aptitude install bitlbee`. On Gentoo Linux, you'll need to use the command `ACCEPT_KEYWORDS="~x86" USE="jabber msn oscar yahoo -debug" emerge bitlbee`. And on RHEL, you can install it with `rpm -ivh bitlbee.rpm`.
If you're using a Debian/Ubuntu or RHEL system, you can install BitlBee with a single command. On Gentoo Linux, you'll need to specify some additional options to get the version you want.
Here are the installation commands for different Linux distributions:
Once you've installed BitlBee, you'll need to configure it to get it working with your IM accounts. We'll cover that in the next section.
Installation and Configuration

To install BitlBee, you'll need to choose the right package, which is bitlbee-libpurple. This package supports the most protocols and is the recommended choice.
You can install it from your package manager, and then edit the /etc/bitlbee/bitlbee.conf file to replace the password with your own.
One thing to note is that the developers suggest not using the OTR (Off The Record) encryption version of BitlBee if you plan to provide a public instance, as the encryption can be undermined by the sysadmin intercepting messages in plaintext.
To start BitlBee, you'll need to run the command to start the service.
Here's a quick rundown of the different versions of BitlBee:
In the /etc/bitlbee/bitlbee.conf file, you can set the password and bind BitlBee to localhost on port 8171, which will allow users to connect to your bouncer.
To view the available configuration options, simply type "set" in your terminal.
Configuration and Options
You can configure various settings in BitlBee using the /etc/bitlbee/bitlbee.conf configuration file, which is well-commented and has explanations for each setting.
To view what configuration options you have, simply type "set" in your BitlBee interface. This will give you a list of available settings.
You can also use the iconv program to get a list of charsets available, which can be helpful if you need to configure BitlBee to display local characters correctly, such as Norwegian characters like øæå ØÆÅ, which require the ISO8859-1 charset.
Configuration
You can view what configuration options you have by typing "set" in your bitlbee server. This will display all available settings.
The default configuration file, /etc/bitlbee/bitlbee.conf, is well commented and provides explanations for each setting. This makes it easy to understand what each option does.
To change the character setting, you'll need to set the charset to ISO8859-1 if you're using Norwegian øæå ØÆÅ characters. You can use the program iconv to get a list of available charsets.
Remember to save your settings if save_on_quit is set to false. This will ensure that your changes are preserved even after you quit the server.
To check the authors bitlbee server, start your favorite irc client and connect to the server.
Security
BitlBee is open source, which means its code is freely available for anyone to review and modify.
Using plaintext for IM protocols makes it easy for a BitlBee operator to log conversations, which can be a concern for users.
Running your own BitlBee server is a more secure option compared to using public servers.
It's relatively easy to modify the source code to expose user credentials, which is a significant security risk.
Using public BitlBee servers does involve a security risk, but it's probably safe to use them if you're cautious.
External Services and Support
To make BitlBee work with external services, you need a version compiled with libpurple support. This is a must-have for seamless integration.
One option is to use bitlbee-libpurple, a version that comes with libpurple support out of the box. There are also patched or development versions available, but this is a good starting point.
If you're looking to connect BitlBee with Discord, you'll need to use sm00th's bitlbee-discord plugin.
See what others are reading: Discord Chat Software
Private Server Access Control

To control access to your private server, you can change the port number to make attacks more difficult. This can be done by setting DaemonPort to a different port from the default 6667.
Restricting access to your server can be achieved by setting AuthmMode to Closed and setting an authentication password. This password can be used in your IRC client, and you can use any username you want.
To further limit access, you can set the "only_from" parameter in the /etc/xinetd.d/bitlbee file to your local area network (LAN) or other specified IP addresses. This will restrict access to the service. You can also block the bitlbee port (default 6667) with your firewall for added security.
Here are some ways to restrict access to your private server:
External Services
To make certain services work with bitlbee, you need a version compiled with libpurple support. For example, bitlbee-libpurple is a version that comes with libpurple support.
Some services may require patched or development versions, although these are less common. I've found that it's essential to check the specific requirements for each service before proceeding.
You can find patched or development versions of bitlbee, but these may not be as stable as the official versions. I recommend exercising caution when using these versions, especially in production environments.
bitlbee-libpurple is a good starting point for services that require libpurple support. This version is widely available and has a good track record of stability.
Discord Support
If you're looking for Discord support, you can use sm00th's bitlbee-discord plugin, which is a convenient option.
This plugin allows you to connect to Discord, and a port is provided by namtsui that you can use for this purpose.
To get started, you'll need to check out the relayd page for more information on how to set up the relay.
Additionally, you'll want to make some changes to your @bitlbee.conf@ file, specifically the ones mentioned in the support section.
Public Servers

If you're looking to connect to a public BitlBee server, you can find a list of available servers on the official BitlBee server list.
One of the servers listed is im.bitlbee.org, which is accessible on port 6667.
You can also run your own public server by following a few simple steps. First, you'll need to install BitlBee and open port 6667 in your firewall.
To configure xinetd, comment out the lines "disable = no" and "only_from = localhost" in the file /etc/xinetd.d/bitlbee. Then, add the line "bitlbee: ALL" to the file /etc/hosts.allow.
Here are some publicly available BitlBee servers you can connect to:
- im.bitlbee.org 6667
- irc.net 6667
- im.okkernoot.net 6667
- im.bulix.org 6668
Featured Images: pexels.com


