netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ss issue on arm not showing UDP listening ports
@ 2018-02-21 16:30 jesse_cooper
  2018-02-21 17:32 ` Stefano Brivio
  0 siblings, 1 reply; 9+ messages in thread
From: jesse_cooper @ 2018-02-21 16:30 UTC (permalink / raw)
  To: netdev


Hi,

I currently had the follow issues with ss where it was not displaying  
the UDP listening ports.This was on:

Linux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

ss -ul
State Recv-Q Send-Q Local Address:Port     Peer Address:Port

netstat -ul
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
udp        0      0 0.0.0.0:mdns            0.0.0.0:*
udp        0      0 0.0.0.0:bootpc          0.0.0.0:*
udp        0      0 0.0.0.0:55887           0.0.0.0:*
udp        0      0 192.168.1.80:ntp        0.0.0.0:*
udp        0      0 localhost:ntp           0.0.0.0:*
udp        0      0 0.0.0.0:ntp             0.0.0.0:*
udp        0      0 0.0.0.0:46739           0.0.0.0:*
udp        0      0 0.0.0.0:snmp            0.0.0.0:*
udp6       0      0 [::]:mdns               [::]:*
udp6       0      0 [::]:40880              [::]:*
udp6       0      0 fe80::bcdd:e603:7d8:ntp [::]:*
udp6       0      0 localhost:ntp           [::]:*
udp6       0      0 [::]:ntp                [::]:*

I hope I have found the proper way to report this issue.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-21 16:30 ss issue on arm not showing UDP listening ports jesse_cooper
@ 2018-02-21 17:32 ` Stefano Brivio
  2018-02-21 17:37   ` jesse_cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Brivio @ 2018-02-21 17:32 UTC (permalink / raw)
  To: jesse_cooper; +Cc: netdev

Hi,

On Wed, 21 Feb 2018 11:30:16 -0500
jesse_cooper@codeholics.com wrote:

> Hi,
> 
> I currently had the follow issues with ss where it was not displaying  
> the UDP listening ports.This was on:
> 
> Linux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
> 
> ss -ul
> State Recv-Q Send-Q Local Address:Port     Peer Address:Port

Could you please also report the version of 'ss'? That is, the output
of:

	ss --version

Thanks.

-- 
Stefano

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-21 17:32 ` Stefano Brivio
@ 2018-02-21 17:37   ` jesse_cooper
  2018-02-21 21:03     ` Stefano Brivio
  0 siblings, 1 reply; 9+ messages in thread
From: jesse_cooper @ 2018-02-21 17:37 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: netdev

ss utility, iproute2-ss161212

Quoting Stefano Brivio <sbrivio@redhat.com>:

> Hi,
>
> On Wed, 21 Feb 2018 11:30:16 -0500
> jesse_cooper@codeholics.com wrote:
>
>> Hi,
>>
>> I currently had the follow issues with ss where it was not displaying
>> the UDP listening ports.This was on:
>>
>> Linux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
>>
>> ss -ul
>> State Recv-Q Send-Q Local Address:Port     Peer Address:Port
>
> Could you please also report the version of 'ss'? That is, the output
> of:
>
> 	ss --version
>
> Thanks.
>
> --
> Stefano

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-21 17:37   ` jesse_cooper
@ 2018-02-21 21:03     ` Stefano Brivio
  2018-02-22  1:59       ` Jesse Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Brivio @ 2018-02-21 21:03 UTC (permalink / raw)
  To: jesse_cooper; +Cc: netdev

On Wed, 21 Feb 2018 12:37:31 -0500
jesse_cooper@codeholics.com wrote:

> ss utility, iproute2-ss161212

Works for me on iproute2-ss161212 and 4.9.0 kernel on armv7l. Unless
somebody on the list has other ideas, I guess you should either try
more recent versions, debug it (strace should show a pair of
recvmsg/sendmsg for each UDP socket) or file a ticket for your
distribution.

-- 
Stefano

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-21 21:03     ` Stefano Brivio
@ 2018-02-22  1:59       ` Jesse Cooper
  2018-02-22  8:36         ` Guillaume Nault
  0 siblings, 1 reply; 9+ messages in thread
From: Jesse Cooper @ 2018-02-22  1:59 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: netdev

Thank you for the suggestions. This is on a raspberry pi 3 not sure if
that fact matters. I will notify Raspbian of the issue.

On 02/21/2018 03:03 PM, Stefano Brivio wrote:
> On Wed, 21 Feb 2018 12:37:31 -0500
> jesse_cooper@codeholics.com wrote:
> 
>> ss utility, iproute2-ss161212
> 
> Works for me on iproute2-ss161212 and 4.9.0 kernel on armv7l. Unless
> somebody on the list has other ideas, I guess you should either try
> more recent versions, debug it (strace should show a pair of
> recvmsg/sendmsg for each UDP socket) or file a ticket for your
> distribution.
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-22  1:59       ` Jesse Cooper
@ 2018-02-22  8:36         ` Guillaume Nault
  2018-02-22 17:08           ` jesse_cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Guillaume Nault @ 2018-02-22  8:36 UTC (permalink / raw)
  To: Jesse Cooper; +Cc: Stefano Brivio, netdev

On Wed, Feb 21, 2018 at 07:59:24PM -0600, Jesse Cooper wrote:
> Thank you for the suggestions. This is on a raspberry pi 3 not sure if
> that fact matters. I will notify Raspbian of the issue.
> 
Does your kernel have CONFIG_INET_UDP_DIAG?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-22  8:36         ` Guillaume Nault
@ 2018-02-22 17:08           ` jesse_cooper
  2018-02-23 13:58             ` Guillaume Nault
  0 siblings, 1 reply; 9+ messages in thread
