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
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
Adam Harrison
1472e35011
Update documentation
2015-09-03 09:59:37 +01:00
Adam Harrison
58ea422ea2
Optional address argument to dns-add/dns-remove
2015-09-02 17:10:48 +01:00
Adam Harrison
3097565664
Merge branch '1.0'
...
Conflicts:
site/weavedns.md
2015-09-02 17:09:39 +01:00
Adam Harrison
81134b408d
Merge branch 'latest_release_doc_updates' into 1.0
2015-09-02 17:07:48 +01:00
Adam Harrison
26fdd5da03
Remove misplaced sentence
2015-09-02 17:06:23 +01:00
Adam Harrison
6a5df80bda
Fix latest_release hash test
...
Obtain the version and latest_release tag commit hashes before changing
into the cloned repository so that all tagging and pushing happens on
the outer repository.
2015-09-02 14:13:11 +01:00
Adam Harrison
b13baccbd2
Introduce draft step
...
The publish stage has been split into two pieces - a draft step that
creates a draft version release in Github and a publish step that
publishes the draft, updates `latest_release` and pushes images to
DockerHub.
It is also possible to specify `--pre-release` to draft. Once published
such a release will be marked with a prominent warning in GitHub;
additionally we do not update `latest_release` in GitHub nor push an
update to the `latest` tag in DockerHub.
2015-09-01 17:04:11 +01:00
Adam Harrison
82f2f7b2b9
Check for required tooling at top level
...
Pull common checks out to top level in preparation for the introduction
of an additional process step.
2015-09-01 17:04:11 +01:00
Adam Harrison
f48a4373d1
Allow freeform version tags
...
To support arbitrarily named pre-releases we no longer impose any
restrictions on the format of the most recent annotated tag - instead we
expect to find a single annotated tag pointing at HEAD of the current
branch and assume this is the version to release.
2015-09-01 17:04:11 +01:00
Adam Harrison
ab9d1777a1
Support make UPDATE_LATEST=false publish
...
When publishing pre-releases via the release script we do not want to
modify the `latest` tag in DockerHub - specifying UPDATE_LATEST=false
causes publish to push to $WEAVE_VERSION only. Omitting the flag
entirely retains the existing behaviour for backwards compatability.
2015-09-01 17:04:11 +01:00
Adam Harrison
ca94cfffe7
Detect REJECT rule in FORWARD chain
2015-08-21 16:25:49 +01:00
Adam Harrison
1e83e7a95c
Merge branch '1.0'
2015-08-20 15:33:59 +01:00
Adam Harrison
086ab9d126
Correct MaxUDPPacketSize constant
2015-08-20 15:22:10 +01:00
Adam Harrison
fc9a1c8664
new weave status, weave status ..., and weave report
2015-08-11 12:15:13 +01:00
Adam Harrison
00ecff09f7
Move status HTTP handlers into prog/weaver/http.go
2015-08-11 12:01:27 +01:00
Adam Harrison
278807a199
Move router HTTP handlers into router/http.go
2015-08-11 12:01:27 +01:00