]> git.proxmox.com Git - mirror_ovs.git/commit
conntrack: add generic IP protocol support
authorEelco Chaudron <echaudro@redhat.com>
Mon, 12 Oct 2020 11:38:38 +0000 (07:38 -0400)
committerIlya Maximets <i.maximets@ovn.org>
Mon, 21 Dec 2020 17:50:52 +0000 (18:50 +0100)
commita27d70a8984879bc0a66afc2d7c35149659be24d
treefecd97772f2bbe26c25280b1cbd2ff273417e9d0
parentced0d8fb9267139226e5e4157eac9475c3d4086c
conntrack: add generic IP protocol support

Currently, userspace conntrack only tracks TCP, UDP, and ICMP, and all
other IP protocols are discarded, and the +inv state is returned. This
is not in line with the kernel conntrack. Where if no L4 information can
be extracted it's treated as generic L3. The change below mimics the
behavior of the kernel.

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
NEWS
lib/conntrack-private.h
lib/conntrack.c
tests/system-traffic.at