Le 21/08/2012 01:42, JB Cheng a écrit :
> The content of alerts.log may be forwarded to syslog server where there
> may be size limitation.
> We need to be careful here.
>
> Would you try changing 1256 below to a larger number and test it first?
> "%s%s%s%s%s%s%s%s%s%s\n%.1256s\n",
I did the ugliest thing and it worked.
I couldn't recompile ossec at the time so I binary edited
/var/ossec/bin/ossec-analysisd with vim -b and replaced 1256 with 8192,
works like a charm.
So I guess it means it works, patching the source would be lot cleaner ;)
--
Cheers,
Florian Crouzat