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 |
|
Bryan Boreham
|
7f6e0a1e42
|
Make error message more helpful
|
2014-10-14 15:19:20 +01:00 |
|
Bryan Boreham
|
36fa3cca73
|
Tidy up
|
2014-10-14 14:12:42 +01:00 |
|
Bryan Boreham
|
6bff651e87
|
Changed to new URL scheme with container identifier
Implementation matches design.md better:
- http action changes from POST /add to PUT /name
- each record now has the container identifier
|
2014-10-14 11:55:45 +01:00 |
|
Bryan Boreham
|
50d343e2fb
|
Use specified port for http listener
|
2014-10-10 17:36:46 +01:00 |
|
Bryan Boreham
|
03cd04249c
|
Check number of results received
|
2014-10-10 17:36:23 +01:00 |
|
Bryan Boreham
|
be3d089410
|
Shorten mDNS timeout
|
2014-10-10 17:14:39 +01:00 |
|
Bryan Boreham
|
ed6c7cb784
|
Concatenate multiple replies received over mDNS
|
2014-10-10 17:14:06 +01:00 |
|
Bryan Boreham
|
8521fdea0e
|
Reply with array of addresses for delegated query
|
2014-10-10 16:31:09 +01:00 |
|
Bryan Boreham
|
b5214f65e7
|
Forward DNS requests that aren't for our 'weave' domain
|
2014-10-10 15:41:09 +01:00 |
|
Bryan Boreham
|
de65dc7996
|
Move usage of mdnsClient after initialization
|
2014-10-10 15:34:54 +01:00 |
|
Bryan Boreham
|
c384bee226
|
Add -tags netgo
|
2014-10-10 14:27:52 +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 |
|
Bryan Boreham
|
65e95cd46a
|
Factor out channel
|
2014-10-09 14:46:53 +01:00 |
|
Bryan Boreham
|
17d192caee
|
Add test for two parallel queries
|
2014-10-09 14:15:02 +01:00 |
|
Bryan Boreham
|
5b32fa58e6
|
factor out response checking
|
2014-10-09 14:11:16 +01:00 |
|
Bryan Boreham
|
d41284f66d
|
Refactor test setup
|
2014-10-09 13:08:58 +01:00 |
|
Bryan Boreham
|
0f8932fbcd
|
Add test for name that we don't know
|
2014-10-08 17:16:57 +01:00 |
|
Bryan Boreham
|
64e9121e5b
|
Simple test of http function
|
2014-10-08 17:00:41 +01:00 |
|
Bryan Boreham
|
eec53d6c4d
|
Test failure condition
|
2014-10-08 15:20:12 +01:00 |
|
Bryan Boreham
|
97077339f4
|
Send back errors for SendQuery
|
2014-10-08 15:19:30 +01:00 |
|
Bryan Boreham
|
8295ecfe46
|
Shut down listener when test finished
|
2014-10-08 14:46:10 +01:00 |
|
Bryan Boreham
|
f30ecb4a48
|
MDNS Server test
|
2014-10-08 14:40:38 +01:00 |
|
Bryan Boreham
|
6fc817104e
|
Shut down client when test finished
|
2014-10-08 14:40:18 +01:00 |
|
Bryan Boreham
|
3175e64b63
|
Shut down multicast listener when client is shut down
|
2014-10-08 14:24:29 +01:00 |
|
Bryan Boreham
|
de94b06e89
|
Wait for response synchronously
|
2014-10-08 14:19:31 +01:00 |
|
Bryan Boreham
|
6a60b7b628
|
Don't need multiplexer
|
2014-10-08 14:16:13 +01:00 |
|
Bryan Boreham
|
6a9e0bb23f
|
Shut down minimal server at end of test
|
2014-10-08 14:14:10 +01:00 |
|
Bryan Boreham
|
dbc77b2943
|
Don't crash on nil (default) interface
|
2014-10-08 14:13:05 +01:00 |
|