All of lore.kernel.org
 help / color / mirror / Atom feed
* saddr, daddr type determination
@ 2020-05-20 17:55 Stephen Satchell
  0 siblings, 0 replies; only message in thread
From: Stephen Satchell @ 2020-05-20 17:55 UTC (permalink / raw)
  To: netfilter

OK, I'm trying to determine if the source address, using the FIB 
(routing table), is a broadcast or multicast address.  I'm making the 
rash assumption that the daddr type is accessed by using the meta 
pkttype in the output and forward chains:

> define wan0 = enp1s0
> iifname $wan protocol {tcp,udp} pkttype {broadcast, multicast} counter drop

Is there any way to do with for the source address using the FIB?

I need this to conform to BCP38 in my Linux router.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-20 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 17:55 saddr, daddr type determination Stephen Satchell

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.