I've been trying get the fwanalog script working with my firewall logs
for reporting purposes. I think I have the correct configuration in the
fwanalog.opts file but every time I run the script it gives me the
following error:
<error>
Analog found 361888 corrupt lines. Please consider sending
/usr/home/huzaif/fwanalog.out/analog.err to [EMAIL PROTECTED]
so the author is able to fix the problem.
C: Oct 23 00:00:11 fw1 ipmon[46]: 00:00:11.318016 fxp1 @0:12 b 1.1.1.1
-> ALL-SYSTEMS.MCAST.NET[224.0.0.1] PR igm
p len 20 (28) IN
C: *
C: Oct 23 00:02:10 fw1 ipmon[46]: 00:02:09.834459 fxp1 @0:11 b
1.1.1.1,netbios-dgm -> 66.150.172.127,netbios-dgm
PR udp len 20 235 IN
C: *
C: Oct 23 00:02:17 fw1 ipmon[46]: 00:02:16.308274 fxp1 @0:12 b 1.1.1.2
-> ALL-SYSTEMS.MCAST.NET[224.0.0.1] PR igm
p len 20 (28) IN
.
.
.
.
<all the corrupted lines from my firewall log>
.
.
.
analog: Warning L: Large number of corrupt lines in logfile
/usr/home/huzaif/fwanalog.out/fwanalog.all.log: turn debugging on or
try
different LOGFORMAT
(For help on all errors and warnings, see docs/errors.html)
Current logfile format:
%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%j" %t
%v\n
</error>
I've tried both "freebsd" and "ipf" logformat options in the
fwanalog.opts files. I don't know what else I can do to get it to work.
Do I need to change my ipmon flags to change the output somehow so its
more fwanalog-friendly?
current ipmon options: ipmon_flags="-Dsvn"
TIA
-Zaif