From: Paul Moore <pmoore@redhat.com>
To: selinux@tycho.nsa.gov
Cc: Janak.Desai@gtri.gatech.edu
Subject: [PATCH 0/2] Fix TCP SYN-ACK labeling and access controls
Date: Tue, 03 Dec 2013 11:34:14 -0500 [thread overview]
Message-ID: <20131203163012.4743.26970.stgit@localhost> (raw)
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.
next reply other threads:[~2013-12-03 16:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-03 16:34 Paul Moore [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131203163012.4743.26970.stgit@localhost \
--to=pmoore@redhat.com \
--cc=Janak.Desai@gtri.gatech.edu \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.