Alvaro Saurin
3bdfa9b050
Make lint happy
2015-04-28 12:05:24 +02:00
Alvaro Saurin
42fa953053
Minor: logs messages...
2015-04-28 12:05:24 +02:00
Alvaro Saurin
18b7110c31
Stringer'ify some structs
2015-04-28 12:05:24 +02:00
Alvaro Saurin
4aa5e0a97e
Minor: logging
2015-04-28 12:05:24 +02:00
Alvaro Saurin
ce12b36433
Unit test for multiple answers from a mDNS server
2015-04-28 12:05:21 +02:00
Alvaro Saurin
9e5fe255a5
Improved mocks
2015-04-28 12:02:51 +02:00
Alvaro Saurin
d7c154ea41
Removed the "now" parameters and use an external clock provider
2015-04-28 12:02:49 +02:00
Alvaro Saurin
7de2080b9e
Added a TTL to the zone records
2015-04-28 11:59:21 +02:00
Alvaro Saurin
22a229c305
Utility function raddrToIP()
2015-04-28 11:52:08 +02:00
Tom Wilkie
840a493e62
Merge pull request #604 from weaveworks/build-and-pubslish-docs-site
...
Basic automation for publishing documentation
2015-04-28 09:48:26 +01:00
Alvaro
c2f55fc836
Merge pull request #609 from rade/combine_nameserver_query_handlers
...
refactor: eliminate duplication in nameserver query handlers
2015-04-27 19:50:14 +02:00
Ilya Dmitrichenko
cfb8e75411
Use shorter URLs for tags
2015-04-27 17:47:59 +01:00
Ilya Dmitrichenko
81ff18565f
Generate pointer to latest revision
2015-04-27 17:47:28 +01:00
Ilya Dmitrichenko
83c2bcd418
Build and publish docs on push, not on pull-requests
2015-04-27 17:47:25 +01:00
Ilya Dmitrichenko
0b4b849583
Refactor how sectrets are setup
2015-04-27 17:46:34 +01:00
Ilya Dmitrichenko
6bc601bbfc
Basic automation for publishing documentation
2015-04-27 17:46:34 +01:00
Matthias Radestock
e45ea65e45
tiny simplifying refactor
2015-04-27 15:51:25 +01:00
Matthias Radestock
b74348e59d
d'oh
2015-04-27 08:58:02 +01:00
Matthias Radestock
ce03f27044
refactor: use 'copy' instead of for loop for slice->array copy
2015-04-27 07:42:52 +01:00
Matthias Radestock
1de86f4312
cosmetic
2015-04-27 07:30:17 +01:00
Matthias Radestock
02a7875eb8
refactor: remove last dependency of crypto on LocalConnection
2015-04-27 07:27:31 +01:00
Matthias Radestock
ea4e84cdd3
refactor: (almost) remove dependency of crypto on LocalConnection
2015-04-27 07:14:30 +01:00
Matthias Radestock
29c02d2724
refactor: lift error handling out of Encryptor.Bytes()
...
in order to reduce dependency on LocalConnection
2015-04-27 07:12:21 +01:00
Matthias Radestock
fcd44c37e1
refactor: reduce coupling between connections and crypto
2015-04-27 06:13:41 +01:00
Matthias Radestock
ce4c79ed93
refactor: extract commonQueryHandler
...
to remove duplication between queryHandler and rdnsHandler
2015-04-26 12:40:34 +01:00
Matthias Radestock
cb42ec358e
even more alignment between queryHandler and rdnsHandler
...
in preparation of extracting common helper function
2015-04-26 11:40:28 +01:00
Matthias Radestock
1a35b5aa2b
align queryHandler and rdnsHandler
...
increasing their similarity in preparation of refactor
2015-04-26 11:20:44 +01:00
Matthias Radestock
4cc0cf795d
explain relationship to TLS
2015-04-26 09:04:09 +01:00
Matthias Radestock
ff49bb5125
document why we carry the DF flag in payload
2015-04-25 12:36:05 +01:00
Matthias Radestock
d82f60f18b
cosmetic
2015-04-25 12:06:20 +01:00
Matthias Radestock
d15575212a
refactor: no need to record 'df' in two places in state
2015-04-25 12:05:17 +01:00
Matthias Radestock
e414f6d059
cosmetic: reformat
2015-04-25 09:17:38 +01:00
rade
f217d7badf
Merge pull request #606 from awh/592_smoke_test_teardown
...
Factor out test fixture teardown
Fixes #592 .
2015-04-24 12:10:15 +01:00
Adam Harrison
d0d8144ef9
Factor out test fixture teardown
2015-04-24 12:03:57 +01:00
Adam Harrison
443b11646d
Merge pull request #559 from inercia/weave-338
...
Support for multiple responses in mDNS
2015-04-24 12:01:43 +01:00
Matthias Radestock
252dacb278
update topology docs to reflect recent changes
2015-04-23 20:46:27 +01:00
rade
2b50a183bb
Merge pull request #603 from rade/600_early_death_in_wait_for_status
...
guard against early container death in wait_for_status
Fixes #600 .
2015-04-23 17:31:43 +01:00
Matthias Radestock
ed894d52c9
guard against early container death in wait_for_status
2015-04-23 17:28:03 +01:00
Matthias Radestock
4a8fe43036
refactor: simplify "return 1 on error" code
2015-04-23 17:21:56 +01:00
Matthias Radestock
af4b7daa77
weave no longer needs to be run as root, so don't say that
2015-04-23 16:40:09 +01:00
Matthias Radestock
edf92ef958
add tests for resolving unqualified names
2015-04-23 15:21:26 +01:00
Adam Harrison
dd21cfad7f
Merge pull request #595 from rade/shrink_dns_tests
...
shrink dns tests and prevent exit on failure
2015-04-23 15:04:00 +01:00
rade
d3128808b9
Merge pull request #601 from fintanr/readme_update
...
Highlight DNS in Readme
2015-04-23 12:28:23 +01:00
Fintan Ryan
ae80d08935
Highlight DNS in Readme
2015-04-23 12:27:07 +01:00
Alvaro Saurin
41ae6e0b7a
Make "go vet" happy
2015-04-23 13:01:29 +02:00
Alvaro Saurin
56859a9c30
Run gofmt
2015-04-23 13:01:29 +02:00
Alvaro Saurin
58c8945b32
Support "insistent" queries in the mDNS client, used for obtaining all possible responses from mDNS servers.
...
Support for multiple responses from Lookup*() methods
Support for multiple records when building packets with make*() methods
Use a common "ZoneRecord" interface for structs that contain names and IPs
2015-04-23 13:01:29 +02:00
Matthias Radestock
ec29c2c776
cosmetic
2015-04-23 08:04:12 +01:00
Matthias Radestock
22c04bfc24
don't use $(exec_on ...)
...
since that will cause the test to exit on failure
2015-04-22 20:09:34 +01:00
Matthias Radestock
eebb674232
simplify dns tests
...
- use 'host' to lookup MX record. It's shorter
- use getent everywhere else for dns lookups, instead of dig; this
tests more of the o/s name resolution machinery and is generally
shorter.
- introduce assert_dns_record helper that performs forward and reverse
- lookup introduce some vars for holding constants, so we don't have
to repeat them
2015-04-22 19:38:04 +01:00