Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-15 Thread Miha Marolt
On 07/10/2015 09:16 AM, Vadim Kochan wrote: On Fri, Jul 10, 2015 at 09:09:46AM +0200, Miha Marolt wrote: On 07/09/2015 05:15 PM, Vadim Kochan wrote: On Thu, Jul 09, 2015 at 05:09:27PM +0200, Miha Marolt wrote: On 07/09/2015 04:57 PM, Nikolay Aleksandrov wrote: On 07/09/2015 04:55 PM, Vadim K

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-10 Thread Vadim Kochan
On Fri, Jul 10, 2015 at 09:09:46AM +0200, Miha Marolt wrote: > > > On 07/09/2015 05:15 PM, Vadim Kochan wrote: > >On Thu, Jul 09, 2015 at 05:09:27PM +0200, Miha Marolt wrote: > >> > >>On 07/09/2015 04:57 PM, Nikolay Aleksandrov wrote: > >>>On 07/09/2015 04:55 PM, Vadim Kochan wrote: > On Thu,

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-10 Thread Miha Marolt
On 07/09/2015 05:15 PM, Vadim Kochan wrote: On Thu, Jul 09, 2015 at 05:09:27PM +0200, Miha Marolt wrote: On 07/09/2015 04:57 PM, Nikolay Aleksandrov wrote: On 07/09/2015 04:55 PM, Vadim Kochan wrote: On Thu, Jul 09, 2015 at 04:50:06PM +0200, Nikolay Aleksandrov wrote: On 07/09/2015 04:13 P

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Nikolay Aleksandrov
On 07/09/2015 05:28 PM, Vadim Kochan wrote: > On Thu, Jul 09, 2015 at 05:21:10PM +0200, Eric Dumazet wrote: >> On Thu, 2015-07-09 at 17:14 +0200, Eric Dumazet wrote: >> >>> >>> If I checkout iproute2 tree to db08bdb816d337102c5486744008db9c9faa43bf >>> (before buggy commit) we indeed had this resul

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Vadim Kochan
On Thu, Jul 09, 2015 at 05:21:10PM +0200, Eric Dumazet wrote: > On Thu, 2015-07-09 at 17:14 +0200, Eric Dumazet wrote: > > > > > If I checkout iproute2 tree to db08bdb816d337102c5486744008db9c9faa43bf > > (before buggy commit) we indeed had this result : > > > > # ./ss -an | grep 127.0.0.1 > > r

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Eric Dumazet
On Thu, 2015-07-09 at 17:14 +0200, Eric Dumazet wrote: > > If I checkout iproute2 tree to db08bdb816d337102c5486744008db9c9faa43bf > (before buggy commit) we indeed had this result : > > # ./ss -an | grep 127.0.0.1 > rawUNCONN 213486 0 127.0.0.1:6 *:*

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Vadim Kochan
On Thu, Jul 09, 2015 at 05:09:27PM +0200, Miha Marolt wrote: > > > On 07/09/2015 04:57 PM, Nikolay Aleksandrov wrote: > >On 07/09/2015 04:55 PM, Vadim Kochan wrote: > >>On Thu, Jul 09, 2015 at 04:50:06PM +0200, Nikolay Aleksandrov wrote: > >>>On 07/09/2015 04:13 PM, Miha Marolt wrote: > Hi! >

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Eric Dumazet
On Thu, 2015-07-09 at 16:13 +0200, Miha Marolt wrote: > Hi! > > I hope this is the right place to reports bugs. I apologize if it isn't. > > I have written a C program (see below for source code) that opens a raw > socket on CentOS 7.1 Linux and binds it to some address (it doesn't use > the po

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Miha Marolt
On 07/09/2015 04:57 PM, Nikolay Aleksandrov wrote: On 07/09/2015 04:55 PM, Vadim Kochan wrote: On Thu, Jul 09, 2015 at 04:50:06PM +0200, Nikolay Aleksandrov wrote: On 07/09/2015 04:13 PM, Miha Marolt wrote: Hi! I hope this is the right place to reports bugs. I apologize if it isn't. I have

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Nikolay Aleksandrov
On 07/09/2015 04:55 PM, Vadim Kochan wrote: > On Thu, Jul 09, 2015 at 04:50:06PM +0200, Nikolay Aleksandrov wrote: >> On 07/09/2015 04:13 PM, Miha Marolt wrote: >>> Hi! >>> >>> I hope this is the right place to reports bugs. I apologize if it isn't. >>> >>> I have written a C program (see below for

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Vadim Kochan
On Thu, Jul 09, 2015 at 04:50:06PM +0200, Nikolay Aleksandrov wrote: > On 07/09/2015 04:13 PM, Miha Marolt wrote: > > Hi! > > > > I hope this is the right place to reports bugs. I apologize if it isn't. > > > > I have written a C program (see below for source code) that opens a raw > > socket on

Re: [BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Nikolay Aleksandrov
On 07/09/2015 04:13 PM, Miha Marolt wrote: > Hi! > > I hope this is the right place to reports bugs. I apologize if it isn't. > > I have written a C program (see below for source code) that opens a raw > socket on CentOS 7.1 Linux and binds it to some address (it doesn't use the > port that I s

[BUG] "$ ss -a" incorrectly displays raw sockets as udp sockets

2015-07-09 Thread Miha Marolt
Hi! I hope this is the right place to reports bugs. I apologize if it isn't. I have written a C program (see below for source code) that opens a raw socket on CentOS 7.1 Linux and binds it to some address (it doesn't use the port that I supplied, but that is not the point here). The "netstat"