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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151119.195504.2050784646947745419.davem@davemloft.net>
Date:	Thu, 19 Nov 2015 19:55:04 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	lorenzo@...gle.com
Cc:	hannes@...essinduktion.org, eric.dumazet@...il.com,
	stephen@...workplumber.org, netdev@...r.kernel.org,
	edumazet@...gle.com, ek@...gle.com, maze@...gle.com,
	dtor@...gle.com
Subject: Re: Add a SOCK_DESTROY operation to close sockets from userspace

From: Lorenzo Colitti <lorenzo@...gle.com>
Date: Fri, 20 Nov 2015 09:19:25 +0900

> In this case, userspace knows that that app's connections are now
> unusable because it configured an iptables rule to block them. The
> kernel doesn't really know until it the time comes to send a packet,
> and maybe not even then.

Netfilter could perform signalling on skb->sk when it drops packets.

Your example is actually a argument _for_ doing this in the kernel.

:-)
--
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