Project

General

Profile

Bug #2783

suricata-update fails to enable source

Added by Kirill Sluchanko 3 months ago. Updated 3 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Affected Versions:
Effort:
medium
Difficulty:
Label:

Description

Every time I try 'suricata-update enable source [source]' I get this:

ksluchanko@suricata:~$ sudo suricata-update enable-source oisf/trafficid
19/1/2019 -- 20:29:04 - <Info> -- Using data-directory /var/lib/suricata.
19/1/2019 -- 20:29:04 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml
19/1/2019 -- 20:29:04 - <Info> -- Using /etc/suricata/rules for Suricata provided rules.
19/1/2019 -- 20:29:04 - <Info> -- Found Suricata version 4.1.2 at /usr/bin/suricata.
Traceback (most recent call last):
File "/usr/local/bin/suricata-update", line 33, in <module>
sys.exit(main.main())
File "/usr/local/lib/python3.6/dist-packages/suricata/update/main.py", line 1454, in main
sys.exit(_main())
File "/usr/local/lib/python3.6/dist-packages/suricata/update/main.py", line 1243, in _main
return args.func()
File "/usr/local/lib/python3.6/dist-packages/suricata/update/commands/enablesource.py", line 93, in enable_source
new_source = sources.SourceConfiguration(name, params=params)
TypeError: init() missing 1 required positional argument: 'header'

ksluchanko@suricata:~$ uname -a
Linux suricata 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

History

#1

Updated by Kirill Sluchanko 3 months ago

Kirill Sluchanko wrote:

Every time I try 'suricata-update enable source [source]' I get this:

Sorry, no problem in 1.0.3. Missed it.

#2

Updated by Jason Ish 3 months ago

  • Status changed from New to Rejected

Also available in: Atom PDF