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
Matthias Radestock
6cec7a036c
refactor: yet more clarity on naming around pmtu
2014-08-27 17:55:43 +01:00
Matthias Radestock
f5e3450f0c
refactor: clear distinction between actual and effective pmtu
2014-08-27 17:27:14 +01:00
Matthias Radestock
b350924a63
refactor: remove unused field
2014-08-27 16:33:21 +01:00
Matthias Radestock
a6eea3405a
comment
2014-08-27 15:24:10 +01:00
Matthias Radestock
2a3256805f
tiny refactor: rename, move
2014-08-26 21:28:40 +01:00
Matthias Radestock
6f30cf2daf
8 is better than 10
...
It's quite common for the real pmtu to be 8 less than what was
advertised.
2014-08-26 21:11:24 +01:00
Matthias Radestock
c5d39fd5bf
drop maxpayload in conjunction with clientPMTU
...
Seems odd to do the latter w/o the former. And wrong.
2014-08-26 21:09:23 +01:00
Matthias Radestock
c6a796675d
pay attention to EMSGSIZE errors when sending pmtu verification packets
...
and drop the pmtu accordingly
This way, when we actually *do* get pmtu info from the network/kernel
we can discover the correct pmtu much more quickly. Especially in the
absence of other traffic, forwarding of which was previously the only
place where we'd check for EMSGSIZE.
Fixes #12
2014-08-26 21:05:13 +01:00
Matthias Radestock
fa5a5f46b4
usability: check that script is being run as root
...
so we can display a nicer error if not
2014-08-26 13:40:09 +01:00
Matthias Radestock
9c5603ebe7
add Troubleshooting section
2014-08-26 12:55:13 +01:00
Matthias Radestock
7e90c73d97
cosmetic: break overlong line
2014-08-26 11:57:01 +01:00
Matthias Radestock
e057799e0c
add some basic error handling to 'weave' script
2014-08-26 11:54:01 +01:00
Matthias Radestock
b35f83f132
explain that we need docker (yes, really)
...
and switch from 'curl' to 'wget' for installing weave, since the
latter is more widely installed. Also, make root use during that more
explicit.
2014-08-26 11:24:47 +01:00
Matthias Radestock
565856eaba
run weave in privileged container
...
...since on selinux (and possibly others) we encounter a "bind:
permission denied" error instead, most likely because weave is
attempting to bind a raw ip socket, which is a restricted operation on
those systems.
Fixes #7
2014-08-26 10:27:47 +01:00
Matthias Radestock
e5df6ee414
tweak intro
2014-08-25 11:55:24 +01:00
Matthias Radestock
81d657f067
container mobility feature
2014-08-24 20:44:47 +01:00
Matthias Radestock
3535604f0a
we only know that the build works under Ubuntu
2014-08-24 20:22:14 +01:00
Matthias Radestock
f0182ba471
refactor: reduce indentation
2014-08-23 10:32:39 +01:00
Matthias Radestock
07a59d5bb3
r
2014-08-22 18:22:43 +01:00
Matthias Radestock
516c1363e3
eliminate dependency on pipework
...
...and docker-ns (though we still leave the script around since it's
handy for debugging), and arping (as I have yet to encounter a
situation where it was required)
2014-08-22 18:14:17 +01:00
Matthias Radestock
7a09d97cf5
when forwarding frames, send icmp 3.4 packets back to the source
...
...instead of injecting them on the local interface.
fixes #2
2014-08-22 15:18:31 +01:00
Matthias Radestock
bbafba4fe8
cosmetic
2014-08-22 10:46:10 +01:00
Matthias Radestock
775a603a2c
log relaying
2014-08-21 21:52:14 +01:00
Matthias Radestock
6320866961
rename exe to 'weaver' and script to 'weave'
2014-08-21 16:05:17 +01:00
Matthias Radestock
a6f66d49b2
gitignore pipework
2014-08-21 13:05:27 +01:00
Matthias Radestock
2260495a54
more intro
2014-08-21 12:31:15 +01:00
Matthias Radestock
5bebccf34c
succinct
2014-08-21 12:21:23 +01:00
Matthias Radestock
e5dccef8fd
cosmetic
2014-08-21 09:38:17 +01:00
Matthias Radestock
8e6d5de9c2
explain that 'wedo run' is a wrapper around 'docker run -d'
2014-08-21 09:31:01 +01:00
Matthias Radestock
01aa187494
s/$@/"$@"/g
2014-08-21 09:05:07 +01:00
Matthias Radestock
2daa5f7d6f
permit running 'wedo' without script installation
2014-08-21 08:59:11 +01:00
Matthias Radestock
3914d46934
improve 'Installation' section of docs
2014-08-21 08:37:52 +01:00
Matthias Radestock
6289e8a473
fix typo
2014-08-21 08:26:13 +01:00