[Rtir] Modify RTIR_FindIP.pm script to filter IPs

Ruslan Zakirov ruz at bestpractical.com
Wed Sep 7 06:37:27 EDT 2011


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