Commit Graph

10 Commits

Author SHA1 Message Date
Phil Sutter
e68693c04a tests: TRACE-target-of-iptables-can-t-work-in: Allow rmmod to fail
Modules are loaded with older kernels only, ignore if rmmod fails.
2023-10-27 20:34:56 +00:00
Phil Sutter
33ffe56c42 tests: iptables-nft does not lock in user space anymore
Effectively disable xtables-tools-locking-vulnerable-to-local-DoS unless
for old versions of RHEL/Fedora/CentOS.

Related: RHEL-14147
2023-10-27 20:10:19 +00:00
Phil Sutter
66c02f9077 tests: iptables-save-cuts-space-before-j: Fix for CentOS
Newer CentOS behave just like newer RHEL.

Related: RHEL-14147
2023-10-27 20:10:16 +00:00
Phil Sutter
26c9e1e407 tests: With iptables-nft, TRACE works differently
This is 'meta nftrace' internally, therefore have to use
'xtables-monitor --trace' command to fetch the traces (which also look a
bit differently).

Related: RHEL-14147
2023-10-27 20:10:13 +00:00
Phil Sutter
d977b706cf tests: Drop checks for iptables RPM
On one hand, the check will fail as the RPM is called 'iptables-nft'. On
the other, if the RPM is missing the commands will fail as well so this
check happens implicitly anyway.

Related: RHEL-14147
2023-10-27 18:59:35 +00:00
Phil Sutter
0d517b6b1f tests: Disable backport-iptables-add-libxt-cgroup-frontend test
It is disabled in RHTS as well. The main issue is that starting with
RHEL9, libcgroup-tools is no longer available. The test had to be
migrated to cgroups v2 in order to pass.

Related: RHEL-14147
2023-10-27 18:59:35 +00:00
Phil Sutter
0f36a69aec tests: Fix bridge-utils replacement
Typo in 'ip link add', 'type' argument was missing. Also update
'Requires:' line in Makefile.

Related: RHBZ#1954581
2021-06-16 11:35:10 +02:00
Phil Sutter
099ca6a1b5 tests: Drop dependency on non-existing bridge-utils
Replace the calls by equivalent ones to 'ip'.

Related: RHBZ#1954581
2021-06-14 13:42:25 +02:00
DistroBaker
b95090f5f5 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/iptables.git#648ffbc31613acd9f9015892c0820df9be00cb89
2021-01-28 14:21:56 +00:00
Petr Šabata
311316e433 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/iptables#fb677ca83cc1a1ad64e67ae869318c8909650c47
2020-10-15 13:44:19 +02:00