--- "Ahmed S. Darwish" <darwish.07@gmail.com> wrote:Ok. I haven't done much work with nltype != CIPSO since that change. Since that change the behavior with nltype == CIPSO appears to meet most people's needs because: - there's a way to talk to non-cipso systems (use the ambient label) - you can talk multi-label to cipso aware systems (including yourself) Unlabeled packets have to all be treated as having the same label. That's what the ambient label is for. If you turn off cipso all packets must be treated as if they came from ambient labeled processes. If a process is running at some other label, and there is no rule to allow the ambient label subject to write to that process' label the packet can't be delivered. Thus, only ambient label processes will be able to use sockets. Except at the ambient label, which sends packets unlabeled. Unlabeled packets get the ambient label and are delivered only to sockets that an ambient label subject can write to. This is the desired behavior. We don't want to deliver unlabeled packets to sockets that can't be writen to by ambient labeled subjects. I would consider additional restrictions on changing the ambient label and nltype. They should not be changing on a running system once it gets going. It might be that the right thing to do is remove nltype unlabeled. It's pretty pointless with the cipso nltype dealing with unlabeled packets by treating them as ambient. Casey Schaufler casey@schaufler-ca.com --
| Srivatsa Vaddagiri | containers (was Re: -mm merge plans for 2.6.23) |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Benjamin Herrenschmidt | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
git: | |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| David Miller | [GIT]: Networking |
| Gerhard Pircher | 3c59x: shared interrupt problem |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
