Jon Jaques wrote: > Hello, > > We have a Nortel ASN router, and, if possible, I'd like to write a script > that parses spammer logs from our mail server, and then adds the spammers' > ip address to the router to block that user. > > Are there Perl modules to do this? If so, would anybody have some code > snippets that might serve as a starting point?
I don't know if there are any scripts that are specific to your router, but if the log file has a regular format, it whould be easy enough to parse the file and FTP (assuming you have FTP avail on the router) or maybe LWP to a CGI app on the router the new additions. -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
