Hi Kevin, On 06/03/2013 07:12 PM, Kevin Wilson wrote:
Hi, I am trying in Ubuntu 13.04 to run this: - modprobe xt_SECMARK than: iptables -t mangle -A PREROUTING -p tcp --dport 80 -j SECMARK --selctx httpconte And I get: iptables: No chain/target/match by that name. syslog says: Jun 3 20:09:48 amd kernel: [ 3269.413962] xt_SECMARK: unable to map security context 'httpcontext what should I do ?
IIRC, you need to specify the complete SELinux context, e.g. system_u:object_r:user_home_t HTH, daniel -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html