delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/24/17:43:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: cygwin port forwarding
Date: Sun, 24 Jun 2012 16:42:22 -0500
Lines: 40
Message-ID: <js81jv$fkk$1@dough.gmane.org>
References: <1340468946 DOT 24539 DOT 26 DOT camel AT corn DOT betterworld DOT us> <1486292945 DOT 20120624040757 AT mtu-net DOT ru> <1340562793 DOT 24539 DOT 44 DOT camel AT corn DOT betterworld DOT us>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <1340562793.24539.44.camel@corn.betterworld.us>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 6/24/2012 1:33 PM, Ross Boylan wrote:

> I ran netstat, I think in a non-cygwin terminal, and didn't see the
> ports listed

Then there is no tunnel.

You probably used the wrong command instead of 'ssh -fNL ...'

> For thunderbird, I pointed it at localhost and
> the forwarded port, and was unable to connect.  One reason I asked is
> that I have only middling confidence I  know what t-bird is actually
> doing.

TBird will have one minor problem: the server certificate.

Since you are connecting to localhost and the server has its own name in 
the certificate (if configured correctly), then you will be shown the 
warning panel, and you will have to 'accept' to continue using that server.

> On the other hand, inside a cygwin terminal I was able to use openssl to
> connect via the same port on localhost.

Meaning?

Did you use "openssl s_client ..." or you mean something else.  That 
test if for sending main, not reading, which seems to be what you wanted 
to do.

> The target port is secure IMAP, 993.

As long as TBird is configured (Server settings) with the correct port, 
and "Security Settings" (SSL/TLS), there is no problem, it works.

There are 2 separate configurations in TBird, one for reading, one for 
sending (at the bottom of the "Account Settings" window: "Outgoing Server").
-- 
René Berber




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019