Challenge 001: French ISP IP Ranges 1- General ... .fr

IRC can be a good place to look for, especially on french-speaking channels. ... The IP subnet is 90.46.10.0/24, which is allocated by Orange to customers ...
52KB taille 10 téléchargements 194 vues
Challenge 001: French ISP IP Ranges 1- General Methodology First step is to obtain an IP address assigned by an ISP to a currently connected customer. IRC can be a good place to look for, especially on french-speaking channels. Second step is to validate the ISP owning the address, by doing a reverse-DNS lookup on it. Ending components shall provide informations, for example ``abo.wanadoo.fr'' means the IP is owned by Orange France (formerly Wanadoo). ISP buy ranges of IP addresses--so, to figure out which range the IP address belongs to, we can use the ``whois'' utility, which gives interesting informations about the IP address' subnet, for example legal and technical contacts, description of the subnet, IP range of the subnet, etc. 2- Practical example We have a host connected to the Internet through the Orange ISP. First step is to get our IP address, assigned by Orange at the connection-time. To do this, we can use a service like ``whatismyip.com'': $ wget -q -O - http://www.whatismyip.com/automation/n09230945.asp 90.46.10.102 Ensure the IP belongs to Orange: $ host 90.46.10.102 102.10.46.90.in-addr.arpa domain name pointer \ AMontsouris-755-1-11-102.w90-46.abo.wanadoo.fr. ``abo.wanadoo.fr'' validates that the IP is owned by Orange. Third and final step is to retrieve informations about the IP using ``whois'': $ whois 90.46.10.102 | egrep '^inetnum:|^descr:' inetnum: 90.46.10.0 - 90.46.10.255 descr: BSMSO755 Montsouris Bloc 1 The IP subnet is 90.46.10.0/24, which is allocated by Orange to customers located around Montsouris. Provider Orange

Location Montsouris

IP range 90.46.10.0 to 90.46.10.255

Free

Bloc BSMSO755 Montsouris Bloc 1 Mas91-1 (massy_9T)

Massy

SFR

92012BGN

Boulogne

82.238.220.0 to 82.238.223.255 80.118.100.0 to 80.118.103.255 81.64.0.0 to 81.67.255.255

Numericable

Paris