Re: [PATCH v2] iptables: Sort table names in ip[6]tables-save

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 08, 2013 at 04:39:19AM +0200, Pablo Neira Ayuso wrote:
> On Wed, Jul 03, 2013 at 12:29:12AM -0400, Phil Oester wrote:
> > Depending upon the load order of rules, the output from ip[6]tables-save
> > will vary, as ip[6]_tables_names is sorted LIFO.  As reported by
> > Linus van Geuns, this makes comparing output from ip[6]tables-save across
> > reboots difficult.  Fix this by sorting table names prior to walking
> > the tables, making output consistent.
> 
> Better add an option to explicitly request the sorting, so we stick to
> the old behaviour by default.

The old behavior is random depending upon module load order.  We should
keep random behavior?  

> But, how can the unsorted table output be useful?

Ask Maciej - he is the one that requested this be provided as an option.

Phil
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux