On Fri, 12 Oct 2018 15:04:56 +0900, Hòa Nguyễn Thanh wrote: > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; UTF-8 (7bit)>] > Hi all, > > I'm doing a project about DDos detection on SDN with Ryu. > So I have a problem that I can not know the right moment when there are > exactly 50 new packets coming to switch via openflow stats request from Ryu > Controller. > > If we don't know that moment, is there any solution for me to know the > order of that 50 packets. I want to count packets match each flow entry in > flow table every new 50 or 100 packets coming to switch to calculate > entropy of IP dst, IP src. > Does someone give me a solution?
I don't have a good idea. You can count packets with Packet-ins if packet rates are very low, but I guess that's not a feasible solution. -- IWAMOTO Toshihiro _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel