Replies: 2 comments 1 reply
-
|
Hi @DarmJarlo, You can deploy custom applications on top of the controller using the northbound interface. This allows you to use NFStream in live mode where it can convert all the packets into flows and store them in a CSV or forward them somewhere else (messaging broker) for analysis. This certainly requires some implementation on your side. However, I do not understand your strategy to collect packets through the controller. Packets are being sent there only if there is no flow table entry (unless you configure the data plane to forward all the packets to the controller). Once there is a flow table entry, upcoming packets of a flow won't be forwarded to the controller. This way you miss packets for certain flows. Am I missing something reagarding your approach? |
Beta Was this translation helpful? Give feedback.
-
|
Can you plase help me better understand your goal? I think, your approach is flawed. An SDN controller is not suitable for flow measurement. Assuming you are doing this for research, if I were a reviewer, I would question such a proposal because of the placement of the measurement. Now your are sending all your traffic to the cloud just because you need to pull out some statistics. Packet capture and flow measurement should take place in the data plane. Is there a specific reason for such a placement? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey I am trying to collect some packets through ryu controller and then convert them into flows with NFstream.The whole process is like first I collect the packets, save them in a list and write them in a pcap file, and then use NFstream to transform this pcap file. My idea is to convert this list of packets directly into flows with NFstream without saving these pcap. Because writing in this pcap file on the ryu controller take too much time. Could someone help?Thanks in advance
By the way, I am reading the source code and have come up with a primary idea that I can modify your lib_engine.c to save the list of packets in pcap file as you do for the interface mode. But I cannot find the code about the function pcap_create in line 1449. Can you help to tell me where is its definition? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions