1
0
Fork 0

24 Commits (master)

Author SHA1 Message Date
Philip O'Toole 954503dc66 Move Store to Layer and create NewLayer in tcp 9 months ago
Philip O'Toole ad916270d2 Bring go mod import path into compliance 9 months ago
Philip O'Toole 95d1c89763 Move to example.com cert and key 9 months ago
Philip O'Toole 58d6f1a260 More client-only use for ServerName 9 months ago
Philip O'Toole 6dc05a99df Thread it through 9 months ago
Philip O'Toole 3e84139290 Default to mutual TLS off for node-to-node 2 years ago
Philip O'Toole 27839b53f7 ABL 2 years ago
Philip O'Toole ba39227c93 Move to a single cert-key pair for nodes 2 years ago
Philip O'Toole 54e649c341 More TLS unit test fixes 2 years ago
Philip O'Toole c8231596ac Use central TLS config creation 2 years ago
Philip O'Toole 0071867e34 Don't call t.Fatal() from goroutine
It wouldn't abort the test anyway, so just log.
2 years ago
chermehdi 3bfcbffc37 Fix typos and Grammar issues 3 years ago
Philip O'Toole 5801240051 Remove unneeded test code 3 years ago
Philip O'Toole 3be97dd61e Add mux code back to tcp package
Tests pass, nothing else done yet.
3 years ago
Philip O'Toole f57ace7da2 Broadcast Store meta via standard consensus
With this change the cluster metadata (arbitrary key-value data associated with each node) is now broadcast across the cluster using the standard consensus mechanism. Specifically the use case for this metadata is to allow all nodes know the HTTP API address of all other nodes, for the purpose of redirecting requests to the leader.

This change removed the need for multiplexing two logical connections
over the single Raft TCP connection, which greatly simplifies the
networking code generally.

Original PR https://github.com/rqlite/rqlite/pull/434
5 years ago
Zac Medico f01e6b1b0a
Server -http-ca-cert and -node-ca-cert options
The -http-ca-cert and -node-ca-cert options allow the user to specify
trusted X.509 root CA certificates as an alternative to the
-http-no-verify and -node-no-verify options. This behavior is analogous
to the rqlite client -ca-cert option.
5 years ago
Philip O'Toole 780ab93e6e More unit testing of TLS mux 7 years ago
Philip O'Toole a0753d9968 Unit test TLS mux 7 years ago
Philip O'Toole 7630a1b59e Go vet fixes 7 years ago
Philip O'Toole 462a88dabe Fix Mux unit tests 7 years ago
Philip O'Toole 4928e1180c Simplify TCP mux testing 8 years ago
Philip O'Toole f16b6ba55b Allow Raft address advertise (#115)
* Use resolved Raft address as API peer key

* Allow Raft advertise address to be set

* Better log message for mux

* CHANGELOG updates

* Unit test mux layer address advertise
9 years ago
Philip O'Toole fac48629bc Start initial integration of mux (#109)
Integrate TCP mux with cluster and store

This change allows any node, including followers, to use the Raft log to make changes to a cluster-wide state.
9 years ago
Philip O'Toole 16471b1ee2 Add mux for TCP connections 9 years ago