All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pkttype match mismatches on locally generated packets
@ 2006-07-18  1:06 Phil Oester
  2006-07-18  1:08 ` Phil Oester
  2006-07-20 16:20 ` Patrick McHardy
  0 siblings, 2 replies; 3+ messages in thread
From: Phil Oester @ 2006-07-18  1:06 UTC (permalink / raw)
  To: netfilter-devel

Locally generated broadcast and multicast packets have pkttype set to
PACKET_LOOPBACK instead of PACKET_BROADCAST or PACKET_MULTICAST.  This
causes the pkttype match to fail to match packets of either type.

The below patch remedies this by using the daddr as a hint as to
broadcast|multicast.  While not pretty, this seems like the only way
to solve the problem short of just noting this as a limitation of the match.

This resolves bug #484

Phil

Signed-off-by: Phil Oester <kernel@linuxace.com>

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

end of thread, other threads:[~2006-07-20 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-18  1:06 [PATCH] pkttype match mismatches on locally generated packets Phil Oester
2006-07-18  1:08 ` Phil Oester
2006-07-20 16:20 ` Patrick McHardy

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.