Tom Wilkie
f9c43fecf4
Wait for VMs to come up before connecting
2015-05-07 17:00:36 +00:00
Paul Bellamy
93012a1cfd
Merge pull request #637 from weaveworks/circle
...
Improvements to circle ci integration
2015-05-07 17:32:53 +01:00
Tom Wilkie
5ed8ad46ee
Don't need gsutil on circle; use a prebuild weave-build image and cache it locally.
2015-05-07 16:23:08 +00:00
rade
5e5e932584
Merge pull request #627 from grkvlt/feature/add-dns-entry
...
add `weave dns-add/remove` commands
Closes #364 .
2015-05-07 13:05:45 +01:00
Tom Wilkie
26b6b743f5
Use a template with everything installed for GCE tests.
2015-05-07 11:15:13 +00:00
Andrew Kennedy
633d539b60
New commands to add and remove DNS entries
...
- Commands dns-add and dns-remove added to weave script
- Updated documentation for WeaveDNS
- Added test script for dns-add and dns-remove
- Added IP address functions matching existing CIDR ones
2015-05-07 12:13:59 +01:00
Tom Wilkie
432662bc86
Create multiple GCE VMs at a time.
2015-05-07 10:20:26 +00:00
Matthias Radestock
04ceb5620b
allow user to supply args to docker for remote execution
...
DOCKER_CLIENT_ARGS - for args to docker
WEAVEEXEC_DOCKER_ARGS - for extra args to `docker run`
Closes #626 .
2015-05-07 09:27:22 +01:00
Matthias Radestock
63829a07c5
fix typo
2015-05-06 23:35:32 +01:00
Matthias Radestock
2028861a58
refactor
...
0 is the default
2015-05-06 22:13:02 +01:00
rade
efd704c798
Merge pull request #589 from inercia/weave-588
...
return NXDOMAIN instead of NOTIMP
Fixes #588 .
2015-05-06 19:50:51 +01:00
Matthias Radestock
d6f4ebec50
Merge branch 'inercia-weave-common-signals'
2015-05-06 19:40:24 +01:00
Matthias Radestock
14b99fac2a
minor refactors
2015-05-06 19:39:44 +01:00
Matthias Radestock
8caa58af26
Merge branch 'weave-common-signals' of https://github.com/inercia/weave into inercia-weave-common-signals
2015-05-06 19:33:06 +01:00
Tom Wilkie
213337c210
Fix circle badge
2015-05-06 15:34:01 +00:00
Tom Wilkie
f8ce0354ae
Merge pull request #634 from weaveworks/circle
...
Add circle ci badge to README
2015-05-06 16:28:06 +01:00
Tom Wilkie
3c813f71f6
Add circle ci badge to README
2015-05-06 15:15:14 +00:00
Tom Wilkie
9f75e4eba5
Merge pull request #624 from weaveworks/circle
...
Spin up test VMs on GCE during a circle ci run and use them to run the integration tests.
2015-05-06 15:28:26 +01:00
Tom Wilkie
e5ae053b4f
Spin up test VMs on GCE during a circle ci run and use them to run the integration tests.
2015-05-06 14:01:41 +00:00
Alvaro Saurin
f723d5afd8
Move the router to the new signals handler
2015-05-06 15:07:36 +02:00
Alvaro Saurin
dbc4b68301
Use a general signals handler
2015-05-06 15:06:54 +02:00
Matthias Radestock
dfac7ea564
Merge branch 'awh-reduced_gob'
2015-05-05 22:10:38 +01:00
Matthias Radestock
e656d74633
cosmetic
2015-05-05 22:08:03 +01:00
Matthias Radestock
22e612a738
Merge branch 'reduced_gob' of https://github.com/awh/weave into awh-reduced_gob
2015-05-05 21:36:09 +01:00
Alvaro Saurin
ba98135e03
Return NOTIMP for some unimplemented query types, NXDOMAIN otherwise
2015-05-05 21:31:11 +02:00
Matthias Radestock
e23c15dab2
hostname->fqdn
2015-05-05 18:58:44 +01:00
Adam Harrison
1703250e87
Merge pull request #628 from rade/605_expose_with_multiple_subnets
...
prevent interference of expose in other subnets
2015-05-05 17:48:57 +01:00
Matthias Radestock
d8f1a04467
only NAT when crossing between subnets
...
otherwise we can end up NATing traffic inside a subnet, placing it
outside the subnet and thus breaking connectivity.
2015-05-05 16:00:37 +01:00
Matthias Radestock
12ce7d4c18
add some tests of weave expose/hide functionality
2015-05-05 16:00:37 +01:00
Adam Harrison
ab68a1c325
Introduce PeerSummary
2015-05-05 10:59:09 +01:00
Matthias Radestock
56038674b1
enable weave script debugging with WEAVE_DEBUG
...
Closes #618
2015-05-04 10:28:24 +01:00
Matthias Radestock
72e8b3dcc0
fix comment
2015-05-03 21:42:26 +01:00
Matthias Radestock
5aa912c6e9
Merge branch 'dpw-check-libpcap-version'
...
Fixes #623 .
2015-05-02 17:49:00 +01:00
Matthias Radestock
e40f1fe9a7
fix typo and reformat
2015-05-02 17:46:21 +01:00
David Wragg
be983931fc
Produce a better error message when there is no real SetImmediateMode
...
If gopacket is compiled against an older pcap.h that doesn't have
pcap_set_immediate_mode, it supplies a dummy definition that
always returns PCAP_ERROR. That becomes "Generic error", which
is not very helpful. The real pcap_set_set_immediate never
returns PCAP_ERROR, so this turns it into a more informative
message.
2015-05-01 21:40:53 +01:00
Matthias Radestock
64f7e04e14
Merge remote-tracking branch 'upstream/master'
2015-05-01 10:10:11 +01:00
Matthias Radestock
221c07067e
Accurately describe WeaveDNS status and link to correct docs
2015-05-01 10:08:45 +01:00
David Wragg
17be43ff9e
Merge rade/counter_nonce (PR #617 )
...
replace random nonces with message sequence numbers
Fixes #564 .
2015-04-30 14:54:10 +01:00
Matthias Radestock
cdf7542c25
update docs
2015-04-30 14:47:16 +01:00
Matthias Radestock
137776bcb2
remove decryptor shutdown
...
we only needed it because of the nonce channels
2015-04-30 14:47:16 +01:00
Matthias Radestock
e223899982
remove nonce transmission from protocol
2015-04-30 14:47:16 +01:00
Matthias Radestock
b365c3806b
replace random nonces with message sequence numbers in udp crypto
2015-04-30 14:47:16 +01:00
Matthias Radestock
696bfe464c
replace random nonces with message sequence numbers in tcp crypto
...
Since TCP is reliable, we do not need to transmit the nonce itself;
the recipient can simply construct the nonce from its own message
counter. Hence there is no message envelope and we can thus remove a
whole layer of encoding.
2015-04-30 14:47:16 +01:00
rade
87f47a60ae
Merge pull request #621 from errordeveloper/fix-binding-hostproc-within-container-where-is-already-bound
...
Should not pass value of `$PROCFS`
Fixes #622 .
2015-04-30 14:06:19 +01:00
Ilya Dmitrichenko
9d0c9f1264
Move definition of $PROCFS (cosmetic)
...
It's not required to be set at the top, it's only looked at down below.
2015-04-30 13:49:39 +01:00
Michael Bridgen
d710684f8e
Should not pass value of $PROCFS ( close #622 )
...
This is picked from squaremo/weave@d3cc606d5b
The environment variable `PROCFS` was originally added so that the script
could be run in a container. The host's /proc is bind-mounted as /hostproc,
and the script must be told this.
The remote weaving changes got this a bit wrong, by using the value of
`$PROCFS` in a "volume" mount argument (`-v`) to docker -- but when
invoking a container, the left-hand-side of the volume mount should
*always* be `/proc` (and the right-hand-side always `/hostproc`),
since it will always be binding the host's `/proc` to the container's
`/hostproc`.
The gist is that docker looks at host's root filesystem and if you
pass `-v /hostporc:/hostproc` when running from a container where
you have already bind-mounted it, it will end-up creating empty
directory in the target container as there is no `/hostproc` from
docker's perspective.
2015-04-30 13:49:29 +01:00
Adam Harrison
b48a93c483
Remove obsolete connsIterator
2015-04-30 13:06:57 +01:00
Adam Harrison
047614b540
Encode/decode []ConnectionSummary instead of []byte
2015-04-30 13:03:18 +01:00
Matthias Radestock
0fc0b9a671
cosmetic
2015-04-30 08:54:42 +01:00
Adam Harrison
26dfc42034
Bump protocol version due to gob restructuring
2015-04-29 16:39:14 +01:00