RetroShare/libretroshare/src/tcponudp
drbob 2048bb5e47 Improvements to BanPeer Code, mainly from a UdpStunner perspective.
* Added UdpStunner::dropStunPeer() code to remove bad peer from stun list.
 * added calls to UdpStunner::dropStunPeer for BanLists going to/from DHT.
 * added  DEBUG_BANLIST_CONDENSE to remove unnecessary debug.
 * Improved UdpStunner::status() print out of stunlist.
 * Added extra check to throw away stun reports where remote_addr == reported ext_addr.
	- This was causing peers to get the wrong IP addresses.
 * Modified UdpStunner ExtAddr checks to make sure the IP addresses match.
 * Changed BANLIST service Id to from Test ID to real ID.

NOTE: These are stop-gap methods to avoid the wrong Stun reports.
A more robust scheme must be implemented. I'd expect that it would
involve a strict initial check to establish your IP address...
(e.g. require 4 peers to confirm it, allowing for some fake entries)
After this we can have a weaker check ensuring IP address matches.
If we detect a likely REAL change of IP address - drop back to requiring
a strick check again.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4717 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-12-08 20:15:08 +00:00
..
bio_tou.h Created V0.3.x branch and moved the head into the trunk directory. 2007-11-15 03:18:48 +00:00
bss_tou.c Created V0.3.x branch and moved the head into the trunk directory. 2007-11-15 03:18:48 +00:00
rsudpstack.h More Udp Connection Bugfixes: 2011-07-15 11:13:20 +00:00
tcppacket.cc Changes to integrate bitdht into libretroshare. 2010-07-31 18:14:10 +00:00
tcppacket.h Significant changes to aid UDP connections. 2008-02-27 02:32:20 +00:00
tcpstream.cc * Increase UDP buffer size, as this might fix connection issue? 2011-07-27 13:55:19 +00:00
tcpstream.h Bugfixes for TcoOnUdp: 2011-07-20 18:37:21 +00:00
tou.cc fixed missign return, and pointer-to-uint32_t cast 2011-07-19 18:55:32 +00:00
tou.h Merged Changes /branches/v0.5-peernet/libretroshare/:r4237-4358 2011-06-29 18:02:44 +00:00
udppeer.cc Added a name to the RsMutex class. 2011-07-04 22:59:39 +00:00
udppeer.h Merged Changes /branches/v0.5-peernet/libretroshare/:r4237-4358 2011-06-29 18:02:44 +00:00
udprelay.cc Removed unused parameter warnings in libretroshare. 2011-08-12 13:42:30 +00:00
udprelay.h Changes to support the delay / bandwidth changes in libbitdht 2011-07-17 23:41:30 +00:00
udpstunner.cc Improvements to BanPeer Code, mainly from a UdpStunner perspective. 2011-12-08 20:15:08 +00:00
udpstunner.h Improvements to BanPeer Code, mainly from a UdpStunner perspective. 2011-12-08 20:15:08 +00:00