[Snort-devel] Reporting packet number

Beenish Raza beenish.raza at ...445...
Thu May 22 15:55:46 EDT 2014

When I use _A , I get something like this:
08/15-17:27:48.482649  [**] [1:500020:0] Rule no.20 [**] [Priority: 0] {TCP} ->

Can you please tell me where is the packet number in this?
From: bbantwal at ...3461...
To: beenish.raza at ...445...; snort-devel at lists.sourceforge.net
Subject: Re: [Snort-devel] Reporting packet number
Date: Thu, 22 May 2014 00:21:18 +0000

You can use the option –A console:test (which outputs the packet number along with the alert to console) or use –A alert to log to a file.


From: Beenish Raza <beenish.raza at ...445...>

Date: Wednesday, May 21, 2014 6:09 PM

To: "snort-devel at lists.sourceforge.net" <snort-devel at lists.sourceforge.net>

Subject: [Snort-devel] Reporting packet number

I am matching a set of regular expressions against a large pcap file. I want snort to report the original packet number (like 10th packet of the pcap file reported match) as well when it gives alerts. What command I need to use to do this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20140523/7c55cd93/attachment.html>

More information about the Snort-devel mailing list