Commit Graph

122 Commits

Author SHA1 Message Date
Jenster
699299ae8a latest OSX patches 2015-11-20 08:10:59 -08:00
csoler
1bc2892753 removed some debug info 2015-10-30 21:11:44 -04:00
csoler
79c80c968a fixed a few bugs in display of tracking info 2015-10-27 22:41:29 -04:00
csoler
d69f2709c3 restored constants and output to non debugging state 2015-10-27 00:02:16 -04:00
csoler
c7d0e4cb35 enabled ID tracking forums. Fixed thresholds for anti-spam forums. Changed computation of reputation scored 2015-10-26 23:38:10 -04:00
csoler
3de29c589c added load/save of message tracking info 2015-10-25 18:07:17 -04:00
csoler
47dd70fbe8 added non selective tracking for GXS messages 2015-10-25 17:26:34 -04:00
csoler
dea7c774b4 fixed missing removal of deleted data causing a crash when large messages cause an error in Global Router 2015-08-21 20:45:41 -04:00
thunder2
e53f531271 Fixed possible crash in p3GRouter by checking return value of dynamic_cast.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 01:37:48 +00:00
thunder2
65bdc96b88 Fixed possible crash in RsGRouterSerialiser by checking return value of dynamic_cast.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8590 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 00:51:03 +00:00
csoler
249c827f95 improved debug info in a few places
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-09 20:55:11 +00:00
thunder2
0ee754939e Removed some unused parameter warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8481 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 22:41:18 +00:00
csoler
50eff71bfa removed possibility to access invalidated iterator in grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8435 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 12:22:49 +00:00
csoler
dcbcd4f556 fixed bug in global router causing SIGSEGV in some cases
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8247 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-14 13:44:57 +00:00
csoler
a52031ac58 fixed small bug in global router causing incoming messages to be in SENT mode
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8176 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-27 22:01:31 +00:00
csoler
ee2bb70b0e fixed a few bugs in global router, eliminated duplicate messages, improved routing logic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8173 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-26 19:10:46 +00:00
csoler
03afc77f65 fixed stupid bug causing random crash in grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8171 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-25 18:22:07 +00:00
csoler
139d16a0e3 removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8169 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-25 13:47:37 +00:00
csoler
77a33cd445 removed unnecessary debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8153 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 20:09:20 +00:00
csoler
9fa87de6e3 cleaned the code in grouter, removed warning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8151 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 19:02:14 +00:00
csoler
a9ba944e27 improvements to global router: longer half-life for routing events, re-sending of un-delivered items, removed unused constants, added missing file to .pro
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8148 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-20 21:24:22 +00:00
csoler
e232dcb0a3 globally prevent chunk corruption and sendign of enormous messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8142 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-19 15:04:24 +00:00
csoler
057b2afa4e improvement of global router after first test phase. Fixed a number of bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-18 19:59:27 +00:00
csoler
6b84be37de async distant messaging should work, but needs soem more testing. Use with care
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-17 21:37:26 +00:00
csoler
5785ddca84 fixed per-friend message passing and cleaning. Next steps: debug multi-step friend transmission
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-15 20:48:30 +00:00
csoler
6b841ba4e1 saving ongoing work on global router. Fixed friend-to-friend message passing.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8128 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-12 21:43:52 +00:00
csoler
2ecd582273 half-way through async messaging. Redesigned global router pipeline so as to merge traffic from turtle and friend/routing matrix. Only turtle traffic currently enabled. Should provide minimal functionality
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-09 21:34:50 +00:00
csoler
d8b276b7e2 improved temporary memory class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-28 18:07:01 +00:00
csoler
e58c9de067 fixed a few missing deletes when handling errors in grouter. Experimenting a new scope guard to hold temporary memory. (Patch from GuessWho, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-28 17:23:52 +00:00
csoler
48ea291d95 moved signature validation and encryption one level up into p3IdService. Added timestamp for GXS identities and auto-removal after 7 days. Updated display in IdDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8015 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:33:23 +00:00
thunder2
0039f0aa51 Added missing include unistd.h (usleep) for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7868 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 20:04:23 +00:00
csoler
34f968a112 merged new GRouter model (branch v0.6-NewGRouterModel 7837-7863). Provides a fully functional distant messaging system. The asynchronous part will be implemented shortly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 19:28:10 +00:00
csoler
5967ee535f fixed free/delete mess in GRouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7863 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 15:16:04 +00:00
csoler
e0308eacd2 fixed up cache loading issues on get key. Polished grouter stats. Improved sending logic. Distant msgs now work 100% (sync-ed)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 12:13:13 +00:00
csoler
1998ddd765 fixed gui bits. Improved message handlign logic and notification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7854 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-22 14:33:19 +00:00
csoler
15fd4d787a re-enabled load/save pending items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7853 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-22 09:50:44 +00:00
csoler
f1990276c3 transmission works with return receipts. Message sending works. Still needs proxy mode.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7851 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-20 13:04:10 +00:00
csoler
eea680e78c New message passing system. Still misses signed receipts.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-19 13:53:36 +00:00
csoler
ce7710d183 implemented data transmission code (not fully working yet)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7848 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-15 20:33:24 +00:00
csoler
e8f5f44318 started implementation of new Global Router model. Switched msg service to use it (much simpler now!), and updated GUI. Implemented half the tunnel management logic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-11 22:18:28 +00:00
csoler
959c0ebf5b fixed serialisation bug preventing the correct save of grouter matrix in some cases
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-27 18:14:11 +00:00
csoler
f2a6d9f35e fixed error messages in grouter items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7676 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-13 22:27:01 +00:00
csoler
59ab1bdc52 limited storage of DEAD items in grouter cache to 1 hour to favor re-explore dead routes and limit cache size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7644 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-26 16:54:32 +00:00
csoler
c17de671bb added feedback from rsgenexchange into Global router to add routing information
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-22 21:00:20 +00:00
csoler
db55ab0bde weighted maximum length of a msg in grouter inversely to how much it has spread
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 22:02:00 +00:00
csoler
90c24e7135 improved anti-flooding stategy in g-router
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 21:30:28 +00:00
csoler
d44eb370e4 fixed bug in global router making the routing matrix too sparse
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7623 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-19 21:08:09 +00:00
csoler
7f9fde8c1d fixed stupid serialisation error causing routing matrix not to be loaded properly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-09 21:44:52 +00:00
csoler
7e517906fd small optimizations to grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-23 16:16:44 +00:00
csoler
aa0c236607 removed debug info for grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:13:00 +00:00
csoler
9beb33f172 fixed enabling of distant messages, fixed serialisation bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 13:08:42 +00:00
csoler
4d2907efed - added client notification to grouter
- now distant messages stay in outgoing box until notified to be received.
- fixed serialisation bug



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 12:39:30 +00:00
csoler
ed198af807 - added notification from global router to client services
- keep distant messages in outbox until they get notified to be received
- cleanup dead code


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-19 16:02:11 +00:00
csoler
a929f80596 final fixes to global routing algorithm. Ensured messages are kept long enough and re-tried less and less wth time. Corrected 2 routing bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7278 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-15 22:10:53 +00:00
csoler
5be7910cf5 improved network simulator, added display for message propagation and selective debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 19:27:50 +00:00
csoler
9efb7f4136 improved routing algorithm. Fixed several bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 19:58:45 +00:00
csoler
dd72809f2d improved grouter routing algorithm using network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-11 21:56:10 +00:00
csoler
8420d27a02 fixed bug in distant msg sending code causing crashes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7255 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-07 21:36:43 +00:00
csoler
acba05b780 setup routing probabilities and branching factors. Will probably need some tweaking to get right.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7217 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-31 21:21:11 +00:00
csoler
d340440998 - added debug ifdef to GRouter code
- switched turtle router and grouter to use service control


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7216 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 23:03:04 +00:00
csoler
1042744685 merged remaining of v0.6-IdCleaning branch (7180->7213) to incorporate global router stuff in trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7214 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 14:18:05 +00:00
chrisparker126
0f29d28b1b merge of branch v0.6-idclean 7180
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 20:56:06 +00:00
csoler
e12929d9d7 Added connexion to the msg system and fingerprint into grouter addresses. flushing current changes before 0.6 merge.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-30 22:14:37 +00:00
csoler
91291a9920 added proof of work algorithms to GRouter key items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6984 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-03 22:41:20 +00:00
csoler
be3a593ee2 enabled load/save of grouter configuration. Checked that keys and info is properly restored at startup
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6975 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-28 21:47:15 +00:00
csoler
5c52890ad5 added grouter as a msg sending service. Not enable yet. Added serialisation for grouter items and test methods in tests/serialiser/. Added saveList/loadList for grouter. set connectToTurtleRouter() and connectToGRouter() to be mandatory methods
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6970 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-27 20:06:47 +00:00
csoler
7edfa21ffd added routing methods for data in grouter.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6961 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-24 16:41:07 +00:00
csoler
03bd9dbef4 added serialisation methods and tests for grouter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-23 16:05:46 +00:00
csoler
fd994a546b progress in grouter code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-22 17:04:13 +00:00
csoler
d2ddf9c4c4 computation/update of routing probabilities
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6899 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-08 22:22:40 +00:00
csoler
03e6fb8a4a added basic probability computation to global routing matrix, and debug output. Fixed bug in Float serialisation (this should be improved btw)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6890 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-05 21:15:26 +00:00
csoler
e0863194a3 Squeleton code for the global routing matrix. Most functions are left unimplemented, but
the basic structure is here. Functions have been added to serialise both SHA1 and floats.
The router is not yet enabled since protocol is likely to change again.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-02 14:35:33 +00:00