Adam Harrison
de17a44f35
Fix fragmentation test
...
The assumptions on which this test was based were violated by the
introduction of fast datapath. A new rule is required to block fast
datapath traffic, to ensure that sleeve is selected for forwarding; the
rules must also be moved from the FORWARD chain to INPUT as the router
now runs in the host netns (NB we use INPUT instead of OUTPUT as the
latter results in sleeve receiving an 'operation not permitted' udpv4
write error when it tries to send a packet that is too big, rather than
the packet just being silently dropped as required)
2016-01-25 10:58:31 +00:00
Adam Harrison
52ce4df18e
Increase the lowest possible good PMTU
...
The current minimum PMTU we can detect is eight bytes, which, being
lower than the minimum IPv4 MTU of 68 bytes, can cause an exception in
the sleeve packet fragmentation implementation. We increase that minimum
to 552, the lowest PMTU value that Linux will cache.
2016-01-25 10:53:10 +00:00
Adam Harrison
a64435a9a5
Adjust tests to accomodate docker/docker#14012
2016-01-21 17:28:54 +00:00
Adam Harrison
14944da396
Ignore stderr in proxy_addrs
2016-01-20 14:24:59 +00:00
Adam Harrison
a3974c2aeb
Abort inspect exec rewrite unless Containers node is present
2016-01-20 14:24:28 +00:00
Adam Harrison
2a2b2da097
Update Vagrant to use Wily 15.10
2016-01-20 09:17:07 +00:00
Adam Harrison
8a691814e2
Document vendored dependency management commands
2016-01-15 16:17:07 +00:00
Adam Harrison
5bf440d558
Merge branch '1.4'
2016-01-14 12:07:21 +00:00
Adam Harrison
c391092ea6
Add release v1.4.2
2016-01-14 11:40:17 +00:00
Adam Harrison
28561237ab
Merge branch '1.4'
2016-01-13 11:10:30 +00:00
Adam Harrison
a5ddba03f7
Merge branch '1.4'
2016-01-12 14:28:16 +00:00
Adam Harrison
bda8cff7c1
Merge branch '1.4'
2015-12-17 13:09:20 +00:00
Adam Harrison
ff9a6b91a4
Merge branch 'latest_release_doc_updates' into 1.4
2015-12-17 13:07:48 +00:00
Adam Harrison
d5aad8f8d2
Introduce limited retry on vxlan vport creation
...
The kernel processes vport deletion asynchronously, meaning that we can
sometimes fail to recreate vxlan vports on startup with an EADDRINUSE
error. We compensate by retrying a small number of times with a short
sleep on encountering this error, failing as before on a different error
or exhaustion of retries.
2015-12-16 11:51:28 +00:00
Adam Harrison
e12dbb4605
Disable pcap optimisation of encrypted sleeve
...
Prior to optional encryption support, enabling encryption disabled the
fast datapath overlay (because it doesn't support encryption) but left
the OVS datapath netdev in place for bridging (so that users could
switch encryption on and off without resetting the bridge). In this
situation the ODP miss handler is guaranteed to be invoked for every
packet, so as an optimisation the weave script configured the router to
use pcap to capture packets from the bridge as that is slightly more
efficient. The introduction of optional encryption means the guarantee
no longer holds, and so the optimisation must be removed.
2015-12-15 14:51:21 +00:00
Adam Harrison
85d4b1f137
Smoke test trusted subnets
2015-12-14 12:13:16 +00:00
Adam Harrison
b9792f8f96
Document trusted subnets
...
Update features and troubleshooting markdown.
2015-12-14 12:13:16 +00:00
Adam Harrison
e0cb9cf24d
Restore leading whitespace to weave status
2015-12-14 12:13:16 +00:00
Adam Harrison
4e41d4d451
Add trusted subnets to weave status
...
`weave status` now displays the list of specified trusted subnets, and
`weave staus connections` shows the encryption state of individual
connections.
2015-12-14 12:13:16 +00:00
Adam Harrison
059cc65b55
Fallback to encrypted sleeve on a per-connection basis
...
If overlay encryption is required between peers, the fast datapath
forwarder returns an error rather than aborting the process, allowing
the overlay switch to fall back gracefully to an encrypted sleeve
overlay connection.
2015-12-14 12:13:11 +00:00
Adam Harrison
d434b50dfc
Include trust level in features exchange
...
Add a 'Trusted' feature to the protocol exchange which indicates whether
the remote considers us to be reachable via a secure network; overlay
encryption will be disabled in the event that both peers agree. For
backwards compatibility purposes a default value of untrusted is assumed
if the feature is missing.
2015-12-14 12:12:25 +00:00
Adam Harrison
96f69583e7
Smoke test --no-multicast-route
2015-12-14 11:53:06 +00:00
Adam Harrison
ce25f58639
weave launch-proxy accepts --no-multicast-route
2015-12-14 11:53:06 +00:00
Adam Harrison
367b73e6e3
Introduce nomcast weavewait
2015-12-14 11:53:06 +00:00
Adam Harrison
98a7d3fc99
weave run and weave attach accept --no-multicast-route
2015-12-14 11:53:06 +00:00
Adam Harrison
c3e1f5a6c6
.gitignore tls binary
2015-12-10 10:08:04 +00:00
Adam Harrison
d0be36dc9b
Merge branch '1.3'
...
Conflicts:
Makefile
2015-12-08 16:53:47 +00:00
Adam Harrison
827a7c1cf1
Merge branch '1.3'
2015-12-04 10:09:15 +00:00
Adam Harrison
0935e0a13d
Merge branch '1.3'
2015-11-30 14:09:44 +00:00
Adam Harrison
2f69b4d190
Mention WEAVE_MTU
2015-11-26 10:39:41 +00:00
Adam Harrison
57a15a4e96
Add fast datapath high level overview
2015-11-26 10:36:52 +00:00
Adam Harrison
8ac745b4e5
Lock read of miss counter
2015-11-25 17:05:19 +00:00
Adam Harrison
890522f6f4
Add hidden weave bridge-type command
2015-11-25 16:31:32 +00:00
Adam Harrison
c8aa032051
Eliminate function name stutter
2015-11-25 16:31:32 +00:00
Adam Harrison
9830c146d0
The bridge netdev is always named weave
2015-11-25 16:31:32 +00:00
Adam Harrison
00c9164fdb
Pass WEAVE_NO_BRIDGED_FASTDP to remote for testing
2015-11-25 16:31:32 +00:00
Adam Harrison
a31e7118b4
Optional intermediary bridge netdev
2015-11-25 16:31:32 +00:00
Adam Harrison
82cf4358ce
Add release v1.3.1
2015-11-23 12:06:10 +00:00
Adam Harrison
bdcf930e25
Merge branch '1.3'
2015-11-20 11:08:49 +00:00
Adam Harrison
9263d3e82c
Fix erroneously hyphenated Docker TLS arguments
2015-11-18 10:24:46 +00:00
Adam Harrison
02b7fd53ed
Merge tag 'v1.3.0' into latest_release_doc_updates
...
Resetting doc update branch for 1.3.0 release.
2015-11-18 10:14:10 +00:00
Adam Harrison
7987d09438
Revert "Merge pull request #1580 from weaveworks/1579-launch-proxy-mount-h"
...
This reverts commit 262352f8bb , reversing
changes made to 312691376a due to a bug
whereby `weave env` returns a unix domain socket with an incorrect path.
This change will be superceeded by #1694 .
2015-11-17 16:28:31 +00:00
Adam Harrison
af3fc82b77
Add release v1.3.0
2015-11-12 16:49:33 +00:00
Adam Harrison
3bb7036cfd
Runner depends on tools
2015-11-12 16:48:56 +00:00
Adam Harrison
b4dd9c2490
Add plugin to features doc
2015-11-12 16:01:01 +00:00
Adam Harrison
04ab198e95
Set restart policy to 'always'
...
Docker attempts to recreate networks on startup which means the plugin
container has to be started. If it isn't started automatically by Docker
with a restart policy, it's not possible to start it manually because
Docker is blocked.
2015-11-12 14:58:54 +00:00
Adam Harrison
c345700963
Add plugin to weave status
2015-11-12 14:58:54 +00:00
Adam Harrison
b21afcb78f
Implement weave launch-plugin and weave stop-plugin
2015-11-12 14:56:13 +00:00
Adam Harrison
7f65530b26
weave setup fetches plugin
2015-11-12 14:56:13 +00:00
Adam Harrison
0661ccdea9
Revert "Revert "Disable restart of docker""
...
This reverts commit 76db732f1b .
2015-11-11 10:10:17 +00:00
Adam Harrison
76db732f1b
Revert "Disable restart of docker"
...
This reverts commit a400a3dd09 .
2015-11-10 10:24:58 +00:00
Adam Harrison
f039221ec9
Merge remote-tracking branch 'origin/create-mesh'
...
Closes #1659 .
2015-11-09 17:16:35 +00:00
Adam Harrison
e5c69801a7
Merge remote-tracking branch 'origin/separate-overlay'
...
Closes #1648 .
2015-11-09 16:17:41 +00:00
Adam Harrison
ab5f4410b6
Add release v1.2.1
2015-11-05 14:34:13 +00:00
Adam Harrison
3abb657777
Document port security
2015-11-05 12:23:17 +00:00
Adam Harrison
4dd63d8f72
Bind the HTTP listener to localhost when fastdp enabled
...
Prevent containers from accessing the weave router control port when
fast datapath is in use.
2015-11-05 12:23:17 +00:00
Adam Harrison
d6dd1f269a
Document port security
2015-11-05 12:16:57 +00:00
Adam Harrison
67c2d53e59
Bind the HTTP listener to localhost when fastdp enabled
...
Prevent containers from accessing the weave router control port when
fast datapath is in use.
2015-11-04 17:42:24 +00:00
Adam Harrison
781c805e10
Merge branch '1.2'
2015-11-04 15:32:17 +00:00
Adam Harrison
94984df047
Merge branch '1.2'
2015-11-03 16:57:15 +00:00
Adam Harrison
06eaac8690
Don't assert ethwe carrier via the proxy
...
The test script runs commands inside containers via docker exec to
ensure the ethwe carrier is up. We must not run these commands via the
proxy because it will interpose weavewait, which will block forever if
attachment has failed (e.g. due to #1556 ).
2015-11-03 15:42:37 +00:00
Adam Harrison
6b9e8816d1
Wait for proxy to become available after docker is restarted
2015-11-03 15:33:37 +00:00
Adam Harrison
abc653c87d
Fix merge breakage
2015-11-03 10:13:43 +00:00
Adam Harrison
7e1b7a2fcd
Merge branch '1.2'
2015-11-02 17:28:31 +00:00
Adam Harrison
ccae8d42fd
Merge remote-tracking branch 'dpw/fdp-probe-vxlan' into 1.2
...
Fixes #1599
2015-11-02 17:24:52 +00:00
Adam Harrison
c3a53a6ec5
Merge remote-tracking branch 'upstream/1.2'
2015-11-02 15:21:06 +00:00
Adam Harrison
f64f63f675
Handle truncated responses from upstream servers
2015-11-02 15:00:02 +00:00
Adam Harrison
f0fb44f6d4
Update unit test for miekg DNS API change
2015-11-02 13:24:04 +00:00
Adam Harrison
4792fe6391
Improved detection of router container restart
...
Use the container name in addition to the entrypoint to avoid triggering
reattachment unnecessarily.
2015-10-27 14:41:26 +00:00
Adam Harrison
7408f72de2
Check weaveDNS subdomain on REST PUT
2015-10-27 14:37:57 +00:00
Adam Harrison
caccba18e9
Mention fast datapath port
2015-10-22 11:58:14 +01:00
Adam Harrison
40922b88f7
Reorder inspect template to work around docker/docker#17026
2015-10-21 12:39:55 +01:00
Adam Harrison
3f08ddefe9
Correct DisplayName implementation
2015-10-16 12:24:38 +01:00
Adam Harrison
9b17470129
Document fast data path feature
2015-10-15 17:19:13 +01:00
Adam Harrison
813edcfe0a
Merge branch '1.1'
2015-10-15 14:59:29 +01:00
Adam Harrison
dea1405d71
Remove hardcoded docker bridge IP from proxy test
2015-10-15 14:39:56 +01:00
Adam Harrison
ed4ed5fdcd
Include short peer ID in report JSON
2015-10-13 17:04:56 +01:00
Adam Harrison
eaf1f7cc13
Include overlay diagnostics in report JSON
2015-10-13 17:04:56 +01:00
Adam Harrison
ddfc8c2fa4
Handle JSON report marshalling error
2015-10-13 17:04:56 +01:00
Adam Harrison
91afa7f7f4
Include selected overlay type in connection status
2015-10-13 17:04:56 +01:00
Adam Harrison
bbf7646751
Update docker repo, keys and package name
2015-09-15 11:33:53 +01:00
Adam Harrison
6dfefb95e8
Advise installation of weaveworks github-release fork
2015-09-15 10:47:43 +01:00
Adam Harrison
44c2861aba
Update release process doc
2015-09-15 10:41:41 +01:00
Adam Harrison
3039046a6d
Strip v prefix for mainline and branch releases
2015-09-15 10:41:24 +01:00
Adam Harrison
2ffe9b53f7
Merge branch '1.1'
2015-09-14 14:21:36 +01:00
Adam Harrison
3d4a8aaad1
Merge branch '1.1'
2015-09-10 17:24:26 +01:00
Adam Harrison
ac145052d6
Correct weave stop advice
...
Fixes #1408 .
2015-09-10 17:23:33 +01:00
Adam Harrison
be304365a0
Merge branch '1.1'
2015-09-09 14:26:34 +01:00
Adam Harrison
676127893f
Escape double curly braces eaten by Jekyll/Liquid
2015-09-09 14:21:31 +01:00
Adam Harrison
df62d512cd
Correct weave report example in troubleshooting guide
2015-09-09 14:00:53 +01:00
Adam Harrison
fc00767cf8
Remove reference to 1.0 from README
2015-09-09 13:56:25 +01:00
Adam Harrison
64e3cf04cc
Add release v1.1.0
2015-09-07 16:43:03 +01:00
Adam Harrison
4f9185e3fe
Merge branch 'weave_1.1_readme_updates'
2015-09-07 16:38:28 +01:00
Adam Harrison
4dbccea5df
Add missing quotes
2015-09-07 16:38:02 +01:00
Adam Harrison
a412268154
Merge branch '1.0'
2015-09-07 15:59:17 +01:00
Adam Harrison
5c0383059e
Update documentation
2015-09-04 15:45:27 +01:00
Adam Harrison
6f672f9bc1
Infer release type
...
Script adjusts its behaviour based on the format of the version tag.
2015-09-04 15:44:48 +01:00
Adam Harrison
5dfe1d28ff
Add release 1.0.3
2015-09-03 15:02:57 +01:00
Adam Harrison
5744ed8994
Document release process
2015-09-03 13:01:29 +01:00
Adam Harrison
0125e67b35
Implement smoke test
2015-09-03 09:59:37 +01:00