Actions
Bug #3843
closedno way to re-enable a disabled source previously added with add-source
Affected Versions:
Effort:
Difficulty:
Label:
Description
When you add a source with suricata-update add-source and then disable that source, there is no way to re-enable it without getting an error.
$ sudo suricata-update add-source abuse.ch-URLhaus-IDS https://urlhaus.abuse.ch/downloads/urlhaus_suricata.tar.gz $ ls -la ./sources/ -rw-r--r-- 1 root root 108 Jul 24 18:03 abuse.ch-URLhaus-IDS.yaml $ sudo suricata-update disable-source abuse.ch-URLhaus-IDS <Info> -- Source abuse.ch-URLhaus-IDS has been disabled $ ls -la ./sources/ -rw-r--r-- 1 root root 108 Jul 24 18:03 abuse.ch-URLhaus-IDS.yaml.disabled $ sudo suricata-update add-source abuse.ch-URLhaus-IDS https://urlhaus.abuse.ch/downloads/urlhaus_suricata.tar.gz <Error> -- A source with name abuse.ch-URLhaus-IDS already exists. $ sudo suricata-update enable-source abuse.ch-URLhaus-IDS <Info> -- Re-enabling previously disabled source for abuse.ch-URLhaus-IDS. <Error> -- Unknown source: abuse.ch-URLhaus-IDS
Actions