procmail
[Top] [All Lists]

Internal IP address obfuscation?

2003-01-23 04:23:17
Chris Santerre <csanterre(_at_)merchantsoverseas(_dot_)com> asked,


If in header IP address = 172.16.1.X , then change to x.x.x.x? 

In procmail, you'll probably end up with a filtering pipe to sed
or something similar.  Are these IP addresses only in Received:
headers?  Or in some other header?

        
        :0 fwh
        * ^Received:.*\<172\.16\.1\.
        | sed 's/172\.16\.1\.[0-9]*/x.x.x.x/g'

is one example that should work.

-- 
dman


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>