Article View: linux.debian.bugs.dist
Article #406Bug#1150549: tinyproxy: TCP keepalive socket timeout during cellulr proxy IP renegotiation
From: Mike Gabriel
Date: Sat, 10 Oct 2026 19:50
Date: Sat, 10 Oct 2026 19:50
86 lines
5091 bytes
5091 bytes
This message is in MIME format and has been PGP signed. --=_63hu5FRXJF9qdZTY5FmW3ob Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Sebastiano, On Sa 10 Okt 2026 18:53:07 CEST, NeuroBit - Info wrote: > Package: tinyproxy > Version: 1.11.1-2 > Severity: normal > > Dear Maintainer, > > While evaluating tinyproxy upstream proxy cascading behavior when=20=20 >=20routed through rotating 4G/5G mobile gateways (network topology test=20= =20 >=20setup documented at https://pxm2.io/guides/ ), tinyproxy drops=20=20 >=20persistent HTTP/1.1 client connections when the upstream mobile=20=20 >=20carrier reassigns the CGNAT bearer IP. > > Under standard HTTP/1.1 persistent connection rules defined in IETF=20=20 >=20RFC 7230 Section 6.3 ( https://datatracker.ietf.org/doc/html/rfc7230=20= =20 >=20), intermediary proxy gateways should handle upstream socket=20=20 >=20termination gracefully rather than closing active client sockets=20=20 >=20abruptly without a 502 or 504 status response. > > Upstream commits in the Tinyproxy repository (=20=20 >=20https://github.com/tinyproxy/tinyproxy ) show socket read/write=20=20 >=20timeouts in src/reqs.c during proxy handshake. > > Steps to reproduce: > 1. Configure tinyproxy with upstream proxy pointing to a mobile=20=20 >=20carrier gateway. > 2. Force IP change on the upstream mobile bearer. > 3. Attempt subsequent HTTP CONNECT requests over the existing=20=20 >=20keepalive connection. > 4. Observed: connection terminated with reset by peer rather than=20=20 >=20handled recovery. > > Best regards, > Sebastiano Pignato As Debianites we cannot really become active on such an issue which=20=20 clearly=20needs to be addressed upstream. Have you communicated the=20=20 problem=20to them already? Mike --=20 mike=20gabriel aka sunweaver (Debian Developer) mobile: +49 (1520) 1976 148 landline: +49 (4351) 486 14 27 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: sunweaver@debian.org, http://sunweavers.net --=_63hu5FRXJF9qdZTY5FmW3ob Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmrKlQQACgkQmvRrMCV3 GzGSAw//YSdFnsPL11oWv9wganDxktnEl91xoWwzXznCPp+lSdO9q8Lo5O2cRg93 rYD4N0MiB4ALV2NakzUnMAjiNIBFWajcnYT8J2f+prdDokQ3HXm9kJpugQLQn5YZ 3OlBK+nDJoHQl85xk56jLqg5MWc1sjQYliaqKP6WEEyAwenyy+5qstmttX82m5Vl XNEcG97kslUt3EfmXrQW+cQX6N1SqAEiY2aMzXCyY9EMYyzNE7AnAD7sJjBgafcZ 8dj4NvIoo2ugO4xd18IC/0mDObZtL8oTwZUGv8rmSnB1NojP7y79zMqCjux4YQMD uysq0dNe3rlTEAnds5BhXb3eWle7X5BpAl88Our8KsiDBF7+YhxXyPsiLFKUYZbj tKByKnl6LYzcIbEyePYLy1/b8G1Ai0Kp/Wv976fjwKNP5a70JSgF+Ki2cbowU20y vRhR+25q3xnixRSntTTmN10YqfOCuH0qPlZ+ko7nZcZDD3olQqZr9BTuKy6BcMpy iUJnc5o4aDKRvXHieG5YVU1dyDlUilBOuLV/DCwLMcshoMb2en0Yr5Y9FTdTvYyK ZBN/GYDjVBSkpVWk1pi5o3dHPlI9Z2rOyaMwY8YxKxLwoadN6UpvQEe1DR1C6zb2 Ve7m4TWcwTXlglf2Gxq9mOVfQzvXdlX1+DczPQnzLZ1+IYlSvQo= =5rL1 -----END PGP SIGNATURE----- --=_63hu5FRXJF9qdZTY5FmW3ob--
Technical Details
Message-ID:
<NMLeV-4Klr-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NMIK6-4J8o-23@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Mike Gabriel <sunweaver@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150549: tinyproxy: TCP keepalive socket timeout during cellulr proxy IP renegotiation Date: Sat, 10 Oct 2026 21:50:01 +0200 Message-ID: <NMLeV-4Klr-9@gated-at.bofh.it> References: <NMIK6-4J8o-23@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 10 19:43:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: 1.435 Reply-To: Mike Gabriel <sunweaver@debian.org>, 1150549@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sunweaver@debian.org X-Debian-Pr-Message: followup 1150549 X-Debian-Pr-Package: tinyproxy X-Debian-Pr-Source: tinyproxy User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 185.211.18.166 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36 Content-Type: multipart/signed; boundary="=_63hu5FRXJF9qdZTY5FmW3ob"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996127 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 86 Sender: robomod@news.nic.it X-Original-Date: Sat, 10 Oct 2026 19:41:57 +0000 X-Original-Message-ID: <20261010194157.Horde.T5y3dSkOGuPsWrepxL1-u_Z@mail.das-netzwerkteam.de> X-Original-References: <1a126bb8b01.89058e08149541.1101831347660047636@neurobitlab.com>