Snort mailing list archives

Re: [Stats] Get dropped packets count while snort runing (/proc/xxxx search)


From: Thibault SOC <thibaultsoc () gmail com>
Date: Wed, 14 Dec 2011 11:37:31 +0100

Hi,

I use a debian 5 modified by alienvault (OSSIM Siem). The kill -usr1 <pid>
does not send anything to /var/log/message or /var/lod/snort*

I'll try the preproc (preprocessor perfmonito) wich seems to do what i want.

Thanks for your help

Thibault

2011/12/13 Joel Esler <jesler () sourcefire com>

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!

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
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: