lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 15 Jun 2015 11:26:17 -0400
From:	Craig Gallek <kraig@...gle.com>
To:	netdev@...r.kernel.org
Cc:	edumazet@...gle.com, mleitner@...hat.com,
	stephen@...workplumber.org, davem@...emloft.net,
	ebiederm@...ssion.net, tgraf@...g.ch, xemul@...nvz.org,
	Craig Gallek <kraig@...gle.com>
Subject: [PATCH net-next 0/3] Socket destruction events via netlink sock_diag

This series extends the netlink sock_diag interface to broadcast
socket information as they are being destroyed.  The current
interface is poll based and can not be used to retreive information
about sockets that are destroyed between poll intervals.

Only inet sockets are broadcast in this implementation, but other
families could easily be added as needed in the future.

If this patch set is accepted, a follow-up patch to the ss utility
in the iproute2 suite will also be submitted.

Craig Gallek (3):
  sock_diag: define destruction multicast groups
  sock_diag: specify info_size per inet protocol
  sock_diag: implement a get_info handler for inet

 include/linux/inet_diag.h      |  1 +
 include/linux/sock_diag.h      | 42 +++++++++++++++++++++
 include/net/sock.h             |  1 +
 include/uapi/linux/inet_diag.h |  3 +-
 include/uapi/linux/sock_diag.h | 10 +++++
 net/core/sock.c                | 11 +++++-
 net/core/sock_diag.c           | 85 ++++++++++++++++++++++++++++++++++++++++++
 net/dccp/diag.c                |  1 +
 net/ipv4/inet_diag.c           | 50 ++++++++++++++++++++++++-
 net/ipv4/tcp.c                 |  4 +-
 net/ipv4/tcp_diag.c            |  6 ++-
 net/ipv4/udp_diag.c            |  2 +
 12 files changed, 209 insertions(+), 7 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