From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: netfilter@vger.kernel.org
Subject: Re: Allowing closed connections time to drain before logging packets
Date: Sat, 05 Oct 2024 14:14:52 -0400 [thread overview]
Message-ID: <df0473c6094fdd30b96fa3ec8afd9c40b16a60ee.camel@interlinx.bc.ca> (raw)
In-Reply-To: <Zvp0uij4kC6Vjj9p@calendula>
On Mon, 2024-09-30 at 11:51 +0200, Pablo Neira Ayuso wrote:
>
> These are packets logged through 'ct state invalid', right?
Yes, I would say that is a reasonable statement. But they are only
just recently invalid, as of the closing of the valid "session" just a
few packets before.
So while I want to still log generally invalid packets (i.e. an ACK-
only packet not part of an existing session, or an RST not part of a an
actively closing session, etc.), I don't want to log packets that are
only invalid because they are "stragglers" (i.e. were delayed in the
network, etc. and only arrive after the close of the session) from a
recently (let's say, 30 or maybe even 60 seconds since) closed session.
Cheers,
b.
prev parent reply other threads:[~2024-10-05 18:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-25 17:09 Allowing closed connections time to drain before logging packets Brian J. Murrell
2024-09-25 18:18 ` Slavko
2024-10-05 18:28 ` Brian J. Murrell
2024-09-30 9:51 ` Pablo Neira Ayuso
2024-10-05 18:14 ` Brian J. Murrell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df0473c6094fdd30b96fa3ec8afd9c40b16a60ee.camel@interlinx.bc.ca \
--to=brian@interlinx.bc.ca \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.