Deirdre Saoirse Moen

Sounds Like Weird

Archive of posts with tag 'geography'

: Principles of Determining Geolocation

[![Photo by Aurélien Bellanger](/images/2015/02/photo-1417870839255-a23faa90c6b0-700-700x467.jpeg)](/images/2015/02/photo-1417870839255-a23faa90c6b0-700.jpeg)Photo by [Aurélien Bellanger](https://unsplash.com/cyyrius)

In 2004-2005, I worked for Quova as a Network Geography Analyst.
As a practical matter, given that MLB was one of our largest customers at the time, this meant that we fielded complaints for people who were locked out of viewing baseball games where they should not have been, and a good chunk of my job was investigating those complaints.
This is intended for a mixed-level audience, so I’m going to skip deep nuance and detail. ## Simple Explanation

  1. When you connect to the internet, whether through cable, your cell phone, whatever, you’re assigned an IP address, where IP stands for Internet Protocol. At the point in time you connect, your IP address has a fixed location in physical space: wherever you happen to be.
  2. Your device connects to another, upstream device, and depending upon where you want to go, it connects to a series of other devices until it arrives at your intended destination (say, Google’s web server). Each of those devices has an IP address, and each of those IP addresses has a fixed location in physical space.
  3. If you ask for a traceroute from a command line, it’ll tell you what series of hops it goes through to get from point A (you) to point B (where you want to go).
    $ traceroute 8.8.8.8
    traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets

    1. 10.0.1.1 (10.0.1.1) 10.938 ms 1.183 ms 1.032 ms
    2. 198.144.195.185 (198.144.195.185) 51.874 ms 52.194 ms 51.948 ms
    3. ge1-8.rawbw-demarc.sfo4.reliablehosting.com (216.131.94.209) 61.865 ms 57.246 ms 64.077 ms
    4. core2-1-1-0.pao.net.google.com (198.32.176.31) 52.671 ms 51.958 ms 55.120 ms
    5. 64.233.175.169 (64.233.175.169) 56.400 ms
      64.233.175.171 (64.233.175.171) 54.772 ms
      72.14.236.114 (72.14.236.114) 54.420 ms
    6. google-public-dns-a.google.com (8.8.8.8) 54.663 ms 54.480 ms 94.454 ms

    The first is my internal IP address. The second is our gateway address. The third is our provider’s demarc with their upstream. The fourth is where it enters Google’s servers.

  4. Network administrators, to make their lives easier, often label those intermediary hops with names. This is not required. Often those names have geocoding information. These are often names of cities, airport codes, weather station codes, neighborhood names, apartment complex names—all kinds of things. In core2-1-1-0.pao.net.google.com, “pao” is Palo Alto, California, which has an airport IATA code of PAO.
  5. If you’re very lucky, you will have a traceroute that shows very little router delay (like one hop in my example above). Then you can use actual physics to tell you where it must be in relation to the adjacent hop.
    Light (and electricity) travels 300,000 km/sec, or 186,000 miles/sec. Per millisecond, 300 km or 186 miles. It’s easier to multiply by 300 than 186 in my head, so I’ve typically stayed metric at this point, but I’ll give both. Besides, it just sounds cool to drop millilightseconds in a conversation.
    See that last hop? 54.420 -> 54.480 (using minimum to minimum)? That’s 6 hundredths of a millisecond, meaning the laws of physics say the packet traveled a maximum of 18 km or 11.2 miles.
    Except traceroute measures time there and back, so the real numbers are 9 km or 5.6 miles.
    Is it in Palo Alto? The end location is 1.808 ms from the stated Palo Alto location, which means it’s at most 262.35 km or 168.25 miles from Palo Alto. So almost certainly SF Bay Metro with some lag. This is where repetitive traceroutes at different times from different locations would be helpful. (I’d expect the location to be Mountain View, California, which is the city south of Palo Alto, and also Google’s HQ.)

That’s the Basics. Really.

So the real trick to geolocation is to have as many knowns as possible. This means having server space on fast networks around the world, being able to triangulate in on locations of interest, and getting different results over time.
You can read more about using millilightseconds in this humorous story of network diagnosis.
This four-part series about traceroute is quite good, and covers some of the wrinkles.

My Own Little Experience

I mentioned this on Twitter at the time it happened.
blog-hack-attempt
There are some interesting nuances here:

  1. I don’t have a user called admin, but that’s the default super user in WordPress.
  2. If you do a whois on that IP address, you’ll note it’s assigned to T-Mobile:
    NetRange: 172.32.0.0 – 172.63.255.255
    CIDR: 172.32.0.0/11
    NetName: TMO9
    […]
    Organization: T-Mobile USA, Inc. (TMOBI)
    Real hackers trying to crack into your web site will not be using mobile as a rule. This was personal, not a doorknocker.
  3. At the time, it showed up as being in LA. Once you get a dynamically-assigned IP address, such as a mobile address, to a metro area, there’s no guarantee you’ll get closer than that.
  4. [I note that this screenshot shows 1) T-Mo; 2) LA](https://twitter.com/jaidblack/status/461945958104698881), and my breakin attempt was [a couple of hours after this was posted](https://deirdre.net/elloras-cave-trust-and-confidence-wtf/). Obviously, no proof, yada yada. Just: correlation.

Update to this section, May 2015: It turns out, and I’m thankful for this, that there is a far more ordinary explanation for what happened. I can’t prove it’s what happened in December, but it did happen last week. In January 2014, Rick and I were traveling and would be in some of the remotest parts of the world (in fact, we spent three days out of satellite range of Internet, believe it or not). I gave admin credentials to a friend who lives in the LA area to blogsit and make sure any security updates got applied while we were gone. It turns out that, since saving that password, she’d switched her mobile device from Verizon to T-Mobile, and I’d since changed the admin username. She doesn’t use mobile data much, so it didn’t try to access my site for a long time (or frequently). And there you are.
My apologies to Jaid Black for the insinuation.
Also, a better security method for dealing with this issue is to make a second admin user. Doh.

Quick Geolocation for Mere Mortals

Use the GeoIP Tool website.

: One Year Ago Today: Into the Exclusion Zone

Montserrat’s a beautiful place. As you sail in, it looks like many other islands in the Caribbean with some nice mountains with clouds surrounding them (as is so often the case with islands). We landed at Little Bay, which is at the north of the island.

We tour the local sights, including the proposed location of the new capital, and hear about how so many thousands of people on this tiny island have had to flee; over half of it is still in an exclusion zone, though there are (apparently) multiple, nested, exclusion zones.

01-montserrat-approach

The island has some lovely flora.

02-montserrat-flower

And, as we drive to the south, lovely mountain views to the north.

03-montserrat-north

It was once a huge tourist destination where the rich and famous vacationed. Where a number of famous albums were recorded, including Jimmy Buffet’s song Volcano. Before that, it was one of the locations of many Irish slaves and indentured servants. In 1768, on St. Patrick’s Day, the Irish slaves revolted, but slavery was not officially abolished until much later.

At present, it’s known for how greeen it is.

04-P1130961

Our buses trundle along, and our driver says she doesn’t think we’ll get into the exclusion zone. It’s Christmas Day, after all, and the police have to open it up, and they’re home with their families. We pull to the side of the road right before the first locked gate, aka the first level of the exclusion zone. Cruise staff go to a building near the gate with a couple of locals, and voila, we have a key.

Clearly, something was arranged in advance.

So we head up into the exclusion zone, but most of the homes look, well, normal. Like places that had been abandoned, but not in bad shape.

When we drive over a ridge and finally see the first real effects of the volcano at Belham Valley. It doesn’t look so bad. A small river of dirt, right?

05-P1130958

On our way down to Belham Valley, we see an abandoned house. The driver pauses for a moment to point out that the volcanic gases have dissolved the steel roof over the last 18 years, and that every single building we’ll see has similar structural damage that may not be as visible.

06-P1130983

We take the road in through the second exclusion zone gate and pull up to a well-traveled spot. We’re warned not to walk off the path where people have driven because the ground isn’t as settled as we think it is. The volcanic ash is much, much deeper than we think.

This house?

07-P1130986

Was three stories tall. B.V. Before volcano.

You can walk up to and (if you’re brave and/or stupid) stand on the second story roof.

08-P1130990

It’s not hard to see the volcano damage to the details of the structure.

House in the Plymouth exclusion zone, Montserrat

We drive further into the exclusion zone, through a third gate. Some houses are really obviously damaged for good.

10-P1140007

While others don’t look so bad unless you look more closely.

11-P1140021

We climb through what used to be a hillside hotel, but is now a lookout point. Some of the houses look almost normal if it weren’t for the river of ash in the background.

12-P1140024

Then, turning to the left, you see just how much ash there is, burying everything at least 2-3 stories for miles.

13-P1140025

The lower half of the island is just a plain of desolation that used to be a capital city. The ash is not particularly compact, so in some cases it’s not even a little bit traversible.

Plymouth, Montserrat

It’s the weirdest thing. It doesn’t feel safe, yet it doesn’t feel as unsafe as it actually is. I had that experience in Hawaii, too.

For more pictures of the volcano and region, please see the Monserrat Volcano Observatory’s flickr page.

: World's Lowest Countries

I’ve been to four on this list (1, 4, 5, and 8).

  1. Maldives, 2.4 meters, Indian Ocean
  2. Tuvalu, 5 meters, South Pacific Ocean
  3. Cocos Islands, 5 meters, Indian Ocean
  4. Marshall Islands, 10 meters, North Pacific Ocean
  5. Cayman Islands, 46 meters, Caribbean Sea
  6. Turks & Caicos, 49 meters, North Atlantic/Caribbean Sea
  7. Gambia, 53 meters, Africa
  8. Bahamas, 63 meters, North Atlantic/Caribbean Sea
  9. Anguilla, 65 meters, Caribbean Sea
  10. Niue, 68 meters, South Pacific
  11. Nauru, 71 meters, South Pacific
  12. Vatican, 75 meters, Europe
  13. Kiribati, 83 meters, South Pacific

: Costa Rica Vacations: Visiting Mount Arenal

Mount Arenal, a common destination for Costa Rica Vacations] We were very lucky to visit Mount Arenal on our recent Costa Rica vacations. I didn’t get to see Mount Arenal on my first trip in 2012. On that trip, I only visited the Papagayo region in the northwestern Guanacaste Province.
Mount Arenal isn’t the most active of Costa Rica’s six active volcanoes, but it is one of the most accessible from Costa Rica’s capital of San José. For that reason, almost 70% of Costa Rica’s tourists visit here.
Our vantage point where I took this photo came after a drive through the Arenal Volcano National Park, where we saw white-faced capuchin monkeys and quite a few birds. We didn’t see coati in the park, but we did see some outside.
After our trip to see the volcano, we relaxed in the hot springs nearby, fed by the heat from Mount Arenal. There are many, many hot springs in Costa Rica. We happened to visit the Tabacón hot springs, which was an amazing experience with so many high-quality pools to visit!
We booked our Arenal Volcano day trip through Swiss Travel, Costa Rica’s oldest and most respected tour agency. (Currently, they’re updating their website, so I can’t link to a specific tour.)

