mos-stack / mOS-networking-stack

A Specialized Network Programming Library for Stateful Middleboxes:
http://mos.kaist.edu
Other
103 stars 21 forks source link

QOS implementation support with mOS #6

Open mmanoj opened 7 years ago

mmanoj commented 7 years ago

Hi,

I would like to know any support available to develop QoS (per IP based shaping) with mOS. Please let me know any example or reference. I'm still in evaluation phase.

Thank you, Manoj

ajamshed commented 7 years ago

Hi mmanoj,

Unfortunately, we don't have any sample application that does IP traffic shaping. But I would suggest that you have a look at the man pages (docs/), existing sample/ applications and mos_api.[h|c] & api.[h|c] files on how you can use related API functions (e.g. simple_firewall.c for packet drops).

mmanoj commented 7 years ago

Hi ,

Thanks for the quick feedback, I just want to know any QoS API available with mOS like HTB or inherit from DPDK QoS framework. As my requirement is specific to individual IP bases QoS.

Also let me know where can I find nDPI reader example with mOS. I'm planning to implement open source L7 firewall functionality with DPI based QoS. So community get benefitted with it.

Please advice way forward.

Thank you, Manoj

ajamshed commented 7 years ago

Hi Manoj,

  1. The mOS-networking-stack at the moment does not inherit DPDK's QoS framework. If you want to develop individual IP-based QoS solution, one suggestion can be to base your implementation on raw DPDK framework. They have example/ programs (and APIs) through which you can parse IP datagrams.

  2. The nDPI patch with mOS is currently not included in the samples/ directory. I am not sure whether we will release the source for for mOS-nDPI in the near future. I would recommend that you use the mOS API and samples/ programs as your starting point for building L7 firewall with DPI-based QoS features.

mmanoj commented 7 years ago

@ajamshed

Thank you for the clarifications and valuable feedback. So for QoS seems not feasible with mOS with my requirement. I will look in to DPDK. However I will consider mOS for other possible stuff.

Thank you, Manoj