public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Halasa <khc@pm.waw.pl>
To: Antonio Quartulli <ordex@autistici.org>
Cc: netdev@vger.kernel.org
Subject: Re: Ignoring destination MAC address in incoming packets
Date: Mon, 08 Apr 2013 09:49:35 +0200	[thread overview]
Message-ID: <m3ppy5mpgw.fsf@intrepid.localdomain> (raw)
In-Reply-To: <20130408071903.GB5938@ritirata.org> (Antonio Quartulli's message of "Mon, 8 Apr 2013 09:19:03 +0200")

Antonio Quartulli <ordex@autistici.org> writes:

> May be a stupid suggestion, but what about setting promisc mode on?

I use promiscuous mode, but the packets are still dropped because
skb->pkt_type = PACKET_OTHERHOST (since the destination MAC address
doesn't match and is not broadcast/multicast).

I realize accepting all packets blindly opens a can of worms and this
must be well thought. Perhaps a user space tool using AF_PACKET is a
better way?
-- 
Krzysztof Halasa

      reply	other threads:[~2013-04-08  7:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08  7:08 Ignoring destination MAC address in incoming packets Krzysztof Halasa
2013-04-08  7:19 ` Antonio Quartulli
2013-04-08  7:49   ` Krzysztof Halasa [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=m3ppy5mpgw.fsf@intrepid.localdomain \
    --to=khc@pm.waw.pl \
    --cc=netdev@vger.kernel.org \
    --cc=ordex@autistici.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox