From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ee5GD-0004yg-8h for qemu-devel@nongnu.org; Mon, 21 Nov 2005 01:34:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ee5GB-0004yM-H0 for qemu-devel@nongnu.org; Mon, 21 Nov 2005 01:34:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ee5GB-0004yI-9F for qemu-devel@nongnu.org; Mon, 21 Nov 2005 01:34:39 -0500 Received: from [69.17.117.29] (helo=mail27.sea5.speakeasy.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Ee5GB-0006Oi-7j for qemu-devel@nongnu.org; Mon, 21 Nov 2005 01:34:39 -0500 Received: from dsl081-088-222.lax1.dsl.speakeasy.net (HELO [192.168.111.2]) (jhoger@[64.81.88.222]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Nov 2005 06:34:32 -0000 Subject: Re: [Qemu-devel] user-net -redir working? From: "John R. Hogerhuis" In-Reply-To: <4380FC9D.2020706@hermes.cam.ac.uk> References: <4380FC9D.2020706@hermes.cam.ac.uk> Content-Type: text/plain Date: Sun, 20 Nov 2005 22:34:40 -0800 Message-Id: <1132554880.6973.155.camel@aragorn> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: jhoger@pobox.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, 2005-11-20 at 22:45 +0000, Richard Neill wrote: > qemu -cdrom /dev/cdrom -boot d -user-net -redir tcp:2300::2301 > > In Guest (knoppix): > netcat -l -p 2301 > > On Host: > > netcat localhost 2300 > > This connection is accepted (Netcat doesn't say connection refused), > but then no data is ever transferred. > > > Could someone confirm whether > a)I am being an idiot Without more data, I'd vote for (a). It sounds like netcat is behaving normally to me. Since you are typing this at the prompt, netcat is dutifully waiting for you to type something to send over the link. Perhaps if you type something on the client side and hit ? Then see if it shows up on the server side. If you don't get any output on the server side, a network sniffer (tcpdump) on both sides of the connection should be illuminating. Later, -- John.