From: trentbuck@gmail.com (Trent W. Buck)
To: netfilter@vger.kernel.org
Subject: Re: Systemd, nftables, and iptables
Date: Thu, 21 May 2020 12:23:38 +1000 [thread overview]
Message-ID: <87ftbu58lx.fsf@goll.lan> (raw)
In-Reply-To: db383c6d-952e-1df3-4abb-a03d46d63959@satchell.net
Stephen Satchell <list@satchell.net> writes:
> I'm building a CentOS 8.1 system on a Protectly four-port appliance,
> to be my new firewall. To avoid problems, I'm trying to remove
> IPTABLES completely from the system so there is no chance of
> interference between the two firewalls.
>
> Problem: systemd requires iptables-lib.
>
> 1. Why?
> 2. How to keep systemd from requiring iptables-lib?
I complained about this a while ago:
https://bugs.debian.org/934584
https://github.com/systemd/systemd/issues/13307
You CAN have both nftables and xtables rulesets active at the same time.
It works for me (for now), it's just EXTREMELY confusing because you
must know to check both "nft list ruleset" and "iptables-legacy-save".
systemd is built using meson, not autotools.
I don't speak meson, but meson_options.txt contains:
option('libiptc',
type : 'combo',
choices : ['auto', 'true', 'false'],
description : 'libiptc support')
So you can probably do something like "./configure --without-libiptc".
As at systemd v245-125-ga4f4a4e441,
the only thing using it seems to be systemd-nspawn --port.
So if you do not use systemd-based containers,
you will not miss this.
prev parent reply other threads:[~2020-05-21 2:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 14:13 Systemd, nftables, and iptables Stephen Satchell
2020-05-18 14:24 ` kfm
2020-05-18 14:28 ` Reindl Harald
2020-05-20 12:01 ` Alexander Dahl
2020-05-21 2:23 ` Trent W. Buck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ftbu58lx.fsf@goll.lan \
--to=trentbuck@gmail.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox