From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [nftables] netdev rate limiting | timeouts rfq Date: Mon, 28 Sep 2020 14:24:43 +0200 Message-ID: <20200928122443.GA24572@salvia> References: <5c60c340-d6d8-1f7c-67da-2782360a92fe@gmx.net> <20200923083042.GB10267@salvia> <20200928115210.GA21841@salvia> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="utf-8" To: =?utf-8?B?0b3SieG2rOG4s+KEoA==?= Cc: netfilter@vger.kernel.org On Mon, Sep 28, 2020 at 12:08:00PM +0000, ѽ҉ᶬḳ℠ wrote: > In the below example it does not print any logs and since that stanza is > right prior drop I reckon that since the log printing does not happen the > frame dropping does neither. > > table inet filter { [...] >         chain wan_pr { >                 ct state { new } update @glv4 { ip saddr limit rate over > 15/day burst 3 packets } log prefix "glv4 DROP: " flags all drop >         } > } ct state new is restricting to match only on the first packet of the connection.