summaryrefslogtreecommitdiffstats
path: root/testing/fwsnort/fwsnort.post-install
diff options
context:
space:
mode:
authorIT Offshore <developer@it-offshore.co.uk>2013-11-10 09:58:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-15 15:56:53 +0000
commiteadf0256139ab6119be9dcc04df58ac4bef2918a (patch)
tree9e1d5a06b955de5c32a59455bacafdda5175effb /testing/fwsnort/fwsnort.post-install
parentabfbc911367cbd315ee0564a4756aa4197799c40 (diff)
downloadaports-eadf0256139ab6119be9dcc04df58ac4bef2918a.tar.bz2
aports-eadf0256139ab6119be9dcc04df58ac4bef2918a.tar.xz
testing/fwsnort: new aport
Application layer IDS/IPS by translating snort rules into iptables http://www.cipherdyne.org/fwsnort/ re-submitted complete patch for FWSNORT correcting: periodic.daily - now updates the SNORT rules / PSAD signatures daily. fwsnort.post-install - now just shows a message to update signatures manually (to avoid any problems with installations on tmpfs). Now uses the system terminal colours $STRONG $GREEN. fwsnort.update - update script for FWSNORT & PSAD (if PSAD exists). fwsnort.up - lives in /etc/network/if-pre-up.d/ to put the SNORT rules into iptables every time networking comes up.
Diffstat (limited to 'testing/fwsnort/fwsnort.post-install')
-rw-r--r--testing/fwsnort/fwsnort.post-install16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/fwsnort/fwsnort.post-install b/testing/fwsnort/fwsnort.post-install
new file mode 100644
index 000000000..b4e80d6c5
--- /dev/null
+++ b/testing/fwsnort/fwsnort.post-install
@@ -0,0 +1,16 @@
+#!/bin/sh
+# fwsnort post install script
+#############################
+
+NORMAL="\033[1;0m"
+STRONG="\033[1;1m"
+GREEN="\033[1;32m"
+
+print_strong() {
+ local prompt="${STRONG}$1 ${GREEN}$2${NORMAL}"
+ printf "${prompt} %s\n"
+}
+
+print_strong "\nFWSNORT installed & daily signature updates configured.\n\nTo update now run:" "\t/usr/bin/update-fwsnort\n"
+exit 0
+