-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
24 lines (23 loc) · 1.86 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
UNPRIV_USER = 'autoids' # username and password for the unprivelaged user that this is run as
UNPRIV_PASS = 'redacted'
UPLOAD_FOLDER = '/var/pcap' # pcap files are uploaded here
LOG_FOLDER = '/var/www/html' # logs are put here in their own folders
IDSDB_FOLDER = '/opt/IDSDeathBlossom' # IDSDeathBlossom installation
DATABASE = os.path.join(UPLOAD_FOLDER,'files.db') # path to the SQLite database that stores some info about files
ALLOWED_EXTENSIONS = set(['pcap','pcapng']) # allowed file types to upload
IDSS = ["snort-2.8.4.1","snort-2.8.5.1","snort-2.8.6.1","snort-2.9.0.5","snort-2.9.2.3","snort-2.9.3.1",\
"snort-2.9.4.6","snort-2.9.5.6","snort-2.9.6.0","snort-2.9.6.1","snort-2.9.6.2","snort-2.9.7.0",\
"snort-2.9.7.2","snort-2.9.7.3","snort-2.9.7.5","snort-2.9.7.6","snort-2.9.8.0","snort-2.9.8.2",\
"snort-2.9.8.3","snort-2.9.9.0","suricata-1.2.1","suricata-1.3.1","suricata-1.3.6","suricata-1.4.6",\
"suricata-1.4.7","suricata-2.0","suricata-2.0.1","suricata-2.0.10","suricata-2.0.11","suricata-2.0.2",\
"suricata-2.0.3","suricata-2.0.4","suricata-2.0.5","suricata-2.0.6","suricata-2.0.7",\
"suricata-2.0.8","suricata-2.0.9","suricata-3.0","suricata-3.0.1","suricata-3.1","suricata-3.1.1",\
"suricata-3.2","suricata-3.2.1","suricata-3.2.2","suricata-3.2.3","suricata-4.0.0"]
IDSS.reverse()
ENGINES = ['etopen-all','etopen-base','etopenenall-all','etopenenall-base','etpro-all','etpro-base','etproenall-all','etproenall-all','sanitize-sopen','sanitize-spro','test-test'] # rulesets for each IDS
PERPAGE = 40 # files displayed per page for the lists
FILEBLACKLIST = ['IDSDeathBlossom.py.log_'] # filenames that are not displayed by the logfile viewer
FILETRUNCATE = 16384 # truncate after first 16kb of long files
STATICHOST = 'http://autoids.net:81/' # url to the apache server that hosts the logfiles
SECRETKEY = 'redacted' # for session cookie encryption