Re: [PATCH] extensions: libxt_NFLOG: Add group_info and remove multiple keywords

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

 



On Wed, Dec 23, 2015 at 3:43 PM, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> On Wed, Dec 23, 2015 at 01:32:46AM +0530, Shivani Bhardwaj wrote:
>> Add group_info with every rule as it is mandatory to consider logging to
>> be same type as NFLOG.
>> Remove multiple log keywords to avoid loading multiple log expressions
>> at a time.
>>
>> Examples:
>>
>> $ sudo iptables-translate -I INPUT -j NFLOG --nflog-threshold 2
>> nft insert rule ip filter INPUT counter log queue-threshold 2 group 0
>>
>> $ sudo iptables-translate -A FORWARD -j NFLOG --nflog-group 32 --nflog-prefix "Prefix 1.0"
>> nft add rule ip filter FORWARD counter log prefix \"Prefix 1.0\" group 32
>
> Applied, thanks Shivani.
>
> BTW, it's a good practise to credit people that report problems, ie.
> add this tag:
>
> Reported-by: Arturo Borrero <arturoborreroglez@xxxxxxxxx>
>

I didn't know it before. Thanks. I'll take care next time.

>> Signed-off-by: Shivani Bhardwaj <shivanib134@xxxxxxxxx>
>
--
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