You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Socket statistics utility, //ss//, will throw //Cannot open netlink socket: Protocol not supported// errors due to //CONFIG_NETLINK_DIAG// being unset in the kernel config.
I've confirmed this on //OpenWrt 18.06.5 (x86/64)// but the issue will exist on all platforms.
//@neheb// helped identify the real issue when I opened a bug for the //ss// package on Github and //@RussellSenior// recently saw the thread - openwrt/packages#8232
The suggested fix is: --- a/target/linux/generic/config-4.19
+++ b/target/linux/generic/config-4.19
@@ -3164,7 +3164,7 @@ CONFIG_NETDEVICES=y
CONFIG_NETFILTER_XT_TARGET_TEE is not set
CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
CONFIG_NETFILTER_XT_TARGET_TRACE is not set
-# CONFIG_NETLINK_DIAG is not set
+CONFIG_NETLINK_DIAG=y
CONFIG_NETLINK_MMAP is not set
CONFIG_NETPOLL is not set
CONFIG_NETROM is not set
The text was updated successfully, but these errors were encountered:
Strykar:
The Socket statistics utility, //ss//, will throw //Cannot open netlink socket: Protocol not supported// errors due to //CONFIG_NETLINK_DIAG// being unset in the kernel config.
root@apu:~# ss
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
u_str ESTAB 0 0 /var/run/ubus.sock 245 * 0
u_str ESTAB 0 0 * 473 * 0
u_str ESTAB 0 0 /var/run/ubus.sock 1363 * 0
u_str ESTAB 0 0 /var/run/ubus.sock 1515 * 0
u_str ESTAB 0 0 * 2486 * 0
u_str ESTAB 0 0 * 2514 * 0
u_str ESTAB 0 0 * 3197 * 0
u_str ESTAB 0 0 * 3366 * 0
u_str ESTAB 0 0 /var/run/ubus.sock 3367 * 0
u_str ESTAB 0 0 /var/run/ubus.sock 3520 * 0
u_str ESTAB 0 0 * 5924 * 0
u_str ESTAB 0 0 * 5925 * 0
u_str ESTAB 0 0 /var/run/ubus.sock 600750 * 0
u_str ESTAB 0 0 * 601742 * 0
u_dgr ESTAB 0 0 /dev/log 471 * 0
u_dgr ESTAB 0 0 * 1576 * 0
u_dgr ESTAB 0 0 * 1595 * 0
u_dgr ESTAB 0 0 * 2445 * 0
u_dgr ESTAB 0 0 * 2484 * 0
u_dgr ESTAB 0 0 * 3188 * 0
u_dgr ESTAB 0 0 * 5505 * 0
u_dgr ESTAB 0 0 * 5929 * 0
u_dgr ESTAB 0 0 * 565769 * 0
u_dgr ESTAB 0 0 * 601735 * 0
tcp ESTAB 0 0 217.107.210.186:56580 99.144.24.156:https
tcp ESTAB 0 0 192.168.1.10:https 192.168.1.100:45174
tcp ESTAB 0 0 217.107.210.186:56212 88.112.99.68:https
tcp ESTAB 0 0 192.168.1.10:https 192.168.1.100:45172
tcp ESTAB 0 0
I've confirmed this on //OpenWrt 18.06.5 (x86/64)// but the issue will exist on all platforms.
//@neheb// helped identify the real issue when I opened a bug for the //ss// package on Github and //@RussellSenior// recently saw the thread - openwrt/packages#8232
The suggested fix is:
--- a/target/linux/generic/config-4.19
+++ b/target/linux/generic/config-4.19
@@ -3164,7 +3164,7 @@ CONFIG_NETDEVICES=y
CONFIG_NETFILTER_XT_TARGET_TEE is not set
CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
CONFIG_NETFILTER_XT_TARGET_TRACE is not set
-# CONFIG_NETLINK_DIAG is not set
+CONFIG_NETLINK_DIAG=y
CONFIG_NETLINK_MMAP is not set
CONFIG_NETPOLL is not set
CONFIG_NETROM is not set
The text was updated successfully, but these errors were encountered: