Re:Tunneling Internet traffic over FB chat
by milankragujevic on Saturday March 14, 2015 @06:35PM
(#9204463)
Couldn't you just use Facebook's "Fetch as FacebookBot" feature and just fetch the pages yourself? Example: https://developers.facebook.com/tools/debug/og/echo?q=https%... I was thinking about doing this since on my network Facebook access is free but Internet isn't. (2nd world country, but barely)
Re:Tunneling Internet traffic over FB chat
by Liquix on Saturday March 14, 2015 @11:44PM
(#9205283)
To me, the worst part of this is that there are places where Facebook is free but you need to pay for an internet connection. If the average user can only access the mindless corporate money-making machines and not the real internet, we are moving in the wrong direction.
Re:Tunneling Internet traffic over FB chat
by randartie on Saturday March 14, 2015 @11:55PM
(#9205302)
They went from having no free internet to having Free facebook + other core sites like wikipedia through Facebook's internet.org, but it's moving in the wrong direction?
>If the average user can only access the mindless corporate money-making machines and not the real internet
They can, but it's not free, and a lot of people have no other option but to use what is free. This corporate money-making machine just provided pure value to a ton of people, there's no downside to having this additional option available.
Re:Tunneling Internet traffic over FB chat
by nitrogen on Sunday March 15, 2015 @01:17AM
(#9205470)
there's no downside to having this additional option available.
Sure there's a lot of value in communicating with other Facebook users, but if you can't see the possible downside of having a large group of people's first and only connection being through a corporate-controlled view of the world, you're not using your imagination.
Re:Tunneling Internet traffic over FB chat
by andreyf on Sunday March 15, 2015 @03:47AM
(#9205748)
Yes, absolutely, and it's not a new idea, e.g. "sending shirts destroys local textile economies by flooding the market with free goods and undercutting local t-shirt producers" [1].
Re:Tunneling Internet traffic over FB chat
by themusicgod1 on Sunday March 15, 2015 @02:48PM
(#9207543)
This allows those communities to dedicate resources that would have gone towards shirt manufacturing into something more valueable. Textile economies are a mostly waste of human ingenuity and time, and have been since the Jacquard Loom at least.
Re:Tunneling Internet traffic over FB chat
by foiboitoi on Sunday March 15, 2015 @01:56AM
(#9205530)
Wouldn't it prevent people interested in creating an ISP in any area that has "free" facebooknet? Especially if the services provided by facebooknet is most of which people would want with an ISP anyway?
So not only does it prevent competitor websites, but it stops competitive ISPs, too. It's especially bad if this coporate network is censoring information. No opportunity to even discover non-filtered information outside the info bubble. This triple whammy is the consequence for those involved or not.
Re:Tunneling Internet traffic over FB chat
by girvo on Sunday March 15, 2015 @03:43AM
(#9205740)
Are those competitive ISPs going to give the audience we're talking about access to the net for free as well? Because for a lot of people in this world, they will never be connected to the net unless they don't have to pay; they simply can't afford it.
Re:Tunneling Internet traffic over FB chat
by danieldk on Sunday March 15, 2015 @05:22AM
(#9205920)
That's why we need government or non-profit programs, giving general access to the net. Because only then it is a level playing field, and the next Facebook can be from Brasil.
This is only an intentional effort to control and shut out competition (e.g. future Facebook competitors) and has the risk of killing local ISPs as a by-product.
tl;dr It only serves Facebook. Wikipedia et al. are just thrown into the mix to make it look like a humanitarian effort.
Re:Tunneling Internet traffic over FB chat
by foiboitoi on Sunday March 15, 2015 @07:33AM
(#9206141)
Why would they need to be "free?" Not everyone needs personal internet to benefit from a free (as in freedom) internet being available in their area. Unfiltered information spreading in a community is almost guaranteed if it exists.
How on earth are we going to get them innovative/affordable internet solutions if no one can compete to get there?
Re:Tunneling Internet traffic over FB chat
by hueving on Sunday March 15, 2015 @02:05AM
(#9205544)
It would be somewhat contrived, but you could argue that the shown ability of Facebook to influence the moods of a population via filtering content could be used to oppress underprivileged people.
Re:Tunneling Internet traffic over FB chat
by qq66 on Sunday March 15, 2015 @12:07AM
(#9205321)
Free Facebook means the ability to send and receive messages with ~1 billion people at no cost. That's hugely valuable to a lot of people without the money for a general-purpose Internet connection.
Re:Tunneling Internet traffic over FB chat
by zx2c4 on Sunday March 15, 2015 @10:15AM
(#9206554)
Back in the day when Skype was a pretty cool peer-to-peer encrypted mesh network, that successfully evaded firewalls and traffic analysis, I wrote a tool to proxy Internet traffic ontop of the Skype mesh. I was quite young when I wrote it, but I managed to dust off an old demo screencast I made (and convert the swf to an mp4), which gave me a laugh. If you're curious:
Re:Tunneling Internet traffic over FB chat
by andrepd on Saturday March 14, 2015 @04:53PM
(#9204117)
I don't know the specifics about how the surveilance is implemented, but embedding encrypted payload in benign files is a neat idea to bypass internet censorship, at least in principle.
Re:Tunneling Internet traffic over FB chat
by wongarsu on Saturday March 14, 2015 @08:46PM
(#9204854)
That's how the Tor network manages to bypass the Great Firewall. Google "Tor Bridges" if you want to get some fine examples. I think the newest tor bridge can smuggle the traffic over Google servers.
Re:Tunneling Internet traffic over FB chat
by fitzwatermellow on Saturday March 14, 2015 @05:36PM
(#9204268)
Wonderful proof-of-concept!
Humanity needs steganography-as-a-service. But think how difficult it is to implement in a regime where all networks are monitored and even Android phones are assumed to be backdoored. Most services will re-encode data during transmission, potentially munging whatever secret happens to be embedded. And more generally, its the metadata that often de-anonymizes, not the data itself. If all the dissidents one day begin communicating via Lutheran Insult memes, its simply becomes a matter of picking one up and applying "rubber-hose" cryptanalysis to put an end to the party.
Re:Tunneling Internet traffic over FB chat
by cheesedoodles on Saturday March 14, 2015 @07:29PM
(#9204646)
This is really cool! In so many 2nd and 3rd world/poor countries internet is a luxury, as the price of bandwith is so high. Philippines for instance, a country that mainly provides connectivity through limited 3G and LTE, have a monthly price of about 30 beers from the local bar. In comparison, I pay around the price of 4-5 local beers, for 100/100 fiber.
Its sucks so hard that people cant afford to get knowledge from internet. Especially considering they would benefit greatly as schoolbooks are expensive and in some countries, censored.
Re:Tunneling Internet traffic over FB chat
by matiasb on Saturday March 14, 2015 @07:35PM
(#9204670)
Hack author here, in my country, Paraguay, you get 10 MBPS for ~140 U$ per month.
I discovered the Internet through my father, because he is a journalist and the press had really early access to this kind of tech, 20 years later I'm still crazy about it.
Thanks for the comment!
Re:Tunneling Internet traffic over FB chat
by yhager on Saturday March 14, 2015 @10:56PM
(#9205166)
Yeah, I've played with that a bit..it was fun. It worked in airports, as DNS was available, even though you had to pay for actual surfing. Not surprisingly, it was quite slow.
Re:Tunneling Internet traffic over FB chat
by userbinator on Saturday March 14, 2015 @08:00PM
(#9204735)
I've heard this is also true for Twitter and a few other social networking sites, so you could potentially tunnel your traffic through them too.
However, these tunnels are going to be relatively low-bandwidth (especially if they start throttling it) and high-latency, so the "unlimited" would in reality be "how much can you transfer continuously in a month?"
Re:Tunneling Internet traffic over FB chat
by JoshTriplett on Saturday March 14, 2015 @07:12PM
(#9204594)
Interesting, but wouldn't you need a server somewhere to act as the other end of the tunnel, for which you'd have to pay for hosting and/or bandwidth anyway?
Re:Tunneling Internet traffic over FB chat
by wongarsu on Saturday March 14, 2015 @08:51PM
(#9204867)
But hosting and bandwith for servers is extremely cheap if you don't care about reliability and trendyness. You can get a vps with 1Tb bandwidth/month for $4 (probably even less if you look around more than I did). Try getting mobile bandwidth for anything near that price.
Re:Tunneling Internet traffic over FB chat
by purringmeow on Saturday March 14, 2015 @10:31PM
(#9205108)
I am pretty much a beginner dev, so can anyone briefly explain how this works? It's not really clear to me from the code.
It's mentioned in the README that packets are being sent as base64. Let's say I would like to send a GET request to google.com. How does Facebook Chat serve me with google's page?
Re:Tunneling Internet traffic over FB chat
by swah on Saturday March 14, 2015 @04:34PM
(#9204073)
I was just reading about gumbo parser yesterday! h/t @nostrademons
Very nice hack... its just fun to do something like this.
Reminds me when I used to fiddle w/ "phreaking" when it was really easy. I didn't think about ethical implications - just got a really big thrill when I got a free call.
Re:Tunneling Internet traffic over FB chat
by nostrademons on Saturday March 14, 2015 @04:53PM
(#9204115)
Thanks! I'm glad to see it used for things...when I wrote it (and decided to open-source it), it was very much a "Well, I have one immediate need for this, but it seems like people could do a lot with a robust HTML5 parser with a simple API."
Re:Tunneling Internet traffic over FB chat
by modeless on Saturday March 14, 2015 @05:37PM
(#9204275)
What makes this interesting is the fact that Facebook chat traffic is subsidized by Facebook and free of charge in some countries as part of their anti-net-neutrality "Internet.org" initiative. This project allows you to hijack the Facebook subsidy for purposes they didn't intend. Of course, if it becomes popular then Facebook will have to block it, emphasizing the self-serving commercial nature of the subsidy.
Re:Tunneling Internet traffic over FB chat
by pakled_engineer on Sunday March 15, 2015 @07:27AM
(#9206127)
Here's one telecom's implementation of this proprietary Internet.org app showing free tier fb/messenger the photos are still displayed just obscured until you pay for a data plan (notice it uses free.facebook.com which is complicit in enforcing this. https://youtu.be/sUGZdFXs22o?t=2m16s
Guess no embedding creative commons university pdfs in wall posts.
Re:Tunneling Internet traffic over FB chat
by nl on Saturday March 14, 2015 @06:05PM
(#9204365)
Internet.org might not be net neutral, but that doesn't make it bad. Much of the world isn't the US, and differently structured markets need to be considered differently.
Re:Tunneling Internet traffic over FB chat
by zanny on Saturday March 14, 2015 @06:26PM
(#9204433)
So if you are in an impoverished area your packets are different from first world packets, magically making it harder to send them to 207.241.224.2 (archive.org) than 173.252.120.6 (facebook.com)?
No, that is not the case. Instead, Facebook will pay for you to get Internet if that is Internet that only lets you access Facebook. And that is not an Internet at all. The infrastructure, the physical reality, means that if you have any connection, you can have all connections, and in these circumstances only profit hungry greedy monsters would consider effectively blacklisting every site but their own to guarantee them revenues to show to shareholders for providing network connectivity to you - or I guess it should be more appropriately called Facebook connectivity.
Re:Tunneling Internet traffic over FB chat
by Dylan16807 on Saturday March 14, 2015 @06:47PM
(#9204512)
They're not blacklisting anything.
The only bad thing they do is call it "internet". It's not internet access. Free access to things like wikipedia is a good thing, as long as it's not taking money away from actual free internet initiatives.
Price gouging actual internet access would also be bad, but that would be someone else doing it, and I don't think it's happening here.
Re:Tunneling Internet traffic over FB chat
by sukilot on Saturday March 14, 2015 @07:15PM
(#9204603)
Did you know that yombinator.com o ly allows you to transmit comments on HackerNews posts, subject to heavy moderstion, not free and open internet speech?
Re:Tunneling Internet traffic over FB chat
by schlarpc on Saturday March 14, 2015 @05:26PM
(#9204227)
I did something very similar to this last summer, written in Python. No idea what state the code is in at this point because it's been months, but here's the code I had sitting around: https://gist.github.com/schlarpc/86e20aa3f3aaf3d78269
Re:Tunneling Internet traffic over FB chat
by andrepd on Saturday March 14, 2015 @04:52PM
(#9204112)
With a built-in encryption layer (on top of eventual HTTPS) it could be a useful "hack" for the kinds of situations mentioned in the readme. I wonder how facebook and the telecos will feel about this. All in all, a cool concept but unlikely to work in practice if either facebook or the telecos do not want to.
Re:Tunneling Internet traffic over FB chat
by vincentclair on Saturday March 14, 2015 @05:16PM
(#9204190)
It would be cool if a company such as facebook supported this. Seeing them as an enabler for free/uncensored internet, given that the country was chosen for a internet.org campaign.
Re:Tunneling Internet traffic over FB chat
by jakejake on Saturday March 14, 2015 @05:33PM
(#9204255)
If Facebook wanted to support it they would probably just implement a standard proxy server that would be more efficient. If anybody can handle the traffic it would be Facebook, but I bet their chat services are not really tuned for this kind of usage.
Re:Tunneling Internet traffic over FB chat
by vskarine on Saturday March 14, 2015 @10:49PM
(#9205144)
I tried something like this over gchat but they throttled pretty soon so didn't work well. But it worked for me over Firebase. Here is simple project to demo how to do VNC over Firebase: https://github.com/vskarine/fireport
Re:Tunneling Internet traffic over FB chat
by nly on Saturday March 14, 2015 @07:10PM
(#9204590)
Uses Gumbo... from the README
> Gumbo was initially designed for a product that worked with trusted input files only. We're working to harden this and make sure that it behaves as expected even on malicious input, but for now, Gumbo should only be run on trusted input or within a sandbox.
Re:Tunneling Internet traffic over FB chat
by nostrademons on Saturday March 14, 2015 @07:58PM
(#9204725)
That's mostly historical at this point - Gumbo passed a security review as of 0.9.1, has had several rounds of fuzz testing, and is used by a bunch of other libraries now. It's been struck out of the README at HEAD, though I think it was listed in several earlier versions' READMEs.
Re:Tunneling Internet traffic over FB chat
by erodingvar on Saturday March 14, 2015 @07:33PM
(#9204664)
This is the kind of hacking I find to be abusive. Finding clever uses for things is fine, but not when it's misuse with potential for harm. This reminds me of when someone exploited TinyURL to make TinyDisk.
Re:Tunneling Internet traffic over FB chat
by logicallee on Saturday March 14, 2015 @06:04PM
(#9204358)
I think this is kind of abusive of FB's infrastructure TBH. It must be hard to keep real-time messaging up for ... okay, I was going to say for 1 billion users, looked it up and it's 1.3 billion monthly actives - 890 million daily actives (Jan 2014 figure). So tell you what, on second thought I think they can handle your data.
however there's a good chance you'll cause some infrastructure problems since I'm sure there are assumptions baked in, regarding how often a user will send new messages, queuing, caching, etc. so I'm still not totally sure how I feel about this.
at the end of the day FB is just a php script. i wouldn't be surprised if you break it.
Re:Tunneling Internet traffic over FB chat
by im3w1l on Saturday March 14, 2015 @06:52PM
(#9204520)
Or limit how much data you can send over chat. Say max 10 bytes per second sustained (higher burst) allowed. Should be enough for normal chat, while limiting infrastructure problems.
Re:Tunneling Internet traffic over FB chat
by kudu on Sunday March 15, 2015 @12:35AM
(#9205373)
I totally support this "abuse" of their infrastructure if it makes them realize that giving free access to their own social network via Internet.org isn't a charitable endeavour.
>If the average user can only access the mindless corporate money-making machines and not the real internet
They can, but it's not free, and a lot of people have no other option but to use what is free. This corporate money-making machine just provided pure value to a ton of people, there's no downside to having this additional option available.
Sure there's a lot of value in communicating with other Facebook users, but if you can't see the possible downside of having a large group of people's first and only connection being through a corporate-controlled view of the world, you're not using your imagination.
1. http://freakonomics.com/2011/02/15/what-happens-to-all-those...
So not only does it prevent competitor websites, but it stops competitive ISPs, too. It's especially bad if this coporate network is censoring information. No opportunity to even discover non-filtered information outside the info bubble. This triple whammy is the consequence for those involved or not.
This is only an intentional effort to control and shut out competition (e.g. future Facebook competitors) and has the risk of killing local ISPs as a by-product.
tl;dr It only serves Facebook. Wikipedia et al. are just thrown into the mix to make it look like a humanitarian effort.
How on earth are we going to get them innovative/affordable internet solutions if no one can compete to get there?
http://data.zx2c4.com/skypeproxydemo.mp4
Find some high traffic site in China and smuggle in content via various site features such as chat, messaging, forums, etc.
The content could be obfuscated to appear benign while embedding hidden data in text, images, or binary attachments.
meek-google: https://trac.torproject.org/projects/tor/wiki/doc/meek#Googl...
meek-amazon: https://trac.torproject.org/projects/tor/wiki/doc/meek#Amazo...
https://tools.ietf.org/html/rfc5514
Humanity needs steganography-as-a-service. But think how difficult it is to implement in a regime where all networks are monitored and even Android phones are assumed to be backdoored. Most services will re-encode data during transmission, potentially munging whatever secret happens to be embedded. And more generally, its the metadata that often de-anonymizes, not the data itself. If all the dissidents one day begin communicating via Lutheran Insult memes, its simply becomes a matter of picking one up and applying "rubber-hose" cryptanalysis to put an end to the party.
Its sucks so hard that people cant afford to get knowledge from internet. Especially considering they would benefit greatly as schoolbooks are expensive and in some countries, censored.
I believe asymetric normal connections cost about ~40USD.
A beer is about 4USD, IIRC, if that helps the comparison.
http://code.kryo.se/iodine/
However, these tunnels are going to be relatively low-bandwidth (especially if they start throttling it) and high-latency, so the "unlimited" would in reality be "how much can you transfer continuously in a month?"
It's mentioned in the README that packets are being sent as base64. Let's say I would like to send a GET request to google.com. How does Facebook Chat serve me with google's page?
- They are using virtual network kernel device (TUN/TAP, https://github.com/matiasinsaurralde/facebook-tunnel/blob/ma... )
- encode it as base64
- communicate with the http/web facebook client https://github.com/matiasinsaurralde/facebook-tunnel/blob/ma...
Between that they do authentication things at facebook with "gumbo". And later on everything the other way round at the server side.
So if you GET google.com your traffic goes through a virtual ethernet like device. https://www.kernel.org/doc/Documentation/networking/tuntap.t...
There is no cryptography involved, they could try to use openvpn to enable this feature. https://community.openvpn.net/openvpn/wiki/BridgingAndRoutin...
Very nice hack... its just fun to do something like this.
Reminds me when I used to fiddle w/ "phreaking" when it was really easy. I didn't think about ethical implications - just got a really big thrill when I got a free call.
Also HTTPS packets should be quite safe.
Guess no embedding creative commons university pdfs in wall posts.
No, that is not the case. Instead, Facebook will pay for you to get Internet if that is Internet that only lets you access Facebook. And that is not an Internet at all. The infrastructure, the physical reality, means that if you have any connection, you can have all connections, and in these circumstances only profit hungry greedy monsters would consider effectively blacklisting every site but their own to guarantee them revenues to show to shareholders for providing network connectivity to you - or I guess it should be more appropriately called Facebook connectivity.
The only bad thing they do is call it "internet". It's not internet access. Free access to things like wikipedia is a good thing, as long as it's not taking money away from actual free internet initiatives.
Price gouging actual internet access would also be bad, but that would be someone else doing it, and I don't think it's happening here.
If Facebook wants to pay for that, and the cost is that they also get access to Facebook then my view is that is a net good.
If they wanted you to access those other sites, they'd have given you access to them.
But why would they? As-is, they have no competition. "when there's only one choice, there's only one vote!"
Please add this to your list of reasons why your wrong headed "meta"-data retention plan can not work.
Rory
> Gumbo was initially designed for a product that worked with trusted input files only. We're working to harden this and make sure that it behaves as expected even on malicious input, but for now, Gumbo should only be run on trusted input or within a sandbox.
I tried to find it in google, but the acronym is very ubiquitous.
however there's a good chance you'll cause some infrastructure problems since I'm sure there are assumptions baked in, regarding how often a user will send new messages, queuing, caching, etc. so I'm still not totally sure how I feel about this.
at the end of the day FB is just a php script. i wouldn't be surprised if you break it.
Facebook Chat isn't. It's primarily Erlang/C++.
https://www.facebook.com/note.php?note_id=14218138919