[Dshield] Better Perl script (iptables)

Dan Crooks dcrooks at succeed.net
Mon Aug 27 09:31:27 GMT 2001


When attempting to run this client I receive the following error:

Can't call method "ctime" on an undefined value at ./dshield_iptables.pl
line 122.

lines 120-125:

120> $roll_date = 0;
121> $stat=stat($rolllogfile);
122> $roll_date=$stat->ctime;
123> if ($roll_date >= $last_date) {
124>        parselog ($rolllogfile, $last_date, $tmp);
125> }

Help...


Dan (not a perl programmer)




More information about the list mailing list