Commit graph

4338 commits

Author SHA1 Message Date
James Phillips 607595f99e
Cleans up based on code review feedback. 2016-08-16 12:52:30 -07:00
James Phillips fef57361a5 Update CHANGELOG.md 2016-08-16 11:40:48 -07:00
James Phillips dc9805d825 Update CHANGELOG.md 2016-08-16 11:38:39 -07:00
James Phillips 30dde94c75 Update CHANGELOG.md 2016-08-16 11:38:25 -07:00
James Phillips a821f60a8f Update CHANGELOG.md 2016-08-16 11:37:58 -07:00
James Phillips 59fa4b3ae3 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 bc333335be
Adds an X-Consul-Translate-Addresses to signal translation is enabled. 2016-08-16 11:31:41 -07:00
James Phillips 817d7e93e4
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 742fcf7a24
Adds missing TaggedAddress structures to API client. 2016-08-16 10:30:30 -07:00
James Phillips f517f9ed0d
Fixes a typo and adds an admonition about only being in Consul 0.7+. 2016-08-16 09:27:20 -07:00
James Phillips b4f981c837
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 4ca26f68fd 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 94bb1945e1 Update CHANGELOG.md 2016-08-15 16:19:55 -07:00
James Phillips a051c9b42e Update CHANGELOG.md 2016-08-15 16:18:38 -07:00
James Phillips 3af9257cb8 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 ee2e161dfe
Updates docs for WAN address translation and tweaks some nearby unrelated docs. 2016-08-15 16:12:01 -07:00
James Phillips 12e6db464b
Tweaks the WAN address translation unit tests. 2016-08-15 15:34:11 -07:00
James Phillips 2af0acdbfb Merge pull request #2274 from hashicorp/jbs-command-line-anchor
Add anchor
2016-08-15 15:30:47 -07:00
James Phillips c066c2e70a
Factors translate out into a separate file and makes safe for in-memory RPCs. 2016-08-15 15:05:02 -07:00
Brian Shumate dc7824b0cd Add anchor 2016-08-15 16:48:54 -04:00
James Phillips 1f539d9914
Makes the filled-in parts of ServiceNode more explicit. 2016-08-12 18:25:36 -07:00
David van Geest 360e196c93
Translate Address to tagged WAN address in HTTP API when appropriate. 2016-08-12 18:25:36 -07:00
James Phillips 772cbe7b54 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 8e8f840169
Updates built-in UI static assets to latest. 2016-08-12 18:01:59 -07:00
James Phillips dcc1bd7203 Update CHANGELOG.md 2016-08-12 17:34:23 -07:00
James Phillips 8d0fd83fe3 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 4915790bdc
Runs go fmt. 2016-08-12 17:26:23 -07:00
James Phillips 6c4a8d8383
Tweaks DNS prepared query failover unit test. 2016-08-12 17:16:08 -07:00
Max Timchenko 90f49354d6
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 64ff915823 Merge pull request #2241 from io41/patch-1
Update upgrading.html.markdown
2016-08-12 16:46:30 -07:00
James Phillips b4f2599225 Merge pull request #2244 from johananl/master
Fix string concatenation in consul.tf
2016-08-12 16:45:59 -07:00
James Phillips 31ad878324 Merge pull request #2246 from atomicpirate/patch-1
Minor fix: "lookup up" -> "looking up"
2016-08-12 16:45:41 -07:00
James Phillips 2fe89dde2a Update CHANGELOG.md 2016-08-12 14:59:26 -07:00
James Phillips a379078e3e 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 a666dc44b3
Passes the index by reference so we can control the allocation. 2016-08-12 14:51:50 -07:00
James Phillips de95fe8638
Makes name compares case-insensitive. 2016-08-12 12:16:21 -07:00
James Phillips ed92f43865 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 7d20e2327e
Updates the change log. 2016-08-12 11:53:49 -07:00
James Phillips a32990f402
Updates vendor info for memberlist. 2016-08-12 11:43:26 -07:00
R.B. Boyer 291a468c87
Validate gossip encryption key before made persistent in local.keyring 2016-08-12 11:42:45 -07:00
James Phillips 45e2879eb5
Avoids allocations and function calls if no extra data is present. 2016-08-12 10:29:57 -07:00
James Phillips e05c77b9bf
Renames "seen" to "resolved". 2016-08-11 22:01:57 -07:00
James Phillips 6c22c48326
Fixes the DNS SRV trim bug. 2016-08-11 21:46:14 -07:00
James Phillips 567b354ed2 Update CHANGELOG.md 2016-08-11 16:30:18 -07:00
James Phillips 9afac9e2c3 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 086a5af5ff
Finishes up DNS compression by adding opt-out, tests, and documentation. Fixes trim routine. 2016-08-11 16:27:08 -07:00
epipho f31f1c04e9
Fix panic where r.Compress would be set before checking for errors. 2016-08-11 16:27:08 -07:00
epipho 6d17b4eb67
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 e333e58dc7
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
James Phillips 35d9a3ea4c Merge pull request #2122 from pszymczyk/master
Add embedded-consul to download_tools page
2016-08-10 17:57:10 -07:00