Commit Graph

43 Commits

Author SHA1 Message Date
Derek Collison
b61da04ef7 Enable HTTPS for monitoring 2015-12-01 19:01:56 -08:00
Waldemar Quevedo
4958f0f684 Add --cluster_listen flag to set cluster addr and port for others to solicit routes 2015-11-30 14:30:11 -08:00
Derek Collison
9d0695ec47 Merge pull request #143 from nats-io/tls_strict_route
TLS strict route verifications
2015-11-23 12:18:41 -08:00
Derek Collison
40c8cb13ea Strict verification for route TLS 2015-11-23 10:19:47 -08:00
Colin Sullivan
bb286ba424 Merge branch 'master' into tls_add_cipher 2015-11-23 10:55:43 -07: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
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
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
b8af53e67a Added in clustered TLS 2015-11-08 14:20:01 -08:00
Derek Collison
1c7f708217 Added in support for requiring client certificates 2015-11-08 10:48:39 -08:00
Derek Collison
b75c7b1522 comment out 1.5 only ciphers for now. 2015-10-23 08:43:03 -07:00
Derek Collison
749d4f89cc First pass at client TLS support 2015-10-22 03:30:27 +02:00
cmfatih
27b27157f6 Change JSON fieldname for cluster port (prevent conflict with client port) 2015-10-04 01:42:47 -04:00
Derek Collison
fe3b8f2aa1 BufSize option, bump for go1.5.1, bump version 2015-09-18 07:41:33 -07:00
Derek Collison
eed8b6cf94 Fix for #111 2015-08-23 13:23:02 -07:00
Derek Collison
f7ea964f2e Allow flag to connect to routes in clustered mode 2015-08-07 14:23:50 -07:00
Derek Collison
075529e2fe Properly handle and enforce max payload 2015-08-05 22:05:58 -07:00
Derek Collison
96bab33075 fixed import paths 2015-06-19 12:08:11 -07:00
Derek Collison
2758974735 Fixed logging bugs, added in additional tracing 2015-01-16 11:58:21 -08:00
Ken Robertson
5623b583a9 Updates for new logging to appease govet
Govet doesn't like functions that look like format handlers not ending in `f`,
such as Debug() vs Debugf(). This is changing some of the new log handling to
use 'f' function names to appease govet.

Updated the implicit handling of including the client as an arg without being
used in a format string. Now the client object simply has a Errorf function
for logging errors and it adds itself onto the format string.
2014-10-29 11:32:14 -07:00
Máximo Cuadros Ortiz
7c7578ae38 Notice and Logger messages 2014-10-16 01:16:21 +02:00
Máximo Cuadros Ortiz
d99c6aeead remote syslog support 2014-10-16 00:45:44 +02:00
Máximo Cuadros Ortiz
6586ac4653 better client identification at logs and some performances improves 2014-10-16 00:44:56 +02:00
Máximo Cuadros Ortiz
96d044dce4 login system abstraction 2014-10-16 00:44:22 +02:00
Michael Fraenkel
eec4786a2c Check port when removing self referenced routes
* Cleanup how self referenced routes were determined
2014-09-13 17:24:41 -05:00
Simon Leung
afc9f6222f remove self referencing ip/host
Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
2014-07-31 10:30:43 -07:00
Alex Toombs
20b08f5a33 Allow nats to choose a random port when given port -1.
* In order to allow nats to resolve a randomly-chosen port, we want to
  sometimes give net.Listen a port of 0. However, a port of 0 in the
  config resolve to a constant port. In order to avoid behavioral
  changes, we define '-1' to be the default "choose random port"
  number.
* Resolve ports can be retrievd using the server's Addr() method.
2014-06-05 19:48:42 -07:00
Eric Malm
89452213bf Make profiling port configurable via file
- Port can be specified with 'prof_port' value in file
- CLI flag overrides config file setting
2014-04-24 18:01:09 -07:00
Derek Collison
d21e2caf8c golint updates 2013-10-13 09:52:51 -07:00
Derek Collison
cf0f30200f log file support, data race fixes 2013-08-02 16:52:54 -07:00
Derek Collison
0b8718a67d flag/config parsing of log and pid files 2013-08-01 12:36:20 -07:00
Derek Collison
f27deeabee Added official start method 2013-07-30 19:23:26 -07:00
Derek Collison
c07bca3144 Config file support for monitor http port 2013-07-30 18:04:33 -07:00
Derek Collison
4193d6e120 fixes, auth checks 2013-07-27 23:50:07 -07:00
Derek Collison
72b68bf363 Added sub and unsub broadcast to routes 2013-07-27 22:05:15 -07:00
Derek Collison
5189dba7b6 Cluster startup 2013-07-27 16:29:25 -07:00
Derek Collison
ba13445bd7 Route config setup 2013-07-27 14:17:28 -07:00
Ken Robertson
2bdb873426 Fixing CEO's bugs 2013-04-22 13:52:45 -07:00
Derek Collison
da85a2757d Moved options processing into own file 2013-04-22 00:10:20 -04:00