From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward501b.mail.yandex.net (forward501b.mail.yandex.net [178.154.239.145]) by sourceware.org (Postfix) with ESMTPS id 70F103858417 for ; Mon, 6 Nov 2023 17:30:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 70F103858417 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 70F103858417 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=178.154.239.145 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291859; cv=none; b=a9nb92bNtdt6PQugMvHtyq8aF+VBMTDedzlQDOaFCh2AlKIc9ySwOV6QBNSBBh5j53P0b0XfL+cc86fiAmhXwvYaWTvAm+bXS0Ep3Y3dNhPQ7O1jQcRzOou1LmS3Ejj+QCbsNr675+IyAgUrUGZ5vcrWL0Js+s5MaUxNc3rOX64= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291859; c=relaxed/simple; bh=zDlVsjaLhCd6gaNk+7s2Yr9OuhOr7klgaGkPvInwdXI=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=cJQSDRWrYMt3EXdFz7+JZhbNJGQwq3ChSfBktzMtnd+jPcd9DNi17FeeXp4PhulXDqc8dkKNoDSd4Io7BJ2i+3mLak2SsC9sRFgxUBZvrHoVybv+RtcgHmdJhBaIEtbC3svRDm6tXeb0p+9cZ6dx/2GN+zHyN+Q0JuFQa1NA8CE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:5da3:0:640:8139:0]) by forward501b.mail.yandex.net (Yandex) with ESMTP id C41D960B11; Mon, 6 Nov 2023 20:30:56 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id MUfEATTWlmI0-s29IXptR; Mon, 06 Nov 2023 20:30:56 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1699291856; bh=c2ZzKprOACDy3d+ndERRx0CCnOIXUkWB0PrSqj3Oo4E=; h=In-Reply-To:Subject:Date:References:To:Message-ID:Reply-To:From; b=qCWh6KNSdKL/tm8oatgDyv9FgIA+Mi1H7dRC0oRDI/s2udRQLpkVq4dJiY4snN7du vRoJ6o28WGN5EPItxs1iKZb7GF7AcAdeJzFhjmrjhlpOLSjfLtfK5+vO5nZaxrvf8e J9hc+wLleXkoetd01KHEzda+SeDI4RjTsCQ6nKiw= Authentication-Results: mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 08 May 2023 10:12:19 -0000 Date: Mon, 8 May 2023 13:12:19 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1065214503.20230508131219@yandex.ru> To: Yuri , cygwin@cygwin.com Subject: Re: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING) In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DATE_IN_PAST_96_XX,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_THEBAT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Greetings, Yuri! > I've built the proxytunnel project in Cygwin > (https://github.com/proxytunnel/proxytunnel). > It is usually used to tunnel ssh through https using the https CONNECT command. > The command "proxytunnel --no-check-certificate -E -p > {https-proxy-host}:{https-proxy-port} -d 127.0.0.1:22" works on Linux and BSD. > However, it fails in Cygwin with the exit code 1 > (SSL_TLSEXT_ERR_ALERT_WARNING), which causes this error message in proxytunnel: >> SSL_set_tlsext_host_name returned: 1 (0x1). TLS SNI error, giving up This error means that a connecting party had sent server name which server did not acknowledge. > This prevents proxytunnel from being able to connect to the remote peer. > What might be wrong? If possible, I would look at the protocol log for connection, if I were you. -- With best regards, Andrey Repin Monday, May 8, 2023 13:09:25 Sorry for my terrible english...