On Tuesday, February 18, 2014 2:41:34 PM UTC-6, Daniel Paillet wrote:
> I am new to Security Onion. I am looking at deploying several sensors to report to the NSM. I see some specs for large drive requirements due to the packet capturing capability of Security Onion. Does the sensor need 1TB? and what is the storage requirement for a dedicated sensor? Does the sensor forward those packets where they are stored onto the NSM? Thank you for your time.
>
> Daniel
I did: Does this apply to the sensor or to the server or both?
Storage¶
You need LOTS of storage as Security Onion does full packet capture and it can fill a disk quickly. We have a cronjob that purges old pcaps once the disk reaches 90% capacity. However, if you have a small disk and/or are monitoring a large amount of traffic, you may fill that last 10% before the next purge. Additionally, the purge scripts are designed with the idea that you want to keep at LEAST 1 day's worth of full packet capture on disk, so they won't delete any pcaps with today's date on them. For example, suppose you are monitoring a 50 Mb/s link, here are some quick calculations: 50Mb/s = 6.25 MB/s = 375 MB/minute = 22,500 MB/hour = 540,000 MB/day. So you're going to need about 540GB for one day's worth of pcaps (multiply this by the number of days you want to keep on disk for investigative/forensic purposes). Note that this is just pcaps (other logs will take up additional storage), so you may want to round up to the next terabyte to ensure sufficient storage. The more disk space you have, the more log retention you'll have for doing investigations after the fact. Disk is cheap, get all you can!