All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gaiarin <gaio@sv.lnf.it>
To: lartc@vger.kernel.org
Subject: Re: Connection tracking debugging?!
Date: Fri, 04 Jun 2021 15:23:11 +0000	[thread overview]
Message-ID: <20210604152311.GJ3056@sv.lnf.it> (raw)
In-Reply-To: <20210525103639.GF3214@sv.lnf.it>

Mandi! Grant Taylor
  In chel di` si favelave...

Sorry for the late answer, but i was busy in other things...

> > How can i 'debug' this issue? Thanks.
> I'd check the output of dmesg to see if you're exhausting the state table.
> If you are, you'll see all sorts of messages from the kernel. At least I did
> when I ran into this years ago.  Adding memory addressed the problem then.

No, i've not sayed that, but was the first things i've looked for, no
conntrack table overflow...


> Short of that low hanging fruit I'd start with packet captures so that you
> can watch the traffic flow.  I occasionally see invalid traffic after the
> flow should have been closed.
> 
> It looks like your client may be sending TCP Reset packets.  This could be
> directly related to how different systems terminate a TCP connection.  --
> Even if the clients agree, they may be doing something different than the
> connection tracker helper expects, thus causing a subsequent packet to be
> considered invalid after a shorter shutdown.

Could be that passing thru a proxy (SSL/CONNECT, squid) could lead to
more TCP resets? Seems that proxied connection reset more frequently...

I see in proxy cache.log file sometimes:

	2021/06/04 12:41:07| TunnelStateData::Connection::error: FD 20: read/write failure: (32) Broken pipe

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

      parent reply	other threads:[~2021-06-04 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 10:36 Connection tracking debugging?! Marco Gaiarin
2021-05-25 17:55 ` Grant Taylor
2021-06-04 15:23 ` Marco Gaiarin [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=20210604152311.GJ3056@sv.lnf.it \
    --to=gaio@sv.lnf.it \
    --cc=lartc@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.