[Bro-Dev] current_time() vs network_time()

2015-11-18 Thread Aashish Sharma
So, I am trying to have bro send me report/alerts at specific timeslots. Given current_time is the wall-clock time, I am relying on current_time() function to get time and then, my code is : if (hh:mm:ss == desired time), run a report. I noticed inconsistencies so here is more detailed debug

Re: [Bro-Dev] current_time() vs network_time()

2015-11-18 Thread Aashish Sharma
> My recommendation for how to implement this would be to calculate a unix > timestamp (seconds since 1970) that corresponds to the next time you > want send a report and then poll for when time() is >= this value. After > sending the report, calculate the next timestamp. ah! Much better way!

Re: [Bro-Dev] current_time() vs network_time()

2015-11-18 Thread Craig Leres
On 11/18/2015 10:58 AM, Aashish Sharma wrote: > So, I am trying to have bro send me report/alerts at specific timeslots. > > Given current_time is the wall-clock time, I am relying on current_time() > function to get time and then, my code is : if (hh:mm:ss == desired time), > run a report.

[Bro-Dev] [Auto] Merge Status

2015-11-18 Thread Merge Tracker
Open Merge Requests === IDComponentReporter Assignee Updated For Version PrioritySummary --- - -- - -- - BIT-1489 [1] BroControl