Bryan Boreham
df52117bfa
Remove unused code
2020-07-31 09:03:27 +00:00
Bryan Boreham
00623be8a7
Merge pull request #3624 from weaveworks/trim-tools
...
Remove some unused tools from the Weave docker containers
2020-07-30 14:14:49 +01:00
Bryan Boreham
4d3e8d4a82
Merge pull request #3726 from weaveworks/slim-dependencies
...
Slim utility binaries by reducing dependencies
2020-07-30 14:13:47 +01:00
Bryan Boreham
2cc5c635c9
Add 'encrypted' label to connections metric
...
Extend tests to check it shows up.
Tests assume that metrics are published with metrics in alphabetical
order, which appears to be the case for now.
2020-07-30 11:07:33 +00:00
Bryan Boreham
865e2b726f
Ensure maps for connection counts are created before use
...
We know all the expected states, so can pre-create maps
2020-07-30 10:25:14 +00:00
Bryan Boreham
f6a3af4a10
Add a check for correct metrics in smoke-test
2020-07-30 10:25:14 +00:00
Dave Henderson
2deb7e2e48
Add new 'type' label to weave_connections metric
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com >
2020-07-30 10:24:38 +00:00
Bryan Boreham
ce38141e5b
Merge pull request #3835 from nesc58/iptables-w
...
wait added to iptables commands
2020-07-29 17:25:36 +01:00
Bryan Boreham
6bc656d66c
Move address range helpers into address package
...
This means that users don't drag in a dependency on aws-sdk.
2020-07-29 13:08:35 +00:00
Bryan Boreham
ca4f93d0d7
Remove the dependency of 'ipset' package on Kubernetes
...
We don't want everyone that uses the `net` package to get a transitive
dependency on the Kubernetes APIs, so have it define the `UID` type.
Conceptually this is a simple change because `UID` is a `string`, but
unfortunately it is used in a lot of places.
2020-07-29 13:08:35 +00:00
Bryan Boreham
a3c76e141b
Move name constants to separate 'chains' package, to reduce dependencies
...
We don't want everyone that uses the `net` package to get a transitive
dependency on the Kubernetes APIs required by `npc`.
2020-07-29 12:55:46 +00:00
Nesc58
f4009c39d8
wait added to iptables commands
2020-07-28 10:46:49 +02:00
Bryan Boreham
9928ddb401
Merge branch '2.6'
2020-07-27 17:44:11 +00:00
Bryan Boreham
7b927a7bac
Merge pull request #3802 from weaveworks/reload-ip-tables
...
Reload router iptables rules if they get cleared
2020-07-24 14:33:47 +01:00
Simon Howe
341bac9968
Rename Monitor -> MonitorForIptablesFlush
...
- Makes it all a bit more explicit
2020-07-24 15:04:28 +02:00
Simon Howe
1d7ca17c3e
Improve Monitor function description
2020-07-24 15:01:45 +02:00
Konstantin Suvorov
add109a63d
Merge pull request #4 from a-kataev/dns-aliases
...
Fixed mismatched types
2020-07-17 08:50:45 +03:00
Alex Kataev
0f276a4d63
Fixed mismatched types in the condition
2020-07-17 10:45:53 +05:00
Konstantin Suvorov
0ac333b91c
Merge pull request #3 from a-kataev/dns-aliases
...
Additional DNS names registration
2020-07-16 22:11:11 +03:00
Alex Kataev
acbd744372
Refactor: additional DNS names registration
2020-07-15 16:34:28 +05:00
Simon Howe
c0e5008202
Update tests after removing canary refresh flag
2020-07-15 11:37:53 +02:00
Simon Howe
899490c3f9
Removes disabling iptable canary
...
- Should always be on. Simpler.
2020-07-15 11:37:53 +02:00
Simon Howe
709b434f55
Clean up the Monitor go routine
2020-07-15 11:37:53 +02:00
Simon Howe
ca7103d007
Review feedback: don't recreate NoMasqLocalIpset onCanaryDeleted
2020-07-15 11:37:53 +02:00
Simon Howe
66eb80d841
Adds a CANARY chain and Monitor loop instead of reapplying iptables
2020-07-15 11:37:16 +02:00
Simon Howe
94e75e45af
Make ConfigureIPTables idempotent and poll it
...
- Instead of EnsureBridge
- Adds ipset.ExistEntry method
- Refactor ipset method names Exist <-> EntryExists
- Turn on iptable-refresh by default (10s)
- Adds a test that checks iptables are refreshed, check EXPOSE recovers
2020-07-15 11:35:41 +02:00
Konstantin Suvorov
fa5e032e49
Register container name and its network aliases with weaveDNS
2020-07-14 18:15:37 +03:00
Bryan Boreham
a90c0075c8
Typo
2020-06-17 17:03:13 +00:00
Bryan Boreham
1ff09fd4d1
Merge branch '2.6'
2020-06-10 17:15:14 +00:00
Bryan Boreham
e0348233af
Add release v2.6.5
v2.6.5
2020-06-10 13:41:13 +00:00
Bryan Boreham
495bea8890
Merge pull request #3808 from weaveworks/stop-switch-fwd
...
router: tell goroutine to exit when forwarder is stopped
2020-06-10 14:07:41 +01:00
Bryan Boreham
88799b36b2
Merge branch '2.6'
2020-06-04 17:53:53 +00:00
Bryan Boreham
3d79b07dba
Merge pull request #3815 from weaveworks/ignore-ipv6-not-found
...
Don't exit if machine has no ipv6 installed
2020-06-04 18:47:28 +01:00
Bryan Boreham
27f8f9092f
router: tell goroutine to exit when forwarder is stopped
...
Otherwise a goroutine is leaked each time a connection is closed.
2020-06-04 17:46:18 +00:00
Bryan Boreham
7174738d9d
Don't exit if machine has no ipv6 installed
...
We are trying to turn off `accept_ra`, so if we get an error that the
option doesn't exist we can just ignore it.
2020-06-04 16:12:38 +00:00
Bryan Boreham
11d75b27a6
Merge branch '2.6'
2020-05-30 12:13:46 +00:00
Bryan Boreham
9be65b466b
Merge pull request #3812 from weaveworks/improve-test-840
...
Kubernetes smoke-test improvements
2020-05-30 13:13:28 +01:00
Bryan Boreham
c7a235a54a
Add release v2.6.4
v2.6.4
2020-05-30 10:11:08 +00:00
Bryan Boreham
bef50d3730
Merge pull request #3811 from weaveworks/allow-dnat-127
...
Only drop traffic to the Weave Net port on 127.0.0.1
2020-05-30 11:07:13 +01:00
Bryan Boreham
9d669c3312
Merge branch '2.6'
2020-05-29 19:59:33 +00:00
Bryan Boreham
d45579bf82
Allow time for network policy changes to take effect
...
Also change from waiting longer to polling until connections are
established after restarting Weave Net.
2020-05-29 19:59:13 +00:00
Bryan Boreham
a46d18da0c
Use a more targeted iptables rule to block access to control port
...
Only block the specific port Weave Net is listening on.
Add a comment so users know what the rule is for.
Remove the rule added in v2.6.3 because it was too coarse.
2020-05-29 19:58:41 +00:00
Bryan Boreham
95c020fbe0
Merge pull request #3809 from weaveworks/move-ansible-install
...
Move ansible install out from every CI run
2020-05-29 20:58:05 +01:00
Bryan Boreham
7c2084b9af
Move ansible install out from every CI run
...
to only where we create images.
2020-05-29 13:33:30 +00:00
Bryan Boreham
ac54cfb753
Merge branch '2.6'
2020-05-29 09:02:12 +00:00
Bryan Boreham
f78c4dacc5
Add release v2.6.3
v2.6.3
2020-05-28 10:12:54 +00:00
Bryan Boreham
9245b73913
Merge pull request #3805 from weaveworks/block-remote-localhost
...
Block non-local traffic to the Weave control port
2020-05-28 10:50:55 +01:00
Bryan Boreham
6ee961b068
Block non-local traffic to the Weave control port
...
We expect the loopback address 127.0.0.1 to be accessible only from
the local host.
We need to allow RELATED,ESTABLISHED traffic which may be the return
path of a Kubernetes HostPort.
2020-05-27 16:43:50 +00:00
Bryan Boreham
0d4099bba5
Clarify the purpose of the net-dev Slack channel
2020-05-27 10:58:59 +00:00
Bryan Boreham
21c7bb3ff6
Merge branch '2.6'
2020-05-26 08:31:53 +00:00