From: jesse_cooper @ 2018-02-22 17:08 UTC (permalink / raw)
  To: Guillaume Nault; +Cc: Stefano Brivio, netdev


Quoting Guillaume Nault <g.nault@alphalink.fr>:

> On Wed, Feb 21, 2018 at 07:59:24PM -0600, Jesse Cooper wrote:
>> Thank you for the suggestions. This is on a raspberry pi 3 not sure if
>> that fact matters. I will notify Raspbian of the issue.
>>
> Does your kernel have CONFIG_INET_UDP_DIAG?

grep CONFIG_INET_UDP_DIAG kernel.config
# CONFIG_INET_UDP_DIAG is not set

sudo modprobe udp_diag
modprobe: FATAL: Module udp_diag not found in directory  
/lib/modules/4.9.59-v7+

Can this module be loaded after the fact? If so what is the easiest  
way to get the proper .ko file?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-22 17:08           ` jesse_cooper
@ 2018-02-23 13:58             ` Guillaume Nault
  2018-02-25  0:08               ` Jesse Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Guillaume Nault @ 2018-02-23 13:58 UTC (permalink / raw)
  To: jesse_cooper; +Cc: Stefano Brivio, netdev

On Thu, Feb 22, 2018 at 12:08:19PM -0500, jesse_cooper@codeholics.com wrote:
> 
> Quoting Guillaume Nault <g.nault@alphalink.fr>:
> 
> > On Wed, Feb 21, 2018 at 07:59:24PM -0600, Jesse Cooper wrote:
> > > Thank you for the suggestions. This is on a raspberry pi 3 not sure if
> > > that fact matters. I will notify Raspbian of the issue.
> > > 
> > Does your kernel have CONFIG_INET_UDP_DIAG?
> 
> grep CONFIG_INET_UDP_DIAG kernel.config
> # CONFIG_INET_UDP_DIAG is not set
> 
> sudo modprobe udp_diag
> modprobe: FATAL: Module udp_diag not found in directory
> /lib/modules/4.9.59-v7+
> 
> Can this module be loaded after the fact? If so what is the easiest way to
> get the proper .ko file?
> 
Just recompile with CONFIG_INET_UDP_DIAG=m (or ask your distribution to
do so). That should be enough to fix the problem.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ss issue on arm not showing UDP listening ports
  2018-02-23 13:58             ` Guillaume Nault
@ 2018-02-25  0:08               ` Jesse Cooper
  0 siblings, 0 replies; 9+ messages in thread
From: Jesse Cooper @ 2018-02-25  0:08 UTC (permalink / raw)
  To: Guillaume Nault; +Cc: Stefano Brivio, netdev

Thank you all for your help. This has been very educational. I will change the settings on my build and create a new image.

On February 23, 2018 7:58:31 AM CST, Guillaume Nault <g.nault@alphalink.fr> wrote:
>On Thu, Feb 22, 2018 at 12:08:19PM -0500, jesse_cooper@codeholics.com
>wrote:
>> 
>> Quoting Guillaume Nault <g.nault@alphalink.fr>:
>> 
>> > On Wed, Feb 21, 2018 at 07:59:24PM -0600, Jesse Cooper wrote:
>> > > Thank you for the suggestions. This is on a raspberry pi 3 not
>sure if
>> > > that fact matters. I will notify Raspbian of the issue.
>> > > 
>> > Does your kernel have CONFIG_INET_UDP_DIAG?
>> 
>> grep CONFIG_INET_UDP_DIAG kernel.config
>> # CONFIG_INET_UDP_DIAG is not set
>> 
>> sudo modprobe udp_diag
>> modprobe: FATAL: Module udp_diag not found in directory
>> /lib/modules/4.9.59-v7+
>> 
>> Can this module be loaded after the fact? If so what is the easiest
>way to
>> get the proper .ko file?
>> 
>Just recompile with CONFIG_INET_UDP_DIAG=m (or ask your distribution to
>do so). That should be enough to fix the problem.

-- 
Jesse Cooper

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-02-25  0:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-21 16:30 ss issue on arm not showing UDP listening ports jesse_cooper
2018-02-21 17:32 ` Stefano Brivio
2018-02-21 17:37   ` jesse_cooper
2018-02-21 21:03     ` Stefano Brivio
2018-02-22  1:59       ` Jesse Cooper
2018-02-22  8:36         ` Guillaume Nault
2018-02-22 17:08           ` jesse_cooper
2018-02-23 13:58             ` Guillaume Nault
2018-02-25  0:08               ` Jesse Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).