Re: [pmacct-discussion] uninitialized req passed to plugin_requests and load_id_file in pm_pcap_cb??

2020-01-20 Thread Paolo Lucente
Hi Mikhail, If you see all the daemons that make use of the 'req' structure have a memset() for 'req' shortly after its declaration. For example here in pmacctd: https://github.com/pmacct/pmacct/blob/master/src/pmacctd.c#L360 Paolo On Fri, Jan 17, 2020 at 07:10:13PM +0100, Mikhail Sennikovsky

Re: [pmacct-discussion] Only meaningful custom primitives should pick the value

2020-01-20 Thread Paolo Lucente
Hi, You could put the port filter in a pcap_filter and have two pmacctd, one reading http traffic, one reading dns traffic and each configured to pick up and export the relevant primitives. Would that work for you? Paolo On Fri, Jan 17, 2020 at 11:45:26AM +0530, HEMA CHANDRA YEDDULA wrote: >