Regards,
Brett
Thanks Brett,
We will have a look into it.
The overall patch seem to be fine, but since there is no support from
the UI's that
i am aware off (yet) application of full EXTRA_DATA support will
probably be posponed.
Since there is a few changes in the pipe incomming.
One thing tho is that the schema you proposed shouldn't drop tables,
this could lead to people
droping their databases and thus loosing some information (if they are
not carefull).
-elz
It is true that no _public_ UIs support the extra data, but they
probably will be more inclined to support it if the data is there!
Chicken and egg problem... Barnyard2 exists to get the information
from the unified2 output to the database, not to support any
particular UI. I feel like if Barnyard2 says it supports the unified2
format, it better read everything that it can from that file and get
it into some output somewhere...
-Brett
You do not need to excuse anything it was only a remark.
> It is true that no _public_ UIs support the extra data, but they
> probably will be more inclined to support it if the data is there!
> Chicken and egg problem... Barnyard2 exists to get the information
> from the unified2 output to the database, not to support any
> particular UI.
> I feel like if Barnyard2 says it supports the unified2
> format, it better read everything that it can from that file and get
> it into some output somewhere...
>
Everything is read from unified2, but not everything is logged (currently).
Don't feel like your patch effort is not appreciated.
But to fully enable some features, others part of the code will
get modified and this is where we are heading.
And there is a few improvements comming to some of the core features.
On an other hand, nothing stop anyone arround from creating their output plugin,
for their internal UI. But since some major changes can have an influence on
alot of projects, some coordination will be required.
The beauty of the ML is that people who are interested to fastforward
toward EXTRADATA and can applies your patch and upgrade their schema
and comment on improvements or possible bugs/issue.
Hopefully you wont fell unheard.
-elz
Understand.
>> It is true that no _public_ UIs support the extra data, but they
>> probably will be more inclined to support it if the data is there!
>> Chicken and egg problem... Barnyard2 exists to get the information
>> from the unified2 output to the database, not to support any
>> particular UI.
>> I feel like if Barnyard2 says it supports the unified2
>> format, it better read everything that it can from that file and get
>> it into some output somewhere...
>>
>
> Everything is read from unified2, but not everything is logged (currently).
> Don't feel like your patch effort is not appreciated.
I don't. :)
> But to fully enable some features, others part of the code will
> get modified and this is where we are heading.
>
> And there is a few improvements comming to some of the core features.
>
> On an other hand, nothing stop anyone arround from creating their output plugin,
> for their internal UI. But since some major changes can have an influence on
> alot of projects, some coordination will be required.
>
> The beauty of the ML is that people who are interested to fastforward
> toward EXTRADATA and can applies your patch and upgrade their schema
> and comment on improvements or possible bugs/issue.
>
> Hopefully you wont fell unheard.
Not at all!
James
Sent from my iPhone
Look at the "create_mysql" script in the patch and add the last table.
You'll also need to modify the entry in the `schema` table to version
108.
There are no frontends that read the extra data yet.
Use "log-extra" instead of just "log".
In By2, the "log" facility only writes to the database when there is a
Packet structure associated with an alert. That means that for any
event fired by Snort and written to the unified2 file but that does
not have any associated Packet data, the event would not get written
into the database. Using the "alert" facility, *all* events get
written into the database, including Packet data, if it is attached to
the event. I discovered this the hard way when I switched over to By2
and noticed that there were fewer alerts in it versus my old Barnyard
database.
-Brett