1. According to the snort manual the metadata key values are engine, soid and service but Ive seen rules written with other options like “metadata: author snortguru”. Is there a list of available keys or are all keys other than engine, soid and service treated as comments.
2. If I am writing a rule that I want to fire on HTTP and non-HTTP traffic how could I do this since you have to use metadata and specify a service in the newest version of Snort?
1. According to the snort manual the metadata key values are engine, soid and service but Ive seen rules written with other options like “metadata: author snortguru”. Is there a list of available keys or are all keys other than engine, soid and service treated as comments.
2. If I am writing a rule that I want to fire on HTTP and non-HTTP traffic how could I do this since you have to use metadata and specify a service in the newest version of Snort?
I have SF 5.x and OpenSrc Snort so that’s good to know about OS Snort; I thought it was the same requirement in the newest version of Snort.
Example:
content: “hello”; metadata: service http;
If we want this to fire in both http and non http streams (non-defined protocol), how do we do this?
-Shane
If we want this to fire in both http and non http streams (non-defined protocol), how do we do this?
I think your right if I use a metadata with some informational key like “metadata:author me” it should because like you said Snort doesn’t require you to specify a service.
I know this is a bit out of scope for this forum but could you tell me how I could do this in SF 5.x because you have to specify a service?
Thanks, Shane
From: Joel Esler [mailto:jes...@sourcefire.com]
Sent: Friday, May 31, 2013 11:02 AM
To: Morris, Shane (US SSA)
Cc: snort...@lists.sourceforge.net
Subject: Re: [Snort-users] metadata questions
On May 30, 2013, at 8:34 PM, "Morris, Shane (US SSA)" <shane....@baesystems.com> wrote:
If we want this to fire in both http and non http streams (non-defined protocol), how do we do this?
I think your right if I use a metadata with some informational key like “metadata:author me” it should because like you said Snort doesn’t require you to specify a service.I know this is a bit out of scope for this forum but could you tell me how I could do this in SF 5.x because you have to specify a service?