[Spce-dev] [Spce-user] automatic sanitize tool for proxy log?

Matthew Ogden matthew at tenacit.net
Tue Jul 15 08:43:50 EDT 2014


Shot, will give that a go next time I need to hide some stuff.



Is it common practice to make a script to go through a set list of IPs /
numbers automatically?



*From:* Lorenzo Mangani [mailto:lorenzo.mangani at gmail.com]
*Sent:* 15 July 2014 02:40 PM
*To:* Matthew Ogden
*Cc:* spce-user at lists.sipwise.com
*Subject:* Re: [Spce-user] automatic sanitize tool for proxy log?



Matthew,



Sed is your friend - something like the following should do to conceal most
IPs (might need tweaking, just some examples for you):



        sed -r 's/(\b[0-9]{1,3}\.){3}[0-9]{1,3}\b'/HIDDEN_IP/



Or something as follows to conceal a specific IP:



        sed -r 's/127\.0\.0\.1/NO_IP/g'










Lorenzo Mangani



HOMER DEV TEAM

QXIP - Capture Engineering

Desk: +1 (202) 470-5312

Mobile: +31 6 4603-2730







On Tue, Jul 15, 2014 at 2:31 PM, Matthew Ogden <matthew at tenacit.net> wrote:

Hi



I don’t suppose you guys have an automatic sanitization tool?



Obviously no one wants to post their public IPs for SIP hacker bots to
trawl through, do you guys use a tool?



Beginners don’t understand the risk, and its time consuming for all.



Kind Regards





*Matthew Ogden*

Management

TenacIT







*Strategic IT Consulting *•* Advanced Networking *• *Virtualisation*

*Custom Development *•* Hosting *•* Syspro Support  *• *MS Licensing*

National Tel: 041 10 10 100 | Cell: 084 205 4445 | Email:
matthew at tenacit.net

CT Tel: 021 201 0333 | Skype Name: matthew.ogden | Web:
http://www.tenacit.net








_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-dev_lists.sipwise.com/attachments/20140715/8d90846d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4809 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-dev_lists.sipwise.com/attachments/20140715/8d90846d/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1031 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-dev_lists.sipwise.com/attachments/20140715/8d90846d/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 1424 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-dev_lists.sipwise.com/attachments/20140715/8d90846d/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 1287 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-dev_lists.sipwise.com/attachments/20140715/8d90846d/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 3930 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-dev_lists.sipwise.com/attachments/20140715/8d90846d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 4536 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-dev_lists.sipwise.com/attachments/20140715/8d90846d/attachment-0001.png>


More information about the Spce-dev mailing list