• Jacob Tanenbaum's avatar
    Correctly Clear conntrack entrty on endpoint changes when using nodeport · 144280e7
    Jacob Tanenbaum authored
    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: 's avatarJacob Tanenbaum <jtanenba@redhat.com>
    144280e7
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
proxier.go Loading commit data...
proxier_test.go Loading commit data...