From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alin Dobre Subject: Support for user namespaces for /proc/net/ip_tables_names Date: Tue, 17 Jun 2014 17:07:32 +0100 Message-ID: <53A067C4.30205@elastichosts.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: netfilter-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Cc: "Eric W. Biederman" Hi all, Even that in general there is support inside iptables for user namespaces, the iptables-save and other commands that rely on reading the /proc/net/ip_tables_names don't work, because the permissions on this file are only 0440/root:root. Besides modifying net/netfilter/x_tables.c:xt_proto_init() to expose the file with permissions 0444, is there anything to be done here? Cheers, Alin.