Commit Graph
678 Commits
Author SHA1 Message Date
Bryan Boreham 5cc24fe55e Rename 'server' to 'listener' to better match how it is used 2014-11-20 16:37:25 +00:00
Bryan Boreham 22c3ff9f60 Set 'Unsafe' flag to allow dns.Server to handle responses 2014-11-20 16:36:13 +00:00
rade 2f47dbddae Merge pull request #210 from squaremo/remove_redundant_shellfunc
Remove redundant shell function
2014-11-20 14:46:14 +00:00
Michael Bridgen 674da8dafd Merge branch 'make_tests' of github.com:bboreham/weave into make_tests 2014-11-20 12:20:02 +00:00
Matthias Radestock f8b7d73dd1 update supported docker version 2014-11-19 19:53:31 +00:00
Michael Bridgen abba2f6b66 Merge pull request #202 from errordeveloper/issue185_min_kernel_version
Add kernel version check and document in README
2014-11-19 16:40:33 +00:00
Bryan Boreham a5acb5cdd3 Added tests to .PHONY rule 2014-11-19 16:34:39 +00:00
Ilya Dmitrichenko de09daa331 Document Linux kerenel version requirements 2014-11-19 16:32:49 +00:00
Michael Bridgen 64b20d8f30 Remove redundant shell function
This was used before http_call was made, but that function effectively
inlines it.
2014-11-19 16:20:53 +00:00
Ilya Dmitrichenko a637294f2f Add kernel version check (close #185)
_NOTE: You will need to satisfy kernel requirements for Docker._ It's
currently recommended to use 3.10, although 3.8 works as well. We have
done some additional testing on Ubuntu Preciese, and found that the
oldest kernel that Ubuntu ships and weave happily runs on is 3.5,
presumably some some of the issues had been fix since Docker docs were
last updated. This is not to say that kernel version is good one to use,
we do recommend to use the latest, but just in case if you have any
specific reason why you cannot upgrade, then the 3.5 is the oldest we
have tried.
2014-11-19 15:37:21 +00:00
Matthias Radestock 12d1af3a1c tidying around --dns-search 2014-11-18 15:50:17 +00:00
Matthias Radestock 8406d08b77 make it work on non-BSD-ish systems
Fixes #199
2014-11-18 15:38:17 +00:00
Bryan Boreham c4980630a1 Added 'make tests' target to makefile and call it before 'make publish' 2014-11-18 12:37:28 +00:00
Matthias Radestock 53cc3a5f32 change styling of host references in remainder of docs
Following #196.
2014-11-18 12:23:17 +00:00
Michael Bridgen 5d094f132b Merge pull request #196 from errordeveloper/master
Add quick start video to the README

(and minor markdown tweaks along for the ride)
2014-11-18 12:11:28 +00:00
Ilya Dmitrichenko f073c7048c Add link to "Hello, Weave!" screencast 2014-11-18 12:00:45 +00:00
Ilya Dmitrichenko 036b272da6 Morkdonify code-like words 2014-11-18 11:06:21 +00:00
Matthias Radestock 70c8b2b65c Merge branch 'squaremo-issue191'
Fixes #191.
2014-11-17 17:40:04 +00:00
Matthias Radestock 308ef865c5 simplify 2014-11-17 17:39:33 +00:00
Michael Bridgen 61d2595c76 Better phrasing for http_call error messages 2014-11-17 16:28:11 +00:00
Michael Bridgen 40de90a4c2 Better terminologicals for no-IP case 2014-11-17 16:25:08 +00:00
Michael Bridgen dce73559b7 Differentiate between failure cases in http_call
.. otherwise, no networking can look like no running container.
2014-11-17 15:58:11 +00:00
Matthias Radestock 3cb6f1b3cc handle AAAA queries for external IPs
Closes #188.
2014-11-17 12:25:46 +00:00
Matthias Radestock fda412a151 refactor: rename badly named function
makeAddressReply handles both A and AAAA records
2014-11-17 12:06:06 +00:00
rade 3cc7b383ad Merge pull request #184 from bboreham/182_unstable_connections
Extra check for duplicate connection

Fixes #182.
2014-11-14 14:46:46 +00:00
Ilya Dmitrichenko 5104baf953 Merge pull request #180 from squaremo/issue176_move_ghpages_to_master
Move gh-pages to master
2014-11-14 14:35:59 +00:00
Bryan Boreham 997e6ed2b9 squash two ifs together 2014-11-14 14:28:45 +00:00
Michael Bridgen 04ed4aef6c Script to publish gh-pages to site
Ideally to be used after merging changes from master with
`./bin/merge-into-gh-pages`
2014-11-14 14:08:45 +00:00
Bryan Boreham 57aecb868f Add check during initial handshake whether we already have an established connection to this peer 2014-11-14 14:02:33 +00:00
Michael Bridgen 1026342993 Lowercase weave for consistency 2014-11-14 14:02:26 +00:00
Michael Bridgen eeff76dbd7 Script to merge master/site into gh-pages 2014-11-14 14:00:22 +00:00
Michael Bridgen a1badfccc7 Put gh-pages branch in site/
git read-tree -u --prefix=site/ gh-pages

This is so we can work on code and docs at the same time.
2014-11-14 11:55:07 +00:00
Matthias Radestock f9f29bbe42 refactor: reduce indent 2014-11-12 19:24:06 +00:00
Matthias Radestock 3269d91b7c Merge remote-tracking branch 'upstream/master' 2014-11-12 08:44:54 +00:00
Matthias Radestock 58efafd44e add explanation for why we don't use async send 2014-11-12 08:26:44 +00:00
Michael Bridgen 418578a986 Merge pull request #175 from squaremo/issue172_dns_search
Supply a --dns-search to blank the inherited resolv.conf search

(fixes #172)
2014-11-11 15:46:52 +00:00
Michael Bridgen a61080e025 Supply a --dns-search to blank the inherited resolv.conf search
In the absence of *either* a `--dns` or `--dns-search` argument,
Docker will write a `/etc/resolv.conf` based on the host's. Since, in
general, we rely on the DNS search path being empty (so that the
resolver uses the local domain), we want to blank the
`/etc/resolv.conf` by providing `--dns-search=.` when running a
container.

However, if there's a `--dns-search=` in the remainder of the args,
Docker will append them to the dot, which breaks resolution. Not good.

So, we only "blank" the search path if there's no `--dns-search`
argument present already.
2014-11-11 15:23:06 +00:00
Matthias Radestock a34e214201 expose DNS port via Dockerfile rather than 'docker run' argument
That is "the Docker way".

Related to #141.
2014-11-11 12:52:17 +00:00
Bryan Boreham 30143d4d6c Merge pull request #173 from rade/141_dns_without_icc
LGTM.  Closes #141
2014-11-11 10:50:56 +00:00
Matthias Radestock 2fb79da625 make DNS work when docker is running with --icc=false
1) expose the DNS port from the weavedns container
2) link all application containers to the weavedns container
2014-11-08 15:34:23 +00:00
Michael Bridgen 34022ce2fc Link to weaveDNS review in README 2014-11-07 15:33:30 +00:00
Matthias Radestock 9c620e81d6 kill dns container on weave stop
since just running `docker rm -f` has a nasty habit of getting stuck
sometimes.
2014-11-07 12:27:34 +00:00
Matthias Radestock 2fd9b91fc1 remove weavedns container on weave reset
(and some cosmetics)

Fixes #171
2014-11-06 22:38:07 +00:00
Matthias Radestock 66ac78ccc0 improve docs: provide some clue for the weavedns cidr 2014-11-06 22:27:20 +00:00
Matthias Radestock 8c3db12081 clarity 2014-11-06 22:18:29 +00:00
Matthias Radestock f7c1c2a1e0 simplify 2014-11-06 22:17:49 +00:00
Matthias Radestock 0fb8d3d054 fix another typo 2014-11-06 22:15:51 +00:00
Matthias Radestock 9d36bb3289 fix typo 2014-11-06 22:14:50 +00:00
Matthias Radestock eacc14dfe2 tidying: remove superfluous var 2014-11-06 22:05:14 +00:00
Matthias Radestock a16c6acc32 properly detach containers from network on 'weave reset'
since otherwise we are leaving veth pairs behind which a) breaks a
subsequent 'weave attach', and b) runs contrary to 'weave reset's
stated purpose of removing all traces of weave.

NB: This does yank the ethwe interface from the containers.

Fixes #164
2014-11-06 22:02:24 +00:00