Matthias Radestock
7cc0052451
refactor: separate NullNetworkOverlay from NullOverlay
2015-11-09 15:47:07 +00:00
Matthias Radestock
18f8e29af8
refactor: separate NetworkOverlay from Overlay
...
...since connections only need to know about the latter.
2015-11-09 15:47:07 +00:00
Matthias Radestock
d78f6614cc
refactor: separate forwarder from overlay connection
...
...since the main connections only need to know about the former.
We make LocalConnection.Overlay (formerly '.forwarder') public since
the router needs access to it, and it shouldn't be doing that via a
private field.
2015-11-09 15:45:06 +00:00
Matthias Radestock
97622b961c
remove cruft
2015-11-08 13:06:29 +00:00
Matthias Radestock
b7e7c11a57
refactor: make Overlay setting more explicit
2015-11-08 12:29:36 +00:00
Matthias Radestock
59e11e4e8a
refactor: more flexible Routes API
2015-11-08 11:15:31 +00:00
Matthias Radestock
39b0357517
Merge branch '1.2'
2015-11-08 11:04:48 +00:00
Matthias Radestock
878a12002c
set http listen address solely through the weave script
...
Previously it was set by the script only in fastdp mode; and in the
router's main.go otherwise. Yet every interaction of the script with
weave assumes the port is the script's HTTP_PORT=6784. By always
starting the router with options to listen on that port we ensure that
the router is in fact listening where the script expects it to.
In doing this get rid of router.HTTPPort. We do need to hard-code the
port in the proxy instead, but relying on router.HTTPPort was flawed
anyway, for the above reasons.
2015-11-07 18:01:12 +00:00
Matthias Radestock
d3d2863d52
refactor: get rid of const.go
2015-11-07 16:32:23 +00:00
Matthias Radestock
f3f23b43b5
refactor: crypto doesn't need to be a generic overlay feature
2015-11-07 16:14:31 +00:00
Matthias Radestock
006262ed8f
refactor: Connections don't need to know about overlay crypto
2015-11-07 16:10:00 +00:00
Matthias Radestock
519aef86fa
refactor: split crypto code
2015-11-07 15:59:15 +00:00
Matthias Radestock
8bd77c0d47
refactor: get rid of router/utils.go
...
most functions end up in other files in the router package, but a few
land in common.
2015-11-07 15:45:29 +00:00
Matthias Radestock
7a5c910cd5
tiny refactor: inline a tiny single-use fun and move another
2015-11-07 12:44:13 +00:00
Matthias Radestock
4e34f2001c
cosmetic
2015-11-07 11:14:11 +00:00
Matthias Radestock
54b7e2c874
tiny refactor: use checkWarn in a few more places
2015-11-07 11:08:44 +00:00
Matthias Radestock
19f89f7122
remove duplicate test
...
this is already covered in dns_fallback_test
2015-11-07 07:30:53 +00:00
Matthias Radestock
9f25d72a4a
cosmetic
2015-11-07 05:43:20 +00:00
Adam Harrison
3e99b71e0f
Merge pull request #1643 from weaveworks/refactor-forwarder-remote-address
...
Refactor: remove knowledge of overlay connectivity details from Local{Peer,Connection}
2015-11-06 16:02:10 +00:00
Matthias Radestock
fb3b690c5f
refactor: reduce coupling between LocalConnection and Forwarder
2015-11-05 21:27:14 +00:00
Matthias Radestock
18fe553d23
LocalConnection shouldn't have to know about remote UDP address
...
...and generally know less about how overlays establish connectivity.
2015-11-05 20:43:52 +00:00
Matthias Radestock
e7ff6a2191
LocalPeer shouldn't have to know about remote UDP address
...
...and LocalConnection shouldn't have to remember it
2015-11-05 19:32:49 +00:00
Matthias Radestock
ad15e5a234
cosmetic
2015-11-05 19:01:34 +00:00
Matthias Radestock
094c7aa438
cosmetic
2015-11-05 17:24:38 +00:00
Adam Harrison
472ed5a7d3
Merge pull request #1640 from weaveworks/1588-disable-docker-restart
...
Disable restart of docker in test 640
2015-11-05 15:40:01 +00:00
Adam Harrison
f284300870
Merge pull request #1636 from weaveworks/1635-notation
...
Drop use of interval notation when printing ranges
2015-11-05 15:38:40 +00:00
Adam Harrison
ab5f4410b6
Add release v1.2.1
v1.2.1
2015-11-05 14:34:13 +00:00
Bryan Boreham
a400a3dd09
Disable restart of docker
2015-11-05 14:20:38 +00:00
Bryan Boreham
c4855e8123
Merge branch '1.2'
2015-11-05 12:41:39 +00:00
Adam Harrison
3abb657777
Document port security
2015-11-05 12:23:17 +00:00
Adam Harrison
4dd63d8f72
Bind the HTTP listener to localhost when fastdp enabled
...
Prevent containers from accessing the weave router control port when
fast datapath is in use.
2015-11-05 12:23:17 +00:00
Bryan Boreham
6c0bdec2c9
Merge pull request #1637 from weaveworks/issues/1632-http-localhost-bind
...
Bind router HTTP listener to localhost when fastdp enabled
LGTM. Fixes #1632
2015-11-05 12:20:20 +00:00
Adam Harrison
d6dd1f269a
Document port security
2015-11-05 12:16:57 +00:00
Bryan Boreham
2bd23f3709
Merge branch '1.2' to pull in latest_release_doc_updates
2015-11-05 12:05:25 +00:00
Bryan Boreham
79dc464b83
Merge branch 'latest_release_doc_updates' into 1.2
2015-11-05 12:04:54 +00:00
Bryan Boreham
3dbd5b11d8
Segregate discussion of range and subnet, and explain subnet a bit
2015-11-05 11:32:06 +00:00
Bryan Boreham
549fd5fe29
Merge branch '1.2'
2015-11-05 11:30:53 +00:00
Bryan Boreham
0ab5c65185
Merge pull request #1630 from weaveworks/issues/1588-improve-proxy-restart-reattach-test
...
Improve proxy restart reattach test reliability
2015-11-05 11:25:31 +00:00
Bryan Boreham
5f4753f881
Segregate discussion of range and subnet, and explain subnet a bit
2015-11-05 10:13:06 +00:00
Bryan Boreham
e03a45f8c5
Update docs to match loss of interval notation
2015-11-05 10:11:43 +00:00
Adam Harrison
67c2d53e59
Bind the HTTP listener to localhost when fastdp enabled
...
Prevent containers from accessing the weave router control port when
fast datapath is in use.
2015-11-04 17:42:24 +00:00
Bryan Boreham
7b01dd9794
Drop use of interval notation
2015-11-04 16:45:16 +00:00
Bryan Boreham
04e50ff02c
Merge branch '1.2'
2015-11-04 16:40:30 +00:00
Bryan Boreham
e57ccdc858
Merge branch 'latest_release_doc_updates' into 1.2
2015-11-04 16:39:43 +00:00
Bryan Boreham
a73a65b48a
Removed obsolete text referring to mixed auto-manual allocation, and clarify Range printout
2015-11-04 16:36:44 +00:00
Adam Harrison
781c805e10
Merge branch '1.2'
2015-11-04 15:32:17 +00:00
Adam Harrison
7c4af88911
Merge pull request #1606 from weaveworks/issues/1578_ufw_ubuntu
...
Add an iptables rule for letting weaveDNS requests in
2015-11-04 15:30:34 +00:00
Alvaro Saurin
0aca173e96
Add an iptables rule for letting weaveDNS requests in
2015-11-04 14:00:26 +01:00
Matthias Radestock
60db57a41c
refactor: remove duplicate isKnownPeer function
2015-11-03 18:11:53 +00:00
Matthias Radestock
df68f7dcb9
Merge branch '1.2'
2015-11-03 17:56:36 +00:00