geoprotection

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services

iptocountry data file location

$FWDIR/tmp/geo_location_tmp/updates/IpToCountry.csv



file format

  1. FILE FORMAT IPV4
  2. ================
  3. --------------------------------------------------------------
  4. All lines beginning with either "#" or whitespace are comments
  5. --------------------------------------------------------------
  6. IP FROM IP TO REGISTRY ASSIGNED CTRY CNTRY COUNTRY
  7. "1346797568","1346801663","ripencc","20010601","il","isr","Israel"
  8. IP FROM & : Numerical representation of IP address.
  9. IP TO Example: (from Right to Left)
  10. 1.2.3.4 = 4 + (3 * 256) + (2 * 256 * 256) + (1 * 256 * 256 * 256)
  11. is 4 + 768 + 13,1072 + 16,777,216 = 16,909,060
  12. REGISTRY  : apcnic, arin, lacnic, ripencc and afrinic
  13. Also included as of April 22, 2005 are the IANA IETF Reserved
  14. address numbers. These are important since any source claiming
  15. to be from one of these IPs must be spoofed.
  16. ASSIGNED  : The date this IP or block was assigned. (In Epoch seconds)
  17. NOTE: Where the allocation or assignment has been transferred from
  18. one registry to another, the date represents the date of first
  19. assignment or allocation as received in from the original RIR.
  20. It is noted that where records do not show a date of first
  21. assignment, the date is given as "0".
  22. CTRY  : 2 character international country code
  23. NOTE: ISO 3166 2-letter code of the organisation to which the
  24. allocation or assignment was made, and the enumerated variances of:
  25. AP - non-specific Asia-Pacific location
  26. CS - Serbia and Montenegro
  27. YU - Serbia and Montenegro (Formally Yugoslavia) (Being phased out)
  28. EU - non-specific European Union location
  29. FX - France, Metropolitan
  30. PS - Palestinian Territory, Occupied
  31. UK - United Kingdom (standard says GB)
  32. * ZZ - IETF RESERVED address space.

take from http://netwinsite.com/surgemail/IpToCountry.csv