Re: kernel v4.8: iptables logs are truncated with the 4.8 kernel?

From: Justin Piszcz
Date: Wed Oct 05 2016 - 04:56:16 EST


On Tue, Oct 4, 2016 at 8:58 PM, Liping Zhang <zlpnobody@xxxxxxxxx> wrote:
> Hi Justin,
>
> 2016-10-05 6:02 GMT+08:00 Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>:
>> Hello,
>>

[ .. ]

>
> Which one are you using? iptables or nftables?
# iptables -V
iptables v1.6.0

>
> Could you please paste the related iptables/nftables rules here?

Rules:

$IPTABLES -N INPUT_BLOCK
$IPTABLES -A INPUT_BLOCK -i eth1 -j NFLOG --nflog-group 2
--nflog-prefix "INPUT_BLOCK"
$IPTABLES -A INPUT_BLOCK -j DROP
$IPTABLES -A INPUT -j INPUT_BLOCK

Justin.