Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for the list of 1.3 billion potentially in-use IP addresses! I had to spend USD15 to run 8 medium EC2 instances for 16 hours to only find 200++ million hosts.


So the same results can be achieved for less than a hundred bucks without the risk of spending the rest of your life in jail?


Not quite. My method was far from what this guy is doing. I only did a minimal ping, one packet per IP with a Python script:

  s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.getprotobyname("icmp"))
  for address in addresses:
    s.sendto(pkt, (address, 1))
  s.close()
At the same time, I had tcpdump running, i.e. "tcpdump -i en1 icmp[icmptype] == icmp-echoreply" to capture the replies.


...what value has this information?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: