]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: print MD5 signature keys configured on TCP sockets
authorIvan Delalande <colona@arista.com>
Fri, 6 Oct 2017 23:48:20 +0000 (16:48 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 11 Oct 2017 18:04:47 +0000 (11:04 -0700)
commitda9cc6ab90186e5c1b6dd1d194c18c967e1a7869
tree81d2b9645b3951f05e21a80a60dc90c5840d56d2
parent7c72df5a95174c21bdc4ca09cd15a88c0c10e568
ss: print MD5 signature keys configured on TCP sockets

These keys are reported by kernel 4.14 and later under the
INET_DIAG_MD5SIG attribute, when INET_DIAG_INFO is requested (ss -i)
and we have CAP_NET_ADMIN. The additional output looks like:

md5keys:fe80::/64=signing_key,10.1.2.0/24=foobar,::1/128=Test

Signed-off-by: Ivan Delalande <colona@arista.com>
misc/ss.c