Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2017 18:21:34 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Nagy =?UTF-8?B?TMOhc3psw7M=?= Zsolt <gandalf@shopzeus.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: TCP connection stalled
Message-ID:  <20170303182134.106d613d@fabiankeil.de>
In-Reply-To: <485311bf-1e19-b439-c569-b6230d264e16@shopzeus.com>
References:  <485311bf-1e19-b439-c569-b6230d264e16@shopzeus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/rqgGIeJ=4oQfJwHrhNwpc6m
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Nagy L=C3=A1szl=C3=B3 Zsolt <gandalf@shopzeus.com> wrote:

> Hello, I have this setup:
>=20
> Remote computer <---> Internet <----->  Gateway <---->  NAT-ed local
> network <---> Internal computer
>=20
> The gateway is a  11.0-RELEASE-p8 running natd + ipfw.
[...]=20
> If I try to copy something to a remote server with this command:
>=20
> scp local_file user@remote_computer:~
>=20
> Then the following happens: the first few 100K data goes through
> quickly, then the connection becomes stalled. I have tried different
> remote computers on different ports, but the result is always the same.
> I have also tried passive mode FTP instead of SCP with the same result:
> stalled.
>=20
> If I do the same from the internal computer behind NAT, then all uploads
> and downloads are fast and responsive. The connection is stalled only
> when I connect from the gateway (or to the gateway). (E.g. copy from
> internal computer -> remote computer is fast and reliable.)
[...]
> But there was no effect at all. SCP and FTP connections are both
> stalled. (I can send an example tcpdump if required, but I could find
> nothing special in that.)
>=20
> What else can cause this? What should I look for?

You may be affected by this regression:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209680

You could check the "vmstat -z" output and try the patches.

Fabian

--Sig_/rqgGIeJ=4oQfJwHrhNwpc6m
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTKUNd6H/m3+ByGULIFiohV/3dUnQUCWLmmHwAKCRAFiohV/3dU
nTgWAJ9jPvJvLzZVHhzq+kQToCl37p3r7wCfcMGkegwpmJ5J0AvzFTXXqUXVf0Y=
=InJl
-----END PGP SIGNATURE-----

--Sig_/rqgGIeJ=4oQfJwHrhNwpc6m--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170303182134.106d613d>