Hi Pavel there is a new API call pfring_zc_check_license() to check if trial or full ZC is running, you can terminate the application correctly handling SIGTERM.
Alfredo > On 14 Dec 2014, at 19:19, Pavel Odintsov <[email protected]> wrote: > > Hello, folks! > > My tool woking with ZC. And sometimes customers use it with trial ZC > license (only for 5 minutes). > > But I can't check from my tool if license is trial and correctly > notify customer about it. Because this information about "this > license is trial" logged only on console and I can't catch it. > > When trial time 5 minutes is expired my tool hangs without any errors > in log file because it works in daemon mode and do not have any > stdio/stderr. > > Even in interactive mode I can catch error "Demo time elapsed: please > get a valid license" but it's impossible for production use. > > Finally, I suggest two features: > 1) API call for checking "is this ZC license is valid or trial?" > 2) Ability to provide callback for finishing my toolkit correctly when > trial time is expired. > > Thank you for a great product! > > -- > Sincerely yours, Pavel Odintsov > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
