From: Jan Kiszka <jan.kiszka@web.de>
To: Alexander Graf <agraf@suse.de>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] User networking: Show active connections
Date: Wed, 27 May 2009 08:58:47 +0200 [thread overview]
Message-ID: <4A1CE4A7.8010104@web.de> (raw)
In-Reply-To: <1243335807-9495-2-git-send-email-agraf@suse.de>
[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]
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.
>
> This patch enables you to see all current connections the host
> only networking holds open, so you can kill them using the previous
> patch.
>
> Signed-off-by: Alexander Graf <agraf@suse.de>
> ---
> monitor.c | 3 ++-
> net.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
> slirp/libslirp.h | 4 ++++
> slirp/slirp.c | 24 ++++++++++++++++++++++++
> 4 files changed, 74 insertions(+), 1 deletions(-)
>
> 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[] = {
> #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 redirection" },
> + "host_net_redir remove [tcp:|udp:]host-port -- remove redirection\n"
> + "host_net_redir list -- show all redirections" },
info redir (or using the new term: info hostfwd)? Would look a bit more
consistent.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-05-27 6:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 11:03 [Qemu-devel] [PATCH] User Networking: Enable removal of redirections Alexander Graf
2009-05-26 11:03 ` [Qemu-devel] [PATCH] User networking: Show active connections Alexander Graf
2009-05-27 6:58 ` Jan Kiszka [this message]
2009-05-27 6:58 ` [Qemu-devel] Re: [PATCH] User Networking: Enable removal of redirections Jan Kiszka
2009-05-27 7:21 ` Jan Kiszka
2009-05-27 7:26 ` Alexander Graf
2009-05-27 8:04 ` Jan Kiszka
2009-05-28 21:31 ` Jan Kiszka
2009-05-28 22:17 ` Alexander Graf
2009-05-29 7:48 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A1CE4A7.8010104@web.de \
--to=jan.kiszka@web.de \
--cc=agraf@suse.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.