utoni / nDPId

Tiny nDPI based deep packet inspection daemons / toolkit.
GNU General Public License v3.0
67 stars 15 forks source link

Unify `packets_limit_per_flow` and `max_packets_per_flow_to_process` #51

Open utoni opened 3 weeks ago

utoni commented 3 weeks ago

Right now nDPId has a configuration parameter max_packets_per_flow_to_process which controls how many packets should be handed over to libnDPI for processing. But libnDPI has it's own parameter named packets_limit_per_flow which also controls how many packets should be processed.

AC: nDPId should query packets_limit_per_flow and use that value as replacement for max_packets_per_flow_to_process .