[Dshield] Submission frequency

Jean-Pierre Schwickerath dshield at hilotec.net
Wed Nov 9 15:24:46 GMT 2005



> That is what I do.  When I did it daily, it was never successful,
> because the file was too large.  If you do it hourly, it will usually
> get through.

I use the following shell script to split up my logfile before
submitting it. This way the mails are always small enough.

#!/bin/bash

cd ~/tmp
/usr/bin/split -C 8m /var/log/kern.log.0 dreport
for i in dreport?? ; do /usr/bin/dshield.py --file $i; done
/bin/rm ~/tmp/dreport??



Regards,

Jean-Pierre


-- 
HILOTEC Engineering + Consulting GmbH
Energietechnik und Datensysteme
Tel: +41 34 402 74 00 - http://www.hilotec.com/


More information about the list mailing list