[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/5] Network traffic dumping via netfilter
From: |
Jason Wang |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/5] Network traffic dumping via netfilter |
Date: |
Tue, 20 Oct 2015 12:35:15 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 10/13/2015 06:39 PM, Thomas Huth wrote:
> The "-net dump" option only works with the "-net" option. So far, it
> is not possible to dump network traffic with the "-netdev" option yet.
> This patch series now fixes this ugliness by enabling dumping for the
> netdev devices via the new netfilter infrastructure from Yang Hongyang.
> The dumping filter can be used like this for example:
>
> ppc64-softmmu/qemu-system-ppc64 -device virtio-net,netdev=mynet \
> -netdev user,id=mynet,tftp=/tmp/tftp,bootfile=zImage \
> -object filter-dump,id=f0,netdev=mynet,file=/tmp/dumpfile.dat
>
> Changes in v2:
> - Only rebased to master branch (to suit the final version of the
> netfilter patches that are now merged into master)
>
> Thomas Huth (5):
> net/dump: Add support for receive_iov function
> net/dump: Rework net-dump init functions
> net/dump: Separate the NetClientState from the DumpState
> net/dump: Provide the dumping facility as a net filter
> options: Add documentation for filter-dump
>
> net/dump.c | 228
> ++++++++++++++++++++++++++++++++++++++++++++++++--------
> qemu-options.hx | 8 ++
> vl.c | 7 +-
> 3 files changed, 212 insertions(+), 31 deletions(-)
>
Applied in https://github.com/jasowang/qemu/commits/net
Thanks.
- [Qemu-devel] [PATCH v2 0/5] Network traffic dumping via netfilter, Thomas Huth, 2015/10/15
- [Qemu-devel] [PATCH v2 2/5] net/dump: Rework net-dump init functions, Thomas Huth, 2015/10/13
- [Qemu-devel] [PATCH v2 1/5] net/dump: Add support for receive_iov function, Thomas Huth, 2015/10/13
- [Qemu-devel] [PATCH v2 5/5] options: Add documentation for filter-dump, Thomas Huth, 2015/10/13
- [Qemu-devel] [PATCH v2 4/5] net/dump: Provide the dumping facility as a net-filter, Thomas Huth, 2015/10/13
- [Qemu-devel] [PATCH v2 3/5] net/dump: Separate the NetClientState from the DumpState, Thomas Huth, 2015/10/15
- Re: [Qemu-devel] [PATCH v2 0/5] Network traffic dumping via netfilter,
Jason Wang <=