Bryan Boreham
fe236e95db
Work round change in Docker 1.3 where 'Pulling' messages are included in 'docker run' output
2014-10-17 12:38:37 +01:00
Bryan Boreham
6e5900654a
Merge pull request #125 from zettio/123_udp_garbage
...
LGTM; closes #123
2014-10-16 10:15:45 +01:00
Matthias Radestock
4ddfc47448
don't trip over truncated udp packets
...
and log such events, plus any other errors during decoding, nicely,
including the connection on which this occured.
Closes #123 .
2014-10-15 21:03:15 +01:00
Bryan Boreham
e8ec9e84ce
clarify messages used on connection errors
2014-10-15 19:34:43 +01:00
Matthias Radestock
0dc8fd842c
Merge branch 'master' of github.com:zettio/weave
2014-10-15 15:57:21 +01:00
Matthias Radestock
d1de3eac3e
log something when we drop a UDP packet
2014-10-15 15:56:23 +01:00
Matthias Radestock
5acefd5d23
refactor: reduce indent
2014-10-15 15:55:44 +01:00
Matthias Radestock
4ffd15206b
remove outdated comment
2014-10-15 15:41:29 +01:00
rade
c8a5bcc793
Merge pull request #121 from squaremo/vagrant_dev
...
A Vagrant file for developing on other-than-Linux
Closes #119 .
2014-10-15 15:28:45 +01:00
Matthias Radestock
a587fef9c4
fix package name following move
2014-10-15 15:20:49 +01:00
Matthias Radestock
e2fd1fda31
move router code
2014-10-15 15:07:42 +01:00
Michael Bridgen
4c7fb5ce91
Added hook for local vagrant config
...
If there's a file Vagrantfile.local, run that too. This can be used to
e.g., add the weavedns directory as a synced folder too.
2014-10-15 00:32:06 +01:00
Michael Bridgen
5f824e3bfd
Added minimal vagrantfile
...
This makes an Ubuntu-based vagrant image that has
- docker installed
- go tools installed
- weave dependencies installed
- $GOPATH set to ~
- the local working directory mapped as a synced folder into the
right place in $GOPATH
So one should be able to
$ vagrant up
$ vagrant ssh
vagrant$ cd src/github.com/zettio/weave
vagrant$ make -C weaver
2014-10-14 18:45:22 +01:00
rade
0f364f7e47
Merge pull request #114 from squaremo/decimate_readme
...
Remove content duplicated in gh-pages site
Addresses part of issue #86 .
2014-10-14 15:35:32 +01:00
Michael Bridgen
e294269393
Features link here too
2014-10-13 10:13:04 +01:00
Matthias Radestock
32a7975777
make it clearer in usage message that subnet is specified as CIDR
...
See issue #116
2014-10-11 03:59:48 +01:00
Matthias Radestock
0e4a30c9ee
refactor: 'ip addr list' -> '... show'
...
Since the man page only mentions the latter
2014-10-11 03:50:56 +01:00
Michael Bridgen
bfe1b27ee8
Added links to docs on gh-pages site
2014-10-10 15:30:52 +01:00
Michael Bridgen
35ee71097a
Took out things that will appear in the gh-pages site
2014-10-10 15:25:30 +01:00
Bryan Boreham
f79496ddcb
Merge pull request #111 from zettio/93_fqdn_peers
...
permit peers to be specified by name - fixes #93
2014-10-10 12:43:58 +01:00
Bryan Boreham
61ce4d36e5
Change README to say that hostnames are allowed on the commandline
2014-10-10 12:42:37 +01:00
Bryan Boreham
8de22f4bf1
reformat
2014-10-10 12:28:52 +01:00
Bryan Boreham
be39cb01bd
Resolve peer names to IP address at startup
2014-10-10 12:22:01 +01:00
Bryan Boreham
af3e1b8888
Revert "Resolve name to IP address when removing connected targets"
...
This reverts commit eef311ba69 .
2014-10-10 11:57:34 +01:00
Bryan Boreham
eef311ba69
Resolve name to IP address when removing connected targets
2014-10-10 11:45:10 +01:00
Matthias Radestock
cf9c479727
check that the go stdlib was built with the required options
...
AFAICT, go build tags are a compile-time only construct, so there is
no way to query whether a certain package was built with a specific
tag. However, the 'netgo' tag triggers conditional compilation of the
cgo_stubs.go file, and that file name ends up in the executable. (we
could have looked for specific symbols in the 'net.a' library instead,
but that requires locating it first, which is more hassle than it is
worth)
issue #93
2014-10-09 20:57:56 +01:00
Matthias Radestock
7b02365de8
make dns resolution work in weave container
...
by using go's internal DNS resolver.
NB: this relies on go's std library having been compiled with the
netgo build tag, e.g.
sudo go install -tags netgo -a std
issue #93
2014-10-09 19:33:58 +01:00
rade
8083779f21
Merge pull request #105 from squaremo/master
...
Added link to weave blog
2014-10-08 12:15:23 +01:00
Michael Bridgen
659e839652
Added link to weave blog
2014-10-08 11:57:51 +01:00
Matthias Radestock
d4a2bc8024
document WEAVE_DOCKER_ARGS
2014-10-07 22:22:21 +01:00
Matthias Radestock
b766ed8a32
make it clearer what $HOST1/2 refer to
...
based on suggestion by @hesco
2014-10-07 22:21:27 +01:00
Matthias Radestock
6d0df649fc
refactor: extract weave docker image name
...
Thanks to @hesco for the suggestion.
2014-10-07 19:32:39 +01:00
Matthias Radestock
764ced41b8
more portable bridge creation
...
using the documented 'ip link add' syntax
Thanks to @hesco for the suggestion.
2014-10-07 19:27:14 +01:00
rade
b82cd8895e
Merge pull request #102 from dpw/makefile-tweaks
...
Makefile tweaks
2014-10-07 14:52:16 +01:00
David Wragg
399af7b0cb
Comment typo fix
2014-10-07 14:43:07 +01:00
David Wragg
c4c06a2dc0
Don't use /tmp for big files
...
/tmp is on tmpfs on some systems, so it's better to use /var/tmp
for large files.
2014-10-06 19:35:24 +01:00
David Wragg
89fa310c00
Provide a way to bypass the use of sudo
...
It's not necessary to be root to run "docker" commands, if your
user is in the "docker" group.
2014-10-06 19:34:12 +01:00
Matthias Radestock
e7e7de2173
check whether a container has died with docker rather than ps
...
since that means one less dependency on running 'weave' in the same
namespace as docker
2014-09-30 17:31:47 +01:00
Matthias Radestock
9b14f0b507
Merge branch '94_iptables_for_ufw'
...
Fixes #94
2014-09-30 16:12:35 +01:00
Matthias Radestock
f4a5012dc7
refactor: keep bridge name abstract
2014-09-30 16:11:29 +01:00
Matthias Radestock
4d5faafd0c
refactor: order functions by dependency
2014-09-30 16:09:56 +01:00
Bryan Boreham
a09a229b44
Improve robustness
2014-09-30 16:02:06 +01:00
Bryan Boreham
c3fdee766f
Add iptables rule to forward traffic across the bridge, to avoid ufw blocking it
2014-09-30 15:24:30 +01:00
Bryan Boreham
a31d8c4d80
Refactor add_nat_rule into add_iptables_rule that is more general
2014-09-30 15:23:23 +01:00
rade
ab7b986fe1
Merge pull request #95 from squaremo/gopath-instructions
...
Cloning instructions
2014-09-30 15:14:33 +01:00
Michael Bridgen
68c6ba7203
Simplified cloning instructions
...
The package name and directory to clone into are almost the same.
(The previous revision also neglected to tell you to cd into the repo
dir)
2014-09-30 14:51:16 +01:00
Michael Bridgen
b3536859d2
Included where to put the repo in the instructions
...
Just in case, like me, the person following the instructions does not
know go all that well. You can make it work without doing things
exactly this way, but you may not get what you expect (because it
might, for example, fetch the weave code from github instead of using
the directory you're in).
2014-09-30 14:39:46 +01:00
Matthias Radestock
393b5cd459
automatically fetch dependencies
2014-09-30 13:13:41 +01:00
Bryan Boreham
4145528e24
Merge pull request #92 from dpw/87_multicast_route
...
Route multicast packets across the weave network
2014-09-30 12:50:47 +01:00
David Wragg
1366c01f6a
Restore comment that got lost when rearranging code
2014-09-29 09:59:26 +01:00