From: Alexander Aring <aring@mojatatu.com>
To: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
alex.aring@gmail.com, jukka.rissanen@linux.intel.com,
Willem de Bruijn <willemb@google.com>
Subject: Re: [PATCH net] ieee802154: lowpan_header_create check must check daddr
Date: Sun, 23 Dec 2018 15:53:37 -0500 [thread overview]
Message-ID: <20181223205337.sehclrqsr6cuqy2o@x220t> (raw)
In-Reply-To: <20181223204547.aqtr7jxwzdvteao6@x220t>
Hi,
...
> I need to admit, I never tried AF_PACKET on a lowpan interface but I
> thought about it that it ends in bad things... I would like to forbid
> it, because they should use RAW IPv6 sockets where at least we already
> have code to check that we have at least a IPv6 header at
> skb_packer_header() (I hope this is how it works).
>
> Is there any way to do that?
>
At least forbid the sending via AF_PACKET, receiving has of course a
use case for all protocol analyzers outside.
- Alex
next prev parent reply other threads:[~2018-12-23 20:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-23 17:52 [PATCH net] ieee802154: lowpan_header_create check must check daddr Willem de Bruijn
2018-12-23 20:45 ` Alexander Aring
2018-12-23 20:53 ` Alexander Aring [this message]
2018-12-24 0:45 ` Willem de Bruijn
2018-12-24 15:21 ` Alexander Aring
2018-12-24 22:33 ` David Miller
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=20181223205337.sehclrqsr6cuqy2o@x220t \
--to=aring@mojatatu.com \
--cc=alex.aring@gmail.com \
--cc=davem@davemloft.net \
--cc=jukka.rissanen@linux.intel.com \
--cc=netdev@vger.kernel.org \
--cc=willemb@google.com \
--cc=willemdebruijn.kernel@gmail.com \
/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