All of lore.kernel.org
 help / color / mirror / Atom feed
* SELinux network labeling
@ 2013-03-12 20:55 Langland, Blake
  2013-03-13  1:35 ` Paul Moore
  2013-03-13 13:36 ` Stephen Smalley
  0 siblings, 2 replies; 12+ messages in thread
From: Langland, Blake @ 2013-03-12 20:55 UTC (permalink / raw)
  To: selinux@tycho.nsa.gov

[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]

Hello,

I am trying to set up a system using SELinux system that needs to have certain network traffic blocked based on the MLS label. Basically, there are two machines running SELinux (call them A and B). Both machines have two processes, say A1 and B1 are at sensitivity s0, and A2 and B2 are at s1. I want to let process A1 talk to B1, and A2 talk to B2, but block A1->B2, and A2->B1. Without using labeled IPsec, what systems for network labeling should I use? With the Netlabel fallback labels I am not able to specify the port. I currently am setting the label via secmark based on the source, destination, and port, and then running each process at the appropriate level, and also have the port labeled at the appropriate level. This is not blocking the traffic I want it to.

I have been reading Paul Moore's blogs about Secmark and network labeling and am a little bit confused about packet vs. peer labeling. Are both packet and peer labeling required? If both are, am I out of luck since Netlabel can not specify a port? If only packet labeling is required, what is causing the scheme explained above to not block traffic?

Thank you,
Blake Langland


[-- Attachment #2: Type: text/html, Size: 3075 bytes --]

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

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

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12 20:55 SELinux network labeling Langland, Blake
2013-03-13  1:35 ` Paul Moore
2013-03-13 13:36 ` Stephen Smalley
2013-03-13 14:02   ` Paul Moore
2013-03-13 17:29     ` Langland, Blake
2013-03-13 17:41       ` Stephen Smalley
2013-03-13 17:55       ` Paul Moore
2013-03-13 21:52         ` Chad Hanson
2013-03-14 15:25           ` Linda Knippers
2013-03-14 15:37             ` Langland, Blake
2013-03-14 16:24               ` Linda Knippers
2013-03-14 16:45                 ` Richard Haines

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.