Skip to content

Fix TCP SYN-ACK labeling and access controls

Paul Moore selinux 1 version New

Get series with b4
b4 am 20131203163012.4743.26970.stgit@localhost

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selinux: handle TCP SYN-ACK packets correctly in selinux_ip_output()security/selinux/hooks.c+23 -20 replies
2/2selinux: handle TCP SYN-ACK packets correctly in selinux_ip_postroute()security/selinux/hooks.c+53 -150 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchJanak Desai
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix TCP SYN-ACK labeling and access controls

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.