Commit Graph
100 Commits
Author SHA1 Message Date
Bryan Boreham 71d96eed7d Merge pull request #320 from errordeveloper/fix_319
LGTM.  Closes #319
2015-01-07 15:09:04 +00:00
Bryan Boreham 27f9a380e8 Explain weaveDNS configuration better 2015-01-07 11:34:16 +00:00
Bryan Boreham e9469b88af Add file init.go which was missed from previous refactor 2015-01-02 17:45:16 +00:00
Bryan Boreham 0af9b2cbab Fix up nameserver tests for previous refactoring 2015-01-02 17:12:21 +00:00
Bryan Boreham 82b54aabcd Move logging, updating and testing utils into common directory 2015-01-02 14:49:49 +00:00
Bryan Boreham 47f4933c92 Merge pull request #295 from rade/eliminate_heartbeater
LGTM.  Fixes #294
2014-12-24 13:41:03 +00:00
Bryan Boreham 5bb80c7126 Quote $@ everywhere, to guard against spaces, globbing, etc. 2014-12-23 14:42:48 +00:00
Bryan Boreham affb9aef42 Merge pull request #283 from rade/275_do_not_log_password
Closes #275
2014-12-22 11:31:16 +00:00
Bryan Boreham 887f2adbc1 Merge pull request #284 from rade/276_alternative_password_supply
LGTM.  Closes #276
2014-12-22 11:03:28 +00:00
Bryan Boreham 849a51c842 Update README.md
Updated email address
2014-12-15 10:44:03 +00:00
Bryan Boreham 4c88eb48c0 Move call to Topology.RebuildRoutes
It doesn't belong in handleBroadcastTCP(), so moved it up
to the two places that cause that function to be called.
2014-12-11 00:50:45 +00:00
Bryan Boreham 9dc2a51c2d Add `-tags net 2014-12-09 15:55:25 +00:00
Bryan Boreham 4297f68860 Explain multiple containers with same name
Two further scenarios described
2014-12-09 12:07:29 +00:00
Bryan Boreham 3a684ba3a9 Fixed typo in error message 2014-12-05 17:44:41 +00:00
Bryan Boreham 3b2cbd4871 Merge pull request #257 from squaremo/issue249_duplicate_dns
LGTM.  Closes #249
2014-12-02 15:59:22 +00:00
Bryan Boreham 4eeeabcf56 Cosmetic changes applied by 2014-12-01 16:51:16 +00:00
Bryan Boreham ba2c27b9fe Merge pull request #253 from rade/refactor_and_explain_route_calculation
LGTM, allowing that the results are unbalanced (and unchanged in this respect from before this PR)
2014-12-01 15:37:40 +00:00
Bryan Boreham ccd6cb0440 Use full container names when populating weavedns. Fixes #250 2014-11-28 12:49:05 +00:00
Bryan Boreham f2ef3dcfe7 Merge pull request #243 from rade/240_dns_without_docker_net
LGTM.  Fixes #240
2014-11-28 12:16:40 +00:00
Bryan Boreham 33fb296769 Merge pull request #245 from rade/238_check_docker_version_when_using_dns
Looks good to me.  Fixes #238
2014-11-28 11:17:13 +00:00
Bryan Boreham a3482c9f2d Merge pull request #244 from rade/233_stop_on_docker_run_errors
LGTM.  Fixes #233
2014-11-28 11:01:51 +00:00
Bryan Boreham 28a9d86c7e Merge pull request #200 from squaremo/issue195_populate_dns_on_start
LGTM.  Fixes #195 (apart from part 3)
2014-11-26 15:12:08 +00:00
Bryan Boreham 235d620f55 Merge pull request #239 from squaremo/issue201_use_bridge_ip
LGTM.  Fixes #201
2014-11-26 14:12:02 +00:00
Bryan Boreham 4046c3a8bc Undid extra check that there is at least one argument to 'docker run' 2014-11-25 14:13:40 +00:00
Bryan Boreham 0b051db5e1 Simplify arg parsing on weave run 2014-11-25 14:09:26 +00:00
Bryan Boreham 19f6c17f69 Two minus signs 2014-11-25 11:01:05 +00:00
Bryan Boreham 42f0cb883a Add --with-dns option to weave run 2014-11-24 20:14:01 +00:00
Bryan Boreham 5c76411e34 Merge pull request #232 from zettio/revert-211-issue201_use_docker_bridge_ip
Revert "Use Docker bridge IP for DNS"
2014-11-24 18:02:53 +00:00
Bryan Boreham 21b190ed41 Revert "Use Docker bridge IP for DNS" 2014-11-24 18:02:11 +00:00
Bryan Boreham 90c04631ec Merge pull request #211 from squaremo/issue201_use_docker_bridge_ip
LGTM.  Closes #201
2014-11-24 16:12:31 +00:00
Bryan Boreham 6d1792ebdf Add more links to Boot2Docker info 2014-11-21 14:59:06 +00:00
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
Bryan Boreham a5acb5cdd3 Added tests to .PHONY rule 2014-11-19 16:34:39 +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
Bryan Boreham 997e6ed2b9 squash two ifs together 2014-11-14 14:28: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
Bryan Boreham 30143d4d6c Merge pull request #173 from rade/141_dns_without_icc
LGTM.  Closes #141
2014-11-11 10:50:56 +00:00
Bryan Boreham 91b6719924 Fetch docker version, to check things are working 2014-11-05 16:57:59 +00:00
Bryan Boreham 5d8045f5ee Factor out error check 2014-11-05 16:57:24 +00:00
Bryan Boreham a0a5921148 Check for error return from AddEventListener 2014-11-05 12:44:39 +00:00
Bryan Boreham d85071ce4f Run weavedns with --privilege to work on more locked-down platforms 2014-11-05 12:43:54 +00:00
Bryan Boreham 7b302f5ef0 Add tail -1 to work round Docker logging to wrong place 2014-11-05 12:33:17 +00:00
Bryan Boreham 8229c0617c Fix small error in curl arguments 2014-11-05 12:33:05 +00:00
Bryan Boreham d66c8e440c Change IRC link to botbot.me 2014-11-04 16:45:29 +00:00
Bryan Boreham 4217a112b2 Added IRC link 2014-11-04 12:08:38 +00:00
Bryan Boreham 0d3de8bd38 Emphasise the ways in which IP addresses must not conflict 2014-11-04 12:08:38 +00:00
Bryan Boreham 05921833a3 Launch weavedns and update it on run, start, attach and detach
Conflicts:
	weave
2014-10-29 14:20:24 +00:00
Bryan Boreham f56700a032 Factor out routine to check if a container is already running
Conflicts:
	weave
2014-10-29 14:20:24 +00:00
Bryan Boreham 75deacaed0 Factor out REST call
Conflicts:
	weave
2014-10-29 14:20:24 +00:00
Bryan Boreham 8ab9bad31d cosmetic 2014-10-29 12:34:28 +00:00
Bryan Boreham 72b62b4ffc Add weave ps to usage 2014-10-29 12:34:09 +00:00
Bryan Boreham c749427de5 cosmetic 2014-10-29 11:48:23 +00:00
Bryan Boreham d56ac73732 Inline weave ps function 2014-10-29 11:47:23 +00:00
Bryan Boreham fe2d1a3699 CONTAINER_IFNAME rather than ethwe 2014-10-29 11:44:20 +00:00
Bryan Boreham 52a4fe545e Add mac address to weave ps output 2014-10-29 11:39:12 +00:00
Bryan Boreham aed3fec3e4 Merge branch 'master' into 138_weave_ps
Conflicts:
	weave
2014-10-29 11:19:03 +00:00
Bryan Boreham 510204587b Add simple rDNS lookup 2014-10-24 14:48:13 +01:00
Bryan Boreham d868d27263 Look up by IP 2014-10-24 14:47:49 +01:00
Bryan Boreham 5ee60a0003 Extend tests slightly 2014-10-24 13:37:32 +01:00
Bryan Boreham fa0331cb6d Ensure we only attempt to handle TypeA queries 2014-10-24 13:03:26 +01:00
Bryan Boreham d6f313eac2 Improve debug messages 2014-10-24 12:46:02 +01:00
Bryan Boreham 5f3080b9db Don't crash when printing name of nil interface 2014-10-24 12:37:28 +01:00
Bryan Boreham 9b90e119e5 Say 'name' instead of 'identity' in log and status 2014-10-24 11:38:10 +01:00
Bryan Boreham ced7299140 Removed weave ps -v option 2014-10-24 10:14:32 +01:00
Bryan Boreham e4fe57a02c Make extra container information optional 2014-10-24 10:14:32 +01:00
Bryan Boreham f7eeb1f844 Fix issues raised in code review 2014-10-24 10:14:32 +01:00
Bryan Boreham 06adae8fb5 Added weave ps command 2014-10-24 10:14:32 +01:00
Bryan Boreham 988f555a68 Merge pull request #150 from rade/126_weave_start
LGTM.  Closes #126, also referenced from #148
2014-10-24 09:30:07 +01:00
Bryan Boreham c63b163703 Formatting in error message 2014-10-22 18:27:55 +01:00
Bryan Boreham 94a812d98f Factor out error type checks 2014-10-22 18:24:02 +01:00
Bryan Boreham 0a5990bd6e Factor out testing status checks 2014-10-22 16:59:28 +01:00
Bryan Boreham d84226cc31 Factor out testing error checks 2014-10-22 16:52:35 +01:00
Bryan Boreham 10685a495e Set up defaults so it doesn't crash in tests 2014-10-21 11:57:12 +01:00
Bryan Boreham 699b685969 Adjust test to match change in ListenHttp 2014-10-21 11:55:13 +01:00
Bryan Boreham dd27396ce0 Merge remote-tracking branch 'upstream/master' 2014-10-21 10:15:57 +01:00
Bryan Boreham 1b0066cc98 Commented on stop-gap data structure 2014-10-20 17:51:00 +01:00
Bryan Boreham bce06d2e9b Wait for interface in main 2014-10-20 17:26:11 +01:00
Bryan Boreham b8a06521c0 Extract interface util functions to their own file 2014-10-20 17:21:35 +01:00
Bryan Boreham 3af058481e Support returning AAAA records from delegated DNS queries 2014-10-20 17:18:17 +01:00
Bryan Boreham 624db7bdff Replace hard-coded 4 with const for channel size 2014-10-20 16:59:39 +01:00
Bryan Boreham b2dc08fd25 forgot to remove 'dns' 2014-10-20 16:00:56 +01:00
Bryan Boreham 9cfb93ab7b Simplified algorithm in checkInFlightQueries() 2014-10-20 15:43:13 +01:00
Bryan Boreham 217e5e921e Extract checkInFlightQueries method 2014-10-20 15:19:11 +01:00
Bryan Boreham 81c5690329 Hoist WriteMsg calls up 2014-10-20 15:00:59 +01:00
Bryan Boreham dcce09de52 Clean up some code-review issues 2014-10-20 14:21:29 +01:00
Bryan Boreham 8e2af9eec5 Tidy up exported/non-exported fields 2014-10-20 12:41:40 +01:00
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 c6a74d23e0 Print out command-line args, for debugging 2014-10-16 17:21:15 +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
Bryan Boreham e8ec9e84ce clarify messages used on connection errors 2014-10-15 19:34:43 +01:00
Bryan Boreham 6e3e7dcd68 Support DELETE function 2014-10-14 17:01:13 +01:00
Bryan Boreham 11ec66111a Check duplicate add 2014-10-14 17:00:14 +01:00
Bryan Boreham 4709f852c3 Better error reporting 2014-10-14 16:59:00 +01:00
Bryan Boreham 6d32ac80b7 Better error reporting 2014-10-14 16:50:20 +01:00
Bryan Boreham ff540265a9 Better error-checking 2014-10-14 16:49:27 +01:00
Bryan Boreham 10772f8289 Better error-checking 2014-10-14 16:12:50 +01:00
Bryan Boreham bc87c7c94b Initial Zone tests 2014-10-14 16:06:25 +01:00
Bryan Boreham 8ebc06315c Detect duplicate add 2014-10-14 16:06:08 +01:00
Bryan Boreham 9bd464a003 Make putForm more generic 2014-10-14 15:23:20 +01:00