libvirt/tests/nwfilterxml2firewalldata
Daniel P. Berrangé 2a95dbd03c nwfilter: drop support for legacy iptables conntrack direction
Long ago we adapted to Linux kernel changes which inverted the
behaviour of the conntrack --ctdir setting:

  commit a6a04ea47a
  Author: Stefan Berger <stefanb@us.ibm.com>
  Date:   Wed May 15 21:02:11 2013 -0400

    nwfilter: check for inverted ctdir

    Linux netfilter at some point (Linux 2.6.39) inverted the meaning of the
    '--ctdir reply' and newer netfilter implementations now expect
    '--ctdir original' instead and vice-versa.
    We check for the kernel version and assume that all Linux kernels with version
    2.6.39 have the newer inverted logic.

    Any distro backporting the Linux kernel patch that inverts the --ctdir logic
    (Linux commit 96120d86f) must also backport this patch for Linux and
    adapt the kernel version being tested for.

    Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>

Given our supported platform targets, we no longer need to
consider a version of Linux before 2.6.39, so can drop
support for the old direction behaviour.

The test suite updates are triggered because that never
probed for the ctdir direction, and so the iptables syntax
generator unconditionally dropped the ctdir args.

Reviewed-by: Laine Stump <laine@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-03-09 11:37:32 +00:00
..
ah-ipv6-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
ah-ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
ah-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
ah.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
all-ipv6-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
all-ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
all-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
all.xml
arp-linux.args
arp.xml
comment-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
comment.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
conntrack-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
conntrack.xml
esp-ipv6-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
esp-ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
esp-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
esp.xml
example-1-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
example-1.xml
example-2-linux.args nwfilter: drop support for legacy iptables match syntax 2022-03-09 11:37:12 +00:00
example-2.xml
hex-data-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
hex-data.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
icmp-direction2-linux.args nwfilter: drop support for legacy iptables match syntax 2022-03-09 11:37:12 +00:00
icmp-direction2.xml
icmp-direction3-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
icmp-direction3.xml
icmp-direction-linux.args nwfilter: drop support for legacy iptables match syntax 2022-03-09 11:37:12 +00:00
icmp-direction.xml
icmp-linux.args nwfilter: drop support for legacy iptables match syntax 2022-03-09 11:37:12 +00:00
icmp.xml
icmpv6-linux.args nwfilter: drop support for legacy iptables match syntax 2022-03-09 11:37:12 +00:00
icmpv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
igmp-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
igmp.xml
ip-linux.args
ip.xml
ipset-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
ipset.xml
ipt-no-macspoof-linux.args
ipt-no-macspoof.xml
ipv6-linux.args tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
iter1-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
iter1.xml Add a test suite for nwfilter ebiptables tech driver 2014-04-25 15:44:10 +01:00
iter2-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
iter2.xml
iter3-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
iter3.xml
mac-linux.args
mac.xml
rarp-linux.args
rarp.xml
ref-rule.xml
ref.xml
sctp-ipv6-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
sctp-ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
sctp-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
sctp.xml
stp-linux.args
stp.xml
target2-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
target2.xml
target-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
target.xml
tcp-ipv6-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
tcp-ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
tcp-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
tcp.xml
udp-ipv6-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
udp-ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
udp-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
udp.xml
udplite-ipv6-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
udplite-ipv6.xml tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
udplite-linux.args nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
udplite.xml
vlan-linux.args
vlan.xml