add tls-upgrade for tcp-prober (STARTTLS) (#220)
authorTobias Hintze <thz@users.noreply.github.com>
Mon, 18 Sep 2017 12:55:28 +0000 (14:55 +0200)
committerBrian Brazil <brian.brazil@robustperception.io>
Mon, 18 Sep 2017 12:55:28 +0000 (13:55 +0100)
commitf89dab2d859a69f13faa02b783b98bf202059c4a
tree09f4e27700d148d02bfa908c0e8ae8bba37cd87d
parent729b90d3702d985c39cec9845b0503365c97fd34
add tls-upgrade for tcp-prober (STARTTLS) (#220)

Improves query_response by adding starttls
which upgrades the connection to TLS.
This allows probing STARTTLS on IMAP/SMTP/POP3.
CONFIGURATION.md
config/config.go
config/testdata/blackbox-good.yml
example.yml
prober/tcp.go
prober/tcp_test.go
prober/utils_test.go