From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 193553858CD1 for ; Fri, 23 Jun 2023 15:28:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 193553858CD1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id CfoKqH9pWLAoICiiTqTaeG; Fri, 23 Jun 2023 15:28:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1687534133; bh=KhUra4+msWx8U363TnSo5HhL3mTp3FHlypHIspiMW4Y=; h=Date:Reply-To:Subject:To:References:From:Cc:In-Reply-To; b=phmSBOak2LhGsMAtYiTQfiXMjF4G5cvZ/IIanMj1Hi3r5ohIdgjDkyyTJGPFPMLRa qe/BboZ/XjyrrWeVadl8CRrZ5Wj9SOjRMFbOOaeSda9q11vbq3+s80T21YcgFSta+O BAgyBmCBkJyPDREguYy8Ar+84SBTpPpk2cpRf0DscAi2nTcb4oFLoQqvRyfC8hGsuC GbXKmc5vSR7Xo2jTVFdJvrS9HYvzsh+KptdR/rJIeSSlxkeqmTNOEv2urAqEyjv7tw LQWtRjRSpPY0Rb/dh7UxwFTcHyTlqzhTL7x5OM7whPWLoKu6TnfxiN7GpYMPhQIO7s EVA5V3ONN9OIw== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id CiiSqKVLhcyvuCiiSqelJp; Fri, 23 Jun 2023 15:28:53 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=6495ba35 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=X8sXHaD70grHU4viGrUA:9 a=QEXdDO2ut3YA:10 Message-ID: <947c6b09-c2c0-03db-a4ac-769c4f1b3783@Shaw.ca> Date: Fri, 23 Jun 2023 09:28:52 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Reply-To: cygwin@cygwin.com Subject: Re: scp and ssh 'cat' stalls at 64k bytes Content-Language: en-CA To: cygwin@cygwin.com References: <1b9482bd-2119-732f-cc49-a3930bd3328d@house.org> From: Brian Inglis Organization: Inglis Cc: Chris Roehrig In-Reply-To: <1b9482bd-2119-732f-cc49-a3930bd3328d@house.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfHAZq/NL5qTJz2tHJDPSezrOpDVixxt8Rwc3dtTtNNnrZ8D/QYSiHuajYFti6i6zH2d6AC6s8mo/+ggrhLH6od8JGMt5fTivVdcwgPUex6xXRALaUBWJ p/dA6Q8Nx/cNAHoqC523wGuSXmozJOmZavSPUPJC9Ds5nPw3meaMCqIimd3ZDpB1xC1NPLsEMaAdLK5i6MlKxC3NFWy1TGMIeoU= X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-06-23 00:26, Chris Roehrig via Cygwin wrote: > I've upgraded cygwin recently (from a much older version) and am encountering a > new problem on all my Win10/WIn11 machines. > > With openssh and pv installed on cygwin (3.4.7-1): > > dd if=/dev/zero bs=1 count=65536 | ssh localhost 'cat > /dev/null'    # works > dd if=/dev/zero bs=1 count=65537 | ssh localhost 'cat > /dev/null'    # stalls > (and anything larger) > dd if=/dev/zero bs=1 count=65537 | ssh localhost 'pv > /dev/null'    # replace > 'cat' with 'pv' and it works > > This happens with or without Windows Firewall enabled, with any input > 64k, and > also remotely from Linux. > It also seems to affect scp to cygwin which stalls if the file is >= 64k In case equivalent Windows services are running, I check for, shut down, and disable the following Windows services I have seen, or seen warnings about, before trying to start Cygwin services: ssh ssh-agent sshbroker sshproxy sshd sshdbroker sshdproxy Do you take similar precautions on the Windows systems with issues? Please show at least the output of `uname -srvmo`, and if possible provide a text attachment of the output log from running `cygcheck -hrsv > cygcheck.out`, as suggested under the Problem reports link below. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry