Re: [iproute2] regression in ss output

2017-10-18 Thread Phil Sutter
On Mon, Oct 16, 2017 at 07:49:58PM -0700, Stephen Hemminger wrote: > On Mon, 16 Oct 2017 19:00:36 -0700 > Eric Dumazet wrote: > > > On Mon, 2017-10-16 at 14:28 -0700, Stephen Hemminger wrote: > > > On Mon, 16 Oct 2017 20:44:07 + > > > Humberto Alves

Re: [iproute2] regression in ss output

2017-10-18 Thread Eric Dumazet
On Wed, 2017-10-18 at 14:08 +, Humberto Alves wrote: > Looks perfect to me. Thanks! > > On 10/17/2017 03:49 AM, Stephen Hemminger wrote: > > > > What about > > *:80<< both IPV6 and IPV4 > > [::]:80 << IPV6_ONLY > > 0.0.0.0:80 << IPV4_ONLY > > > Yes, I missed your email

Re: [iproute2] regression in ss output

2017-10-18 Thread Humberto Alves
Looks perfect to me. Thanks! On 10/17/2017 03:49 AM, Stephen Hemminger wrote: On Mon, 16 Oct 2017 19:00:36 -0700 Eric Dumazet wrote: On Mon, 2017-10-16 at 14:28 -0700, Stephen Hemminger wrote: On Mon, 16 Oct 2017 20:44:07 + Humberto Alves

Re: [iproute2] regression in ss output

2017-10-16 Thread Eric Dumazet
On Mon, 2017-10-16 at 14:28 -0700, Stephen Hemminger wrote: > On Mon, 16 Oct 2017 20:44:07 + > Humberto Alves wrote: > > > Yes, just get rid of this 'if statement'. > > in6addr_any should be represented as '::', not '*'. Otherwise it's > > impossible to distinguish IPv4

Re: [iproute2] regression in ss output

2017-10-16 Thread Stephen Hemminger
On Mon, 16 Oct 2017 20:44:07 + Humberto Alves wrote: > 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

Re: [iproute2] regression in ss output

2017-10-16 Thread Humberto Alves
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 :) On 10/16/2017 11:33 AM, Phil Sutter wrote: Hi, On Fri, Oct 13, 2017 at 09:57:37AM +, Humberto Alves

Re: [iproute2] regression in ss output

2017-10-16 Thread Humberto Alves
IMHO that's not ugly. How is that a feature? Differentiating IPv4 from IPv6 sockets is a feature to me! If you want to use '*' in IPv4 and IPv6, add another column please. Thank you On 10/16/2017 05:20 PM, Stephen Hemminger wrote: On Fri, 13 Oct 2017 09:57:37 + Humberto Alves

Re: [iproute2] regression in ss output

2017-10-16 Thread Stephen Hemminger
On Fri, 13 Oct 2017 09:57:37 + Humberto Alves wrote: > Hi! With the last iproute2 release, ss command output does not > differentiate between any-address IPv4 sockets from the IPv6 ones. > I don't know if this is an expected behaviour, but the old output looks > more

Re: [iproute2] regression in ss output

2017-10-16 Thread Phil Sutter
Hi, On Fri, Oct 13, 2017 at 09:57:37AM +, Humberto Alves wrote: > Hi! With the last iproute2 release, ss command output does not > differentiate between any-address IPv4 sockets from the IPv6 ones. > I don't know if this is an expected behaviour, but the old output looks > more useful.

[iproute2] regression in ss output

2017-10-13 Thread Humberto Alves
Hi! With the last iproute2 release, ss command output does not differentiate between any-address IPv4 sockets from the IPv6 ones. I don't know if this is an expected behaviour, but the old output looks more useful. Below I pasted the difference between the old behaviour and the new one. I am