snort3: minor tweaks to local.lua
authorJohn Audia <therealgraysky@proton.me>
Sun, 18 Dec 2022 14:18:42 +0000 (09:18 -0500)
committerRosen Penev <rosenp@gmail.com>
Fri, 23 Dec 2022 00:27:40 +0000 (16:27 -0800)
* Use Boolean true for enable inline mode which is more intuitive that older ''
* Add skeleton section for openappid since it has been merged[1]

1. https://github.com/openwrt/packages/commit/2d4e7d5fd343652d0852337184d56522ef5af83d

Signed-off-by: John Audia <therealgraysky@proton.me>
net/snort3/files/local.lua

index 7929388ba41d561c90513e1c5748114d1b4bacde..c48ffd0c8bc637181c9252b21d7af901c91ed9db 100644 (file)
@@ -2,7 +2,7 @@
 
 -- switch tap to inline in ips and uncomment the below to run snort in inline mode
 --snort = {}
---snort["-Q"] = ''
+--snort["-Q"] = true
 
 ips = {
   mode = tap,
@@ -50,3 +50,10 @@ file_policy = {
     }
   }
 }
+
+-- To use openappid with snort, install the openappid package and uncomment the below
+--appid = {
+--    app_detector_dir = '/usr/lib/openappid',
+--    log_stats = true,
+--    app_stats_period = 60,
+--}