delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 27 Jan 2006 09:56:08 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: SSH Local Port Forwarding |
Message-ID: | <20060127085608.GF8318@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <242f7d730601261653h27c91a2bi660f3fc062aaeb7c AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <242f7d730601261653h27c91a2bi660f3fc062aaeb7c@mail.gmail.com> |
User-Agent: | Mutt/1.4.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 Jan 26 16:53, Jon Dixon wrote: > I have Cygwin version 1.5.18-1 installed on a Windows 2003 Server > System. My question is in regard to the SSH Local Port Forwarding > feature. I activate the ssh local port forwarding with the command > line statement: > > ssh ?L2001:server.com:23 server.com. > > At this point, an application can connect to Cygwin listening on port > 2001. However if another program is executed and also listens on > port 2001, it too will run. Is there an option available where by SSH > can open up the Local Port Forwarding listening port in exclusive mode > (i.e. SO_EXCLUSIVEADDRUSE) so no other programs can simultaneously > listen on the same port? Unfortunately not. WinSock behaves somewhat different than one would expect in terms of port reuse. I will look into this issue at some later point, as time permits, and see if SO_EXCLUSIVEADDRUSE could help here. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |