k3s/pkg/util/conntrack
Jacob Tanenbaum 144280e7a7 Correctly Clear conntrack entrty on endpoint changes when using nodeport
When using NodePort to connect to an endpoint using UDP, if the endpoint is deleted on
restoration of the endpoint traffic does not flow. This happens because conntrack holds
the state of the connection and the proxy does not correctly clear the conntrack entry
for the stale endpoint.

Introduced a new function to conntrack ClearEntriesForPortNAT that uses the endpointIP
and NodePort to remove the stale conntrack entry and allow traffic to resume when
the endpoint is restored.

Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
2018-12-03 15:02:48 -05:00
..
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
conntrack.go Correctly Clear conntrack entrty on endpoint changes when using nodeport 2018-12-03 15:02:48 -05:00
conntrack_test.go Correctly Clear conntrack entrty on endpoint changes when using nodeport 2018-12-03 15:02:48 -05:00