I have been looking for changes in v0.2.9 to write a blog post about and noticed that #1266 added API calls for listing offline peers, yet there is no call for deleting an offline peer, which implies that toxcore is the one managing offline peers, which makes one wonder under what condition does toxcore delete offline peers since they are, well, offline, and can be indefinitely offline, never to come back. When asked about when does toxcore delete peers from the offline peer list, @zugz has said that it doesn't, that it grows indefinitely and that its growth is not limited in toxcore, meaning it can be used to DOS a target user or an entire conference.
I have been looking for changes in v0.2.9 to write a blog post about and noticed that #1266 added API calls for listing offline peers, yet there is no call for deleting an offline peer, which implies that toxcore is the one managing offline peers, which makes one wonder under what condition does toxcore delete offline peers since they are, well, offline, and can be indefinitely offline, never to come back. When asked about when does toxcore delete peers from the offline peer list, @zugz has said that it doesn't, that it grows indefinitely and that its growth is not limited in toxcore, meaning it can be used to DOS a target user or an entire conference.