Project

General

Profile

Actions

Support #3520

closed
RS SB

Applying filters

Support #3520: Applying filters

Added by Rahul Surya about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Affected Versions:
Label:

Description

I have downloaded the emerging threat rules using suricata-update,Can we apply the filters enable.conf,disable.conf,modify.conf and drop.conf in the current existing rules folder without fetching the rules from url or from cache location everytime ?

KK Updated by Kenneth Kolano about 6 years ago Actions #1

Likely related to the desire here to enable quick testing of config modifications...

I've found that modifications made via modify.conf may not be applied. I'm not clear, but I'm guessing that it's likely due to such modifications not revising the rule's revision #. We may need to detect when updates occur to those files and ignore rev # checks on effected rules, or at least document that modify rules may need to also update revision to be applied.

RS Updated by Rahul Surya about 6 years ago Actions #2

So you are telling, if we modify any rule from alert to drop manually and if we do suricata- update, it will consider the rule as modified one and revert it back.(in order to do nothing with changes ,we have to update that rule sid in modify conf).

But here the tool must act like management tool right irrespective of downloading and managing....

JI Updated by Jason Ish about 6 years ago Actions #3

Rahul Surya wrote:

I have downloaded the emerging threat rules using suricata-update,Can we apply the filters enable.conf,disable.conf,modify.conf and drop.conf in the current existing rules folder without fetching the rules from url or from cache location everytime ?

No, it always rebuilds from from online or the cache. It will only go online if the cache is older than 15 minutes. You can force it to not go online with the --offline option.

The process is:
- Load files from cache
- Make modifications
- Write output

So you are telling, if we modify any rule from alert to drop manually and if we do suricata- update, it will consider the rule as modified one and revert it back.(in order to do nothing with changes ,we have to update that rule sid in modify conf).

That is correct. It doesn't look at any modifications you may have made to the output file. If you use suricata-update, you must use it to make your modifications. This is the same as the tools before this like Oinkmaster and PullPork.

RS Updated by Rahul Surya about 6 years ago Actions #4

ok thanks for the information.

JI Updated by Jason Ish about 6 years ago Actions #5

  • Priority changed from Urgent to Normal

SB Updated by Shivani Bhardwaj about 6 years ago Actions #6

Hi Rahul!

Does Jason's comment help you with your situation? Please let us know if we're good to close this issue now. Thank you.

SB Updated by Shivani Bhardwaj about 6 years ago Actions #7

  • Status changed from New to Closed

Closing this issue assuming it has been resolved because of inactivity. Please feel free to open a new issue in case you face this again. Thank you.

Actions

Also available in: PDF Atom