Re: [PATCH nft 0/3] support ct/meta key lookups at runtime

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

 



Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> On Thu, Oct 27, 2016 at 06:48:10PM +0200, Pablo Neira Ayuso wrote:
> > On Thu, Oct 27, 2016 at 12:36:05AM +0200, Florian Westphal wrote:
> > > I have a patch series to add support of hash (skb hash) and sym hash
> > > (symmetric skb hash) to nft_meta.
> > > 
> > > This series would allow extending meta without adding new hash/symhash
> > > keywords in the scanner.
> > > 
> > > What do you think?
> > 
> > Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> > 
> > Only one suggestion, instead of:
> > 
> >  return error(loc, "Could not parse %s, known ct keys are: %s", str, buf);
> > 
> > Looking at current error reporting:
> > 
> >  # nft add rule x y ct
> >  <cmdline>:1:18-18: Error: syntax error, unexpected newline
> >  add rule x y ct
> >                 ^
> > Probably something like looks better:
> > 
> >  "syntax error, unexpected %s, known keys are %s"
> 
> Actually, if we follow this approach, we probably have to revisit all
> other existing error messages...
> 
> Keep this as it is, we can revisit this later.

Are you sure?  I like the suggestion.
--
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