plugins/pkg/utils
Antonio Ojea 108c2aebd4 portmap plugin should flush previous udp connections
conntrack does not have any way to track UDP connections, so
it relies on timers to delete a connection.
The problem is that UDP is connectionless, so a client will keep
sending traffic despite the server has gone, thus renewing the
conntrack entries.
Pods that use portmaps to expose UDP services need to flush the existing
conntrack entries on the port exposed when they are created,
otherwise conntrack will keep sending the traffic to the previous IP
until the connection age (the client stops sending traffic)

Signed-off-by: Antonio Ojea <aojea@redhat.com>
2020-11-23 16:29:52 +01:00
..
buildversion plugins: correctly output build version, cosmetic cleanups 2019-04-15 16:52:07 +02:00
hwaddr build: some small improvements; bump to go1.10 2018-04-12 16:59:51 +02:00
sysctl pkg/utils: sysctl package should use black-box testing 2020-01-27 21:09:04 +08:00
conntrack.go portmap plugin should flush previous udp connections 2020-11-23 16:29:52 +01:00
iptables_test.go iptables: add idempotent functions 2019-12-12 15:13:15 +01:00
iptables.go iptables: add idempotent functions 2019-12-12 15:13:15 +01:00
utils_suite_test.go build: some small improvements; bump to go1.10 2018-04-12 16:59:51 +02:00
utils_test.go pkg/meta/bandwidth: increase IfbDeviceName size 2019-07-18 11:45:38 -07:00
utils.go pkg/meta/bandwidth: increase IfbDeviceName size 2019-07-18 11:45:38 -07:00