License check per interface
Is it possible to check the validity of the license for a specified interface, without starting the capture?
Eg pfring_zc_check_license could take an interface as an argument, and to return whether it is valid and whether it expires. This would be useful for quickly checking each interface from a script/program, without having to start the whole capture program (eg if another ZC program has bound to the interface)
This is not available via API at the moment, adding this to the roadmap.
Alfredo
On 19 Jun 2015, at 11:11, markabey [email protected] wrote:
Is it possible to check the validity of the license for a specified interface, without starting the capture?
Eg pfring_zc_check_license could take an interface as an argument, and to return whether it is valid and whether it expires. This would be useful for quickly checking each interface from a script/program, without having to start the whole capture program (eg if another ZC program has bound to the interface)
— Reply to this email directly or view it on GitHub https://github.com/ntop/PF_RING/issues/16.
Please can it also print when a license expires when starting up? Sometimes pf_ring does back to demo mode some time after using a license successfully for a month.
API pfring_zc_check_device_license() added with b2ce77ee3da816921a5388e6227c27275b01efde Please see zcount as example.