* nftables rule where IPv6 source and destination addr are the same?
@ 2024-06-01 18:20 William N.
2024-06-01 20:31 ` Kerin Millar
0 siblings, 1 reply; 2+ messages in thread
From: William N. @ 2024-06-01 18:20 UTC (permalink / raw)
To: netfilter
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
What is the way to do this?
XY: https://www.rfc-editor.org/rfc/rfc4861#section-4.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nftables rule where IPv6 source and destination addr are the same?
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
0 siblings, 0 replies; 2+ messages in thread
From: Kerin Millar @ 2024-06-01 20:31 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-01 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).