Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2019 13:47:35 +0530
From:      Mihir Luthra <luthramihir708@gmail.com>
To:        freebsd-net <freebsd-net@freebsd.org>
Subject:   best way to reveive both ipv4 and ipv6 connections
Message-ID:  <CAEa=dYB1MDOkWswAK7BScqBf84PwXsjHC1cwHE8=KxdvJCUPcA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi everyone,

I was working on making rwhod ipv6 clean. I have done some work so far but
then I realised I can't receive ipv4 connections on AF_INET6 sockets.
On googling I found its insecure and freebsd disables it by default. [1]

I needed some advice on what would be the best way to receive connections
then?
Should I use 2 separate sockets with conditions?

[1]
https://security.stackexchange.com/questions/92081/is-receiving-ipv4-connections-on-af-inet6-sockets-insecure

Kind Regards,
Mihir



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEa=dYB1MDOkWswAK7BScqBf84PwXsjHC1cwHE8=KxdvJCUPcA>