[Rtir] Modify RTIR_FindIP.pm script to filter IPs
Chris Warren
chris.warren at netelligent.ca
Wed Sep 7 11:04:22 EDT 2011
Thanks. I'll play around with it and post my changes if I get it working.
----- Original Message -----
From: "Ruslan Zakirov" <ruz at bestpractical.com>
To: "Chris Warren" <chris.warren at netelligent.ca>
Cc: rtir at lists.bestpractical.com
Sent: Wednesday, September 7, 2011 6:37:27 AM
Subject: Re: [Rtir] Modify RTIR_FindIP.pm script to filter IPs
On Wed, Sep 7, 2011 at 3:06 AM, Chris Warren
<chris.warren at netelligent.ca> wrote:
> Hi all,
> I thought I would try here before I get tangled up in more perl than I can handle.
>
> I would like to modify the RTIR_FindIP.pm script to only add an IP to a ticket if it is one of my own. So basically I guess I would included all of our ranges in the file and have anything outside those ranges skipped (like 0.0.0.0 is currently)
AddIP method in RTIR_FindIP.pm is the right place. The method should
return 0 if IP is skipped. Note that IP argument can one IP address or
range in IP-IP format.
> Has anyone done this already? Or knows how to go about it?
I don't remember anyone sharing something similar.
>
> Thanks,
> Chris
> _______________________________________________
> Rtir mailing list
> Rtir at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir
>
--
Best regards, Ruslan.
More information about the Rtir
mailing list