-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network Throttle #644
Comments
My knowledge of how toxcore works is very limited, but I think this behaviour is required to receive status updates from your friends. To be able to see who is online, see their current name and status. And to receive friend requests. |
Are status updates not P2P traffic? All mentioned packets are from/to random IPs (not related to my contacts). |
Connections to your friends are made directly to them (https://tox.chat/faq.html#tox-leak-ip), so status updates should be peer-to-peer. In that case I don't know what's causing that traffic. |
What version of toxcore are you using? |
The traffic is then likely to be dht lookups ... searching for clients... like hey do you know where "xyz" is...nope but try "abc". This the penalty for not having a central server to look up who is where (on the internet that is). A good intro to DHT might help http://engineering.bittorrent.com/2013/01/22/bittorrent-tech-talks-dht/ |
The check neighbour status is just a simple packet to that neighbour so I think it is lookups taking place. Perhapps the way forward is for mobile clients to only respond to lookups matching them selves ie a lookup for "xyz"...yeah thats me and ofcourse announcements for actual contacts we have a full address for and not no but try here. Leave all that for full clients. That should minimise traffic at mobile end points. Any thoughts on this? |
@dingosan I also think it is DHT (check my original post). My knowledge in DHT is not big. But common idea: there is a lot of cases when it can be important to limit participation in DHT. |
You already have something similar. It is used in mobile clients. Disable udp mode which is used for dht traffic (and possibly other things?) on all lan clients bar one....it will be the proxy for them. |
This issue is a duplicate of #441. |
I am recreating some issue from original @irungentoo repository.
It was recommend to post it here because it is most actual repository for toxcore.
So issue irungentoo#1581
And copy of my own comments:
Is it possible to limit such traffic?
Specify some rate or similar things.
I think it is too much packets per second for chat.
Approximately it sends/receives 600 packets per minute per one instance.
Maybe it is possible to install own server and communicate with the world through that server and each node will have the same DHT traffic obtained from such server?
I think for now my meta traffic is much greater than my payload.
And such big traffic will be a problem for mobile devices.
The text was updated successfully, but these errors were encountered: