Giter Club home page Giter Club logo

facebook-tunnel's Introduction

facebook-tunnel

Check the "transports" project: https://github.com/matiasinsaurralde/transports

The idea of this project is to tunnel Internet traffic through Facebook chat (packets are sent as base64), the main component is tuntap and also the Google's Gumbo parser which does the interaction with Facebook (login, send/receive messages, etc.).

Why?

I'm from Paraguay, South America. Our country was chosen for the Internet.org campaign: "free Internet access in developing countries". TIGO, one of the biggest telcos here, negotiated a deal so you can have free Facebook access through them. We all know that the Internet is about accessing many places, etc. So I feel this campaign has a serious limitation.

Requirements

  • Gumbo parser
  • libcurl
  • tuntap (for linux)
  • gcc/g++

Building

$ mkdir build; cd build
$ cmake ..
$ make
$ ./facebook-tunnel

TODO

  • Finish the client.
  • Obfuscation and/or crypto.
  • Support other platforms (kennym is working on Mac support, Android would be nice).

I'm looking for collaborators, so if you have something interesting, send a pull request.

You can also shoot me an e-mail: [email protected]

Twitter: @matias_baruch

facebook-tunnel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facebook-tunnel's Issues

After setup, what next?

After setting up everything, how do you run it? How do you set up the client? Should the --friend r2d2 be one of your facebook friends or something?

Not found

Is this normal for a server?

`./facebook-tunnel --login login@email --password Pass
friend ID => 0
Ready and waiting for packets.
listCLients()
readPacketsFrom
g
h
m f
n o p q
f s

<title>Page Not Found</title><style type="text/css">/**/</style>

facebook

The page you requested was not found.

`

Muchos problemas

Amigo, hice varios cambios, y "por fin" hice que el cliente y servidor vieran el mensaje, pero no logro entender cómo se van a comunicar uno al otro, si tienen la misma ip.... ya habías hecho pruebas?

Why

would someone need this?

It can't be for anti-firewall measures, 'cause facebook is one of the first pages which get's blocked.

Thanks!
Phil

A message from the author

Hi everyone, this is Matias, from Asunción, Paraguay, a nice country in the heart of South America.

I’ve been following all your comments regarding this tool since the beginning, but I’ve been quite busy working on other projects (just to give you an idea, in the past two years I’ve been doing software development for a TV channel, an online music teaching startup and some short term consulting jobs, at the same time…:tired_face:).

There has been really interesting ideas, like implementing this tool as a pluggable transport for Tor [0], replacing base64, supporting other chat plaforms, etc. Very cool stuff!
Unfortunately the Internet.org campaign is gone from my country so I’m not able to test or debug the application anymore, so I decided to write this and ask a few things.

Basically I would like to get in touch with people from countries that are still part of Internet.org (I read that Airtel Africa joined a few weeks ago!) and see if it’s viable to continue the development (with your help), so I can spend the next months performing a complete refactor, preparing documentation and finding collaborators.
I think that what can be considered a weekend hack has the potential of becoming an important tool for people with limited Internet access, so this is my biggest motivation.

Please write your comments here. Also feel free to reach me out via e-mail: [email protected]

Thank you!

P.S. If you happen to be in Paraguay, let me know :)

[0] https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports#Brainstormingfornewtransports

broken?

Appears to be broken.. seems as if facebook has changed it's authentication around the 'user/pass' post schema. I am working on this further..

Is it legal?

First of all,

I would like to ask if it is legal? If the project is released, will Facebook approve it?

Thanks,

Android support

Should we use VpnService (http://developer.android.com/reference/android/net/VpnService.html)?

"VpnService is a base class for applications to extend and build their own VPN solutions. In general, it creates a virtual network interface, configures addresses and routing rules, and returns a file descriptor to the application. Each read from the descriptor retrieves an outgoing packet which was routed to the interface. Each write to the descriptor injects an incoming packet just like it was received from the interface. The interface is running on Internet Protocol (IP), so packets are always started with IP headers. The application then completes a VPN connection by processing and exchanging packets with the remote server over a tunnel. "

Base64 is bulky!

You will be able to get much more data stuffed into facebook chat if you ditch Base64 for Unicode, we also started with Base64, but IIRC it was a ~30% inflation of data size.

Check out this project I was a part of in 2009, we used Twitter as file storage system, so, pretty similar.
https://www.youtube.com/watch?v=kUcLbmU5fHk

Love the project, good luck!

Can you provide an instruction manual?

First off, great idea, and thank you for sharing this project. Is there some sort of an instruction manual that we can refer to during the and post setup?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.