This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH Local Port Forwarding


Hi Corinna,

I have tested the cygwin-inst-20060130.tar.bz2 snapshot. 
Unfortunately, this snapshot runs the same way as release 1.5.19-4. 
Cygwin does however behave differently on Windows 2000 Server than on
Windows 2003 Server.

The following describes the behavior of Cygwin (release or snapshot)
running on Windows 2000 Server sp 4.

The SSH local port forwarding is activated with the command line statement:
   ssh -L2001:server.com:23 server.com.

If another program is executed that also listens on port 2001, the
program immediately throws the bind error exception: Address already
in use.

Cygwin (release or snapshot) running on Windows 2003 Server sp 1
however does not throw a bind exception.

(If two copies of a port listening program are executed and listen on
the same port, the second copy will always throw a bind exception on
either operating system).

Ideally, I would like Cygwin to exclusively bind the port forwarding
listening port.  This would prevent the potential hijacking of plain
text data.

Jon

Attachment: cygcheck2000.out
Description: Text document

Attachment: cygcheck2003.out
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]