Home page logo

snort logo Snort mailing list archives

Re: metadata questions
From: "Morris, Shane (US SSA)" <shane.morris () baesystems com>
Date: Fri, 31 May 2013 00:34:32 +0000

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.

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?


From: Joel Esler [mailto:jesler () sourcefire com]
Sent: Thursday, May 30, 2013 2:52 PM
To: Morris, Shane (US SSA)
Cc: snort-users () lists sourceforge net
Subject: Re: [Snort-users] metadata questions

On May 30, 2013, at 2:32 PM, "Morris, Shane (US SSA)" <shane.morris () baesystems com<mailto:shane.morris () baesystems 
com>> wrote:

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.

It's a free flowing text field.  The only field that Open Source Snort uses is "service", and only if you have Adaptive 
profiling turned on with a host attribute table.

 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?

Can you give me an example?  (you only have to specify a service in the >=5.x Sourcefire product, this does not effect 
Open Source Snort)

Joel Esler
Senior Research Engineer, VRT
OpenSource Community Manager
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

Please visit http://blog.snort.org to stay current on all the latest Snort news!

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]