* Cleaned up IP Address passing.
* Added Fallback to Dht Node Addresses, if now addresses were specified.
* Explicitly cleaned IP addresses which are unknown at various points.
* Added more debugging.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Added Printer for Relay Headers.
* Added missing "ID String" in packet creation.
* turned off debugging in udpstunner.
* Found bad Mutex Issue, with udprelay code. have to fix!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
determines the Network State (Good, Bad, Firewalled etc) & if a Reset is required
Using this we should be able to provide very good feedback to the user to help them
get RS working optimally. Unfortunately it is quite a complex state box to get right!
* Outlined basics of PeerNetStateBox. (Lots still to do!)
* Added initial inputs for PeerNetStateBox.
* Added NetState, NetworkMode, NatType, NatHole, ConnectMode outputs.
* piped output through to GUI.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Added Lots of Debugging!
* Added a couple of operator<<() fns.
* Added bdSpace::find_node() to find Destination Address.
* Added search for Dest IpAddr before Proxy Authentication.
* Added NOK ConnectResponse Msg if destination address unknown.
* Tweaked bdConnection::ConnectRequestProxy() to include proxy address.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
In theory we should have all the code to make DIRECT, PROXY and RELAY connections.
Now comes the testing / debugging phase.
* Switched tcpstream to use UdpSubReceiver instead of UdpPeerReceiver.
* Modified tou_init to accept an array of UdpSubReceivers (either UdpPeerReciever or UdpRelayReceiver).
* modified TOU to make it UdpStack agnostic (this allows multiple UDP Ports to be used).
* tweaked tou.cc internals to handle either type of Receiver.
* added new connect() function for initiating Relay Connections.
* Added missing Container Helper Functions to udprelay.cc
* Added back udpstunner.cc to libretroshare.pro
* modified libretroshare to work with the new interfaces.
* added (commented out) example of how the full udp stack will be initialised.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4266 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Added commandline options to allow GUI-free, fixed port, restricted ports, and different config path.
* Re-organised PeerNet startup to allow various options.
* Added UdpStunner into Udp stack, and display of ExtAddress.
* Expanded PeerStatus to cover both DHT status and Connection status.
* Added TOU connection logic.
* Added FailedPeers -> so you can see who tried to connection to you.
* Added Mutexes to protect state data.
* Filled in ConnectCallback().
* Added PeerActions for CONNECT, AUTHORISE & START_UDP, completing the loop.
* added tick() for executing actions and handling connections.
* Added Connect Auth Checks.
* Added Send/Recv Messages for Chat.
* Added GUI components to handle above.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4256 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Started writing the UDP Relay code... lots to do here!
* Added dhtConnectionCallback() dummy function for bitdht interface.
* altered sslfns for APPLE for easy compilation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4251 b45a01b8-16f6-495d-af2f-9b41ad6348cc
code for UDP connection setup. The code compiles, but is not yet functional.
Specific changes:
* Added srcId to PotentialPeer calls, to determine possible proxies.
* Added PotentialProxy list to bdQuery() code.
* Tweaked bdspace::find_nearest_nodes() to include peer flags.
* added bdconnection.[h|cc] files, these contain most of the new code.
* Added ConnectionRequest() ConnectionAuth() and ConnectionCallback() to interface
* Added new connection messages to bdmsgs.cc
* Added stats for new connection messages.
* separated send_query() into own function.
* Added bdStdLoadNodeId() to allow id to be imported from a string.
* Added Export of bdSpace::getDhtBucket() for external display.
* moved various definitions to bdiface.h for external use (bdPeer, bdBucket)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4250 b45a01b8-16f6-495d-af2f-9b41ad6348cc
- used "const std::string&" for the parameters
- used "std::map" for the read status
- removed useless variables
Added new define DEBUG_FORUMS in ForumsDialog.cpp.
Added function to generate mass data for the forum messages.
Fixed german language for the FriendsDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
- Renamed "Favorite Tags" to "Quick View".
- Added the quick view "Starred" to the list to show all messages signed with a star.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4231 b45a01b8-16f6-495d-af2f-9b41ad6348cc
The MessageComposer is now only for writing a new message or editing a message from the draft box.
Added a new setting to the MessagePage.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4230 b45a01b8-16f6-495d-af2f-9b41ad6348cc