<font class="ecxApple-style-span" size="2" style="color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi there,</font><div style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<br></div><div style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">I need to get the amount of packet which have been dropped by snort.</div>
<div style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)"><br></div><div style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
I can get this when runing manualy snort (snort -n 100 -i eth0) in the stat summary after stoping snort (CTRL+C) like this :</div><div style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<br></div><div style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">.....</div><div style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<div dir="ltr"><font face="Tahoma" color="#000000" size="2" style="line-height:normal">===============================================================================<br style="line-height:17px">Packet<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a> I/O Totals<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a>:<br style="line-height:17px">
   Received<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a>:          100<br style="line-height:17px">   Analyzed<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a>:          100 (100.000%)<br style="line-height:17px">
    Dropped<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a>:            0 (  0.000%)<br style="line-height:17px">   Filtered<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a>:            0 (  0.000%)<br style="line-height:17px">
Outstanding<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a>:            0 (  0.000%)<br style="line-height:17px">   Injected<a target="_blank" style="line-height:17px;text-decoration:none;color:rgb(0,104,207)"></a>:            0<br style="line-height:17px">
===============================================================================<br style="line-height:17px"></font></div></div><div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<font face="Tahoma" color="#000000" size="2" style="line-height:normal">.....</font></div><div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<font face="Tahoma" color="#000000" size="2" style="line-height:normal"><br style="line-height:17px"></font></div><div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<font face="Tahoma" color="#000000" size="2" style="line-height:normal">Is there a way to get this information (dropped packets) in the /proc filesystem while snort is runing?</font></div><div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<font face="Tahoma" color="#000000" size="2" style="line-height:normal"><br style="line-height:17px"></font></div><div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)">
<font face="Tahoma" color="#000000" size="2" style="line-height:normal">I did not found anything interesting after looking at /proc but m</font><span class="ecxApple-style-span" style="font-size:10pt">aybe there is a preproc to activate or some tricks like this?</span></div>
<div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)"><font face="Tahoma" color="#000000" size="2" style="line-height:normal"><br style="line-height:17px">
</font></div><div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)"><font face="Tahoma" color="#000000" size="2" style="line-height:normal">Thanks in advance,</font></div>
<div dir="ltr" style="line-height:17px;color:rgb(42,42,42);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:10pt;background-color:rgb(255,255,255)"><font face="Tahoma" color="#000000" size="2" style="line-height:normal">Thibault</font></div>