From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [patch 3/4] iptables --list-rules command Date: Tue, 13 May 2008 12:55:18 +0200 Message-ID: <48297396.3040409@trash.net> References: <1210617499.3442.41.camel@henriknordstrom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@vger.kernel.org To: Henrik Nordstrom Return-path: Received: from stinky.trash.net ([213.144.137.162]:38562 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752914AbYEMKz4 (ORCPT ); Tue, 13 May 2008 06:55:56 -0400 In-Reply-To: <1210617499.3442.41.camel@henriknordstrom.net> Sender: netfilter-devel-owner@vger.kernel.org List-ID: Henrik Nordstrom wrote: > Adds iptables --list-rules (-S) command, acting as a combination of > iptables --list and iptables-save. > > The primary motivation behind this patch is to get iptables-save like > output capabilities in iptables-restore, allowing "iptables-restore -n" > to be used as a consistent API to iptables for all kind of operations, > not only blind updates.. > > As a bonus iptables also gets the capability of printing the rules > as-is. > > This completely replaces the earlier patch which added the --rules > option. Applied, thanks Henrik.