From: Patrick McHardy <kaber@trash.net>
To: Phil Oester <kernel@linuxace.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] pkttype match mismatches on locally generated packets
Date: Thu, 20 Jul 2006 18:20:35 +0200 [thread overview]
Message-ID: <44BFAD53.4010704@trash.net> (raw)
In-Reply-To: <20060718010642.GA1203@linuxace.com>
Phil Oester wrote:
> 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
Thanks Phil. I thought about just adding PACKET_LOOPBACK support to
userspace, but this way seems better, so applied.
prev parent reply other threads:[~2006-07-20 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 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=44BFAD53.4010704@trash.net \
--to=kaber@trash.net \
--cc=kernel@linuxace.com \
--cc=netfilter-devel@lists.netfilter.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 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.