netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kerin Millar" <kfm@plushkava.net>
To: netfilter@vger.kernel.org
Subject: Re: nftables rule where IPv6 source and destination addr are the same?
Date: Sat, 01 Jun 2024 21:31:31 +0100	[thread overview]
Message-ID: <0fefc5db-1fba-4448-ad56-2e2e3872aa27@app.fastmail.com> (raw)
In-Reply-To: <20240601182056.6bd57a96@localhost>

On Sat, 1 Jun 2024, at 7:20 PM, William N. wrote:
> Hi,
>
> I am looking for a way to create a rule triggered when the saddr and
> the daddr are link-local the same, e.g.
>
> ip6 saddr fe80::/10 == ip6 daddr fe80::/10 accept

I cannot think of any way to do this. In particular, "@nh,64,128 == @nh,192,128" is not permitted.

-- 
Kerin Millar

      reply	other threads:[~2024-06-01 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-01 18:20 nftables rule where IPv6 source and destination addr are the same? William N.
2024-06-01 20:31 ` Kerin Millar [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=0fefc5db-1fba-4448-ad56-2e2e3872aa27@app.fastmail.com \
    --to=kfm@plushkava.net \
    --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 NNTP newsgroup(s).