qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] User networking: Show active connections


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH] User networking: Show active connections
Date: Wed, 27 May 2009 08:58:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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 <address@hidden>
> ---
>  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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]