From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9D6I-0005Fp-JV for qemu-devel@nongnu.org; Wed, 27 May 2009 02:58:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9D6D-0005CX-Ba for qemu-devel@nongnu.org; Wed, 27 May 2009 02:58:57 -0400 Received: from [199.232.76.173] (port=43995 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9D6D-0005C9-4J for qemu-devel@nongnu.org; Wed, 27 May 2009 02:58:53 -0400 Received: from mx20.gnu.org ([199.232.41.8]:24613) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M9D6C-0003sK-Cz for qemu-devel@nongnu.org; Wed, 27 May 2009 02:58:52 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9D69-0002MY-S0 for qemu-devel@nongnu.org; Wed, 27 May 2009 02:58:50 -0400 Message-ID: <4A1CE4A7.8010104@web.de> Date: Wed, 27 May 2009 08:58:47 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1243335807-9495-1-git-send-email-agraf@suse.de> <1243335807-9495-2-git-send-email-agraf@suse.de> In-Reply-To: <1243335807-9495-2-git-send-email-agraf@suse.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEDC808DDA75C05268939EBD6" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH] User networking: Show active connections List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEDC808DDA75C05268939EBD6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Alexander Graf wrote: > In case you're wondering what connections exactly you have open > or maybe redir'ed in the past, you can't really find out from qemu > right now. >=20 > This patch enables you to see all current connections the host > only networking holds open, so you can kill them using the previous > patch. >=20 > Signed-off-by: Alexander Graf > --- > monitor.c | 3 ++- > net.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ > slirp/libslirp.h | 4 ++++ > slirp/slirp.c | 24 ++++++++++++++++++++++++ > 4 files changed, 74 insertions(+), 1 deletions(-) >=20 > diff --git a/monitor.c b/monitor.c > index dbab3de..443f6d4 100644 > --- a/monitor.c > +++ b/monitor.c > @@ -1761,7 +1761,8 @@ static const mon_cmd_t mon_cmds[] =3D { > #ifdef CONFIG_SLIRP > { "host_net_redir", "ss?", net_slirp_redir, > "[tcp|udp]:host-port:[guest-host]:guest-port", "redirect TCP or = UDP connections from host to guest (requires -net user)\n" > - "host_net_redir remove [tcp:|udp:]host-port -- remove redirectio= n" }, > + "host_net_redir remove [tcp:|udp:]host-port -- remove redirectio= n\n" > + "host_net_redir list -- show all redirections" }, info redir (or using the new term: info hostfwd)? Would look a bit more consistent. Jan --------------enigEDC808DDA75C05268939EBD6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkoc5KcACgkQniDOoMHTA+kAFwCfYd1QJqHE+Rja1Jg4Lqe1lwou FtAAn0AAJPPji4nCCq3rsUguL5W67faJ =WuZg -----END PGP SIGNATURE----- --------------enigEDC808DDA75C05268939EBD6--