New features for analyzing packets using zeek script

Hey!

I am new to zeek, and intersted if there is anywhere code for the following features:

  1. Bits per peak - Summary of bits of every ”peak” in data coming from destination to source
  2. Inter-arrival time - Min, max, and mean of bidirectional, forward, and backward
  3. Beaconing - Sum of packet size where the source is more active than the destination in 5 seconds windows

Thanks in advance!