Snort mailing list archives

Re: Snort dropping more packets than it received


From: Scott Finlon <scott.finlon () scranton edu>
Date: Wed, 12 Sep 2012 16:06:20 +0000

The stats output by PF_RING and DNA are different.
Those files look like this with DNA, and don't show drops:
Bound Device(s)    :
Active             : 1
Breed              : DNA
Sampling Rate      : 1
Capture Direction  : RX+TX
Socket Mode        : RX only
Appl. Name         : <unknown>
IP Defragment      : No
BPF Filtering      : Disabled
# Sw Filt. Rules   : 0
# Hw Filt. Rules   : 0
Poll Pkt Watermark : 128
Num Poll Calls     : 1007017
Channel Id         : 0
Num RX Slots       : 8192
Num TX Slots       : 8192
Tot Memory         : 25952256 bytes

Ifconfig dna1 shows no drops either:
dna1      Link encap:Ethernet  HWaddr 68:05:CA:0C:4A:FD
          inet6 addr: fe80::6a05:caff:fe0c:4afd/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:2815563924 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2307501192749 (2.0 TiB)  TX bytes:0 (0.0 b)
          Memory:f7a00000-f7c00000

Scott Finlon
-----------------------------------
Information Security Engineer
The University of Scranton
email : finlons2 () scranton edu
phone : 570-941-6168
-----------------------------------


-----Original Message-----
From: Peter Bates [mailto:peter.bates () ucl ac uk] 
Sent: Wednesday, September 12, 2012 11:56 AM
To: snort-users () lists sourceforge net
Subject: Re: [Snort-users] Snort dropping more packets than it received

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello all

On 12/09/2012 16:19, Scott Finlon wrote:
I just installed Snort to run on 8 instances via PF_RING DNA, and 
whenever I dump the stats via kill -usr1 or end the processes the 
numbers just don't add up. Is this an issue with the way Snort is 
adding, or could it be something else?

I'm not using DNA (just normal PF_RING) but my stats look considerably more healthier than yours.

What sorts of stats are you seeing in /proc/net/pf_ring/x ?

Something on the lines of

egrep 'Packet|Lost' /proc/net/pf_ring/*|egrep -v ': 0'

is fairly useful.

- --
Peter Bates
Senior Computer Security Officer    Phone: +44(0)2076792049
Information Services Division       Internal Ext: 32049
University College London
London WC1E 6BT
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQULCkAAoJELhVoVpEMS6RLN0H/jmcBFSEQs0j+31h44Kexbb1
b74KZsTcHBduouS1BsWG9gQ+fvmqHOwkfeOioaX262VMspLwIQ633HBowN7vdnoT
H3Shj0hF96Q+PG703i9LHxFa9s03YnL1k4ylQjo/3Nq+yjFXB1RWCUhMR0FyQFku
vhrA3LmnW8M4s4Ohd6sjOQZSJqoX5S44t5sfBkgJUvWCp/MGojeaX+tmYQs/gSiI
pkksEQTX4sNDZMHvjKLl/ZQv35Et5a2mC5PaZvV789yFADKpAScFn7WXmjA/Z8GQ
zHkFaP8lrrczLWYx7doJ7HwIj5LVxuzlF5A4hLZEKPw5BhXBRRYjlchk2r1W9x4=
=JtnX
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can 
respond. Discussions will include endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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!



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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: