Hi Alfredo,
The attached patch includes a fix of a bug that relates to updating the
last time a hash rule was active. I assume that the
pfring_purge_idle_hash_rules()
API doesn't work for this reason.
I also added an enhancement of the API pfring_get_hash_filtering_rule_stats()
to return for how long a hash filtering rule is inactive.
The patch is based on pfring 6.6.0.
Since the fix and the enhancement are pretty short, I put them together in
the same patch.
I'll appreciate getting a feedback on this fix (I already sent it over a
month ago).
Thanks,
Amir
The attached patch includes a fix of a bug that relates to updating the
last time a hash rule was active. I assume that the
pfring_purge_idle_hash_rules()
API doesn't work for this reason.
I also added an enhancement of the API pfring_get_hash_filtering_rule_stats()
to return for how long a hash filtering rule is inactive.
The patch is based on pfring 6.6.0.
Since the fix and the enhancement are pretty short, I put them together in
the same patch.
I'll appreciate getting a feedback on this fix (I already sent it over a
month ago).
Thanks,
Amir