Actions
Bug #2551
closedpython3: issue loading disable.conf and other filter files
Affected Versions:
Effort:
Difficulty:
Label:
Description
Reported on oisf-users:
23/7/2018 -- 11:41:15 - <Info> -- Using data-directory /var/lib/suricata. 23/7/2018 -- 11:41:15 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml 23/7/2018 -- 11:41:15 - <Info> -- Using /etc/suricata/rules for Suricata provided rules. 23/7/2018 -- 11:41:15 - <Info> -- Found Suricata version 4.1.0-rc1 at /usr/local/bin/suricata. 23/7/2018 -- 11:41:15 - <Info> -- Loading /etc/suricata/disable.conf. Traceback (most recent call last): File "/usr/local/bin/suricata-update", line 33, in <module> sys.exit(main.main()) File "/usr/local/bin/../lib/python3.6/site-packages/suricata/update/main.py", line 1441, in main sys.exit(_main()) File "/usr/local/bin/../lib/python3.6/site-packages/suricata/update/main.py", line 1247, in _main disable_matchers += load_matchers(disable_conf_filename) File "/usr/local/bin/../lib/python3.6/site-packages/suricata/update/main.py", line 486, in load_matchers return parse_matchers(fileobj) File "/usr/local/bin/../lib/python3.6/site-packages/suricata/update/main.py", line 472, in parse_matchers line = line.decode().strip() AttributeError: 'str' object has no attribute 'decode'
Content for disable.conf is:
group:stream-events.rules
Updated by Jason Ish over 6 years ago
- Status changed from Assigned to Closed
Actions