BNC (software)

From Wikipedia the free encyclopedia

A BNC (short for Bounced Network Connection) is a piece of software that is used to relay traffic and connections in computer networks, much like a proxy. Using a BNC allows a user to hide the original source of the user's connection, providing privacy as well as the ability to route traffic through a specific location. A BNC can also be used to hide the true target to which a user connects.[1]

IRC

[edit]
Scheme of an IRC network with normal clients (green), bots (blue) and bouncers (orange)

One common usage is over Internet Relay Chat (IRC) via a BNC running on remote servers. In such an environment, where it is very easy to ascertain a user's IP address a BNC may help to hide the original connection source, as well as providing the opportunity for "vhosts" or "virtual hosts". The use of a vhost does not conceal the connection any better but merely adds a statement as the hostname.

Many BNCs remain connected to an IRC server in the event the client should disconnect from the Internet. Often state changes are tracked so that they may be relayed to the client upon reconnection. Some implementations opt to store all messages sent across the network that the client would have normally received and send them upon the client's reconnection; this is often considered to be much too resource dependent for commercial hosting services to provide. Other logging features and bot like functions may be included with various implementations but are not standard.

Example

[edit]
User A logs onto IRC directly and appears as USER!user@users.reverse.dns
User A logs onto IRC indirectly through a BNC and appears as USER!user@bnc.net

Software

[edit]

A list of bouncers.

  • ZNC (IRC) is a popular IRC bouncer, written in C++, in developement since July 2004.[2]
  • soju is an user-friendly IRC bouncer, written in Go, with support for chat history playback and file uploads, in development since 2020.[3][4]
  • The Lounge acts both as an IRC client and an IRC bouncer.[5]

Hosted services

[edit]

Several companies offer hosted IRC bouncer services:

  • IRCCloud is an IRC bouncer based on proprietary software, with its own web and mobile IRC clients. It is developed mainly for teams and can be bridged with Slack (software).[6]
  • IRC Today is a commercial IRC bouncer based on the open source software soju. It features an intuitive web configuration interface and enables file upload directly from the IRC client.[7]
  • chat.sr.ht is another commercial IRC bouncer based on soju. It is part of a minimalistic software suite targeted at developers.[8]

FTP

[edit]

BNCs are also often used for File Transfer Protocol (FTP), again to hide the user and server from each other and to route traffic through a specific location. FTP bouncers can be divided into two different categories, entry and traffic.

An entry bouncer acts as a gateway to the server, but it does not hide the existence of the actual server. Entry bouncers, like cubnc, can be used in a multiserver setup for easy access to each server and load balancing. This removes the need to select which FTP server to log into, when trying to access the server farm.

Traffic bouncers relay traffic through the host they are installed on and present themselves as if they were the FTP server, thus hiding the real location of the server completely. Multiple traffic bouncers can be installed parallel in order to balance traffic load across different links. Most elaborate bouncers can even bounce secure SSL/TLS connections.

See also

[edit]

References

[edit]
  1. ^ Lederer, Christian (phrozen77). (December 22, 2009). "IRC bouncer comparison" Archived February 14, 2015, at the Wayback Machine. IRC-Junkie. December 22, 2009.
  2. ^ "ZNC". wiki.znc.in. Retrieved October 7, 2024.
  3. ^ emersion. "soju". Codeberg.org. Retrieved October 7, 2024.
  4. ^ "soju IRC bouncer". soju.im. Retrieved October 7, 2024.
  5. ^ "The Lounge". The Lounge. Retrieved October 7, 2024.
  6. ^ "Frequently Answered Questions | IRCCloud". www.irccloud.com. Retrieved October 7, 2024.
  7. ^ "IRC Today - Your modern hosted IRC bouncer". irctoday.com. Retrieved October 7, 2024.
  8. ^ "Announcing chat.sr.ht: a persistent IRC session for sourcehut users". sourcehut.org. Retrieved October 7, 2024.
[edit]