BUG? OVZ 7 + CentOS 8 + iptables v1.8.4 (nf_tables) [message #53659] |
Thu, 09 July 2020 01:19 |
andre
Messages: 36 Registered: January 2008
|
Member |
|
|
It looks like as iptables is multiplying its rules at OVZ7+CentOS8
Steps bellow:
First, we confirm that there are no references to chain TEST
# iptables-save | grep -c TEST
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
0
Next, we create a chain TEST, a basic rule and at the end we count the number of references to it
# iptables -N TEST ; iptables -A TEST -j ACCEPT ; iptables-save | grep -c TEST
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
31
31 referentes. Shouldn't there be just 2? (chain creation + rule?)
Let's check which references are those:
# iptables-save
# Generated by iptables-save v1.8.4 on Wed Jul 8 22:11:17 2020
*filter
:INPUT ACCEPT [3859:241253]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [830:110277]
:TEST - [0:0]
-A TEST -j ACCEPT
-A TEST -j ACCEPT
-A TEST -j ACCEPT
-A TEST -j ACCEPT
COMMIT
# Completed on Wed Jul 8 22:11:17 2020
# Generated by iptables-save v1.8.4 on Wed Jul 8 22:11:17 2020
*raw
:PREROUTING ACCEPT [117105:12625485]
:OUTPUT ACCEPT [120335:94805945]
-A TEST -j ACCEPT
-A TEST -j ACCEPT
COMMIT
# Completed on Wed Jul 8 22:11:17 2020
# Generated by iptables-save v1.8.4 on Wed Jul 8 22:11:17 2020
*mangle
:PREROUTING ACCEPT [117100:12624568]
:INPUT ACCEPT [117100:12624568]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [120331:94804518]
:POSTROUTING ACCEPT [120331:94804518]
-A TEST -j ACCEPT
-A TEST -j ACCEPT
-A TEST -j ACCEPT
-A TEST -j ACCEPT
-A TEST -j ACCEPT
COMMIT
# Completed on Wed Jul 8 22:11:17 2020
# Generated by iptables-save v1.8.4 on Wed Jul 8 22:11:17 2020
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A TEST -j ACCEPT
-A TEST -j ACCEPT
-A TEST -j ACCEPT
-A TEST -j ACCEPT
COMMIT
# Completed on Wed Jul 8 22:11:17 2020
# Warning: iptables-legacy tables present, use iptables-legacy-save to see them
|
|
|
|
|
|
|
|
Re: BUG? OVZ 7 + CentOS 8 + iptables v1.8.4 (nf_tables) [message #53719 is a reply to message #53659] |
Thu, 03 December 2020 20:07 |
HHawk
Messages: 32 Registered: September 2017 Location: Europe
|
Member |
|
|
Yeah, exactly. I also emailed OpenVZ and Virtuozzo. And Virtuozzo responded quite quickly and logged in etc on the server I freshly created for their testing...
They appeared to be doing / testing stuff, but then they said I needed a Virtuozzo license. So I guess they don't really care even though OpenVZ 7 shares Virtuozzo 7 stuff.
Oh well. Maybe they will fix it. Hopefully sooner than later.
//edit
@Khorenko: maybe you can investigate this issue?
[Updated on: Thu, 03 December 2020 20:18] Report message to a moderator
|
|
|
|
Re: BUG? OVZ 7 + CentOS 8 + iptables v1.8.4 (nf_tables) [message #53741 is a reply to message #53659] |
Fri, 02 April 2021 00:07 |
wsap
Messages: 71 Registered: March 2018 Location: Halifax, NS
|
Member |
|
|
While I'm grateful that they did fix these issues in the factory kernel, I'm a tad surprised that this didn't warrant the release of a new stable kernel after testing confirmed this bug was fixed.
This is currently one of the longest waits for a new stable kernel release. With vzkernel-3.10.0-1127.18.2.vz7.163.46.x86_64.rpm released on 20-Nov-2020 that makes over 4 months without security patches for OpenVZ users that don't have Virtuozzo licenses / ReadyKernel.
|
|
|