Re: [iptables PATCH 21/23] xtables: Always set FMT_NUMERIC when saving rules

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

 



On Fri, Jul 27, 2018 at 12:22:40AM +0200, Phil Sutter wrote:
> Reverse IP address lookups may take a long time, something that's not
> expected from {ip,ip6,eb,arp}tables-save. Moreover, due to lack of an
> appropriate commandline option, it is not even avoidable for users.
> 
> Setting FMT_NUMERIC by default comes with a drawback, though: Things
> which may be represented by human-readable name without introducing any
> significant delay (such as e.g. opcode in arptables output) will be
> printed by numeric value as well. Sadly, trying to fix this by
> introducing a FMT_NORESOLVE bit turns things into a mess since e.g.
> 'print' callback of struct xtables_match receives only the numeric flag
> via parameter, not a full format variable.

-save doesn't print names / it doesn't do reverse IP address lookups.

What am I missing here?

Thanks.
--
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