All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix TCP SYN-ACK labeling and access controls
@ 2013-12-03 16:34 Paul Moore
  2013-12-03 16:34 ` [PATCH 1/2] selinux: handle TCP SYN-ACK packets correctly in selinux_ip_output() Paul Moore
  2013-12-03 16:34 ` [PATCH 2/2] selinux: handle TCP SYN-ACK packets correctly in selinux_ip_postroute() Paul Moore
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Moore @ 2013-12-03 16:34 UTC (permalink / raw)
  To: selinux; +Cc: Janak.Desai

Unfortunately we don't correctly handle the labeling or control of TCP
SYN-ACK packets correctly due largely to the nature of how the TCP
handshake is handled with respect to the "mini" request_sock versus
the "full" sock.  These two patches correct these problems by adding
some special handling for sockets that send packets while in the TCP
listening state (the only time they do this is when accepting the
initial SYN/handshake packets).

---

Paul Moore (2):
      selinux: handle TCP SYN-ACK packets correctly in selinux_ip_output()
      selinux: handle TCP SYN-ACK packets correctly in selinux_ip_postroute()


 security/selinux/hooks.c |   93 ++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 76 insertions(+), 17 deletions(-)

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-03 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03 16:34 [PATCH 0/2] Fix TCP SYN-ACK labeling and access controls Paul Moore
2013-12-03 16:34 ` [PATCH 1/2] selinux: handle TCP SYN-ACK packets correctly in selinux_ip_output() Paul Moore
2013-12-03 16:34 ` [PATCH 2/2] selinux: handle TCP SYN-ACK packets correctly in selinux_ip_postroute() Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.