Re: netstat and dual stack sockets

2015-06-15 Thread Phil Sutter
HGN! On Mon, Jun 15, 2015 at 11:36:54PM +0200, Hagen Paul Pfeifer wrote: > On 15 June 2015 at 22:54, Phil Sutter wrote: > > > As I see it, a user has no way of detecting the listening socket in this > > address family: it does not show in /proc/net/{tcp,udp} nor do > > 'netstat', 'ss' or 'lsof'

Re: netstat and dual stack sockets

2015-06-15 Thread Hagen Paul Pfeifer
On 15 June 2015 at 22:54, Phil Sutter wrote: > As I see it, a user has no way of detecting the listening socket in this > address family: it does not show in /proc/net/{tcp,udp} nor do > 'netstat', 'ss' or 'lsof' print any additional information about those > sockets over pure IPv6 ones. Probabl

netstat and dual stack sockets

2015-06-15 Thread Phil Sutter
Hi, A socket listening on any AF_INET6 address will receive IPv4 traffic as well, as long as it does not set IPV6_V6ONLY (or sysctl net.ipv6.bindv6only is set). Apache APR e.g. explicitly disables IPV6_V6ONLY for listening sockets. As I see it, a user has no way of detecting the listening socket