On Wed, Jun 12, 2013 at 10:52 PM, Jason Haar <
Jason...@trimble.com> wrote:
> On 13/06/13 01:40, beenph wrote:
>> If you have a distributed storage solution mabey you could share
>> snort/suricata output to a specific place where it would then be
>> processed, but i would recommend that you keep your database server as
>> mutch as possible foccused on its task, thus being a database server.
>
> Well yeah - but you are only talking about some rsync-style job that
> copies the snort logs to a central directory, where barnyard then pushes
> them into the localhost SQL server - should be effectively zero load
> compared with the SQL work.
>
> The advantage of that model is "rsync -za" is known to be robust -
> probably more than barnyard doing "(compressed?)" SQL connections
> potentially over a lossy WAN to a central SQL server. No offence on your
> code-ship, it's just that rsync has a 20 year head start on you ;-)
>
Well you still have to handle your rsync connection and make
sure its allways up and manage storage localy and having a box that
can handle N by2 instances.
Its only delegating the problem down the stream, where has having
N snort process and N barnyard2 process on a sensor feeding a
database backend is quite simpler deployment wise, because techincally
your still going to have a box that runs
snort, unless your rsync your network traffic to a central location
(*wink wink*).
> Good conversation to have, I'm looking at the same thing myself. All
> this is probably academic - as I expect shoving our 55 NIDS into one SQL
> server is going to lead to a VERY slow SQL server - i.e. where the data
> goes in is not where I expect the bottlenecks to be ;-)
>
55 sensor is not alot of sensors. But 55 sensors using the
current schema is alot of workload for a untunned sql backend and even
a tunned backend
could hurt it a bit.
Post your database server spec.
Database backend need tunning too ...and archiving, you are also allways
able to create custom index depending on the UI you use to speed up things.
There is a tons of tricks. people need to understand that its not
necerssarly plug and play magical technology
as you scale up.
> Has there been any discussion surrounding a better backend for snort
> data? The presentation API (eg which base uses) is filled with JOINS and
> other complex SQL calls - leading to performance problems (ie sub-second
> response gets hard once you hit 500K records). I've been wondering if a
> complete backend storage replacement and a new frontend is the way
> forward on this? Easy to say of course...
>
We are planning on releasing a new proposed schema soon enough for testing,
but it currently has no UI projection for now. But since working
prototype is not out, its understandable.
-elz