Commit Graph

579 Commits

Author SHA1 Message Date
Colin Sullivan
bb286ba424 Merge branch 'master' into tls_add_cipher 2015-11-23 10:55:43 -07:00
Derek Collison
0eedb9a350 Merge pull request #142 from nats-io/tls_updates
TLS updates
2015-11-22 16:57:35 -08:00
Derek Collison
2a8293a11d Move defer closer 2015-11-22 16:31:16 -08:00
Derek Collison
18ebe3ff73 Just test 1.5 2015-11-22 16:26:58 -08:00
Derek Collison
1a2dab0494 Run TLS pub/sub under complex example 2015-11-22 16:22:27 -08:00
Colin Sullivan
790578f3f4 Add negative tests for cipher_suite configurations. 2015-11-22 17:21:22 -07:00
Derek Collison
8ff37c03ec Allow EOF as well 2015-11-22 16:17:29 -08:00
Derek Collison
cd3f50b59e Force specific versions 2015-11-22 15:27:59 -08:00
Derek Collison
1b2c22410c Need for syslog 2015-11-22 15:15:03 -08:00
Derek Collison
5732a4445c Move travis to containers 2015-11-22 15:10:54 -08:00
Derek Collison
647213b1d7 TLS timeout handling for routes 2015-11-22 15:07:44 -08:00
Derek Collison
3b64567f00 tls flags, proper timeouts 2015-11-22 14:43:16 -08:00
Derek Collison
d703fd551a Add Go ReportCard Badge 2015-11-22 08:41:26 -08:00
Derek Collison
055f1dccb3 Allow test to use correct default ciphers 2015-11-22 08:34:06 -08:00
Derek Collison
ef43c19fce Use better ciphers available under 1.5 2015-11-22 08:29:18 -08:00
Colin Sullivan
936259e0d6 Removed the requirement for cipher_suites configuration in TLS and added default ciphers. 2015-11-21 21:15:35 -07:00
Colin Sullivan
c56b3677da Fixed formatting 2015-11-20 16:08:13 -07:00
Colin Sullivan
0ff1b55fa9 Require cipher suites to be specified in the configuration.
* Configuration requires a cipher suite
* Removed default cipher suites
* Added help to assist with TLS configuration and list available cipher suites.
2015-11-20 16:00:25 -07:00
Colin Sullivan
0675a8fd1f Update test to include expanded cipher suite. 2015-11-19 16:22:57 -07:00
Colin Sullivan
9ff1c9a12c Expand the cipher suite options. This allows older clients (e.g. .NET on Windows 7) to more easily use TLS. 2015-11-19 15:58:46 -07:00
Derek Collison
5753e94bbd Merge pull request #140 from nats-io/fix-races
Fix races, add a test and adjust others.
2015-11-18 22:08:27 -08:00
Ivan Kozlovic
97da466312 Fix races, add a test and adjust others.
* There was a race during unsubscribe()
* 'go test -race' reports a race in TestSetLogger test. This one could be ignored since we normally invoke SetLogger only on server startup. That being said, Travis failed when I tried to submit a PR for the fix of the unsubscribe race. So proposing to fix the logger too.
2015-11-18 20:39:56 -07:00
Derek Collison
200f2d95c6 Merge pull request #139 from nats-io/issue-138
Fix possible non-propagation of subscription interest to routed server.
2015-11-17 22:01:21 -08:00
Derek Collison
b992340810 Merge pull request #137 from nats-io/issue-136
Fix handling of duplicate SUB protocol.
2015-11-17 22:00:04 -08:00
Ivan Kozlovic
b62835363a Fix possible non-propagation of subscription interest to routed server.
If processRoute executes before createRoute finishes registering the route, and before a subscriber has connected (or reconnected), and the subscriber connects (or reconnects) before the route is registered, then this subscription will stay local and not be forwarded to the route.
2015-11-17 21:36:18 -07:00
Ivan Kozlovic
17d231361d Fix handling of duplicate SUB protocol.
This is issue #136. With routes, it is possible that a subscriber connects (or reconnects) and is about to broadcast the SUB protocol to the routed server, and at the same time, the server sends the list of the local subscriptions. This would result in a SUB processed twice, adding the same sub in the sublist twice. If the server sending the subscription list is restarted, this will leave "detached" subscriptions in the sublist which would trigger the "Bad or Missing ROUTER info" for every message published on that subject.
2015-11-17 20:58:54 -07:00
Derek Collison
1145d9c731 TLS beta 2015-11-08 14:40:29 -08:00
Derek Collison
e563f64458 Merge pull request #133 from nats-io/tls
TLS
2015-11-08 14:39:29 -08:00
Derek Collison
688f2a9f64 Give some time for TLS setup 2015-11-08 14:28:43 -08:00
Derek Collison
b8af53e67a Added in clustered TLS 2015-11-08 14:20:01 -08:00
Derek Collison
416cf99068 larger buffer needed for info message 2015-11-08 11:11:03 -08:00
Derek Collison
ec0c658344 Adding in client cert/key pair 2015-11-08 10:58:40 -08:00
Derek Collison
1c7f708217 Added in support for requiring client certificates 2015-11-08 10:48:39 -08:00
Derek Collison
a7b74468dd more cleanup 2015-11-05 18:09:07 -08:00
Derek Collison
ec258ac18d Moved certs and changed to simple hostname 2015-11-05 15:35:50 -08:00
Derek Collison
a579687e95 Removed old cert 2015-11-05 15:34:47 -08:00
Derek Collison
7b866f2215 Moving around keys and certs 2015-11-05 15:33:32 -08:00
Derek Collison
93fa18c61b Merge pull request #132 from sperreault/master
Added basic support for illumos/Solaris
2015-11-05 07:20:38 -08:00
Sebastien Perreault
f856159e80 Added basic support for illumos/Solaris 2015-11-05 08:30:24 -05:00
Derek Collison
3403c3d718 Merge pull request #131 from wallyqs/add-name-to-monitor-opts
Expose name label from client in connz
2015-11-02 09:06:37 -08:00
Waldemar Quevedo
a1a5a3cf9c Expose name label from client in monitoring endpoint 2015-11-01 17:50:10 -08:00
Derek Collison
eb46d7b05b Comment ciphers from test too 2015-10-23 08:47:13 -07:00
Derek Collison
b75c7b1522 comment out 1.5 only ciphers for now. 2015-10-23 08:43:03 -07:00
Derek Collison
5004efe54b new files for TLS 2015-10-22 03:32:11 +02:00
Derek Collison
749d4f89cc First pass at client TLS support 2015-10-22 03:30:27 +02:00
Derek Collison
7b80d2e011 Removed setBytes and fixed printout padding 2015-10-19 15:10:51 +02:00
Derek Collison
ea9216ab1d Merge pull request #121 from cmfatih/master
Fix port (client) and cluster port information for varz route
2015-10-06 16:03:23 +02:00
cmfatih
6b2added3b Update current release version 2015-10-04 02:26:35 -04:00
cmfatih
33f365b8df Cleanup badges 2015-10-04 02:25:52 -04:00
cmfatih
6b1843a8c6 Fix port info 2015-10-04 01:45:38 -04:00