Thread (1 message) 1 message, 1 author, 2017-10-18

Re: [iproute2] regression in ss output

From: Phil Sutter <phil@nwl.cc>
Date: 2017-10-18 17:11:18

On Mon, Oct 16, 2017 at 07:49:58PM -0700, Stephen Hemminger wrote:
On Mon, 16 Oct 2017 19:00:36 -0700
Eric Dumazet [off-list ref] wrote:
quoted
On Mon, 2017-10-16 at 14:28 -0700, Stephen Hemminger wrote:
quoted
On Mon, 16 Oct 2017 20:44:07 +0000
Humberto Alves [off-list ref] wrote:
  
quoted
Yes, just get rid of this 'if statement'.
in6addr_any should be represented as '::', not '*'. Otherwise it's 
impossible to distinguish IPv4 listening addresses from IPv6. Thank you :)  
But IPv6 accepts IPv4 as well.  
Not always (IPV6_V6ONLY socket option)

I agree that this recent change in ss is problematic.

Please give us back a way to distinguish IPV6 and IPv4
What about
	*:80	<< both IPV6 and IPV4
	[::]:80	<< IPV6_ONLY
	0.0.0.0:80  << IPV4_ONLY
Assuming that this will be distinguished based on INET_DIAG_SKV6ONLY
attribute, tc will then use the asterisk for v6only sockets on older
kernels not supporting the feature.

Fine with me, just a heads-up!

Cheers, Phil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help