mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-18 22:04:10 -05:00

Merging Dht Relay improvements into the trunk. These changes should finally make relays functional. There are still some service changes required to reduce the traffic over relays. Summary of Changes --------------------- * Changed the way proxy/relay peers are selected in bdConnection. (needs more work). * Added LinkType to peer info in p3LinkMgr & rspeers.h interface. * Added getConnectionType() to p3PeerMgr. This defaults to FRIEND for the moment. * Provide information about Bandwidth, Transport and Peer Type via LinkType(). * Added RateCap() to limit traffic over Relay connections. * Set Internal Rate to 75% of Relay Limit to account for transport overhead. * Added various #include "util/rswin.h" to fix compile errors with standard ssl package. * Removed Local variables (mConnectProxyAddr, etc) which were hiding Class Variables. * Cleaned up bits in pqissl.cc and p3linkmgr.cc * Increased UDP Relay Packet size (max transport of 1400 bytes per UDP packet) * Modified checkRelay() to use Low Pass Filter to calculate Relay Bandwidth. * Improved udprelay debugging. * increased (x2) Relay Lifetimes - this is so that enough useful data can be transported (1meg). * Added LOCALNET_TESTING code to rsinit.cc. This allows Port Restrictions to simulate firewalls. * more debugging and minor bugfixes. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4780 b45a01b8-16f6-495d-af2f-9b41ad6348cc
Description
RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
Languages
C++
85.6%
C
7%
QMake
1.7%
HTML
1.4%
NSIS
1%
Other
3.1%