From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKrau-0005ZE-0q for qemu-devel@nongnu.org; Thu, 08 Jan 2009 04:54:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKras-0005Y0-9R for qemu-devel@nongnu.org; Thu, 08 Jan 2009 04:54:26 -0500 Received: from [199.232.76.173] (port=36610 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKras-0005Xr-1X for qemu-devel@nongnu.org; Thu, 08 Jan 2009 04:54:26 -0500 Received: from mx20.gnu.org ([199.232.41.8]:54513) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LKrar-0007Sf-Gk for qemu-devel@nongnu.org; Thu, 08 Jan 2009 04:54:25 -0500 Received: from mx2.redhat.com ([66.187.237.31]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKrap-000368-Pz for qemu-devel@nongnu.org; Thu, 08 Jan 2009 04:54:24 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n089sL9U003159 for ; Thu, 8 Jan 2009 04:54:21 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n089sLZK030069 for ; Thu, 8 Jan 2009 04:54:22 -0500 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n089sKAO011522 for ; Thu, 8 Jan 2009 04:54:21 -0500 Received: from dhcp-1-237.tlv.redhat.com (localhost [127.0.0.1]) by dhcp-1-237.tlv.redhat.com (Postfix) with ESMTP id 9BD2118D43A for ; Thu, 8 Jan 2009 11:55:33 +0200 (IST) From: Gleb Natapov Date: Thu, 08 Jan 2009 11:55:33 +0200 Message-ID: <20090108095533.12548.8211.stgit@dhcp-1-237.tlv.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v3 0/5] Marry slirp and qemu character device. Reply-To: 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 Windows compilation should be fixed now. Trap TCP connection to special IP/port inside slirp and redirect its traffic to a qemu character device. Add option to prevent connections through slirp to outside world. Add migration support for "special" sockets. This allow slirp to be used for secure communication between host and guest management agents. --- Gleb Natapov (5): Add support for vmchannel socket migration. Add "restrict" and "ip" option to "user" net option Add slirp_restrict option. Add vmchannel command line option. Redirect slirp traffic to/from qemu character device. net.c | 14 ++ slirp/bootp.c | 22 ++-- slirp/ip_input.c | 21 ++++ slirp/libslirp.h | 7 + slirp/main.h | 3 + slirp/misc.c | 2 slirp/sbuf.c | 2 slirp/slirp.c | 300 ++++++++++++++++++++++++++++++++++++++++++++++++++++- slirp/socket.c | 101 ++++++++++++++---- slirp/socket.h | 2 slirp/tcp_input.c | 11 ++ slirp/tcp_subr.c | 5 + slirp/udp.c | 3 + vl.c | 75 +++++++++++++ 14 files changed, 525 insertions(+), 43 deletions(-) -- Gleb.