Live data from Hacker News

Stunnel and Airline Wi-Fi

potatofrom.space

141–150 of 239 posts

Re: Stunnel and Airline Wi-Fi

#141
Last year I was on a flight and my phone buzzed, which was odd. I looked down and it had somehow connected to the WiFi without my doing anything and started getting chat messages.

I tested further and my WiFi was totally unrestricted. I was able to download a show from Netflix at 20Mbps+ ... does anyone know what happened? I didn't even think planes had WiFi that fast and I definitely thought they blocked all streaming video domains.

Re: Stunnel and Airline Wi-Fi

#142

Earlier quoted context omitted.

It's not nuts when compared to non-tech laws. It's illegal to come into my house and take my stuff even if I forget to lock my back door. If we want to protect security professionals, we should write laws that do so.

> It's illegal to come into my house and take my stuff even if I forget to lock my back door. For some reason, on HN when I've made this argument before, the resulting comments have been that the internet is somehow different, and that real-world analogies don't exist. Using equipment that you don't own in a way the owners don't intend is apparently well-accepted.

Equating entering buildings with communicating with computers on the internet really is an awful analogy. You can stand in front of a building and be able to tell whether it's a house or a store, i.e. a building meant for private access or for public access. You can also tell a difference between a back door and a front door by looking from afar. You can do neither of these things with computers. You can't look at it from afar to give you clues, you need to communicate with it. The way computers communicate is dictated by protocols. Protocols will tell you stuff like whether you're allowed to talk to them or not. TCP includes telling you whether you're allowed or not via its protocol. HTTP will tell you whether you're allowed or not via its protocol. If the protocols don't tell you they're unwilling to talk, and continue by talking to you, you can only assume its ok for them to talk to you.

When you first try to communicate with a computer, you can't even know it exists until it replies to you. For the analogy with entering buildings to hold, everybody must be blind and deaf and all buildings must be the same from the outside. Under these conditions, you need to lock your doors, because the only way for anyone to be able to differentiate a house from a store is whether or not the door is locked (TCP connection accepted or rejected). When they approach a door, they can't even tell if the door is really there. They might just grasp the air when they reach out with their hand (TCP timeout from lack of response).

A better analogy is people talking. Everybody is still blind but not deaf. Let's say your robot slaves are talking. Your robot, probably bored, calls out to somebody, "Robot 10?". A robot replies, "yeah?". So, now you know they exist and they're willing to talk to you; you've initiated a TCP connection. "So, how's it going?" your robot asks; HTTP GET /. "My master got married last week.", he responds; HTTP 200 OK. Then comes out his master from behind the curtain, and says "No! It was never my intention for my robot to give out this information. In fact, it was never my intention for my robot to reply to anything anyone ever said. This is your fault!", pointing at you. "You called out to Robot 10, and he replied when it was never my intention for him to reply. He should have said, 'Sorry, I don't talk to strangers' (TCP connection rejection or HTTP 403 Forbidden) or refused to talk (TCP timeout from lack of response) or something. I could have told him to keep quiet, that such things are confidential, but... but... but you should not have called out to Robot 10! You're a criminal! Don't ever do that again. I may just have configured him incorrectly to die whenever he hears a greeting and that will be your fault too if you greet him! I'll charge you with murder for greeting him! and I'll sue you for compensation for the damages I incurred from my robot not being able to do some work for me while being dead."

We could disregard a computer's configuration as indication of their master's intent. However, that doesn't mean not entering someone's house via the back door. It means not talking to anyone ever for fear of them turning around and accusing you for talking to them or for hearing stuff they willingly told you.

Re: Stunnel and Airline Wi-Fi

#143

The site's down for me. I got a 404 and a few minutes later a Firefox "Did Not Connect: Potential Security Issue" followed by this explanation: Firefox detected a potential security threat and did not continue to potatofrom.space because this website requires a secure connection. What can you do about it? potatofrom.space has a security policy called HTTP Strict Transport Security (HSTS), which means that Firefox can…

The website itself is up https://potatofrom.space/ so looks like the author decided to take it down, odd. Maybe he got a cease and desist from Viasat.

Re: Stunnel and Airline Wi-Fi

#144
post #25

In the USA this would be a violation of the CFAA https://www.law.cornell.edu/uscode/text/18/1030 . Specifically, the router is a "protected computer" and the procedure described here is "exceeding authorised access" because it routes packets around a mechanism that was designed to stop them. Maximum penalty 5 years. (Some might argue that it was authorised because the computer let him do it. However the CFAA simply d…

[deleted]

Re: Stunnel and Airline Wi-Fi

#145

As someone who has created captive portal systems I have to say that this is a very poor system. My system tagged you in a firewall so your packets were not getting out until you had authenticated and ended up in an ipset list that bypassed the tag.

I guess the collected readership of HN wished you didn't do your job so well then...

Re: Stunnel and Airline Wi-Fi

#146

I'm actually surprised simple tunneling is working and they don't have additional protections. From my experience most of public networks won't let you do much this way. However, it seems it (as most captive portals) has access to DNS servers. There was this tool people were using to bypass VPNs blocking and throttling in China called kcptun. It was letting you tunnel tcp traffic over udp, then SSL tunnel on top of i…

> DNS tunneling

I've done it a bit (using iodine[1]) and while it obviously depends a lot on the DNS server they're using, it can be surprisingly fast. I think I got over 300kbps regularly, which while not great for video streaming, is more than enough for HN and such.

iodine in particular tries to use some less common DNS record types like NULL, which might support up to 65kb/reply, falling back to more common if those are not supported, so you can get decent download speeds.

[1] https://code.kryo.se/iodine

Re: Stunnel and Airline Wi-Fi

#147
post #141

Last year I was on a flight and my phone buzzed, which was odd. I looked down and it had somehow connected to the WiFi without my doing anything and started getting chat messages. I tested further and my WiFi was totally unrestricted. I was able to download a show from Netflix at 20Mbps+ ... does anyone know what happened? I didn't even think planes had WiFi that fast and I definitely thought they blocked all streami…

if you're on T-Mobile , then it's possible you got connected via their plan that allows for free GoGo inflight wifi.

Re: Stunnel and Airline Wi-Fi

#148

Earlier quoted context omitted.

That's not what's happening here. This is more like trying the key on every door, finding a cleaning closet unlocked and crawling through the ventilation ducts to get in.

I think it's pretty close to the reality. The lobby is wide open (viasat's payment gateway), but if you just use the viasat lobby key (viasat.com SNI) on any other door (IP address) it allows you access. They could prevent you from getting to the doors in the first place (whitelisting MAC address to access anything other than a whitelist of IPs instead of just TLS SNI whitelisting) but they don't, as it's especially…

Try this:

The lobby is not locked. Neither are any of the doors leading out from it. There is a cashier in the lobby and a sign with ticket prices for the different doors.

Re: Stunnel and Airline Wi-Fi

#149
post #132

I can't open this page on my chromebook, I'm getting a NET::ERR_CERT_COMMON_NAME_INVALID Subject: dns.google Issuer: Google Internet Authority G3 Expires on: 10 Sep 2019 Current date: 20 Jul 2019 With a further message that You cannot visit potatofrom.space right now because the website uses HSTS.

Cached view: http://web.archive.org/web/20190720131624/https://potatofrom...
Post reply on HN