Parsing the logs should be a simple matter of a foreach and a regex to get
IP addresses, and then use Net::Telnet to update IP filters on the router.

----- Original Message -----
From: "Jon Jaques" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 5:21 AM
Subject: Nortel Router scripting?


> 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?
>
> Thanks in advance!
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Jon S. Jaques
>
> Manager of Technical Development
> Systems Connect
> 912.356.9920
> [EMAIL PROTECTED]
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Web Development | Network Support | High-Speed Internet Access
>
> A new advertising opportunity at www.SavannahTraveler.com
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to