geographical position of a packet

Dec 2, 2014 at 1:47 PM
hello every body
I want to know if is it possible to determine a geograhical position of a packet?
if true, what class can use to do it?
Dec 2, 2014 at 4:12 PM
I know that every country have it's own IP Addresses range so i guess you can use that.
Dec 7, 2014 at 11:24 AM
thank you but on the pcapdotnet library there is a class called DnsRessourceGeographicalPosition which has properties that give longitude, latitude altitude of a point.
I want to know what does this class? could i not use it to do what i want?
Dec 11, 2014 at 7:16 PM
Is there somebody to give an answer to my question?
Dec 12, 2014 at 1:12 PM
Hi Barack1234,

DnsResourceDataGeographicalPosition is a class that represents a specific DNS resource record.
It will not give you the geographical location of a packet.
For more details, see

A packet doesn't encode its location, and the location of a packet changes when it's sent.

If you can provide more data of what exactly you want, it might be helpful.

Dec 15, 2014 at 2:18 PM
thank you Brickner.
My problem is that i want to determine the location of a packet which arrive to a spécific machine in my network. I don't know how to do it.
Dec 15, 2014 at 4:46 PM
that means i want to localize the host which sent me packet. its country and city name
Dec 20, 2014 at 10:53 AM
There are many services that contain geo ip information.
Google "geo ip" and see if you find something helpful.