All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Florian Westphal <fw@strlen.de>
Cc: Valentijn Sessink <valentijn@sessink.nl>, netfilter@vger.kernel.org
Subject: Re: arptables-nft and comments in nft output
Date: Mon, 30 Oct 2023 18:22:50 +0100	[thread overview]
Message-ID: <20231030172250.GC21160@breakpoint.cc> (raw)
In-Reply-To: <20231028100204.GA21160@breakpoint.cc>

Florian Westphal <fw@strlen.de> wrote:
> Valentijn Sessink <valentijn@sessink.nl> wrote:
> > I'm using arptables (nft iptables version 1.8.7) with
> > arptables -A OUTPUT -d 10.21.22.129 -j mangle --mangle-ip-s 10.21.22.161
> > 
> > Now I'm a bit confused by the nft output:
> > 
> > table arp filter {
> > 	chain OUTPUT {
> > 		type filter hook output priority filter; policy accept;
> > 		arp htype 1 arp hlen 6 arp plen 4 arp daddr ip 10.21.22.129 counter
> > packets 1288 bytes 54096 # --mangle-ip-s 10.21.22.161	}
> > }
> > 
> > The nft wiki only says "In the case of some missing translation, you will
> > see a commented rule in nftables" - but it doesn't say what to do.
> > 
> > Now I'm confused. Does this mean that I cannot use "nft" to setup this very
> > rule? Should I use "arptables-nft" to set this rule? Or is there another
> > way?
> 
> It might just be a missing translation.

FWIW I've started to implement arptables-translate to provide the
needed translations.

      reply	other threads:[~2023-10-30 17:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-28  8:20 arptables-nft and comments in nft output Valentijn Sessink
2023-10-28 10:02 ` Florian Westphal
2023-10-30 17:22   ` Florian Westphal [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=20231030172250.GC21160@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter@vger.kernel.org \
    --cc=valentijn@sessink.nl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.