Blame view

CEPTD/docker/suricata/docker-entrypoint.sh 273 Bytes
0d8c0f816   Thanasis Naskos   initial commit
1
2
3
4
5
6
7
8
9
  #!/bin/sh
  
  if [ "$1" == ONLINE ]; then
  	suricata -v -i $(/sbin/ip address | grep '^2: ' | awk '{ print $2 }' | tr -d [:punct:]) &
  else
  	suricata -v -r /var/pcap &
  fi
  
  process_suricata_log.py /opt/capec/capecdb.sqlite /var/log/suricata/eve.json /var/log/suricata/capec.json