Commit Graph
136 Commits
Author SHA1 Message Date
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
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
Matthias Radestock 1274dc6e01 yet more link fixing 2014-08-30 15:47:55 +01:00
Matthias Radestock 35c7457e54 more link fixing 2014-08-30 15:46:45 +01:00
Matthias Radestock f0a506c6d9 fix link 2014-08-30 15:42:52 +01:00
Matthias Radestock 731454a406 introduce 'weave expose'
which simplifies access to containers from the host, as well as
external access.
2014-08-30 15:40:50 +01:00
Matthias Radestock b9be18c386 set up masquerading as part of 'weave launch'
thus simplifying external access
2014-08-30 14:25:00 +01:00
Matthias Radestock 038d5c4f80 cosmetic 2014-08-30 11:46:03 +01:00
Matthias Radestock 86f993a1e8 cosmetic 2014-08-30 11:45:29 +01:00
Matthias Radestock 53f06c07a5 document external service access 2014-08-30 11:44:03 +01:00