Help with OVS code

asked 2014-07-16 04:48:31 -0600

ton1c gravatar image

I'm trying to implement security features to the OVS code as part of my project. I want to create a algorithm that would detect malicious controller on the network.

I want to do that by checking flow entries that OVS receives from the controllers. When OVS will receive flow entries from each controller I want to compare them and decide which flow entry to add to flow table and which one to drop.

I'm currently stuck with the OVS code. Could someone please point me to the function in the OVS code that receives the flow entries? Or a place where all received flow entries can be compared and later added or dropped.

Any version of OVS will do. The best for me is 2.0.0+, as this version we have on our PICA-8 switches.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-24 06:05:08 -0600

ton1c gravatar image

If someone needs it take a look at this functions:

ofconn_run() -> handle_openflow() -> handle_flow_mod() -> add_flow()

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-07-16 04:48:31 -0600

Seen: 138 times

Last updated: Jul 24 '14