To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Weechat and Portability: Difference between pages

From ZNC
(Difference between pages)
Jump to navigation Jump to search
Recommend adding the fingerprint rather than disabling ssl verification entirely.
 
MAGIC (talk | contribs)
Update to latest version provided by archive.org
 
Line 1: Line 1:
== Connecting to ZNC ==
This page tries to display the current status of ZNC on different platforms.
=== SSL ===
==== Connecting ====
Connections to ZNC using SSL:


First get the fingerprint of the self-signed cert
==Platforms with continuous testing enabled==
$ openssl s_client -connect my.bouncer.net:6697 </dev/null 2>/dev/null | openssl x509 -in /dev/stdin -noout -fingerprint -sha256  | sed s/://g | cut -c 20-
These are guaranteed to work.
{| class="wikitable"
|- style="background:lightgray" align="center"
! Platform || Compiler || Notes
|- style="background:lightgreen"
| Linux || gcc || https://travis-ci.org/znc/znc
|- style="background:lightgreen"
| Linux|| clang|| https://travis-ci.org/znc/znc
|- style="background:lightgreen"
| OS X|| clang || https://travis-ci.org/znc/znc
|- style="background:lightgreen"
| Windows (Cygwin)|| gcc || https://ci.appveyor.com/project/DarthGandalf/znc
|}


  /server add BNC my.bouncer.net/6697 -ssl -username=username/network -password=password -autoconnect
==Other platforms==
  /set irc.server.BNC.ssl_fingerprint PutFingerPrintHere
This table only means that someone at some point successfully compiled ZNC. It probably still works. Also note that this table was last updated in 2011.
  /connect BNC
  /save


==== Troubleshooting ====
If ZNC doesn't work on some platform, please [https://github.com/znc/znc/issues file a bug].
It does not connect.
{| class="wikitable"
|- style="background:lightcyan" align="center"
! Platform || Compiler || Notes
|- style="background:lightcyan"
| Linux || gcc ||
|- style="background:lightcyan"
| FreeBSD || gcc ||
|- style="background:lightcyan"
| OpenBSD || gcc ||
|- style="background:lightcyan"
| GNU || gcc ||
|- style="background:lightcyan"
| Darwin || gcc ||
|- style="background:lightcyan"
| Cygwin || gcc ||
|- style="background:lightcyan"
| Solaris >= 10 || gcc || Requires znc 0.093 or later
|- style="background:lightcyan"
| Solaris <= 9 || gcc || Requires znc 0.099 or later
|- style="background:lightgreen"
| OpenIndiana 2015.10 || gcc || ZNC 1.6.3 works ootb
|-style="background:lightcyan"
| Irix || gcc || Requires znc 0.099 or later
|-style="background:lightcyan"
| Windows || msvc || Unoffical patches and precompiled packages available at [http://code.google.com/p/znc-msvc/]
|-style="background:lightcyan"
| || icpc (icc) || Seems to work fine if you are lucky (Hint: <code>-diag-disable 383,444,869,981,1419,1572,1710,1711,1712,2259</code>)
|-style="background:lightcyan"
| Windows || cygwin ||
|}


If port 6697 is the SSL port, you need to specify that it's SSL port with ''/set irc.server.BNC.ssl on''


This is a failed attempt due to not specifying the "irc.server.BNC.ssl on" or "-ssl"
  05:46:47    BNC =!= | irc: connection refused
  05:46:47    BNC  -- | irc: reconnecting to server in 10 seconds
  05:46:57    BNC  -- | irc: reconnecting to server...
  05:46:57    BNC  -- | irc: connecting to server my.bouncer.net/6697 (SSL)...
  05:46:58    BNC =!= | irc: connection refused


=== Non SSL ===
[[Category:ZNC]]
 
This is for plain non-ssl connections.
 
  /server add BNC my.bouncer.net/6667 -username=username/network -password=password -autoconnect
  /connect BNC
  /save 
 
=== Specifying username/network:password later ===
 
  /set irc.server.bnc.username username/network
  /set irc.server.bnc.password password
 
== Disabling automatic switching of buffer ==
 
When you connect WeeChat to ZNC, your channels change a lot until you are joined everywhere. This can be disabled with the following commands:
 
  /set irc.look.buffer_switch_autojoin off
  /set irc.look.buffer_switch_join off
 
[[Category:Clients]]

Latest revision as of 20:25, 31 March 2017

This page tries to display the current status of ZNC on different platforms.

Platforms with continuous testing enabled

These are guaranteed to work.

Platform Compiler Notes
Linux gcc https://travis-ci.org/znc/znc
Linux clang https://travis-ci.org/znc/znc
OS X clang https://travis-ci.org/znc/znc
Windows (Cygwin) gcc https://ci.appveyor.com/project/DarthGandalf/znc

Other platforms

This table only means that someone at some point successfully compiled ZNC. It probably still works. Also note that this table was last updated in 2011.

If ZNC doesn't work on some platform, please file a bug.

Platform Compiler Notes
Linux gcc
FreeBSD gcc
OpenBSD gcc
GNU gcc
Darwin gcc
Cygwin gcc
Solaris >= 10 gcc Requires znc 0.093 or later
Solaris <= 9 gcc Requires znc 0.099 or later
OpenIndiana 2015.10 gcc ZNC 1.6.3 works ootb
Irix gcc Requires znc 0.099 or later
Windows msvc Unoffical patches and precompiled packages available at [1]
icpc (icc) Seems to work fine if you are lucky (Hint: -diag-disable 383,444,869,981,1419,1572,1710,1711,1712,2259)
Windows cygwin