iproute2/misc
Jakub Kicinski 85b0e73c77 ss: fix fallback to procfs for raw sockets
Jonas reports that ss -awp does not display any RAW sockets
on a Knoppix 4.4 kernel.

sockdiag_send() diverts to tcpdiag_send() to try the older
netlink interface. tcpdiag_send() works for TCP and DCCP
but not other protocols. Instead of rejecting unsupported
protocols (and missing RAW and SCTP) match on supported ones.

Link: https://lore.kernel.org/netdev/20210815231738.7b42bad4@mmluhan/
Reported-and-tested-by: Jonas Bechtel <post@jbechtel.de>
Fixes: 41fe6c34de ("ss: Add inet raw sockets information gathering via netlink diag interface")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2021-08-18 15:03:46 -07:00
..
.gitignore make yacc usage POSIX compatible 2020-01-20 09:43:22 -08:00
Makefile ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
arpd.c libnetlink: Add filter function to rtnl_neighdump_req 2019-01-04 12:17:11 -08:00
ifstat.c misc: fix compiler warning in ifstat and nstat 2020-11-29 16:20:31 -08:00
lnstat.c lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
lnstat.h lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
lnstat_util.c lnstat_util: Make sure buffer is NUL-terminated 2017-09-01 12:10:54 -07:00
nstat.c misc: fix compiler warning in ifstat and nstat 2020-11-29 16:20:31 -08:00
rtacct.c replace SNAPSHOT with auto-generated version string 2020-08-03 10:02:47 -07:00
ss.c ss: fix fallback to procfs for raw sockets 2021-08-18 15:03:46 -07:00
ss_util.h ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ssfilter.h ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ssfilter.y ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ssfilter_check.c ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00