elvolio has asked for the wisdom of the Perl Monks concerning the following question:
The openlog call succeeds, but on my SPARC OpenBSD 2.9 system the syslog call seems to hang the script (^C is needed to get out). syslogd is running and everything else seems to look OK. Any ideas?my $logfacility = "auth"; my $loglevel = "notice"; <snip> openlog("HP-Alert","cons",$logfacility); syslog ($loglevel,"Blocked all connects from %s due to %d connection +s!", $connectdata[2], $alerts); closelog;
BTW, for the curious, it's a script to protect against outbound attacks from a honeypot; more details at Xwell.org.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sys::Syslog Hangs
by andreychek (Parson) on Apr 06, 2002 at 05:54 UTC | |
|
Re: Sys::Syslog Hangs
by Fletch (Bishop) on Apr 06, 2002 at 13:32 UTC |