summarylogtreecommitdiffstats
path: root/suricata.install
diff options
context:
space:
mode:
authorAmish2020-04-24 15:53:54 +0530
committerAmish2020-04-24 15:53:54 +0530
commit6a4b2c8ac76a7876aa58ccc983e0b323c1823dbc (patch)
tree362f077efdd9d58b310a4bae6f46f2e78fdc1dfb /suricata.install
downloadaur-6a4b2c8ac76a7876aa58ccc983e0b323c1823dbc.tar.gz
Initial release of suricata 5.0.2 with NFQUEUE support
Diffstat (limited to 'suricata.install')
-rw-r--r--suricata.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/suricata.install b/suricata.install
new file mode 100644
index 000000000000..0048e36c1e8a
--- /dev/null
+++ b/suricata.install
@@ -0,0 +1,22 @@
+post_install() {
+ cat << EOF
+>>> /etc/suricata/suricata.yaml is main config file.
+>>> Add local configuration to /etc/suricata/local.yaml
+>>> Add local rules to /var/lib/suricata/rules/local.rules
+
+>>> TIP: iptables rule to monitor all FORWARDed traffic:
+>>> iptables -I FORWARD -j NFQUEUE --queue-bypass
+
+>>> Note: Logs are automatically deleted after 5 days
+>>> use logstash to store them
+
+>>> To update rules first time run: suricata-update
+>>> For automatic updates enable suricata-update.timer
+EOF
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et: