Live data from Hacker News

WiFi without internet on a Southwest flight

jamesbvaughan.com

161–170 of 675 posts

Re: WiFi without internet on a Southwest flight

#161
post #38

Another thing to notice: they use the highly nonstandard time zone abbreviation “PDT”. This works because they’re a US-only airline but if an international airline did this, they’d be in for a world of hurt.

How much more standard can it get?

https://en.wikipedia.org/wiki/Pacific_Time_Zone# https://www.timeanddate.com/time/zones/

Re: WiFi without internet on a Southwest flight

#163
post #101

I was just thinking that you could take a picture from the window and then tie the GPS coordinates to the image with the output from that JSON. Kind of handy.

If you have location permissions enabled in your camera app, the image's exif data will have the coordinates in it. (US Civilian GPS units are prohibited from working above 60,000 ft above sea level and 1,000 knots due to ITAR munitions export restrictions.)

I have pictures from my camera (with location permissions enabled) that don't have any GPS data in it, or at least the data is extremely wrong.

Re: WiFi without internet on a Southwest flight

#164
post #85

I want to see someone build a proxy that uses the free iMessage or WhatsApp allowed connection to send arbitrary data. Like have a WhatsApp relay set up at home that you are sending messages to and from, from the plane. Like at a most basic level, send a message of a URL to your home WhatsApp which loads the web page there, and sends the HTML back as a WhatApp message reply so you can render it etc. Wonder what someo…

I've noticed that airline wifi doesn't block DNS traffic. You can likely accomplish the same thing with a DNS tunnel like Iodine ( https://github.com/yarrick/iodine ).

Sometimes they just redirect ALL DNS traffic to their little portal until you sign in/up.

Re: WiFi without internet on a Southwest flight

#165

What did you use to create your graphics?

I used chart.js [0], but I don't necessarily endorse it - it's just what I knew how to use quickly. I usually try to keep my posts free from javascript, and could have used a different tool that gives me SVG data or images.

You can see the code that's generating these charts here: https://github.com/jamesbvaughan/jamesbvaughan.com/blob/main...

[0] https://www.chartjs.org/

Re: WiFi without internet on a Southwest flight

#166
post #148

But SouthWest will give you a much prettier display of that same data (track your flight, see the current altitude and ETA, and a lot more, like the plane's position on the map) without paying for their WiFi. My guess is that they are using the same data that article writer wrote a program to process. Essentially there is one site you can visit for free and that's where it is.

Yep, that's exactly right! They have a nice status page that you can visit free of charge that visualizes this data. I chose to scrape it for a couple reasons: 1. I wanted see all of the data for the entire flight - that status page only visualizes the current values. 2. It was fun!

Plus there's no Internet. What're you going to do, read a book?

Re: WiFi without internet on a Southwest flight

#167

I'm an Alaska (relatively) frequent flyer. That airline offers a free "messaging" plan, that lets you send and receive messages on apps like iMessage, Facebook Messenger and Whatsapp. Though, it somehow prevents images/attachments from coming through on those platforms. I've always wondered how this is implemented technically, and if it might be possible to setup some kind of protocol/wrapper to send data that looks…

Many years ago, when hotels first started having and charging for WiFi connections, I wrote a simple little tunnel using the DNS port back to my server. Since the hotels didn't block that port or even bother to check what traffic was going over it, it worked like a charm. I tried it on a trip to Tokyo and immediately got completely blocked. It took me a few minutes to figure out they'd blacklisted my MAC address. I c…

Reminds me of using VPNs in hotels in China some years ago. Traffic would work for a few minutes and then the Great Firewall kicks in, fingerprints the traffic as VPN and the IP address and the MAC gets blocked. I'd rotate the endpoint and the MAC address and get a few more minutes, rinse and repeat.

I think I had to use Shadowsocks or something at the end to completely bypass it.

Re: WiFi without internet on a Southwest flight

#168
post #18

Earlier quoted context omitted.

Hi fellow Alaska frequent flier. So about that! There's this iOS app called Flightly that does a brilliant little hack where the app updates itself in (almost) real time on the "free messaging" plan. The way it works (according to a friend) is that their servers send your phone a push notification every couple of minutes from take-off until landing, containing some serialized info such as lat,long,alt,eta,etc. And th…

This reminds me of the old tools that tunnel more or less whatever over DNS. I.e. behind the scenes, the tool would look up "base64encodedpacket.domainyoucontrol.example.com", and it would respond with encoded data going the other way. This is because captive portal WiFi often permitted DNS to pass through unimpeded, for various reasons. I always appreciated the hack, even though I could never bring myself to use it…

Also Internet over ICMP, for when captive portals used to let those through.

Re: WiFi without internet on a Southwest flight

#169

Here is how to get the equivalent data on a Delta flight. $ curl https://wifi.delta.com/api/flight-data | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 448 100 448 0 0 5600 0 --:--:-- --:--:-- --:--:-- 5743 { "timestamp": "2023-07-11T14:54:41Z", "eta": "17:48", "flightDuration": 278, "flightNumber": "DAL786", "latitude": 39.723472595214844, "longitude": -97…

Interesting how they chose to make more general `vehicleId` instead of `planeId` or `tailNumber` or something. I wonder if Delta's fleet includes other things that have matching APIs to this one. I also wonder how much of their internal system structure one could learn from the `flightId` if they knew about other systems. It doesn't look like much beyond a composite key of otherwise knowable data, but still interesting.

Re: WiFi without internet on a Southwest flight

#170
post #143
post #19

Earlier quoted context omitted.

Yes, APNs (Apple Push Notification service) has to be allowed for notifications to come through from messaging apps and the network operator can’t tell whether it’s an allowed messaging app or any other kind of notification.

The scale of Apple’s notification service must be pretty large. Granted, most notifications don’t have strong SLA guarantees but I don’t remember it having any downtime either.

They don't really make guarantees about the reliability of push notifications (IIRC), so it's unlikely you'd see anything about downtime unless it was sustained for some time.
Post reply on HN