My Forthcoming Book: Coffee & Canopy

I’m writing a book about our Costa Rica and Nicaragua vacations. My new book should be out in late spring 2015.

Want Some Ideas for Your Costa Rica Vacations?

I have blogged about some trip ideas for Costa Rica Vacations.

: Geographical Trivia

  1. All of Asia, except for Indonesia, is above the equator. (Some perspectives don’t count Indonesia as a part of Asia, though.)
  2. Wellington, New Zealand (41° 17′ 20″ S) is the world’s southernmost capital city. It’s at about the same latitude (different hemisphere, obviously) as Rome, Italy (41° 54′ 0″ N).
  3. The equator passes through the land or territorial waters of 14 countries. I have been to two of them: Colombia and Maldives.
  4. Venice, Italy, (45° 26′ 15″ N) is approximately as far north as the Vermont/New Hampshire border with Canada (45° N). Obviously, the vast majority of Europe is farther north than that.
  5. Melbourne, Australia (37° 48′ 49″ S) is about as far south as San Francisco (37° 47′ 0″ N) is north.
  6. Tokyo (35° 41′ 22.22″ N) is about halfway between, latitude-wise, as San Francisco and Los Angeles (34° 3′ 0″ N). This one invariably breaks my brain.
  7. Cape Town, South Africa (33° 55′ 31″ S) is approximately the same latitude as Los Angeles, albeit in the opposite hemisphere.
  8. Ushuaia, Argentina (54° 48′ 0″ S) is generally considered to be the southernmost city in the world. It’s closer to the equator than Copenhagen, Denmark (55° 40′ 34″ N) is.