alertmanager/cluster
Dustin Hooten ff85bec45b
Secure cluster traffic via mutual TLS (#2237)
* Add TLS option to gossip cluster

Co-authored-by: Sharad Gaur <sharadgaur@gmail.com>
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* generate new certs that expire in 100 years

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* Fix tls_connection attributes

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* Improve error message

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* Fix tls client config docs

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* Add capacity arg to message buffer

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* fix formatting

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* Update version; add version validation

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* use lru cache for connection pool

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* lock reading from the connection

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* when extracting net.Conn from tlsConn, lock and throw away wrapper

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* Add mutex to connection pool to protect cache

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

* fix linting

Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>

Co-authored-by: Sharad Gaur <sharadgaur@gmail.com>
2021-08-09 14:58:06 -06:00
..
clusterpb Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
testdata Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
advertise.go cluster: Fix typo in comment (#1668) 2018-12-16 14:03:55 +01:00
advertise_test.go cluster: fail when no private address can be found (#1437) 2018-07-05 22:59:56 +02:00
channel.go Update go dependencies & switch to go-kit/log 2021-08-02 12:43:23 +02:00
channel_test.go Update go dependencies & switch to go-kit/log 2021-08-02 12:43:23 +02:00
cluster.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
cluster_test.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
connection_pool.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
delegate.go Update go dependencies & switch to go-kit/log 2021-08-02 12:43:23 +02:00
tls_config.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
tls_connection.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
tls_connection_test.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
tls_transport.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00
tls_transport_test.go Secure cluster traffic via mutual TLS (#2237) 2021-08-09 14:58:06 -06:00