- add flag -p for timestamp precision in nanoseconds
- use ZeroCopyReadPacketData which is much faster than ReadPacketData
- print help messege if no input files were given
- allow mixing of different input linktypes
- fix bug introduced in v0.9.0 - input file passing order can make previousTimestamp be initialized wrong and reject later input files
- fix a log print that should only be printed in verbose mode
- fix initialization of previousTimestamp (timestamp corruption check)
- detect bad packets if an hour earlier than previous packet
- better wrapping of error messages
- humanize byte size printing in verbose mode (TiB, GiB, MiB, KiB)
- minheap tests
- better error handling
- more tests coverage
- use the golang logger (logs with datetime)
- per input file, set minimum legal timestamp as the first packet's time
- don't allow to read packets with illegal timestamps (probably faulty packet header)
- use our own snaplen to avoid small snaplens by bad pcap writers
- cmdFlags no longer global
- default snaplen
- fix use inputFile after error on open
- skip empty packets (probably bad packet header)
- make as little as possible heap memory allocations
- close each input file as soon as we are done with it
- read faster with ReadPacketDataNoCopy (currently from github.com/assafmo/gopacket, until the PR is accepted)
- pass Packet by pointer
- print infile path on linktype error
- new help message
- better parsing of rest args
- optimize read if the next packet is from the same source
- benchmarks results as markdown
- fix skip packet don't write garbage
- fix usage message
- benchmark.sh don't use tmpfs if less than 6GB of RAM, better logs
- fix heap push
- fix heap pop & push, use string pointer for pcap path
- pass data by pointer to reduce copy in memory
- update usage message
- print version if verbose
- skip instead of fail bad pcap files or file read errors
- print (skiping this packet) on errors
- print source pcap on all read errors
- skip errors on first packet
- read from source until good packet or EOF
- fix write to stdout instead of file
- enable write to file
- better logs
- fix flush write buffer
- use buffered writer
- benchmark use tmpfs
- init (works)