tcp_diag: report TCP MD5 signing keys and addresses
authorIvan Delalande <colona@arista.com>
Thu, 31 Aug 2017 16:59:39 +0000 (09:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Sep 2017 01:38:09 +0000 (18:38 -0700)
commitc03fa9bcacd9ac04595cc13f34f3445f0a5ecf13
tree3246975ceff2bcdde1849cdffb20df517fcb5186
parentb37e88407c1d78f157778d73427cd7e9e1d6369d
tcp_diag: report TCP MD5 signing keys and addresses

Report TCP MD5 (RFC2385) signing keys, addresses and address prefixes to
processes with CAP_NET_ADMIN requesting INET_DIAG_INFO. Currently it is
not possible to retrieve these from the kernel once they have been
configured on sockets.

Signed-off-by: Ivan Delalande <colona@arista.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/inet_diag.h
include/uapi/linux/tcp.h
net/ipv4/tcp_diag.c