matiasinsaurralde / facebook-tunnel

Tunneling Internet traffic over Facebook chat.
1.29k stars 82 forks source link

Android support #3

Open matiasinsaurralde opened 10 years ago

matiasinsaurralde commented 10 years ago

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. "

1Conan commented 9 years ago

That would be good adding support for multiple devices would be a good one

(if i had a mac ill try building it for iphone)

daniellockyer commented 9 years ago

After seeing that Android support would be useful I immediately thought of VpnService. I think that it is best and wouldn't be terribly hard to implement.