Znc

Revision as of 10:36, June 7, 2015 by Threesixes (Talk | contribs) (more details)

net-irc/znc


Source Repository:Repository:Gentoo Portage Tree

http://znc.in

Summary: An advanced IRC Bouncer

Use Flags

daemon
Allow znc to run as a system-wide service. Installs an init script and creates a znc user:group.

News

Drobbins

IP Space Migration Continues

All Funtoo user containers in the 8.28 IP space will be moving into our new IP space (172.97) over the next few days. If you have DNS set up -- be sure to watch your container and update to the new IP! container.host.funtoo.org DNS will be updated after the move.
2015-08-27 by Drobbins
Drobbins

Funtoo Hosting IP Move

Funtoo user containers with IPs in the 72.18.x.x range will be gradually migrating to new IP addresses this week. If you have DNS entries for your containers, please be aware that your DNS will need to be updated.
2015-08-11 by Drobbins
Drobbins

New ARM Stages

New ARM Stages, built with a new toolchain, are now hitting mirrors. Existing ARM users should re-install using these stages (dated Aug 3, 2015 or later,) rather than upgrade using emerge.
2015-08-06 by Drobbins
More...

Znc

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Znc is an advanced internet relay chat (IRC) bouncer/proxy/relay. Znc can be used to run irc as a service in the background so closing terminals, and restarting X do not result in join/part messages to IRC channels you're chatting in.

Install

To add init.d scripts:

# echo "net-irc/znc daemon" >> /etc/portage/package.use/znc


For sasl authentication:

# echo "net-irc/znc sasl" >> /etc/portage/package.use/znc


# emerge net-irc/znc



Configuration

Server

Run the emerge config command to setup znc.

# emerge --config znc

Set your ssl certificates up, and set your irc client to accept self signed certificates. ie accept invalid certificates.

Set bind address to 0.0.0.0 so the system can access the web, and connect to real irc networks.

Set the address/domain to 127.0.0.1 and port to 45654.

Set the web interface module to load only. the web interface is located at the ip/domain & port specified, as in the irc proxy address & port. if using ssl its at https://127.0.0.1:45654 if not its http://127.0.0.1:45654

Client

Use the web interface to set the client up.

SSL

SSL connections to upstream irc servers require the port number be prepended with a plus symbol.

eg Adding server [irc.freenode.net +6697]

for ssl auth see http://wiki.znc.in/Cert

SASL Authentication

To automatically be identified before joining channels requires either SSL auth certificates, or SASL. make sure you're using SSL before configuring SASL because it will send passwords in plain text if not.

Set the username, nickname, ident, and real name to your registered nick.

Possibly just tick the box & "set MyUsername pa$$w0rd"

http://wiki.znc.in/Sasl

Start

# rc-update add znc default
# rc


Client

Connect to localhost as if its an irc network.