From: Paul Moore <paul.moore@hp.com>
To: vyekkirala@TrustedCS.com
Cc: "SE Linux" <selinux@tycho.nsa.gov>,
"James Morris" <jmorris@namei.org>,
"Stephen Smalley" <sds@tycho.nsa.gov>
Subject: Re: Networking Patch (outline)
Date: Wed, 12 Sep 2007 14:52:28 -0400 [thread overview]
Message-ID: <200709121452.29012.paul.moore@hp.com> (raw)
In-Reply-To: <001501c7f55f$908c4ac0$cc0a010a@tcssec.com>
On Wednesday, September 12 2007 1:08:39 pm Venkatesh Yekkirala wrote:
> > * Inbound packets (flow in check)
> > - add to existing security_sock_rcv_skb() hook for locally consumed
> > packets
> > - new hook in ip[6]_forward_finish(), before the call to
> > ip_forward_options() for ipv4, to catch packets not
> > destined for the
> > local machine
>
> Actually, for forward, we may be able to get away with
> using a netfilter hook, cuz, by this time the label,
> and the true source address should be in place.
Great. I was concerned about the packet having to back through the forward
path if it matched a IPsec transform which resulted in a new address, but I
imagine that would only affect the outbound check.
> > * Outbound packets (flow out check)
> > - new hook in ip_finish_output()/ip6_output_finish() to
> > catch all outbound
> > packets, including forwarded packets on their way out
>
> I will whip up a prototype patch and send it on in a day or two.
Excellent.
--
paul moore
linux security @ hp
--
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.
prev parent reply other threads:[~2007-09-12 18:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 22:40 Networking Patch (outline) Venkat Yekkirala
2007-08-31 23:04 ` Paul Moore
2007-09-05 22:27 ` Paul Moore
2007-09-06 16:08 ` Venkatesh Yekkirala
2007-09-06 17:34 ` Paul Moore
2007-09-11 16:37 ` Venkatesh Yekkirala
2007-09-11 19:31 ` Paul Moore
2007-09-12 17:08 ` Venkatesh Yekkirala
2007-09-12 18:52 ` Paul Moore [this message]
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=200709121452.29012.paul.moore@hp.com \
--to=paul.moore@hp.com \
--cc=jmorris@namei.org \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=vyekkirala@TrustedCS.com \
/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.