Bryan Boreham
04a7aa1405
Use buffer size 4096 on advice from a DNS expert
2015-02-04 14:58:21 +00:00
Bryan Boreham
e325c35c10
Merge pull request #381 from rade/380_prevent_premature_peer_topology_gc
...
LGTM. Fixes #380
2015-02-03 10:39:08 +00:00
Bryan Boreham
458ef12da6
Use a larger buffer than the default, so that more queries will succeed
2015-02-02 13:26:44 +00:00
Bryan Boreham
e5a08a505d
Change DNS fallback test to use a locally-run server to generate long responses reliably
2015-02-02 13:24:37 +00:00
Bryan Boreham
9ae3f4c692
Only read /etc/resolv.conf once
2015-02-02 13:16:05 +00:00
Bryan Boreham
d354f4bea4
Merge pull request #376 from rade/372_udp_connectivity_check
...
LGTM. Fixes #372
2015-01-29 13:24:21 +00:00
Bryan Boreham
ae0e3306d7
Merge pull request #313 from bboreham/add_gossip
...
Gossip layer to communicate topology between peers
Note that I have squashed over 100 commits from @bboreham and @rade into the three for this PR; you can see the original history at https://github.com/bboreham/weave/compare/add_gossip_full
2015-01-27 15:37:35 +00:00
Bryan Boreham
4647c36a15
Unit tests for gossip-based topology communication
2015-01-27 12:45:40 +00:00
Bryan Boreham
5dc9b085a0
Replace previous topology communication with gossip-based mechanism
2015-01-27 12:45:40 +00:00
Bryan Boreham
18df01a4bf
Basic gossip implementation
2015-01-27 12:45:40 +00:00
Bryan Boreham
c80bff473f
Simplify DeleteTestConnection along the same lines as AddTestConnection
2015-01-26 14:03:32 +00:00
Bryan Boreham
b7b5fd3dd2
Merge pull request #356 from rade/forgive_protocol_decoding_errors
...
LGTM.
2015-01-21 17:54:07 +00:00
Bryan Boreham
bdb8b4625b
Merge pull request #355 from rade/protocol_sender
...
LGTM.
2015-01-21 11:48:54 +00:00
Bryan Boreham
404c7a1ad4
When printing call-stacks from SIGQUIT, trim the buffer to remove garbage at the end
2015-01-19 16:54:40 +00:00
Bryan Boreham
89ea4f9f80
Changed Twitter handle to @weaveworks
2015-01-17 17:57:18 +00:00
Bryan Boreham
18184017ec
Minor re-wording after review comments
2015-01-16 15:00:46 +00:00
Bryan Boreham
bddd0b5ea4
Update FetchAll description to reflect changes in #349
2015-01-16 13:25:03 +00:00
Bryan Boreham
65fd2450ae
Added description of topology communication
2015-01-16 12:24:05 +00:00
Bryan Boreham
36cb3c77b5
Merge pull request #349 from rade/342_unidirectional_udp
...
LGTM. Fixes #342
2015-01-15 16:49:29 +00:00
Bryan Boreham
92043a3dbc
Merge pull request #348 from squaremo/issue346_fallback_for_rdns
...
LGTM. Closes #346 .
2015-01-15 15:31:49 +00:00
Bryan Boreham
609585400b
Merge pull request #345 from squaremo/better_dns_smoke_tests
...
LGTM
2015-01-14 10:38:31 +00:00
Bryan Boreham
d9b6d5c5f9
Merge pull request #344 from squaremo/issue318_proxy_all_dns
...
LGTM
2015-01-13 20:50:27 +00:00
Bryan Boreham
ee6f92cd24
Merge pull request #343 from rade/340_improve_connection_logging
...
LGTM. Closes #340 - I tested with UDP blocked and got desired log.
2015-01-13 16:53:03 +00:00
Bryan Boreham
dc55448c7d
Added a smoke-test with a password
2015-01-12 12:49:37 +00:00
Bryan Boreham
15852dfa42
Remove repeated 'iota' in const lists, since Go knows what you mean
2015-01-09 15:55:35 +00:00
Bryan Boreham
f70dfe9de8
Merge pull request #328 from squaremo/refactor_mdns
...
LGTM. Fixes #326
2015-01-09 12:32:35 +00:00
Bryan Boreham
f24edf755f
Add tests for server.go
2015-01-08 18:38:38 +00:00
Bryan Boreham
bd2844d186
Split http-startup code from server-startup
2015-01-08 18:38:38 +00:00
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