best way to reveive both ipv4 and ipv6 connections
Mihir Luthra
luthramihir708 at gmail.com
Tue Oct 1 08:17:49 UTC 2019
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
More information about the freebsd-net
mailing list