Linux Netfilter discussions
 help / color / mirror / Atom feed
* Match packet address against addresses on interface
@ 2017-02-11 17:13 Michael Weiser
  2017-02-12  8:59 ` Pascal Hambourg
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Weiser @ 2017-02-11 17:13 UTC (permalink / raw)
  To: netfilter

Hi,

is there an elegant way in either ip{,6}tables or nftables to match
addresses in packets against all the addresses set on a specific local
interface?

I've seen this with pf where you can write "( if0 )" instead of a source
or target address to achieve just that.

As of now I have a small daemon monitoring rtnetlink events, using them
to maintain ipsets for ip{,6}tables which seems rather cumbersome and
fragile.
-- 
Thanks,
Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-12 14:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-11 17:13 Match packet address against addresses on interface Michael Weiser
2017-02-12  8:59 ` Pascal Hambourg
2017-02-12 12:43   ` Michael Weiser
2017-02-12 13:15     ` Pascal Hambourg
2017-02-12 14:07       ` Michael Weiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox