DEVNOTES

August 21, 2021 ยท View on GitHub

Add files to git lfs

git lfs track <file>

Label selected audit records live

net capture -read traffic.pcapng -labels ../label/configs/cic-ids2018-attacks.yml -csv -compress=false -include Connection -reassemble-connections=false (-encode)

Show output of external analyzer and filter only for records labeled as not normal:

net capture -read traffic.pcapng -labels ../label/configs/cic-ids2018-attacks.yml -csv -compress=false -include Connection -reassemble-connections=false -conns=false -fileStorage="" -analyzer listen_unix_socket -debug -unix -buf=false -encode | grep -v normal

new analyzer api:

net capture -read traffic.pcapng -reassemble-connections=false -labels /root/go/src/github.com/dreadl0ck/netcap/label/configs/cic-ids2018-attacks.yml -include Connection -csv