Project

General

Profile

Actions

Bug #3536

closed

Bad number of arguments.

Added by Kenneth Kolano almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

I'm getting a "Bad number of arguments." error when launching Suricata-update, even if no parameters are specified in the command...

sudo suricata-update

Traceback (most recent call last):
  File "/usr/bin/suricata-update", line 33, in <module>
    sys.exit(main.main())
  File "/usr/bin/../lib/python2.7/site-packages/suricata/update/main.py", line 1515, in main
    sys.exit(_main())
  File "/usr/bin/../lib/python2.7/site-packages/suricata/update/main.py", line 1318, in _main
    modify_filters += load_filters(modify_conf_filename)
  File "/usr/bin/../lib/python2.7/site-packages/suricata/update/main.py", line 451, in load_filters
    filter = ModifyRuleFilter.parse(line)
  File "/usr/bin/../lib/python2.7/site-packages/suricata/update/main.py", line 272, in parse
    raise Exception("Bad number of arguments.")
Exception: Bad number of arguments.

sudo suricata-update -V

suricata-update version 1.0.6

Related issues 3 (0 open3 closed)

Related to Suricata-Update - Documentation #3550: More detail about usage in configuration filesClosedShivani BhardwajActions
Copied to Suricata-Update - Bug #3619: 1.1.x: Bad number of arguments.ClosedJason IshActions
Copied to Suricata-Update - Bug #3625: 1.0.x: Bad number of arguments.ClosedJason IshActions
Actions

Also available in: Atom PDF