[Snort-openappid] Rules to detect flows?

Costas Kleopa (ckleopa) ckleopa at ...5...
Sat Nov 1 20:19:27 EDT 2014

With the alerts that should at least  give you the end of the connection. For AppID, we won't know what the application is from the first Syn packet since we need a deeper inspection to find the application so we would only provide the alert when the connection ends.

If you are seeing more alerts even in a per TCP session then please send us the rules you are using, the configuration and some of the log output of the alert results and we will investigate it internally.


On Nov 1, 2014, at 8:01 PM, "dpifun at ...43...<mailto:dpifun at ...43...>" <dpifun at ...43...<mailto:dpifun at ...43...>> wrote:


Thanks for the quick reply! What about a rule to get the start/end of a connection for ssh?

Originally, we thought we could use the Syn and Fin flags along with flowbits. That didn't work though.


Sent using Hushmail

On 11/1/2014 at 7:58 PM, "Costas Kleopa (ckleopa)" <ckleopa at ...5...<mailto:ckleopa at ...5...>> wrote:
Unfortunately, providing the received and send bytes per connection in the alerts is something that is not supported in this release, and we have also noted it in our roadmap for this feature.

The only way you can get the received/send bytes per AppID is on a per timed interval through the use of the app-stats logs.


On Nov 1, 2014, at 7:47 PM, "dpifun at ...43..." <dpifun at ...43...> wrote:

We're trying to detect apps with rules to get the IP, port pair. But, we've run into a snag.

A simple rule for detecting SSH connections regardless of the port:

alert tcp any any -> any any (msg:”ssh”; appid: ssh openssh; sid:1000000; rev:1)

This rule, however, creates a huge number of alerts for a single SSH connection.  While we're not snort rule experts, using flowbits seems to be the way. But, we're a bit lost on how to get  ONLY an alert at the beginning of an SSH connection and at the end. It would be cool if we could get the number of bytes sent/received for the connection but that seems impossible.

We tried using the S and F flags without success.

Any help appreciated!

Snort-openappid mailing list
Snort-openappid at lists.sourceforge.net

Please visit http://blog.snort.org to stay current on all the latest Snort news!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-openappid/attachments/20141102/6a724f46/attachment.html>

More information about the Snort-openappid mailing list