netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Valentijn Sessink <valentijn@sessink.nl>
To: netfilter@vger.kernel.org
Subject: arptables-nft and comments in nft output
Date: Sat, 28 Oct 2023 10:20:51 +0200	[thread overview]
Message-ID: <8108fd99-25f2-49a9-8ef8-18c2de253163@sessink.nl> (raw)

Hi list,

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?

Best regards,

Valentijn

             reply	other threads:[~2023-10-28  8:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-28  8:20 Valentijn Sessink [this message]
2023-10-28 10:02 ` arptables-nft and comments in nft output Florian Westphal
2023-10-30 17:22   ` Florian Westphal

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=8108fd99-25f2-49a9-8ef8-18c2de253163@sessink.nl \
    --to=valentijn@sessink.nl \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).