Adam Harrison
a3dc2d0482
Smoketest dns-lookup
2015-07-14 17:36:30 +01:00
Adam Harrison
41834478d7
Rework documentation to use weave dns-lookup
2015-07-14 17:36:30 +01:00
Adam Harrison
6832ae20b0
Implement weave dns-lookup
2015-07-14 17:36:30 +01:00
Matthias Radestock
7ae06ef00d
Merge pull request #1126 from weaveworks/issues/1018-more-flexible-hostname-derivation
...
[proxy] More flexible container name -> hostname derivation
Closes #1018 .
2015-07-14 17:31:53 +01:00
Alvaro
a1ac0313e5
Merge pull request #1065 from weaveworks/gossipdns
...
Gossip-based DNS embedded in the router.
2015-07-14 18:30:16 +02:00
Tom Wilkie
361ed1b4a6
Resolve unqualified domains in the weave.local domain.
2015-07-14 16:05:41 +00:00
Alfonso Acosta
dfcc9678f3
Make weave usage fit into 80 columns
2015-07-14 16:02:19 +00:00
Tom Wilkie
8b061fd555
Gossip-based DNS embedded in the router.
...
- Nameserver holds a sorted list of (hostname, peer, container id, ip) tuples.
- Entries are gossiped using topology gossip / broadcast - only new/updated entries
are propogated as expected.
- Entries for a given peer are removed when the connection to the peer is lost.
- Entries are tombstoned when containers die. Tombstones are kept for 10mins,
as they do not need to survive partition, only gossip propagation delay.
2015-07-14 16:00:38 +00:00
Tom Wilkie
01f7201a9e
Remove legacy WeaveDNS code.
2015-07-14 16:00:28 +00:00
Alfonso Acosta
ded3d6b40b
Address PR comments
2015-07-14 15:31:44 +00:00
Tom Wilkie
f7739ef04c
Don't fail if docker rmi fails
2015-07-14 14:50:39 +00:00
Alfonso Acosta
4f82dc97fd
[proxy] More flexible container name -> hostname derivation
...
Provides to new two new flags: `--hostname-match <regexp>`
and `--hostname-replacement <replacement>`. When launching a container, its name
matched against regular expression `<regexp>`. Then, based on that match,
`<replacement>` will be used to generate a hostname, which will ultimately be
handed over to weaveDNS for registration.
The substitution is implemented with
https://golang.org/pkg/regexp/#Regexp.ReplaceAllString . Thus, references to
regexp substitution groups should be prepended with a dollar sign.
For instance, if we provide `--hostname-match '^aws-[0-9]+-(.*)$'` and
`--hostname-replacement 'my-app-$1'`, running a container named
`aws-12798186823-foo` through WeaveProxy will lead to WeaveDNS registering
`my-app-foo`.
Closes #1018
2015-07-14 14:41:44 +00:00
Matthias Radestock
16471d0a28
Merge branch '1.0'
...
Conflicts:
site/features.md
test/110_encryption_test.sh
2015-07-14 15:41:10 +01:00
Matthias Radestock
6386c1bd18
Merge branch 'latest_release_doc_updates' into 1.0
2015-07-14 15:36:55 +01:00
Matthias Radestock
2e93a4c18e
Merge pull request #1132 from weaveworks/issues/945-secure-router-config
...
Improvements to password handling recommendations
Closes #945 .
2015-07-14 15:31:20 +01:00
Matthias Radestock
0abd134a0d
Merge pull request #1133 from weaveworks/revert-1050-issues/987
...
Revert "Resolve unqualified names in the local WeaveDNS domain"
2015-07-14 15:06:19 +01:00
Matthias Radestock
18032015b9
Revert "Resolve unqualified names in the local WeaveDNS domain"
2015-07-14 16:06:05 +01:00
Adam Harrison
e26e7e29f2
Improvements to password handling recommendations
2015-07-14 14:48:58 +01:00
Matthias Radestock
39a1f2163f
Merge pull request #1050 from weaveworks/issues/987
...
Resolve unqualified names in the local WeaveDNS domain
Closes #987 .
2015-07-14 14:43:29 +01:00
Alvaro Saurin
4c519fc761
Smoke tests
2015-07-14 15:12:40 +02:00
Matthias Radestock
bbacaa42b8
cosmetic
2015-07-14 13:23:28 +01:00
Matthias Radestock
2f35ad1d42
Merge pull request #1098 from dpw/encrypt-features
...
New connection protocol version with encrypted features map
Closes #1029 . Closes #912 .
2015-07-14 13:20:18 +01:00
Bryan Boreham
6d17fe5df5
Need to restart docker after systemd reconfigure
2015-07-14 12:12:35 +01:00
Bryan Boreham
907de67a40
Merge pull request #1125 from weaveworks/smoke-overlay
...
Upgrade smoke-tests to use 'overlay' storage and Ubuntu 15.04
2015-07-14 11:51:53 +01:00
Tom Wilkie
499d65e715
Build cover tool by default, and do go get -t for tests, irregardless of $SLOW
2015-07-14 10:50:34 +00:00
Alvaro Saurin
efb0ead9ad
Resolve unqualified names in the local WeaveDNS domain
...
Unit tests
2015-07-14 10:46:41 +02:00
Matthias Radestock
85b4a05c9a
Merge branch '1.0'
2015-07-13 19:07:47 +01:00
Matthias Radestock
1f3d054b09
Merge pull request #1124 from weaveworks/issues/1037-mitigate-entropy-depletion
...
Mitigate entropy depletion
Closes #1037 .
2015-07-13 19:06:54 +01:00
Bryan Boreham
4853a1da05
Tell Docker to use 'overlay' storage driver
2015-07-13 18:28:29 +01:00
Bryan Boreham
db8016112e
Upgrade to Ubuntu 15.04
2015-07-13 18:28:11 +01:00
Tom Wilkie
4eb6d147b5
Merge pull request #1121 from weaveworks/test_large_packets
...
test that large packets can be transmitted over weave
2015-07-13 17:06:28 +01:00
Adam Harrison
e2f8b6f9fd
Document /dev/random blocking issue
2015-07-13 15:02:31 +01:00
Adam Harrison
f3c4a9fc6d
Limit router accept rate with token bucket
2015-07-13 15:02:31 +01:00
Adam Harrison
9634526a67
Add token bucket implementation
2015-07-13 15:01:04 +01:00
Adam Harrison
b67c102fe5
Remove simple sleep from router accept
2015-07-13 15:01:04 +01:00
Tom Wilkie
1e39b2bdcf
Merge pull request #1123 from weaveworks/remove-danglies
...
Remove Docker dangling images in smoke-tests
2015-07-13 14:38:04 +01:00
Adam Harrison
d6443809bd
Merge pull request #1120 from weaveworks/998-race
...
Various improvements to unit test running
2015-07-13 14:09:45 +01:00
Bryan Boreham
80e56d67db
Remove Docker dangling images after copying new ones
2015-07-13 14:03:47 +01:00
Tom Wilkie
24a4d6501e
Merge pull request #1117 from weaveworks/multi_hop_tests
...
Multi hop tests
2015-07-13 11:39:06 +01:00
Bryan Boreham
5e43f0fd4c
Merge pull request #1079 from weaveworks/68-rewrite-etc-hosts
...
LGTM. Closes #68 , with remainder to #1122
2015-07-13 11:03:20 +01:00
Tom Wilkie
13f1239a3e
Various improvements to unit test running
...
- units.sh should exit on error.
- Add race detector to unit test runner.
- Use local testing/cover/cover tool in gen_coverage_report.sh and units.sh
- Use the scheduler to parallelise the unit tests.
- Make test run id a string and differentiate between unit runs and integration runs in the scheduler.
- Pipe circle env vars through to build container so we can detect when to use the scheduler
- Add python requests to the weave build container.
- Quote test names in urls, make flask handle url segments with slashes in.
2015-07-13 09:33:52 +00:00
Matthias Radestock
9463ceb873
test that large packets can be transmitted over weave
2015-07-13 10:31:20 +01:00
Matthias Radestock
7aab5cc5b4
refactor: simplify NewPeers
2015-07-11 17:46:57 +01:00
Matthias Radestock
2b61bc91df
cosmetic: remove blank log lines
2015-07-11 16:43:33 +01:00
Matthias Radestock
57a4371e9f
attempt to cure spurious test failures
2015-07-11 16:31:16 +01:00
Matthias Radestock
1d2e6b4c56
test gossip forwarding
2015-07-11 16:17:36 +01:00
Matthias Radestock
2a0bc91f86
add test for peer discovery and multi-hop routing
2015-07-11 14:57:24 +01:00
Matthias Radestock
210b926064
increase number of test VMs from 2 to 3
2015-07-11 14:57:24 +01:00
Matthias Radestock
9a089a111f
don't invoke weave stop-router at end of tests
...
since that removes the container, rather than just stopping it.
2015-07-11 14:56:11 +01:00
Matthias Radestock
710eabeff3
reduce test vm memory
2015-07-11 12:15:46 +01:00