IRC bot - allow to disable ssl check #4204

Merged
merged 8 commits into from Aug 26, 2016

Projects

None yet

4 participants

@deutor
Contributor
deutor commented Aug 25, 2016

In PHP 5.6.x stream wrappers verify peer certificates and host names by default when using SSL. That fix allows to turn off that verification with config option $config['irc_disable_ssl_check'] = true;
It is useful when you want to use self generated certificate for your own IRC server.

deutor added some commits Aug 25, 2016
@deutor deutor IRC bot - detect lost communication
Force reconnect if no data received from server for config['irc_conn_timeout'] seconds (that may happen when network/VPN goes down - in such case IRC bot won't get immediately notification that connection was lost, at least till it tries to send anything).
a685b5a
@deutor deutor Update irc.php f69954e
@deutor deutor Update irc.php 7c9a176
@deutor deutor Update irc.php 55a962e
@deutor deutor Update irc.php
7547f49
@deutor deutor IRC bot - allow to disable ssl check
In PHP 5.6.x stream wrappers verify peer certificates and host names by default when using SSL. That fix allows to turn off that verification with config option $config['irc_disable_ssl_check'] = true; 
It is useful when you want to use self generated certificate for your own IRC server.
c72b39c
@deutor deutor Update irc.php
12c45d1
@deutor deutor Merge pull request #1 from deutor/patch-1
Patch 1 - testing merge
79b8df4
@scrutinizer-notifier

The inspection completed: 4 new issues, 2 updated code elements

@f0o f0o merged commit 795985d into librenms:master Aug 26, 2016

2 checks passed

Auto-Deploy Build finished.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment