Last Updated: 2012-07-26 21:59:41 UTC
by Adam Swanger (Version: 1)
We've covered the 404 Project https://isc.sans.edu/404project/ in a previous feature https://isc.sans.edu/diary/ISC+Feature+of+the+Week+The+404Project/12415 and announced reports in https://isc.sans.edu/diary/ISC+Feature+of+the+Week+404Project+Reports/12685.
Today we feature an IP Mask for those who would like to obfuscate the IP for privacy or legal concerns. The parsing scripts have been tested to handle v1 format (without IP mask) or v2 (with mask) so backwards compatibility is ensured.
A quick summary explanation with example ranges has been added at https://isc.sans.edu/404project/index.html#summary.
The full details are in the code block at https://isc.sans.edu/404project/index.html#instructions
Simply copy/paste the new code, fill in the variables as before with the addition of updating $sIPMask if you want to obfuscate the IP or leave the default to pass the entire value unchanged. Possible masks include but not limited to:
- 0xffffffff = 192.168.1.1 (Default)
- 0xffffff00 = 192.168.1.0 (mask /24)
- 0xffff0000 = 192.168.0.0 (mask /16)
- 0xff000000 = 192.0.0.0 (mask /8)
- 0x00ffffff = 0.168.1.1 (mask first octet)
- 0xff00ffff = 22.214.171.124 (mask second octet)
Please send us a note if you encounter any problems or post suggestions or comments in the section below or send us any questions or comments in the contact form on https://isc.sans.edu/contact.html#contact-form
Adam Swanger, Web Developer (GWEB, GWAPT)
Internet Storm Center https://isc.sans.edu
Please choose a specific diary above to comment