irungentoo / toxcore

The future of online communications.
https://tox.chat/
GNU General Public License v3.0
8.74k stars 1.27k forks source link

Some NAT/firewall relay suggestions to defeat blocking. Critical feature. #716

Closed fcore117 closed 10 years ago

fcore117 commented 10 years ago

Message from friend that i pass here: If users connection is good enough, some Tox clients should also by default be relays for those with bad NAT type. For those, who don't want to be relays, there could be option that disables relay mode. So those who don't care can help others and those who don't want to, have an option to disable it. Using central relay servers is security hazard. Server could have logs with timestamps of who connects to someone at what time...

I say that this type of working was success of Skype because it gave connection to everyone no matter how bad is internet connection. Servers can be blocked easily too. http://www.disruptivetelephony.com/2010/12/understanding-todays-skype-outage-explaining-supernodes.html skype1 Skype was really hard to block too and only weak points was login servers which Tox do not have(which is good).

weedy commented 10 years ago

This is already the plan.

It's also how mobile clients will work, allowing them to not need a constant stream of traffic (thus killing battery life).

fcore117 commented 10 years ago

i know about /docs/TCP_Network.txt, i hope it will work same effectively like Skype was before MS in way that everyone can be relay if he/she wants. There is so many NAT/firewalled connections in world.

Best examples where usually NAT/Firewall are: Public city wifi, diners, gas stations, independent ISP-s on big apartments, village long range wifi isp-s, even some big ISP corporations, mobile internet providers, heavy censored countries. One example from me is once i travelled on ship that had satellite internet and no IM service worked but only i repeat only Skype still worked.

i would use full mobile version too because i would not let to run constantly, but i like Tox to be full featured.

I have some plans too for future, if Tox core will integrate relay one day then i would use some powerful Android box for relay center 24/7

NB: English i not my native language.

fcore117 commented 10 years ago

TCP Relay system is coming soon which is similar to Skype supernodes so i think it is time to close.