HEX
Server: Apache
System: Linux vps34798 6.8.0-78-generic #78~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 13 14:32:06 UTC 2 x86_64
User: davidsurgicenter (16765843)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //etc/fail2ban/action.d/failcentral-dreamhost.conf
#Central fail2ban action. Send ban information to sigint server

[INCLUDES]

before = iptables-blocktype.conf

[Definition]
actionstart =
actionstop =
actioncheck =
actionban = /usr/bin/curl -s -o /dev/null -X POST "https://sigint.dreamhost.com:6821/report" \
          -H "Content-Type: application/json" \
          -d '{"token":"PKMnZv4HzXNKPZc8TAW2Uj","hostname":"'"$(hostname)"'","ip":"<ip>","jail":"<name>"}'