171 points · by dedalus · 7y ago · 73 comments
And HTTP proxies were blocked too.
So I used a WebSocket proxy and that worked great. I highly recommend wstunnel.
Otherwise, I could have done it with my web browser, using EC2 user data scripts, but that would have taken longer to get right.
[1] https://github.com/tsl0922/ttyd [2] https://github.com/shellinabox/shellinabox [3] https://github.com/novnc/noVNC
Well thank you for directing me to the most entertaining readme I've seen in a while... Though of course we should appreciate a developer willing to admit to their weak spots; good show.
Beautiful; thanks for sharing:)
...
"And HTTP proxies were blocked too."
What would the possible rationale for this be ? I can understand these being blocked in, say, a non-western hotel inside mainland China ... or in a .gov lobby ... or ... ?
But on a cruise ship - the maintainers of that network must know that guests on the ship might have remote work to do - or just workflows that involve something beyond "the web".
Further, the bandwidth generated by web usage typically dwarfs bandwidth usage over VPNs or actual SSH ...
What are they thinking ?
> that network must know that guests on the ship might have remote work to do - or just workflows that involve something beyond "the web"
You'd think so.
This particular cruise line (Holland America) is known for its older travelers.
Host github.com
User git
ProxyCommand /bin/bash -c 'exec 3<>/dev/tcp/$PROXY_IP/$PROXY_PORT; printf "CONNECT %h:%p HTTP/1.1\n\n" >&3; cat <&3 & : ; exec cat >&3'https://openvpn.net/community-resources/connecting-to-an-ope...
iodine is one of the many tools to do that. The best are not distributed, to avoid creation of DPI rules.
cloudflare is doing something similar on 1.1.1.1 with wireguard.
Note: this is most likely illegal .. in every jurisdiction. So .. don't actually do this.
Sad if true. If a service is providing public DNS access without any service agreement, I don't see how making DNS queries with it could be illegal, especially on a public radio channel.
You might be right, but how?
It's certainly within their right to ban you by filtering out certain queries though.
Remember as abstract as the law can be, the legal system is not going to be amused by contrivances like "they were offering DNS service free and clear, so tunneling youtube over DNS is fine"
The legal system is going to understand that you were trying to circumvent paying for services and treat it appropriately.
It makes me wonder if using 1.1.1.1 on my network is a crime. Sure my ISP is letting my DNS queries through, but think of all the analytics that they're missing about me.
The primary maintainer of Wireguard had some misgivings about that: https://lists.zx2c4.com/pipermail/wireguard/2019-March/00404...
Tampering with window sizes would most certainly break some things, like DNSSEC and zone transfers.
Don't go to step5 if anything else work because yes, it's slow.
I don't use ICMP but some people do.
I would guess that in most organizations it would be rather unlikely for this to end poorly.
Most IT departments simply don’t give a shit about this stuff.
But hey, presumably you know your employer better than random internet people.
In my experience. Further anecdotal evidence towards the previously mentioned 'corporate security is egregiously bad'.
I was not privy to all of the network setup but suffice to say the security team ok'd removing the proxy but doing so broke the application. They left everything in place and told everyone who was an admin and needed outside to use corkscrew.
As a note you can prevent corkscrew from getting out a proxy if you desire.
The question is, is that proxy worth putting your job in jeopardy?
Socat is somewhat difficult to use though. But IMHO the best one.
What are some of the other uses for this?
So at the end of the day it's really just a productivity tool like your calendar or email program, except this is used because corporate security is egregiously bad.