qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v8 00/11] Add a netfilter object and netbuffer f


From: Thomas Huth
Subject: Re: [Qemu-devel] [PATCH v8 00/11] Add a netfilter object and netbuffer filter
Date: Thu, 27 Aug 2015 03:05:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

On 26/08/15 11:59, Yang Hongyang wrote:
> This patch add a new object netfilter, capture all network packets.
> Also implement a netbuffer based on this object.
> the "buffer" netfilter could be used by VM FT solutions like
> MicroCheckpointing, to buffer/release packets. Or to simulate
> packet delay.
> 
> You can also get the series from:
> https://github.com/macrosheep/qemu/tree/netfilter-v8
> 
> Usage:
>  -netdev tap,id=bn0
>  -netfilter buffer,id=f0,netdev=bn0,chain=in,interval=1000
>  -device e1000,netdev=bn0
> 
> dynamically add/remove netfilters:
>  netfilter_add buffer,id=f0,netdev=bn0,chain=in,interval=1000
>  netfilter_del f0
> 
> NOTE:
>  interval's scale is microsecond.
>  chain is optional, and is one of in|out|all, default is "all".
>        "in" means this filter will receive packets sent to the @netdev
>        "out" means this filter will receive packets sent from the @netdev
>        "all" means this filter will receive packets both sent to/from
>              the @netdev
> 
> TODO:
>  - dump

FYI, I've now reworked my dump patch series to use your netfilter
infrastructure - worked out fine and it was pretty easy since your
netfilter infrastructure is very usable! I'll polish my patches a little
bit more, then I'll send them out, too. So I am looking forward to see
your netfilter infrastructure included in upstream soon :-)

 Thomas




reply via email to

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