Commits

George Notaras committed 0a9ec38

CLOSED #260: Inconsistent internal backend defaults with the default backend configuration files
http://www.codetrax.org/issues/show/260

Comments (0)

Files changed (2)

src/TinyIDS/backends/kernel.py

 
 
 DEFAULT_COMMANDS = [
-    #'sysctl', '-a',
-    'lsmod',
+    #'/sbin/sysctl -a',
+    '/sbin/lsmod',
 ]
 
 

src/TinyIDS/backends/network.py

 #
 
 import sys
-import shlex
 
 from TinyIDS.collector import BaseCollector
 
 
 DEFAULT_COMMANDS = [
-    'netstat -ltn',
-    'iptables --list',
-    #['ifconfig'],
+    '/bin/netstat -ltn',
+    '/sbin/iptables --list',
+    #'ifconfig',
 ]