-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify ossec alert script and iptables for signal-cli
- Conditional firewall rules in rules_v4 template will provide dns and outbound communication required for the postfix user under which java/signal-cli will run - Conditional in `send_encrypted_alarm.sh` will dual-route alerts to signal
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thought I'm dropping here while I'm reviewing this but recommend you hold off on implementing until we have some of the hard dependencies in #3182 addressed: there is a beefy email header in the OSSEC alerts that we should strip off when sending a Signal message. The only useful part of the header is the subject e.g this has the alert level, this I would preserve. Otherwise the information is either not useful, or is contained in the message body, e.g. the content of the message already contains the date and time of the OSSEC notification.