From owner-freebsd-current@FreeBSD.ORG Thu Nov 6 15:31:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2381516A4CE for ; Thu, 6 Nov 2003 15:31:50 -0800 (PST) Received: from mighty.grot.org (66-117-150-96.web.lmi.net [66.117.150.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5E7643FE3 for ; Thu, 6 Nov 2003 15:31:48 -0800 (PST) (envelope-from aditya@grot.org) Received: by mighty.grot.org (Postfix, from userid 515) id AC16D5D12; Thu, 6 Nov 2003 15:31:48 -0800 (PST) Date: Thu, 6 Nov 2003 15:31:48 -0800 From: Aditya To: Kris Kennaway Message-ID: <20031106233148.GA92638@mighty.grot.org> References: <20031106214343.GA91634@mighty.grot.org> <20031106232921.GB9791@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031106232921.GB9791@rot13.obsecurity.org> cc: current@freebsd.org Subject: Re: ssh port forwarding changed under 5-CURRENT vs. STABLE? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 23:31:50 -0000 On Thu, Nov 06, 2003 at 03:29:21PM -0800, Kris Kennaway wrote: > On Thu, Nov 06, 2003 at 01:43:43PM -0800, Aditya wrote: > > > debug1: Connections to local port 8000 forwarded to remote address > > www.freebsd.org:80 > > debug1: Local forwarding listening on 127.0.0.1 port 8000. > > bind: Can't assign requested address > > channel_setup_fwd_listener: cannot listen to port: 8000 > > Could not request local forwarding. > > > > and I can't see any reason why the binding would fail: > > Is something else (e.g. another ssh session) already bound to that port? nope -- and I've tried all sorts of ports other than 8000 too: hilbert[ttyp1]:aditya~> netstat -an | grep -i LIST hilbert[ttyp1]:aditya~> hilbert[ttyp1]:aditya~> sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS aditya ssh 1289 3 tcp4 66.117.144.206:54376 66.117.144.211:22 root dhclient 1287 5 udp4 *:68 *:* Adi