Commit Graph
97 Commits
Author SHA1 Message Date
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
Matthias Radestock 2e73fbb797 link to architecture documentation 2014-08-30 10:06:12 +01:00
Matthias Radestock 98257d0df6 switch to ubuntu image for examples
It comes with more stuff pre-installed, such as 'nc', so makes
experimentation just a little more convenient.
2014-08-30 09:59:13 +01:00
Matthias Radestock 5b6dc2d762 (slightly) faster pmtu discovery
Issues with the previous scheme...

When we have just encountered an EMSGSIZE, the odds of encountering
another one straight away, when attemtping to send a verification
packet with the lower mtu, are slim, since for a new, lower mtu to be
set some packet must have made it further then the one that triggered
the icmp3.4 that gave rise to the EMSGSIZE, and we must have received
the resulting icmp3.4. All of which takes time.

Also, sending a bunch of udp packets in rapid succession is not a
great way to improve their chances of making it through to the other
peer, since they could easily all get dropped by a single congestion
event or other network glitch.

Now we send a single verification packet, wait for a short while, and
if we don't get a response then we send another one, wait for longer
period (2x), etc, until some upper bound is reached, at which point we
lower the pmtu and start the verification process again (same as
currently happens).

We are now also calling flush() to send the verification packet, just
as we do for ordinary packets. This makes for shorter code, consistent
error handling, and introduces a nice little recursion :)
2014-08-29 19:15:18 +01:00
Matthias Radestock 3107aba53f unbreak script
I have no idea why this matters
2014-08-29 17:40:38 +01:00
Matthias Radestock d0d8949f72 make 'weave <unknown_command>' a no-op 2014-08-29 16:20:41 +01:00
Matthias Radestock 51a33929ea remove unused var 2014-08-29 16:17:10 +01:00
Matthias Radestock 2c88710d62 we only need the bridge address when launching weave 2014-08-29 16:16:16 +01:00
Matthias Radestock 180c142964 move the most important check first 2014-08-29 16:12:44 +01:00
Matthias Radestock d8cc45c650 fix weave arg count check 2014-08-29 16:10:29 +01:00
Matthias Radestock ef9dbcb854 oops, make weave usage output match the command 2014-08-29 15:22:19 +01:00
Matthias Radestock 02f39f17f9 grrr 2014-08-29 14:27:19 +01:00
Matthias Radestock 81e8a9b987 cosmetic 2014-08-29 11:07:45 +01:00
rade b3807b7c41 Merge pull request #16 from bboreham/14_run_in_boot2docker
make weave work with boot2docker
2014-08-29 10:57:32 +01:00
Bryan Boreham 4008c26351 Merge branch 'master' into 14_run_in_boot2docker
Removed small change from README.md
2014-08-29 09:53:47 +01:00
Matthias Radestock c299cda859 remove more shades of security daftness 2014-08-28 22:09:13 +01:00
Matthias Radestock e93dbde9e0 note that building weave requires go 2014-08-28 21:47:36 +01:00
Matthias Radestock 5d59f69228 explain that weave security isn't as daft as it may first appear 2014-08-28 21:30:02 +01:00
Matthias Radestock f185c3ebb2 explain different roles of weave and docker port mapping 2014-08-28 19:45:11 +01:00
Bryan Boreham ef80218629 Mention that we need Go dev tools to build weave 2014-08-28 17:45:10 +01:00
Bryan Boreham 5908df4f17 added Boot2Docker instructions, and simplified the message when ethtool is missing 2014-08-28 17:41:22 +01:00
Bryan Boreham dced4e3d6f add a test to see whether ethtool is available before trying to run it 2014-08-28 17:20:17 +01:00
Matthias Radestock 9924f420e5 banish bashism 2014-08-28 16:18:30 +01:00
Matthias Radestock 753af453ef fix off-by-14 error in fragmentation
This was harmless since it simply meant our fragments were not as long
as they could be.
2014-08-28 14:17:00 +01:00
Matthias Radestock 0059f0cb49 cosmetic 2014-08-28 12:14:08 +01:00
Matthias Radestock 1a51ee8807 explain rationale for accounting for EthernetOverhead 2014-08-28 11:49:00 +01:00
Matthias Radestock dbf19b6910 tiny refactor for consistency 2014-08-28 07:53:05 +01:00
Matthias Radestock 59eab28982 tyop 2014-08-28 07:51:56 +01:00
Matthias Radestock bbfbc55078 cosmetic 2014-08-28 07:19:12 +01:00
Matthias Radestock eb5d6f0d89 refactor: extract Forwarder 2014-08-27 23:31:37 +01:00
Matthias Radestock 4710a59ac8 calculate an initial effectivePMTU
That way as soon as the forwarder is live we have a sensible value
2014-08-27 21:40:16 +01:00
Matthias Radestock 41d3a6dc7c log the *effective* pmtu when dropping frames
since that is more relevant
2014-08-27 21:38:18 +01:00
Matthias Radestock 7ccb361873 cosmetic 2014-08-27 21:37:46 +01:00