This website requires JavaScript.
dd27396ce0
Merge remote-tracking branch 'upstream/master'
Bryan Boreham
2014-10-21 10:15:57 +01:00
e8f9705211
Updated README re local domain
Michael Bridgen
2014-10-20 18:39:40 +01:00
35c09f37b9
Added logging.go, required by prior changes
Michael Bridgen
2014-10-20 18:27:24 +01:00
55d21d0ec1
Replaced another log.Printf
Michael Bridgen
2014-10-20 18:22:25 +01:00
337919d741
Replaced ad-hoc printf with log levels
Michael Bridgen
2014-10-20 18:18:16 +01:00
d3d07deec6
Changed local domain handling
Michael Bridgen
2014-10-20 18:11:14 +01:00
1b0066cc98
Commented on stop-gap data structure
Bryan Boreham
2014-10-20 17:51:00 +01:00
bce06d2e9b
Wait for interface in main
Bryan Boreham
2014-10-20 17:26:11 +01:00
b8a06521c0
Extract interface util functions to their own file
Bryan Boreham
2014-10-20 17:21:35 +01:00
3af058481e
Support returning AAAA records from delegated DNS queries
Bryan Boreham
2014-10-20 17:18:17 +01:00
624db7bdff
Replace hard-coded 4 with const for channel size
Bryan Boreham
2014-10-20 16:59:39 +01:00
b2dc08fd25
forgot to remove 'dns'
Bryan Boreham
2014-10-20 16:00:56 +01:00
9cfb93ab7b
Simplified algorithm in checkInFlightQueries()
Bryan Boreham
2014-10-20 15:43:13 +01:00
217e5e921e
Extract checkInFlightQueries method
Bryan Boreham
2014-10-20 15:19:11 +01:00
81c5690329
Hoist WriteMsg calls up
Bryan Boreham
2014-10-20 15:00:59 +01:00
dcce09de52
Clean up some code-review issues
Bryan Boreham
2014-10-20 14:21:29 +01:00
8e2af9eec5
Tidy up exported/non-exported fields
Bryan Boreham
2014-10-20 12:41:40 +01:00
a3cede3027
Tidied up a few printfs
Michael Bridgen
2014-10-17 15:24:51 +01:00
9606628edd
Merge pull request #129 from squaremo/use_lxc_docker
Michael Bridgen
2014-10-17 15:16:50 +01:00
380f2eb6b9
Switched to lxc-container (from docker.io)
Michael Bridgen
2014-10-17 14:49:50 +01:00
fe236e95db
Work round change in Docker 1.3 where 'Pulling' messages are included in 'docker run' output
Bryan Boreham
2014-10-17 12:38:37 +01:00
9d1f2023b5
Documented the more egregious limitations
Michael Bridgen
2014-10-17 12:29:43 +01:00
8c0c252bf7
Made watch=true the default
Michael Bridgen
2014-10-17 11:05:56 +01:00
0eac2e60ed
Added README
Michael Bridgen
2014-10-16 17:46:46 +01:00
c6a74d23e0
Print out command-line args, for debugging
Bryan Boreham
2014-10-16 17:21:15 +01:00
0749460652
Moved updater into server
Michael Bridgen
2014-10-16 15:38:32 +01:00
0fb4bce24d
Put both image builds in docker/Makefile
Michael Bridgen
2014-10-15 15:28:17 +01:00
d8c31fb150
Simplified args and added minimal event handling
Michael Bridgen
2014-10-13 16:46:37 +01:00
4949f34461
Added container updates watcher
Michael Bridgen
2014-10-13 10:50:27 +01:00
ac35f919b2
Merge remote-tracking branch 'bb/master'
Michael Bridgen
2014-10-16 12:34:42 +01:00
6e5900654a
Merge pull request #125 from zettio/123_udp_garbage
Bryan Boreham
2014-10-16 10:15:45 +01:00
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.
Matthias Radestock
2014-10-15 21:03:15 +01:00
e8ec9e84ce
clarify messages used on connection errors
Bryan Boreham
2014-10-15 19:34:43 +01:00
0dc8fd842c
Merge branch 'master' of github.com:zettio/weave
Matthias Radestock
2014-10-15 15:57:21 +01:00
d1de3eac3e
log something when we drop a UDP packet
Matthias Radestock
2014-10-15 15:56:23 +01:00
5acefd5d23
refactor: reduce indent
Matthias Radestock
2014-10-15 15:55:44 +01:00
4ffd15206b
remove outdated comment
Matthias Radestock
2014-10-15 15:41:29 +01:00
c8a5bcc793
Merge pull request #121 from squaremo/vagrant_dev
rade
2014-10-15 15:28:45 +01:00
a587fef9c4
fix package name following move
Matthias Radestock
2014-10-15 15:20:49 +01:00
e2fd1fda31
move router code
Matthias Radestock
2014-10-15 15:07:42 +01:00
4c7fb5ce91
Added hook for local vagrant config
Michael Bridgen
2014-10-15 00:32:06 +01:00
5f824e3bfd
Added minimal vagrantfile
Michael Bridgen
2014-10-14 18:45:22 +01:00
6e3e7dcd68
Support DELETE function
Bryan Boreham
2014-10-14 17:01:13 +01:00
11ec66111a
Check duplicate add
Bryan Boreham
2014-10-14 17:00:14 +01:00
4709f852c3
Better error reporting
Bryan Boreham
2014-10-14 16:59:00 +01:00
6d32ac80b7
Better error reporting
Bryan Boreham
2014-10-14 16:50:20 +01:00
ff540265a9
Better error-checking
Bryan Boreham
2014-10-14 16:49:27 +01:00
10772f8289
Better error-checking
Bryan Boreham
2014-10-14 16:12:50 +01:00
bc87c7c94b
Initial Zone tests
Bryan Boreham
2014-10-14 16:06:25 +01:00
8ebc06315c
Detect duplicate add
Bryan Boreham
2014-10-14 16:06:08 +01:00
0f364f7e47
Merge pull request #114 from squaremo/decimate_readme
rade
2014-10-14 15:35:32 +01:00
9bd464a003
Make putForm more generic
Bryan Boreham
2014-10-14 15:23:20 +01:00
7f6e0a1e42
Make error message more helpful
Bryan Boreham
2014-10-14 15:19:20 +01:00
36fa3cca73
Tidy up
Bryan Boreham
2014-10-14 14:12:42 +01:00
6bff651e87
Changed to new URL scheme with container identifier
Bryan Boreham
2014-10-14 11:55:45 +01:00
16732c9e0c
Changed payload format
Michael Bridgen
2014-10-13 16:32:59 +01:00
5935159d9d
Removed cross-compilation bobbins
Michael Bridgen
2014-10-13 15:43:38 +01:00
e294269393
Features link here too
Michael Bridgen
2014-10-13 10:13:04 +01:00
32a7975777
make it clearer in usage message that subnet is specified as CIDR
Matthias Radestock
2014-10-11 03:59:48 +01:00
0e4a30c9ee
refactor: 'ip addr list' -> '... show' Since the man page only mentions the latter
Matthias Radestock
2014-10-11 03:50:56 +01:00
50d343e2fb
Use specified port for http listener
Bryan Boreham
2014-10-10 17:36:46 +01:00
03cd04249c
Check number of results received
Bryan Boreham
2014-10-10 17:36:23 +01:00
be3d089410
Shorten mDNS timeout
Bryan Boreham
2014-10-10 17:14:39 +01:00
ed6c7cb784
Concatenate multiple replies received over mDNS
Bryan Boreham
2014-10-10 17:14:06 +01:00
8521fdea0e
Reply with array of addresses for delegated query
Bryan Boreham
2014-10-10 16:31:09 +01:00
b5214f65e7
Forward DNS requests that aren't for our 'weave' domain
Bryan Boreham
2014-10-10 15:41:09 +01:00
de65dc7996
Move usage of mdnsClient after initialization
Bryan Boreham
2014-10-10 15:34:54 +01:00
bfe1b27ee8
Added links to docs on gh-pages site
Michael Bridgen
2014-10-10 15:30:52 +01:00
35ee71097a
Took out things that will appear in the gh-pages site
Michael Bridgen
2014-10-10 15:25:30 +01:00
c384bee226
Add -tags netgo
Bryan Boreham
2014-10-10 14:27:52 +01:00
f79496ddcb
Merge pull request #111 from zettio/93_fqdn_peers
Bryan Boreham
2014-10-10 12:43:58 +01:00
61ce4d36e5
Change README to say that hostnames are allowed on the commandline
Bryan Boreham
2014-10-10 12:42:37 +01:00
8de22f4bf1
reformat
Bryan Boreham
2014-10-10 12:28:52 +01:00
be39cb01bd
Resolve peer names to IP address at startup
Bryan Boreham
2014-10-10 12:22:01 +01:00
af3e1b8888
Revert "Resolve name to IP address when removing connected targets"
Bryan Boreham
2014-10-10 11:57:34 +01:00
b1b75c4a8a
Moved the server startup code out of main.go
Michael Bridgen
2014-10-10 11:53:21 +01:00
eef311ba69
Resolve name to IP address when removing connected targets
Bryan Boreham
2014-10-10 11:45:10 +01:00
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)
Matthias Radestock
2014-10-09 20:57:56 +01:00
7b02365de8
make dns resolution work in weave container by using go's internal DNS resolver.
Matthias Radestock
2014-10-09 19:33:58 +01:00
d48548b1b7
Included -iface in container args
Michael Bridgen
2014-10-09 15:17:36 +01:00
65e95cd46a
Factor out channel
Bryan Boreham
2014-10-09 14:46:53 +01:00
17d192caee
Add test for two parallel queries
Bryan Boreham
2014-10-09 14:15:02 +01:00
5b32fa58e6
factor out response checking
Bryan Boreham
2014-10-09 14:11:16 +01:00
d41284f66d
Refactor test setup
Bryan Boreham
2014-10-09 13:08:58 +01:00
0f8932fbcd
Add test for name that we don't know
Bryan Boreham
2014-10-08 17:16:57 +01:00
64e9121e5b
Simple test of http function
Bryan Boreham
2014-10-08 17:00:41 +01:00
eec53d6c4d
Test failure condition
Bryan Boreham
2014-10-08 15:20:12 +01:00
97077339f4
Send back errors for SendQuery
Bryan Boreham
2014-10-08 15:19:30 +01:00
8295ecfe46
Shut down listener when test finished
Bryan Boreham
2014-10-08 14:46:10 +01:00
f30ecb4a48
MDNS Server test
Bryan Boreham
2014-10-08 14:40:38 +01:00
6fc817104e
Shut down client when test finished
Bryan Boreham
2014-10-08 14:40:18 +01:00
3175e64b63
Shut down multicast listener when client is shut down
Bryan Boreham
2014-10-08 14:24:29 +01:00
de94b06e89
Wait for response synchronously
Bryan Boreham
2014-10-08 14:19:31 +01:00
6a60b7b628
Don't need multiplexer
Bryan Boreham
2014-10-08 14:16:13 +01:00
6a9e0bb23f
Shut down minimal server at end of test
Bryan Boreham
2014-10-08 14:14:10 +01:00
dbc77b2943
Don't crash on nil (default) interface
Bryan Boreham
2014-10-08 14:13:05 +01:00
6506b63520
Removed IsInflightQuery that is done by IP address now
Bryan Boreham
2014-10-08 13:49:20 +01:00
d234fe9506
Move handleMDNS into server file
Bryan Boreham
2014-10-08 12:31:20 +01:00
8083779f21
Merge pull request #105 from squaremo/master
rade
2014-10-08 12:15:23 +01:00
659e839652
Added link to weave blog
Michael Bridgen
2014-10-08 11:57:51 +01:00