delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/28/21:09:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4FED0028.7070006@biostat.ucsf.edu>
Date: Thu, 28 Jun 2012 18:08:56 -0700
From: Ross Boylan <ross AT biostat DOT ucsf DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin port forwarding [working]
References: <1340468946 DOT 24539 DOT 26 DOT camel AT corn DOT betterworld DOT us>
In-Reply-To: <1340468946.24539.26.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-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

I have some updates and successes.

First, I do see the forwarded ports with netstat -aon in a windows 
command prompt:
   TCP    [::1]:2525             [::]:0 LISTENING       388
   TCP    [::1]:9933             [::]:0 LISTENING       388
I may have missed them because I didn't look at the ::1 addresses or 
because the destination host and port is oddly blank.

 From within a cygwin terminal I did
  openssl s_client -connect localhost:9933
which showed me the certificate of the mail server I was trying to reach.

Finally, when I switched thunderbird to use localhost at port 9933 (with 
connection security set to SSL/TLS) it did make contact.  As René 
indicated, T-bird complained about the certificate (which has also 
expired).  Then I ran into what seems like a T-bird bug: every time I 
hit "accept certificate" it brought the same dialogue asking for 
confirmation up.  Eventually I closed it by hitting the red x on the 
window (though it took a couple of tries).  It seems to be working.  
Even if it's not, it seems clear the port forwarding is working.

I'm not sure why it didn't work the first time.

Thanks to René, Andrey, and Karl for their help.

Ross

--
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