Commit Graph

107 Commits

Author SHA1 Message Date
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
csoler
5d69ae886a reduced period for slow saving of GRouter config data, and removed useless saving of BanList config when received data fro friends does not modify the existing data 2016-08-22 22:25:05 +02:00
csoler
efd503e7d4 removed the possibility of GXS groups to keep track of post origin before release, as it is too intrusive as compared to the benefits 2016-07-25 14:56:55 -04:00
csoler
e611b2bb05 moved isIdentitybanned from p3GxsReputations to p3IdService, so as to avoid calling back p3IdService from p3GxsReputations, which simplifies the code 2016-07-03 18:06:01 -04:00
csoler
c2ae4fc904 merged upstream/master 2016-06-05 10:06:11 -04:00
csoler
a2ca0385db fixed compilation and several problems following separation of public/private keys 2016-06-04 21:39:40 -04:00
csoler
590be092e5 separated RsTlvSecurityKey into two incompatible classes to enforce the correct usage of private vs. public keys 2016-06-02 23:47:57 -04:00
csoler
e2b5785eec merged PR403 with trunk 2016-06-02 21:15:51 -04:00
csoler
10e0254317 fixed a few things to correct PR403 2016-06-02 20:38:33 -04:00
sehraf
cfc0e7071a libretroshare: remove unused variables 2016-06-02 14:54:07 +02:00
Nyfor
5e94c772b3 Fixed compilation for Clang. 2016-04-23 09:50:49 +02:00
csoler
aba3d2fb35 removed memory leak due to zeroing (on purpose!) a data chunk in GRouter before deleting it 2016-04-20 18:24:02 -04:00
csoler
f26348b710 fixed bug in grouter which caused sending of messages to some offline peers, hence wasting some routes, and causing " p3ServiceServer::sendItem() Fails Filtering for packet id=2001810" messages. 2016-04-05 18:09:02 -04:00
csoler
18dd7ee7bd moved "too many routing clues" message to debug output, since it can be caused by normal lobby operation 2016-04-03 11:42:45 -04:00
csoler
6c8737c84a merged with upstream/master 2016-03-25 21:09:37 -04:00
csoler
981f81deae added anon ids to offline vetting 2016-03-23 20:54:45 -04:00
csoler
692b549f08 fixing compilation problem 2016-03-11 17:27:40 -05:00
csoler
232dba28ea allow non signature checking for GR message recepts at intermediate peers when key is missing. Should fix return receipt being lost in the way keeping messages in outbox 2016-03-11 17:21:27 -05:00
csoler
3446e20506 removed debug output from p3grouter.cc 2016-02-21 11:47:44 -05:00
Cyril Soler
a41d9df4da fixed small bug in probability computation in grouter 2016-02-01 09:59:13 -05:00
csoler
6d1a3937d6 fixed but in re-sending of failed grouter items 2016-02-01 00:33:11 -05:00
csoler
aa194caea3 fixed bug preventing save of routage info in distant messaging 2016-01-31 20:27:53 -05:00
csoler
a85b5d2fab re-enabled GRouter tunnels (disabled for testing). Removed debug output. 2016-01-30 20:35:08 -05:00
csoler
f0a49a427e changed global router routing strategy. Should be more effective now. 2016-01-30 20:27:56 -05:00
Cyril Soler
086b076477 fixed a few serialisation issues 2016-01-13 12:22:55 -05:00
csoler
60408b3799 fixed a bug in GRouterGenericDataItem::duplicate() 2016-01-13 00:13:16 -05:00
csoler
d55993d1e4 removed two instances of malloc(0) captured by new rs_malloc funtion 2016-01-12 21:43:04 -05:00
csoler
d13526facd added a new method rs_malloc that checks its arguments and prints a stacktrace on error/weird call. Changed the code everywhere to use this instead of malloc. Removed some mallocs and replaced with RsTemporaryMemory 2016-01-12 21:10:11 -05:00
csoler
9c6e7dfc13 added checks after mallocs in several files 2016-01-11 23:49:00 -05:00
csoler
98f0c101b9 fixed potential integer overflow / Out of bounds read in GRouterItems.cc 2016-01-11 19:26:54 -05:00
csoler
9651f430d5 fixed wrong usage of local client ids in global router causing distant messages to stay in outbox forever. 2016-01-07 21:01:50 -05:00
csoler
8a41554754 fixed some leaking memory issues in loadList() methods, and also increased consistency by not returning non empty list with deleted items inside 2015-12-30 18:20:09 -05:00
csoler
140205108a added backend for distant message and distant chat filtering based on contact list 2015-12-25 22:37:06 -05:00
csoler
0957e7068a changed the method of computation for tunnel hashes in global router in order to avoid conflict with GxsTunnel service (breaks compatibility of distant message sending) 2015-12-07 22:39:45 -05:00
Cyril Soler
e2542a6c50 added missing check after deserialisation of grouter item which caused a crash when receiving a malformed message data 2015-12-07 10:02:04 -05:00
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