Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754758AbcJEI4O (ORCPT ); Wed, 5 Oct 2016 04:56:14 -0400 Received: from mail-vk0-f43.google.com ([209.85.213.43]:33104 "EHLO mail-vk0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754389AbcJEI4M (ORCPT ); Wed, 5 Oct 2016 04:56:12 -0400 MIME-Version: 1.0 X-Originating-IP: [72.73.18.14] In-Reply-To: References: From: Justin Piszcz Date: Wed, 5 Oct 2016 04:56:10 -0400 Message-ID: Subject: Re: kernel v4.8: iptables logs are truncated with the 4.8 kernel? To: Liping Zhang Cc: linux-kernel@vger.kernel.org, Linux Kernel Network Developers Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 536 Lines: 26 On Tue, Oct 4, 2016 at 8:58 PM, Liping Zhang wrote: > Hi Justin, > > 2016-10-05 6:02 GMT+08:00 Justin Piszcz : >> 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.