Commit Graph

1141 Commits

Author SHA1 Message Date
William Tisäter 6b52d410b3 Run `go fmt` 2014-07-24 01:09:55 +02:00
William Tisäter da0458e405 Merge pull request #224 from hashicorp/f-case-insensitivity
DNS case-insensitivity
2014-07-23 23:53:11 +02:00
William Tisäter 674152a3da Update CHANGELOG.md 2014-07-23 23:45:03 +02:00
William Tisäter dd9c59b6c4 Short doc note about DNS case-insensitivity 2014-07-23 23:42:22 +02:00
William Tisäter 945e19e139 Don't override `ServiceTags` 2014-07-23 23:42:22 +02:00
William Tisäter 57d62eb492 Change order of fixtures 2014-07-23 23:42:22 +02:00
William Tisäter 37426f7410 Make service tag filter case-insensitive 2014-07-23 23:42:22 +02:00
William Tisäter 9ad8b9ff19 Make service index case-insensitive 2014-07-23 23:42:22 +02:00
William Tisäter 9359f899f5 Lowercase index key and lookup value if flag is set 2014-07-23 23:42:22 +02:00
William Tisäter 0d71b97f8e Remove DC case-insensitive check from node test 2014-07-23 23:42:22 +02:00
William Tisäter e4de221078 Always lowercase incoming DNS query 2014-07-23 23:42:22 +02:00
William Tisäter e0ba9a48a7 Test DNS case-insensitivity 2014-07-23 23:42:22 +02:00
William Tisäter ee4de11741 Add case-insensitive flag to `MDBIndex` 2014-07-23 23:42:21 +02:00
William Tisäter e5798c74d2 Add helper for lowercase list of strings 2014-07-23 23:42:21 +02:00
Jack Pearkes 436cd144a5 ui: add tests param to readme 2014-07-22 13:32:05 -04:00
Jack Pearkes 53ac2341b5 Merge pull request #256 from gmr/favicon
Add the logo favicon to the webui
2014-07-22 12:47:38 -04:00
Gavin M. Roy 615792c1b8 Add the logo favicon to the webui 2014-07-22 12:42:24 -04:00
Armon Dadgar ce9de56469 consul: Defer serf handler until initialized. Fixes #254. 2014-07-22 09:36:58 -04:00
Armon Dadgar ac745b1008 Adding the deps file for 0.3.1 2014-07-21 11:34:10 -04:00
Armon Dadgar 183118cf1c website: Update dummy 2014-07-21 11:26:53 -04:00
Armon Dadgar 6c2ee5c842 Cutting v0.3.1 2014-07-21 10:58:37 -04:00
Armon Dadgar 663bd102e7 agent: Provide better DNS setup error messages 2014-07-17 10:57:21 -07:00
Jack Pearkes be215e6717 ui: scroll extra items on nodes/services
fixes #232
2014-07-17 09:48:38 -04:00
Armon Dadgar 6eb3e8ee30 agent: Fixing issue with excessive failed node filtering 2014-07-16 15:11:45 -07:00
Armon Dadgar 140a910fed website: remove old docs on the -encrypt flag 2014-07-15 09:50:49 -07:00
Armon Dadgar 00f60082b4 Merge pull request #243 from nelhage/statsite
Fix statsite integration
2014-07-11 10:52:04 -07:00
Nelson Elhage f3b9fcb49a While we're at it, make statsite_addr work at all. 2014-07-10 18:16:47 -07:00
Nelson Elhage 825dcd04f4 There is no `-statsite` command-line flag. 2014-07-10 18:06:36 -07:00
Armon Dadgar 135c409573 agent: Fixing passing filter. Fixes #241 2014-07-05 09:49:21 -07:00
Armon Dadgar 7ae573d79d Merge pull request #239 from bscofield/clarify-rpc-addr
Improve clarity around changing the `-client` param
2014-07-02 13:12:32 -07:00
Ben Scofield 3d1e09c263 Improve clarity around changing the `-client` param
This is a small change that (IMO) makes more explicit the effect
of changing `-client` -- namely, that you'll have to provide
`-rpc-addr` to every other consul command you run.
2014-07-02 21:21:37 +02:00
Armon Dadgar bc4b5ccd48 website: Keep old bootstrapping docs 2014-07-01 15:02:42 -07:00
Armon Dadgar d313349807 Updating documentation for new bootstrap method 2014-07-01 15:02:26 -07:00
Armon Dadgar 746449ffed Merge pull request #233 from nelhage/tls-no-subjname
Restore the 0.2 TLS verification behavior.
2014-07-01 13:41:00 -07:00
Jack Pearkes 4e6c507589 Merge pull request #235 from nelhage/fix-make-rules
Fix a Makefile typo that was breaking Travis.
2014-06-29 21:20:47 -07:00
Nelson Elhage cb8fcf613d Fix a Makefile typo.
The broken .PHONY declaration is breaking Travis: 'make deps' is now a
no-op, because of the new 'deps' directory.
2014-06-29 18:22:44 -07:00
Nelson Elhage 12a7f765b6 Add some basic smoke tests for wrapTLSclient.
Check the success case, and check that we reject a self-signed
certificate.
2014-06-29 18:11:32 -07:00
Nelson Elhage d174cbe7f4 Restore the 0.2 TLS verification behavior.
Namely, don't check the DNS names in TLS certificates when connecting to
other servers.

As of golang 1.3, crypto/tls no longer natively supports doing partial
verification (verifying the cert issuer but not the hostname), so we
have to disable verification entirely and then do the issuer
verification ourselves. Fortunately, crypto/x509 makes this relatively
straightforward.

If the "server_name" configuration option is passed, we preserve the
existing behavior of checking that server name everywhere.

No option is provided to retain the current behavior of checking the
remote certificate against the local node name, since that behavior
seems clearly buggy and unintentional, and I have difficulty imagining
it is actually being used anywhere. It would be relatively
straightforward to restore if desired, however.
2014-06-28 13:32:42 -07:00
Armon Dadgar 924e4bc7f1 Rename Expect to BootstrapExpect. Fixes #223. 2014-06-19 17:08:55 -07:00
Jack Pearkes 26a9edff4c ui: display session name on list of sessions under locked key 2014-06-19 17:00:16 -04:00
Armon Dadgar f79f6cf62b Merge pull request #227 from pkwarren/rpc_typo
Fix a small typo in RPC docs.
2014-06-19 12:08:20 -07:00
Philip K. Warren f3ac3ce6fc Fix a small typo in RPC docs. 2014-06-19 13:53:43 -05:00
Armon Dadgar 92b6e947dd consul: Minor cleanups 2014-06-18 16:15:28 -07:00
Armon Dadgar 941c1cac81 Merge branch 'robxu9-master' 2014-06-18 15:48:57 -07:00
Armon Dadgar 5b2941d43e Fixing merge conflict 2014-06-18 15:48:46 -07:00
Robert Xu 7b456a6d6d Minor cleanup to logic and testsuite.
Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-18 18:47:05 -04:00
Armon Dadgar f5fa8c1d2c CHANGELOG updates 2014-06-18 10:35:42 -07:00
Armon Dadgar a05e1aee15 agent: Fixing missing copy of RejoinAfterLeave flag. #110 2014-06-18 10:32:19 -07:00
Robert Xu bc4a4fe09b Utilise new raft.SetPeers() method, move expect logic to leader.go.
This way, we don't use EnableSingleMode, nor cause chaos adding peers.

Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-18 12:03:30 -04:00
Armon Dadgar 10c120bf9d agent: Fix issues with re-registration. Fixes #216 2014-06-17 16:48:19 -07:00