From: Hannes Frederic Sowa <hannes@stressinduktion.org>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net] ipv6: protect protocols not handling ipv4 from v4 connection/bind attempts
Date: Wed, 22 Jan 2014 02:08:42 +0100 [thread overview]
Message-ID: <20140122010842.GB20565@order.stressinduktion.org> (raw)
In-Reply-To: <20140121.165941.1593478240200500821.davem@davemloft.net>
On Tue, Jan 21, 2014 at 04:59:41PM -0800, David Miller wrote:
> From: Hannes Frederic Sowa <hannes@stressinduktion.org>
> Date: Mon, 20 Jan 2014 05:16:39 +0100
>
> > Some ipv6 protocols cannot handle ipv4 addresses, so we must not allow
> > connecting and binding to them. sendmsg logic does already check msg->name
> > for this but must trust already connected sockets which could be set up
> > for connection to ipv4 address family.
> >
> > Per-socket flag ipv6only is of no use here, as it is under users control
> > by setsockopt.
> >
> > Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
>
> Applied. Is the plan to add support to at least ping?
Yes, this is planned but for the meantime we should disable it.
Thanks!
prev parent reply other threads:[~2014-01-22 1:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-20 4:16 [PATCH net] ipv6: protect protocols not handling ipv4 from v4 connection/bind attempts Hannes Frederic Sowa
2014-01-22 0:59 ` David Miller
2014-01-22 1:08 ` Hannes Frederic Sowa [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=20140122010842.GB20565@order.stressinduktion.org \
--to=hannes@stressinduktion.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.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