diff --git a/installer/upstart/dionaea.conf b/installer/upstart/dionaea.conf index 5fde143e..2c1eeb36 100644 --- a/installer/upstart/dionaea.conf +++ b/installer/upstart/dionaea.conf @@ -2,7 +2,7 @@ # T-Pot # # Dionaea upstart script # # # -# v16.03.3 by mo, DTAG, 2016-01-27 # +# v16.03.4 by mo, DTAG, 2016-02-06 # ######################################################## description "Dionaea" @@ -18,6 +18,7 @@ pre-start script fi # Remove any data from previous container rm -rf /data/dionaea/* + rm /data/ews/dionaea/ews.json mkdir -p /data/dionaea/log /data/dionaea/bistreams /data/dionaea/binaries /data/dionaea/rtp /data/dionaea/wwwroot chmod 760 /data/dionaea -R chown tpot:tpot /data/dionaea -R diff --git a/installer/upstart/elasticpot.conf b/installer/upstart/elasticpot.conf index 0b3b206a..5a0fb726 100644 --- a/installer/upstart/elasticpot.conf +++ b/installer/upstart/elasticpot.conf @@ -2,10 +2,10 @@ # T-Pot # # Elasticpot upstart script # # # -# v16.03.2 by ms, DTAG, 2016-01-02 # +# v16.03.3 by ms/mo, DTAG, 2016-02-04 # ######################################################## -description "Elasticpot" +description "ElasticPot" author "ms" start on started docker and filesystem stop on runlevel [!2345] @@ -17,6 +17,10 @@ pre-start script then docker rm -v $myCID; fi # Remove any data from previous container + rm -rf /data/elasticpot/* + mkdir -p /data/elasticpot/log + chmod 760 /data/elasticpot -R + chown tpot:tpot /data/elasticpot -R end script script /usr/bin/docker run --name elasticpot --rm=true -v /data/elasticpot:/data/elasticpot -v /data/ews:/data/ews -p 9200:8080 dtagdevsec/elasticpot:latest1603 diff --git a/installer/upstart/suricata.conf b/installer/upstart/suricata.conf index 884a7fb4..c8908021 100644 --- a/installer/upstart/suricata.conf +++ b/installer/upstart/suricata.conf @@ -2,7 +2,7 @@ # T-Pot # # Suricata upstart script # # # -# v16.03.1 by mo, DTAG, 2015-12-11 # +# v16.03.2 by mo, DTAG, 2016-02-06 # ######################################################## description "Suricata" @@ -16,6 +16,11 @@ pre-start script if [ "$myCID" != "" ]; then docker rm -v $myCID; fi + # Remove any data from previous container + rm -rf /data/suricata/* + mkdir -p /data/suricata/log + chmod 760 -R /data/suricata + chown tpot:tpot -R /data/suricata myIF=$(route | grep default | awk '{ print $8 }') /sbin/ethtool --offload $myIF rx off tx off /sbin/ethtool -K $myIF gso off gro off