Network traffic dumping via netfilter
Status from this message: Applied in https://github.com/jasowang/qemu/commits/net
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 5 repliesApplied
- v15 patches 1 replySuperseded
Changes in v2 from the cover letter
- Only rebased to master branch (to suit the final version of the netfilter patches that are now merged into master)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net/dump: Add support for receive_iov functionnet/ | +21 | 1 reply | |
| 2/5 | net/dump: Rework net-dump init functionsnet/ | +13 | 1 reply | |
| 3/5 | net/dump: Separate the NetClientState from the DumpStatenet/ | +49 | 1 reply | |
| 4/5 | net/dump: Provide the dumping facility as a net-filternet/ vl.c | +134 | 1 reply | |
| 5/5 | options: Add documentation for filter-dumpqemu-options.hx | +8 | 0 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Yang Hongyang |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/5] Network traffic dumping via netfilter
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.datChanges 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(-)
Signature · 1 line
1.8.3.1