Re: [Swan-dev] CAT and NFTABLES?

2023-12-26 Thread Antony Antony
On Sun, Dec 24, 2023 at 05:17:12PM -0500, Paul Wouters wrote: > > Hi, > > Antony added the following code: > > +#if defined(HAVE_NFTABLES) > + if (spd->local->child->has_cat) { > + ip_selector client = > selector_from_address(spd->local->host->addr); > + > +

[Swan-dev] CAT and NFTABLES?

2023-12-24 Thread Paul Wouters
Hi, Antony added the following code: +#if defined(HAVE_NFTABLES) + if (spd->local->child->has_cat) { + ip_selector client = selector_from_address(spd->local->host->addr); + + if (!raw_policy(KERNEL_POLICY_OP_ADD, +