5 ms·
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 pac
by purringmeow 12y ago
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?
- miduil 12y agoAs far as I understood: - They are using virtual network kernel device (TUN/TAP, https://github.com/matiasinsaurralde/facebook-tunnel/blob/master/tun.cpp 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/master/facebook.cpp 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.txt 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/BridgingAndRouting https://community.openvpn.net/openvpn/wiki/BridgingAndRoutin...