News for hackers. Stuff that matters.
Re:DNS results now being manipulated in Turkey by michh on Saturday March 29, 2014 @09:26AM (#7492154)
By default using a SOCKS proxy (which, using ssh -D is probably the easiest and most common way to do this) in most browsers doesn't solve this problem as DNS resolving is still done locally.

As they're messing with DNS, you'll still be connecting to their evil version of YouTube through your SSH tunnel. In Firefox this behaviour can be changed by toggling network.proxy.socks_remote_dns in about:config.

Of course, setting up an actual tunnel (i.e. on a lower network layer) would be better but that's a bit more complicated to do.

Re:DNS results now being manipulated in Turkey by kijin on Saturday March 29, 2014 @10:00AM (#7492228)
If you're on *nix, sshuttle is the tool you want. It's ssh tunnel on steroids, and it works with every program even if they're not configured to use a SOCKS proxy (such as Flash). It's also faster because it avoids the TCP-over-TCP problem that the usual SOCKS proxy entails.

    sshuttle --dns -v -r username@servername 0/0
https://github.com/apenwarr/sshuttle
Re:DNS results now being manipulated in Turkey by michh on Saturday March 29, 2014 @10:09AM (#7492260)
That's going to come in useful, bookmarked, thanks!
Re:DNS results now being manipulated in Turkey by Jugurtha on Saturday March 29, 2014 @09:31AM (#7492165)
What happens when you change the default DNS on the router level to OpenDNS or Google.

(i.e: Telnet to the router, and change DNS there).

Re:DNS results now being manipulated in Turkey by michh on Saturday March 29, 2014 @09:40AM (#7492185)
That's the whole point: they seem to be using deep packet inspection to mess with all DNS traffic regardless of the DNS server being used.
Re:DNS results now being manipulated in Turkey by Jugurtha on Saturday March 29, 2014 @10:08AM (#7492254)
Aha, I see. I'll look this up in addition to what kijin said (sshuttle).

It's not like our government is blocking anything (there were rumors it was blocking Facebook in 2011, but it wasn't true as I was able to log in without any issue. It was just slow, but it's not like we have the fastest internet here).

But it's nice to know. Thanks for the clarification.

Re:DNS results now being manipulated in Turkey by stayparanoid on Sunday March 30, 2014 @07:54AM (#7495917)
Were you logging in on the actual facebook? how can you tell? Logging in isn't a proof that that is the real facebook, dude. And doesn't "It was just slow" ring any bell?
Re:DNS results now being manipulated in Turkey by Jugurtha on Sunday March 30, 2014 @06:41PM (#7498304)
It wasn't slower than many times where nothing was happening. Internet here just sucks. Whether it's peace and birds are singing, or scortched earth, it's all the same.

Plus how can you tell it isn't the actual Facebook if everything is there, status, etc, comments, pictures. I can chat with other users, send messages, etc.

Re:DNS results now being manipulated in Turkey by alyxr on Saturday March 29, 2014 @09:55AM (#7492220)
Why isn't it default behavior to route dns through socks?
Re:DNS results now being manipulated in Turkey by michh on Saturday March 29, 2014 @10:08AM (#7492250)
AFAIK it's a legacy thing. SOCKS4 didn't support it, SOCKS5 did but using that functionality changes behaviour depending on which SOCKS version the remote end happens to use.
Re:DNS results now being manipulated in Turkey by toast0 on Saturday March 29, 2014 @04:12PM (#7493743)
There are decent reasons for either way, the real question is why isn't there a visible option for it.