public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ross Boylan <ross@biostat.ucsf.edu>
To: Andrey Repin <cygwin@cygwin.com>
Cc: ross@biostat.ucsf.edu
Subject: Re: cygwin port forwarding
Date: Sun, 24 Jun 2012 18:33:00 -0000	[thread overview]
Message-ID: <1340562793.24539.44.camel@corn.betterworld.us> (raw)
In-Reply-To: <1486292945.20120624040757@mtu-net.ru>

On Sun, 2012-06-24 at 04:07 +0400, Andrey Repin wrote:
> Greetings, Ross Boylan!
> 
> > Can non-cygwin applications "see" the ports ssh in cygwin sets up for
> > forwarding?  I did some tests on Windows 7 and found that, although the
> > forwarding was clearly in effect for commands I ran in the cygwin shell,
> > it did not seem to be accessible to the regular Windows version of
> > Thunderbird.
> 
> > The local port I forwarded was not privileged.  I used no Windows admin
> > privileges.
> 
> netstat -aon
> 
> Curious, what "tests" you did instead of getting the data straight from OS?
> And what exactly you've tried to do? If you're looking for proxy through SSH
> tunnel, you'd be better off with PuTTY -D 1080 and IE using SOCKS proxy.
> 
I ran netstat, I think in a non-cygwin terminal, and didn't see the
ports listed (though I remember doing netstat-an, which seems like Unix
options not windows).  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.

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

The target port is secure IMAP, 993.

I'm using ssh in addition to SSL because the tunnel must be though ssh
and the server is only serving SSL.  The underlying motivation is that
we suspect the links used by the regular connection are not reliable.

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

  parent reply	other threads:[~2012-06-24 18:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-23 16:29 Ross Boylan
2012-06-23 17:43 ` René Berber
2012-06-24  0:20 ` Andrey Repin
2012-06-24  2:26   ` Karl M
2012-06-24 18:33   ` Ross Boylan [this message]
2012-06-24 21:42     ` René Berber
2012-06-25  9:50       ` Andrey Repin
2012-06-29  1:08 ` cygwin port forwarding [working] Ross Boylan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340562793.24539.44.camel@corn.betterworld.us \
    --to=ross@biostat.ucsf.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).