[Bug 248579] accept(2): IPv4 connections fail (IPv6 connections succeed) with dual IPv4/IPv6 TCP servers
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 12 21:45:20 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248579
Richard Scheffenegger <rscheff at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rscheff at freebsd.org
--- Comment #5 from Richard Scheffenegger <rscheff at freebsd.org> ---
Just validated the suggestion from tuexen@:
freebsd ~]# ./foo
Trying Family=28, Socktype=1, Protocol=6
Connection from (28) ::1
Connection from (28) ::ffff:127.0.0.1
freebsd ~]# nc -6 ::1 5000
Hello
^C
freebsd ~]# nc -4 127.0.0.1 5000
Hello
^C
freebsd ~]# netstat -na
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
:
:
tcp46 0 0 *.5000 *.* LISTEN
:
:
=> works as designed (different defaults than Linux). Shall this bug be
retired?
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-net
mailing list