All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Holler <holler@ahsoftware.de>
To: netdev@vger.kernel.org
Subject: Disable IPv4-mapped - enforce IPV6_V6ONLY
Date: Fri, 22 Feb 2013 16:21:26 +0100	[thread overview]
Message-ID: <51278CF6.2060402@ahsoftware.de> (raw)

Hello,

I'm searching for a way to either enforce IPV6_V6ONLY or to block 
IPv4-mapped addresses on ipv6-sockets (e.g. by using iptables) system-wide.

E.g. net.ipv6.bindv6only doesn't help if something calls

int v6on = 0;
setsockopt(sd, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&v6on, sizeof(v6on))

In such a case I still want to disable or block IPv4-mapped addresses on 
that socket, even if the program thinks it nows it better.

Until now I haven't found a solution.

Regards,

Alexander

             reply	other threads:[~2013-02-22 15:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22 15:21 Alexander Holler [this message]
2013-02-23 20:44 ` Disable IPv4-mapped - enforce IPV6_V6ONLY Alexander Holler
2013-02-25 11:44   ` YOSHIFUJI Hideaki
2013-02-25 13:23     ` David Laight
2013-02-25 14:47       ` Alexander Holler

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=51278CF6.2060402@ahsoftware.de \
    --to=holler@ahsoftware.de \
    --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 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.