mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
include docker repos
... skip emobility since it is a dev repo
This commit is contained in:
13
docker/suricata/dist/update.sh
vendored
Normal file
13
docker/suricata/dist/update.sh
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Let's ensure normal operation on exit or if interrupted ...
|
||||
function fuCLEANUP {
|
||||
exit 0
|
||||
}
|
||||
trap fuCLEANUP EXIT
|
||||
|
||||
# Download the latest EmergingThreats ruleset, replace rulebase and enable all rules
|
||||
cd /tmp
|
||||
wget --tries=2 --timeout=2 https://rules.emergingthreats.net/open/suricata-4.0/emerging.rules.tar.gz
|
||||
tar xvfz emerging.rules.tar.gz -C /etc/suricata/
|
||||
sed -i s/^#alert/alert/ /etc/suricata/rules/*.rules
|
Reference in New Issue
Block a user