irungentoo / toxcore

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

UDP packet loss (unsupported UDP) should be reflected in the cient UI #1619

Closed yurivict closed 8 years ago

yurivict commented 8 years ago

Currently clients have an option "Enable UDP". In practically, UDP will sometimes fail because it might be filtered out in the firewall, or in the proxy server. For example, Tor proxy will always filter out UDP because Tor doesn't support UDP.

Client needs to know if the UDP option is actually working. There should be a feedback allowing to show to the client that UDP is or isn't actually working.

When I select both "Enable UDP" and SOCKS5 proxy pointing to Tor, I am always wondering if UDP packets are actually sent directly to peers, bypassing the proxy, or Tox silently falls back on TCP.

GrayHatter commented 8 years ago

This exists, the connection callback you get will tell you if they're connected to TCP or UDP

iphydf commented 8 years ago

@yurivict file this issue on your favourite client's (or all of their) issue tracker(s).