netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Disable IPv4-mapped - enforce IPV6_V6ONLY
@ 2013-02-22 15:21 Alexander Holler
  2013-02-23 20:44 ` Alexander Holler
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Holler @ 2013-02-22 15:21 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-25 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 15:21 Disable IPv4-mapped - enforce IPV6_V6ONLY Alexander Holler
2013-02-23 20:44 ` Alexander Holler
2013-02-25 11:44   ` YOSHIFUJI Hideaki
2013-02-25 13:23     ` David Laight
2013-02-25 14:47       ` Alexander Holler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).