Commit Graph

4441 Commits

Author SHA1 Message Date
James Phillips ba60afd5d8
Cleans up based on code review feedback. 2016-08-16 12:52:30 -07:00
James Phillips 9246966d00 Update CHANGELOG.md 2016-08-16 11:40:48 -07:00
James Phillips 0bca03bea0 Update CHANGELOG.md 2016-08-16 11:38:39 -07:00
James Phillips 16e30e072f Update CHANGELOG.md 2016-08-16 11:38:25 -07:00
James Phillips 60ff598d11 Update CHANGELOG.md 2016-08-16 11:37:58 -07:00
James Phillips 1d130a679a Merge pull request #2280 from hashicorp/f-lan-tag
Adds missing TaggedAddress structures to Go API client, adapts for address translation.
2016-08-16 11:35:00 -07:00
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled. 2016-08-16 11:31:41 -07:00
James Phillips fbdd021ab9
Adds an "lan" tagged address so we have a way to get them all.
If we didn't have this, then there would be no way to know the LAN
address if address translation was turned on.
2016-08-16 10:49:03 -07:00
James Phillips 1d5eb36689
Adds missing TaggedAddress structures to API client. 2016-08-16 10:30:30 -07:00
James Phillips 231f5a957f
Fixes a typo and adds an admonition about only being in Consul 0.7+. 2016-08-16 09:27:20 -07:00
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout. 2016-08-16 01:00:26 -07:00
James Phillips 315b9d4ea4 Tweaks translate_wan_addr documentation.
Adds a note about HTTP being 0.7 and later only.
2016-08-15 16:23:01 -07:00
James Phillips 4057c5bdde Update CHANGELOG.md 2016-08-15 16:19:55 -07:00
James Phillips 76beb4e7ed Update CHANGELOG.md 2016-08-15 16:18:38 -07:00
James Phillips affbb27416 Merge pull request #2275 from hashicorp/pr-2118-slackpad
Translates node addresses to WAN addresses where appropriate.
2016-08-15 16:16:56 -07:00
James Phillips b8fa011972
Updates docs for WAN address translation and tweaks some nearby unrelated docs. 2016-08-15 16:12:01 -07:00
James Phillips 55e83c9e1c
Tweaks the WAN address translation unit tests. 2016-08-15 15:34:11 -07:00
James Phillips ceaa5df2eb Merge pull request #2274 from hashicorp/jbs-command-line-anchor
Add anchor
2016-08-15 15:30:47 -07:00
James Phillips c0ff412650
Factors translate out into a separate file and makes safe for in-memory RPCs. 2016-08-15 15:05:02 -07:00
Brian Shumate f150a8a7a9 Add anchor 2016-08-15 16:48:54 -04:00
Xingyu Chen a570bf6fc2 Update gated_writer.go 2016-08-14 16:36:21 +08:00
James Phillips f7eaa06616
Makes the filled-in parts of ServiceNode more explicit. 2016-08-12 18:25:36 -07:00
David van Geest cdeff022dd
Translate Address to tagged WAN address in HTTP API when appropriate. 2016-08-12 18:25:36 -07:00
James Phillips e26b735264 Merge pull request #2272 from hashicorp/f-asset-update
Updates built-in UI static assets to latest.
2016-08-12 18:02:45 -07:00
James Phillips 3f50b9599a
Updates built-in UI static assets to latest. 2016-08-12 18:01:59 -07:00
James Phillips 12a101db23 Update CHANGELOG.md 2016-08-12 17:34:23 -07:00
James Phillips c2cc154957 Merge pull request #2271 from hashicorp/pr-2219-slackpad
Fixes incorrect domain and address translation for failed-over prepared query DNS responses.
2016-08-12 17:26:37 -07:00
James Phillips 456a4934f0
Runs `go fmt`. 2016-08-12 17:26:23 -07:00
James Phillips a53c6a38e2
Tweaks DNS prepared query failover unit test. 2016-08-12 17:16:08 -07:00
Max Timchenko 3b08db47dc
Corrects two issues with DNS prepared query failover
When DNS prepared query fails over to another datacenter and the datacenter
returns some nodes, the DNS result does not translate WAN addresses even when
translation is enabled for SRV and A queries, and returns the wrong datacenter
(the one that failed over) for SRV queries.
2016-08-12 17:06:43 -07:00
James Phillips 6dc6b3f1e2 Merge pull request #2241 from io41/patch-1
Update upgrading.html.markdown
2016-08-12 16:46:30 -07:00
James Phillips 9380a75acd Merge pull request #2244 from johananl/master
Fix string concatenation in consul.tf
2016-08-12 16:45:59 -07:00
James Phillips 077f048f0c Merge pull request #2246 from atomicpirate/patch-1
Minor fix: "lookup up" -> "looking up"
2016-08-12 16:45:41 -07:00
James Phillips 6392cb0a1e Update CHANGELOG.md 2016-08-12 14:59:26 -07:00
James Phillips b6c1543da8 Merge pull request #2267 from hashicorp/b-srv-trim
Fixes bug when trimming DNS SRV records.
2016-08-12 14:57:20 -07:00
James Phillips 17c10d78bc
Passes the index by reference so we can control the allocation. 2016-08-12 14:51:50 -07:00
James Phillips f7fcb03004
Makes name compares case-insensitive. 2016-08-12 12:16:21 -07:00
James Phillips eb2d86d454 Merge pull request #2270 from hashicorp/pr-2148-slackpad
Validates gossip encryption key before made persistent in local.keyring.
2016-08-12 11:55:22 -07:00
James Phillips de32a67c08
Updates the change log. 2016-08-12 11:53:49 -07:00
James Phillips 3c9851785a
Updates vendor info for memberlist. 2016-08-12 11:43:26 -07:00
R.B. Boyer 1c4b4ac54f
Validate gossip encryption key before made persistent in local.keyring 2016-08-12 11:42:45 -07:00
James Phillips 6332e2b367
Avoids allocations and function calls if no extra data is present. 2016-08-12 10:29:57 -07:00
James Phillips e30b99cef5
Renames "seen" to "resolved". 2016-08-11 22:01:57 -07:00
James Phillips 34d6c2d5e1
Fixes the DNS SRV trim bug. 2016-08-11 21:46:14 -07:00
James Phillips c93bf8da92 Update CHANGELOG.md 2016-08-11 16:30:18 -07:00
James Phillips 8c6a843949 Merge pull request #2266 from hashicorp/pr-2096-slackpad
Compresses all DNS responses by default.
2016-08-11 16:28:51 -07:00
James Phillips bcb0f71759
Finishes up DNS compression by adding opt-out, tests, and documentation. Fixes trim routine. 2016-08-11 16:27:08 -07:00
epipho 41db005d0b
Fix panic where r.Compress would be set before checking for errors. 2016-08-11 16:27:08 -07:00
epipho d965e90306
Compress all DNS responses to prevent them from going over the 512 byte
limit from RFC 1035
2016-08-11 16:27:08 -07:00
Sean Chittenden 0180f20352
Use the `gox` binary found in a user's $PATH, which we assume includes
$GOPATH/bin/

Fixes: 2110
2016-08-10 23:55:40 -07:00