Matthias Radestock
b9190e9be0
make app isolation example easier to read
2014-09-06 18:23:23 +01:00
Bryan Boreham
b69682a626
Merge remote-tracking branch 'upstream/master' into 23_retry_peers
2014-09-05 19:03:49 +01:00
Bryan Boreham
783ee21461
Continue after we establish that there is nothing left to do for failedCOnnection
2014-09-05 18:28:42 +01:00
Matthias Radestock
64df1c3ca3
update diagrams
2014-09-05 17:10:26 +01:00
Bryan Boreham
5c7010625a
Remove entries from the failedConnection list when they succeed.
...
Avoids unsightly error messages where both ends make the same
connection and we then have to drop one of them.
2014-09-05 15:45:32 +01:00
Matthias Radestock
8e6a9fb9b8
explain the 'iptables -w' check
2014-09-05 14:35:43 +01:00
rade
550aa3045d
Merge pull request #25 from dpw/24_iptables_w
...
Check that 'iptables -w' is supported before using it
Fixes #24
2014-09-05 14:33:29 +01:00
Bryan Boreham
2d387e3847
Removed ConnectionMaker.activeConnections which is never used
2014-09-05 14:28:47 +01:00
Bryan Boreham
54d7972b5e
Don't start a new connection attempt until all in-flight attempts for this peer have finished
...
Also cleaned up the naming slightly
2014-09-05 14:26:42 +01:00
David Wragg
91268fa0ba
Check that 'iptables -w' is supported before using it
...
'-w' was only introduced in a recent version of iptables. It means
"Wait for the xtables lock", so it seems reasonable to proceed without
it for older versions.
2014-09-05 12:51:41 +01:00
Bryan Boreham
4f0741376d
Merge branch '23_retry_peers' of https://github.com/bboreham/weave into 23_retry_peers
2014-09-05 11:34:08 +01:00
Bryan Boreham
09271f4848
Track which connections we are currently attempting a connect on, so we don’t do multiple attempts at the same time to the same endpoint
2014-09-05 11:16:13 +01:00
Bryan Boreham
a5be96d35f
Kick off the first connection attempt to each peer using ConnectionMaker instead of calling CreateConnection directly.
2014-09-05 11:11:38 +01:00
Matthias Radestock
fb2f0f7f23
apparently more docker versions work
2014-09-05 10:39:23 +01:00
Matthias Radestock
e156715210
add another diagram
2014-09-05 10:21:22 +01:00
Matthias Radestock
71691f42f2
move diagram
2014-09-05 10:12:38 +01:00
Matthias Radestock
d0ca3fad34
a diagram
2014-09-05 10:09:17 +01:00
Matthias Radestock
a303b358e8
s/AMZN/EC2/g
2014-09-04 21:43:04 +01:00
Matthias Radestock
1b2a7d66c5
Merge branch 'master' of github.com:zettio/weave
2014-09-04 20:21:02 +01:00
Matthias Radestock
e848c6737b
explain inner workings
2014-09-04 20:20:03 +01:00
rade
acfefed142
Merge pull request #17 from bboreham/11_http_interface
...
add 'weave status'
closes issue #11
2014-09-04 15:33:10 +01:00
Bryan Boreham
f8ae0cd3f6
Add ‘weave status’ to the README
2014-09-04 15:27:38 +01:00
Bryan Boreham
733af3f108
Swap round 'status' and 'stop' in usage
2014-09-04 15:24:18 +01:00
Bryan Boreham
c930ef38dc
Improved error message on http ListenAndServe
2014-09-04 14:59:48 +01:00
Bryan Boreham
04ca3d2469
Addressed various points raised in review: error-handling, simplified Fprint call
2014-09-04 14:44:42 +01:00
Bryan Boreham
67d8220bdf
Convert one further use of 'command -v' into the function command_exists
2014-09-04 13:04:19 +01:00
Bryan Boreham
43d8781fdd
Merge remote-tracking branch 'upstream/master' into 11_http_interface
...
Conflicts:
consts.go
weaver/weave
2014-09-04 13:02:14 +01:00
Matthias Radestock
8b8fc06fcf
cosmetic
2014-09-04 07:36:10 +01:00
Matthias Radestock
679e9b52b2
add some error logging that was missing
2014-09-04 07:32:11 +01:00
Matthias Radestock
e72803e564
remove duplicate code
2014-09-04 07:29:11 +01:00
Matthias Radestock
b19abe4eab
move logging out of peer_cache
2014-09-04 00:02:08 +01:00
Matthias Radestock
9706934d89
log mac expiry
...
for symmetry with mac discovery
and w/o polluting the mac_cache code with logging
2014-09-03 23:43:40 +01:00
Matthias Radestock
a7e44b44dc
match on bridge name in iptable masquerade rules
...
Instead of ip/netmask. This should be functionally equivalent (for
now), and makes it easier to identify the rule as belonging to
weave. Unfortunatley we must still match the source with ip/netmask,
since we are in the POSTROUTING chain and source interface matches
aren't valid there.
See also issue #20 .
2014-09-03 19:09:52 +01:00
Matthias Radestock
3fd3ff06b3
update arch docs around pmtu discovery
2014-09-03 15:22:50 +01:00
Matthias Radestock
0767964934
introduce 'weave hide'
2014-09-03 11:17:24 +01:00
Matthias Radestock
d0dc7b7556
'service import' feature
2014-09-03 09:05:59 +01:00
Matthias Radestock
7cc2581a94
fix typo
2014-09-03 09:04:46 +01:00
Matthias Radestock
1b40c842eb
add contact details
2014-09-01 22:34:15 +01:00
Matthias Radestock
f52fc71ef8
add forward reference to interesting feature
2014-09-01 17:21:06 +01:00
Matthias Radestock
0a7df2220c
introduce 'weave stop'
...
which, as well as stopping&removing the weave container also clears
the UDP connection tracking for the weave port, without which UDP
connections to a quickly (<3min) re-started weave would fail.
Fixes #18
2014-09-01 16:08:47 +01:00
Matthias Radestock
aed818fb22
fix link
2014-09-01 00:18:52 +01:00
Matthias Radestock
37a9c13761
make a note of issue #18 in readme
2014-09-01 00:15:43 +01:00
Matthias Radestock
eea1fbe536
simplify instructions - no need to capture weave container id
...
since it's a named container
2014-08-31 22:37:01 +01:00
Matthias Radestock
1676f10405
fix some typos
2014-08-31 15:22:03 +01:00
Matthias Radestock
971f6a63fd
Turns out one OS thread isn't enough
2014-08-31 14:43:06 +01:00
Matthias Radestock
2649796369
discover pmtu with binary search
...
issue #15
2014-08-31 13:39:44 +01:00
Matthias Radestock
848d852e0d
oops
2014-08-31 13:07:38 +01:00
Matthias Radestock
7dd0bcd1e0
deal with pmtu verification confirmation in forwarder goroutine
...
...rather than connection goroutine.
This is a precurser to smarter pmtu verification, the logic for which
is in the forwarder.
issue #15
2014-08-30 23:18:44 +01:00
Matthias Radestock
aef5111af2
switch tcp nc service for bulk of examples
...
since udp nc is full of weirdness
2014-08-30 16:30:35 +01:00
Matthias Radestock
309516ce78
correct ports in example
2014-08-30 16:15:53 +01:00