mirror of
https://github.com/empayre/ip_reputation.git
synced 2024-11-06 01:45:20 +00:00
Update
добавил проверку конфигурации перед перезагрузкой сервиса
This commit is contained in:
parent
cc7d93173d
commit
1c0f49fefc
@ -3,4 +3,4 @@ rm -Rf /etc/suricata/iprep/reputation.list
|
||||
python3 /opt/OTX-Suricata-master/otx-suricata/suricata.py --key 3f59b21830614df4e88ef727cc576a89a5bd58d831a01856ff34a9f65035b51c --skip-filemd5 --destination-directory /etc/suricata/iprep/
|
||||
curl -Lo /tmp/talos_ip "http://www.talosintelligence.com/documents/ip-blacklist"
|
||||
sed "s/$/,41,127/" /tmp/talos_ip >> /etc/suricata/iprep/reputation.list
|
||||
systemctl restart suricata
|
||||
suricata -T && systemctl restart suricata
|
||||
|
Loading…
Reference in New Issue
Block a user