Snort mailing list archives
Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search)
From: Joel Esler <jesler () sourcefire com>
Date: Tue, 13 Dec 2011 14:51:19 -0500
Outstanding is the difference between hw packets received and daq packets received. If you have a huge number (as you do) this is a bug in Snort (that we've fixed in 2.9.2, which comes out tomorrow) that has something to do with how certain kernels count packets incorrectly. Joel On Dec 13, 2011, at 1:13 PM, Jefferson, Shawn wrote:
Hi, Speaking of the stats that get output, what does “Outstanding” refer to? See my stats below. Packet I/O Totals: Received: 5974738704 Analyzed: 5876466751 ( 98.355%) Dropped: 8008319 ( 0.134%) Filtered: 98272389 ( 1.645%) Outstanding: 18446744073709551180 (308745620312.395%) Injected: 0 From: Joel Esler [mailto:jesler () sourcefire com] Sent: Tuesday, December 13, 2011 9:20 AM To: Thibault - Gonfreecs - Cc: snort-users () lists sourceforge net Subject: Re: [Snort-users] [Stats] Get dropped packets count while snort runing (/proc/xxxx search) You can issue the USR1 command to Snort. Kill -usr1 (pidof snort) will dump the stats of the running Snort process to the output file (on redhat/fedora, /var/log/messages) J On Dec 13, 2011, at 8:10 AM, Thibault - Gonfreecs - wrote: Hi there, I need to get the amount of packet which have been dropped by snort. I can get this when runing manualy snort (snort -n 100 -i eth0) in the stat summary after stoping snort (CTRL+C) like this : ..... =============================================================================== Packet I/O Totals: Received: 100 Analyzed: 100 (100.000%) Dropped: 0 ( 0.000%) Filtered: 0 ( 0.000%) Outstanding: 0 ( 0.000%) Injected: 0 =============================================================================== ..... Is there a way to get this information (dropped packets) in the /proc filesystem while snort is runing? I did not found anything interesting after looking at /proc but maybe there is a preproc to activate or some tricks like this? Thanks in advance, Thibault ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Current thread:
- [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Thibault - Gonfreecs - (Dec 13)
- Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Joel Esler (Dec 13)
- Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Jefferson, Shawn (Dec 13)
- Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Joel Esler (Dec 13)
- Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Thibault SOC (Dec 14)
- Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Jefferson, Shawn (Dec 13)
- Message not available
- Message not available
- Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Thibault SOC (Dec 14)
- Message not available
- Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search) Joel Esler (Dec 13)