Actions
Bug #2549
closedUse and support python3
Affected Versions:
Effort:
Difficulty:
Label:
Description
suricata-update is not ready to be used with python3.
I consider this a severe bug in 2018 :)
One example:
$ suricata-update -D /tmp/supdate enable-source et/pro
23/7/2018 -- 14:14:34 - <Warning> -- No suricata application binary found on path.
23/7/2018 -- 14:14:34 - <Info> -- Using default Suricata version of 4.0.0
The source et/pro requires a subscription. Subscribe here:
https://www.proofpoint.com/us/threat-insight/et-pro-ruleset
Traceback (most recent call last):
File "/tmp/supdate/env/bin/suricata-update", line 26, in <module>
sys.exit(main.main())
File "/tmp/supdate/env/lib/python3.5/site-packages/suricata/update/main.py", line 1372, in main
sys.exit(_main())
File "/tmp/supdate/env/lib/python3.5/site-packages/suricata/update/main.py", line 1149, in _main
return args.func()
File "/tmp/supdate/env/lib/python3.5/site-packages/suricata/update/commands/enablesource.py", line 85, in enable_source
r = raw_input("%s (%s): " % (prompt, param))
NameError: name 'raw_input' is not defined
Actions