tcp_send errors
Quoted 10 lines
I have the latest lsm (as per the NSA site) installed on a fresh RH8.0 install and I am getting errors trying to forward packets through it. Is there something I need to change in the policy to premit forwarding or is this just a RH8.0 problem not present in the 7.X versions? I do not have the exact errors since the ssh apparently isn't working properly, but they were
tcp_senderrors and I can provide those later.Also I have four interfaces and I'm thinking I remember there being a problem with more than two, so is this still a problem?
This should just be a policy configuration issue, and shouldn't be different for RH8.0. You need to allow the tcp_send permission between the appropriate netmsg_* type and the appropriate netif_* type in policy/types/network.te to forward the packet. The example policy only defines types and contexts for eth[0-2], so you'll need to define additional types and contexts in policy/types/network.te and policy/net_contexts if you want to distinguish each interface in your policy. Or, if you don't care to use SELinux to separate the interfaces, you can remove all of the eth[0-2] entries, in which case they will all map to netif_t for the interface and netmsg_t for packets received on the interface.
--
Stephen Smalley, NSA
[email protected]
--
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.