[ovs-discuss] Counting packets from each source address

Ben Pfaff blp at ovn.org
Mon Aug 26 17:00:30 UTC 2019

On Thu, Aug 22, 2019 at 04:34:18PM +0700, Tuyen Dinh wrote:
> Hi, I'm working with a simple topology with 2 hosts and an OVS. Host A uses
> tcpreplay and a .pcap file ( multiple ip source addresses and host B's
> address is the destination ) to act as a DDOS attack.
> I want to know the number of packets that each ip source address sends to
> host B within a period, how can I implement that in the OVS source code?

This sounds like something that you would implement by setting up
appropriate flows and observing their statistics.  No change to OVS
source code is needed.

More information about the discuss mailing list