Bryan Boreham
41482aff01
Update plugin README and documentation
2015-12-15 16:52:37 +00:00
Bryan Boreham
b709cdeab5
Create local and global network from the same driver and create local-scope weave network by default on weave launch
2015-12-15 16:47:18 +00:00
Bryan Boreham
e2f936fde3
Rework version check
...
- extract function so we can use the check elsewhere
- use shell variable expansion rather than exec-ing 'cut'
2015-12-15 16:40:43 +00:00
Bryan Boreham
c973808b20
Merge pull request #1758 from weaveworks/issues/82-optional-encryption
...
Make encryption optional; fixes #82 , #1788 . LGTM.
2015-12-15 15:23:58 +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
e0cb9cf24d
Restore leading whitespace to weave status
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
ce25f58639
weave launch-proxy accepts --no-multicast-route
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
Bryan Boreham
68d6c262d1
Remove --with-dns option from proxy
2015-12-12 14:12:39 +00:00
Adam Harrison
01706df7c8
Merge pull request #1753 from weaveworks/1751-remove-unused-vars
...
remove CLIENT_TLS_ENABLED and DOCKER_CLIENT_TLS_VERIFY, as they're unused
2015-12-04 10:19:09 +00:00
Adam Harrison
827a7c1cf1
Merge branch '1.3'
2015-12-04 10:09:15 +00:00
Adam Harrison
d14d9933b4
Merge pull request #1750 from weaveworks/add-some-quotes
...
quote $@
2015-12-04 10:08:34 +00:00
Adam Harrison
af946893f0
Merge pull request #1749 from weaveworks/remove-eqeq-non-posixism
...
'==' is not POSIX
2015-12-04 10:08:26 +00:00
Paul Bellamy
245ae5e987
remove CLIENT_TLS_ENABLED and DOCKER_CLIENT_TLS_VERIFY, as they're unused
2015-12-02 17:17:04 +00:00
Matthias Radestock
29f3d711c6
Merge branch '1.3'
2015-12-02 15:34:07 +00:00
Matthias Radestock
3909936cc8
cosmetic(ish) use PROXY_PORT
2015-12-02 15:33:38 +00:00
Matthias Radestock
0602c91c54
quote $@
2015-12-02 15:28:41 +00:00
Matthias Radestock
a7bdb02a2b
Merge remote-tracking branch 'upstream/master'
2015-12-02 14:33:28 +00:00
Matthias Radestock
2cfaf5a119
Merge branch '1.3'
2015-12-02 14:23:28 +00:00
Matthias Radestock
20a48f05b3
fix (harmless) typo
2015-12-02 14:22:23 +00:00
Matthias Radestock
4e70fb7f9d
'==' is not POSIX
2015-12-02 14:20:29 +00:00
Adam Harrison
1f438dbf71
Merge pull request #1740 from weaveworks/1694-symlink-into-var-run-2
...
Symlink sockets to /var/run/weave/weave.sock from inside the proxy
2015-12-02 14:12:02 +00:00
Bryan Boreham
a13351a9eb
Merge pull request #1712 from weaveworks/issues/1577-interpose-bridge-netdev
...
Optional intermediary bridge netdev. Fixes #1577 .
2015-11-30 15:54:14 +00:00
Paul Bellamy
cd7c88e5a5
[proxy] Symlink sockets to /var/run/weave/weave.sock from inside the proxy
...
We copy docker.sock owner to symlinks. Permissions are not copied,
because the permissions will inherit from the target.
use versioned exec image to create symlinks
2015-11-30 15:45:30 +00:00
Adam Harrison
b2b68119fc
Merge pull request #1719 from weaveworks/issues/1653-make-dir
...
Ensure /var/run/weave directory exists before telling Docker to use it
2015-11-30 13:57:37 +00:00
Adam Harrison
ba6f8da1e4
Merge pull request #1670 from weaveworks/issues/1634-block-6783-6784
...
Forbid traffic to the Weave port from containers
2015-11-26 16:52:34 +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
Bryan Boreham
ea5bae711b
Ensure /var/run/weave directory exists before telling Docker to use it
2015-11-25 13:56:09 +00:00
Paul Bellamy
3bae4b0d93
Revert "Automatically symlink /var/run/*.sock sockets to /var/run/weave/*.sock"
2015-11-20 16:23:40 +00:00
Adam Harrison
1432bd7a81
Merge pull request #1696 from weaveworks/1694-symlink-into-var-run
...
Automatically symlink /var/run/*.sock sockets to /var/run/weave/*.sock
2015-11-20 16:23:12 +00:00
Adam Harrison
bdcf930e25
Merge branch '1.3'
2015-11-20 11:08:49 +00:00
Bryan Boreham
bbf26fc3e8
Raise minimum Docker version to 1.6 to address #1683
2015-11-20 10:44:45 +00:00
Alvaro Saurin
ddb390d5ec
Forbid traffic to the Weave port from other containers
...
Make sure we have the Docker bridge IP before adding/removing iptables rules
2015-11-19 14:46:28 +01:00
Paul Bellamy
77bc22baf5
[proxy] Auto-symlink /var/run/*.sock in from /var/run/weave/*.sock
...
Avoids the obscure warning for users
2015-11-17 17:25:21 +00:00
Paul Bellamy
f57988761c
Revert "Revert "Merge pull request #1580 from weaveworks/1579-launch-proxy-mount-h""
...
This reverts commit 7987d09438 .
2015-11-17 17:15:28 +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
262352f8bb
Merge pull request #1580 from weaveworks/1579-launch-proxy-mount-h
...
[proxy] dynamically mount -H dirs into the proxy when launching
2015-11-17 14:52:17 +00:00
Paul Bellamy
e8c56a8e8e
Review Feedback
2015-11-17 14:49:50 +00:00
Paul Bellamy
e80a83b30b
adding work around to the proxy /var/run warning
2015-11-17 09:40:34 +00:00
Paul Bellamy
d80e72dfcd
[proxy] dynamically mount -H dirs into the proxy when launching
...
This lets you use -H unix://*.sock outside /var/run/weave. Using a
socket directly in /var/run (i.e. /var/run/foo.sock), will reintroduce
the bug with namespaces not being GCed, so that is a warning.
2015-11-17 09:40:34 +00:00
Paul Bellamy
f458491d88
[proxy] add --no-detect-tls flag, and proxy always tries to detect TLS.
2015-11-13 15:27:27 +00:00
Bryan Boreham
d802eb485b
Merge pull request #1664 from weaveworks/weave-launch-plugin
...
Add plugin support to weave script. LGTM.
2015-11-12 16:04:41 +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