csoler
27041aa1a6
fixed bug in turtle router, causing potential memory access error in rare occasions (sendItem does not delete items fast enough, normally).
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 22:23:08 +00:00
thunder2
571099d56b
Optimized p3HistoryMgr::cleanOldMessages.
...
There is no need to check the messages when mMaxStorageDurationSeconds is set to 0.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6779 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 13:31:15 +00:00
csoler
4e259fecfd
allow max storage duration to be 0, in which case we keep all history
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 12:10:59 +00:00
thunder2
4dd77457ad
Added info widget for encrypted messages in MessageWidget.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6774 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-28 22:05:38 +00:00
csoler
e21d869006
- added history parameters for chat lobbies
...
- added max storage time for items in chat history. Avoids filling up the history with chat from volatile peers.
- worked out the layout in config->ChatPage in a more compact design and added help
- set the max size of chat messages to 6000 bytes instead of 2000 which was a bit too low
- default max number of lobby messages saved in each lobby is 20. Avoids flooding for peers who havn't configured it yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6770 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-27 21:18:44 +00:00
csoler
f25f46dffb
fixed missing update of transferred bytes count, that caused tunnels to not show a correct speed estimate on server side
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6768 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-26 18:38:35 +00:00
thunder2
a98f1d90b0
Fixed compile of gxs.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-26 10:09:40 +00:00
csoler
027b9ba017
removed warning that happens when lobby has no activity
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6764 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-25 18:34:50 +00:00
thunder2
6a9dfed408
Added new action "Load images always for this message" to image blocking.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 20:19:21 +00:00
drbob
43832a1f58
fixed typo in windows code.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 16:20:29 +00:00
drbob
ae2df43b8a
re-wrote cleanupDirectory() function. As this a cause of the slow startup.
...
Startup time is massively improved!
Please test on Windows!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6757 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 15:31:15 +00:00
csoler
cda8557b73
added entropy collection system based on mouse movement to location/identity creation, to make keys less predictable
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6753 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-23 20:55:34 +00:00
csoler
8ffc0e05de
added control for suspicious message activity in chat lobbies. Lobby items are not bounced if coming from a peer that sends more messages per seconds than a given limit. The limit is adaptive and depends on lobby count
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6751 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-19 22:10:24 +00:00
csoler
11435dfd61
added limit in number of chat lobby ids sent by a peer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6750 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-19 19:44:20 +00:00
csoler
37f00e90a0
added new filter to remove xml bombs. To be continued
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-18 19:32:04 +00:00
csoler
235a189774
tuned 2000 chars limit to only chat lobby traffic
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6746 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-17 05:57:02 +00:00
csoler
6052f2042f
tuned 2000 chars limit to only chat lobby traffic
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-17 05:55:43 +00:00
csoler
4ee7d8bb7e
drastic removal of <! from all wide string in all RsItems, from the de-serialisation code. Shoudl prevent lol bombs throughout the whole software. To be tested further
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-16 22:24:43 +00:00
csoler
cb4e28f5db
modified patch from AC to remove big messages from chat lobbies (likely to be a flooding attack). Displayed the name/location of the friend who relayed the message
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6742 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-16 22:00:26 +00:00
csoler
81a4523434
- Enabled multi-tunneling by consistently perturbating partial tunnel id in TRs.
...
This causes tunnels with a different route to have different ids and therefore
coexist as different sources for a given transfer.
This should cause file transfers to have more tunnels and therefore a better balance
of bandwidth over intermediate peers. This needs to be evaluated on a large scale network.
- Cleaned some unused code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-15 19:05:04 +00:00
csoler
d127d36131
added missing setPeerState that caused tunnels to get stuck to default minimum rate unless the list of connected peers change
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-15 18:27:52 +00:00
csoler
4b44304aec
Enabled PFS for SSH connections, based on a 4096 bits safe prime. This is retro-compatible, meaning that old peers will connect to the new one using PFS if they act as a client (meaning they request the connection)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-14 12:28:45 +00:00
thunder2
961f079882
Fixed version number (*.in)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6727 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-10 21:10:11 +00:00
csoler
9d8d773c3c
fixed proper display of crypto params for UDP connections
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-10 19:31:44 +00:00
drbob
98eff88d5b
corrected version number.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-09 04:59:22 +00:00
csoler
c7bfcbe8ad
fixed const in serializer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6716 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 12:02:15 +00:00
csoler
3a69ae2be8
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 11:42:13 +00:00
csoler
ead05b9d9e
fixed stupid mmistake causing large distant mesassages not to be split correctly
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6714 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 11:16:13 +00:00
csoler
8aa3ccad72
removed code inconsistency (did not cause any issue)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 14:12:11 +00:00
csoler
cd7e2df37e
switched Sha1CheckSum::toStdString() to simpler/faster code. checked with tests/util/sha1_test
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6707 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 13:48:55 +00:00
csoler
eeb2dcaaf2
drop corrupted config files instead of looping into them
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 12:49:36 +00:00
defnax
dffba4225c
update version string
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 12:16:41 +00:00
csoler
2cca7a3b02
updated version number to 0.5.5 prior to release
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6703 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 08:21:13 +00:00
csoler
eee6e0400c
added auto-creation of extensions directory when not present
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 22:04:47 +00:00
csoler
3d0d047d14
removed one unused member of PGPCertificateInfo
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 20:07:10 +00:00
csoler
887c9ed50e
fixed potential uninitialized memory read in PeerUploadInfo
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6697 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 19:06:56 +00:00
csoler
89f48fc1b6
fixed bug in pgp handler causing trust info to not being saved correctly
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 21:28:39 +00:00
csoler
ff0495c684
fixed uninitialized memory read when sendign a message to a lobby that was previously unsubscribed
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6695 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 20:55:59 +00:00
csoler
65e7ad0e5b
pqihash now uses Sha1CheckSum
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 19:28:10 +00:00
csoler
b76161dd5f
removed uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 18:45:40 +00:00
thunder2
5dee253030
Copy name of the location from the cert to RsPeerDetails in p3Peers::loadDetailsFromStringCert.
...
The name of the location was missing in ConnectFriendWizard, only the id was shown.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-01 12:11:21 +00:00
csoler
4c87eb0781
distant outgoing messages stay in outbox until actually sent
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 21:10:04 +00:00
csoler
19808587e9
fixed display of toaster for distant msgs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 13:12:26 +00:00
csoler
8d94ecf9ff
added proper own signature flag to signed sent message
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:54:47 +00:00
csoler
c3732f5212
fixed display of distination peers in Sent messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:49:04 +00:00
drbob
60087f0ef9
Added return value checking of mutex_lock() function.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 08:16:09 +00:00
csoler
51f0726dd3
remove (distracting) message about unknown lobby message that appears when not subscribed to a previousl subscribed lobby
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:09:48 +00:00
csoler
731e832734
added proper memory for sources of distant messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:06:23 +00:00
csoler
abd8c1e32f
improved name support for distant peers in messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 20:40:28 +00:00
csoler
6e8679ff90
automatically put paused files at end of queue (Patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 21:26:27 +00:00
chrisparker126
0ecbd0d22b
fix for gxs channels not getting synchronised (reputation was getting requested for empty author ids)
...
fix for external circle associated groups not synchronising message (circles being checked for peer who want to share out messages for circle associated group)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 19:27:04 +00:00
drbob
f184d75703
Added Hack to fix OSX Finder launch.
...
Changed argstream.h licence from GPL to LGPL with authors permission.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 02:11:52 +00:00
csoler
34b8bbb236
fixed bug allowing a peer to alter the flags of lobby items so that they can get displayed in the broadcast channel. Now the checkMessageSecurity() method also checks flags consistency (et toc!)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 18:36:46 +00:00
csoler
a98642dab5
avoid corrupting file cache on 64bits architectures that store time_t as 32 bits
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 17:44:38 +00:00
drbob
5dffde209a
Tweaked rscertificate to return empty sslid, if only_pgp is set.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 06:56:20 +00:00
csoler
1554e17f48
patch from Stefan Sperling to allow compilation on OpenBSD
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-25 21:06:29 +00:00
csoler
1273e8179f
bugfix by H.Morgan to allow big---split---messages to bounce correctly in lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-23 20:29:55 +00:00
csoler
c201c0470c
removed compiler warning
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6597 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-23 20:03:34 +00:00
drbob
f519ae1a0d
* Added libretroshare internal storage of "Denied Connections" in linkMgr.
...
* Added a couple of missing #defines.
* Tweaked dht connect state strings for easy parsing.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-22 07:26:13 +00:00
drbob
d0c3241be6
Fixed function prototype for removal of RsIface.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-22 00:00:33 +00:00
drbob
f93ed1fb6e
- Removed RsIface, and moved configuration options to RsServerConfig (rsconfig.h)
...
- Fixed cipher list to "HIGH:!DSS:!aNULL:!3DES", which should disable the weak ones, no idea how to force it to PFS (which it should use).
- fixed void * pointer maths.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-21 21:36:33 +00:00
csoler
14887d98e8
added a hard-limit of 32767 bytes to the size of avatar images, so that we avoid a crash when a peer anounces an avatar with an enormous size. This limit is above the largest possible image file of size 96x96
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 21:37:02 +00:00
csoler
7007a67374
fixed lobby auto-subscribe by asking for public lobbies at most every 121 seconds.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 21:13:44 +00:00
csoler
0a23f93877
enlabled distant messaging by default. Added lock protection in some places. Removed debug info in distant messaging.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 17:02:29 +00:00
csoler
57ed22910d
updated version numbers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6572 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 16:54:30 +00:00
thunder2
041bdaab50
Added send of updated discovery information.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6570 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 23:00:27 +00:00
csoler
aeb430cabb
moved security check of chat message after the possible multi-part reconstruction, to avoid that the attacker splits the faulting chain among multiple parts
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 20:12:04 +00:00
csoler
1994dfa31a
fixed looping in pqistore when a crazily long packet is found. That is the result of an unknown bug, but at least we should handle it correctly.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6568 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 18:59:35 +00:00
csoler
9cd2f19d6e
fixed passphrase question at start
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 14:15:50 +00:00
csoler
2afd22a2f0
remove bug due to parameter handling, that resulted in random port at start
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6564 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 14:10:45 +00:00
csoler
3865c14583
modified patch from AC to remove messages with security issues (e.g. Billion Laughs bomb). The message is replaced by a warning, and is not forwarded
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 09:55:19 +00:00
csoler
ff2f436d57
fixed supid mistake causing crash (on windows only) when sending a distant msg
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-07 19:35:27 +00:00
csoler
aba5033604
- added argstream to handle commandline arguments
...
- switched tests to use the common value of argstream in libretroshare, rather than the one in tests/common
- reworked command line arguments in rsinit and retroshare-nogui.
- improved passwd hash explanations
- improved command-line help.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-06 17:01:38 +00:00
thunder2
9ffb625f9a
Added missing IndicateConfigChanged to p3PeerMgrIMPL::setDynDNS
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6558 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-05 21:51:07 +00:00
csoler
e763f46aee
fixed saving of MsgItems for distant messages. Reworked RsMsgItem class hierarchy to remove explicit overloading by callign dynamic_cast
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6556 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 20:09:26 +00:00
csoler
7dbc17b2a4
Enabled distant messages. These need to be switched on the config->Messages. GUI improvements needs to be done, such as properly setting peers names everywhere, but the service works. Have fun using it!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 14:11:59 +00:00
csoler
c34ede4b1c
updated values for min/normal partial packet size to 1MB, so that we do not create partial packets for everyday use. We will have to properly extend openpgp-sdk to support parsing of partial packets if we want to PGP-encrypt chunks larger than 1MB.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 12:44:57 +00:00
csoler
ab68f1d123
added new test to challenge encryption/decryption with RSA of large memory blocks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6552 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-03 10:07:09 +00:00
csoler
dc7003bd92
Added signature verification in distant messages. Decrypted does not always work due to openpgp limitations.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-02 23:00:36 +00:00
csoler
3f86a707b7
Distant messages GUI code. Now the GUI can receive/send/decrypt distant messages. Since the protocols are not finalized, the GUI is disabled, to avoid later crashes
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-31 16:34:34 +00:00
csoler
a570f66e79
no need to drop an entire config file when a single item cannot be serialized.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-30 14:47:41 +00:00
csoler
379aece9b0
suppressed inconsistent warning message
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6547 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-29 12:42:45 +00:00
thunder2
e95725ea2c
- Fixed crash because of a memory overwrite
...
The static arrays in RsDiscSpace were to small for RS_PGP_DIRECTORY (0x0003)
Added new constant RS_DIRECTORY_COUNT
- Added missing fclose to PGPHandler::encryptTextToFile
Used ops_teardown_file_write instead of ops_writer_close and ops_create_info_delete
Windows cannot move a file when it is still open
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-26 23:12:09 +00:00
csoler
b84930b157
Added multiple security tests to pgp keyring against disk full and exceeded quota.
...
- copy files to tmp before appending new keys, then rename back to original.
- always check for disk full before syncing keyrings
- use tmp file to sync keyring
- new RsDirUtil::fileExists() method
- check system for disk space in pgp directory
- added RsPGPDirectory() method to RsInit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-25 20:05:31 +00:00
csoler
d6104c0aa7
fixed memory leak in distrib item read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 21:43:22 +00:00
csoler
fced5af60c
fixed memory leak in key signature verification
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 21:35:19 +00:00
thunder2
7330ab894c
Fixed memory leak in RsDataService::retrieveNxsGrps when no group is available.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 11:51:23 +00:00
thunder2
9d61832a86
Fixed some memory leaks and double frees in RsGxsNetService.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6536 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 22:04:24 +00:00
csoler
504ab562cc
doubled data chunk for signature in chat links. Apparently some keys need more than 287 bytes.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 20:57:05 +00:00
thunder2
6dc9dcd49d
Fixed some memory leaks in RsGxsNetService.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 12:17:50 +00:00
thunder2
c3303a1969
GXS:
...
- fixed some possible crashs with dynamic_cast
- fixed memory leak in p3GxsCircles::cache_load_for_token and p3Posted::background_loadMsgs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 01:31:36 +00:00
csoler
a42b3fdbd4
fixed memory leak
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 20:52:54 +00:00
csoler
b1bc66b319
added missing delete when RsDiscReply item is rejected because of service permissions, causing memory leak
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 19:20:12 +00:00
thunder2
f5218cdfc3
Fixed crash after last commit in p3idservice.cc.
...
Fixed memory leaks and possible crashs in ::getGroupData
- p3gxschannels
- p3gxscircles
- p3gxsforums
- p3idservice
- p3posted
- p3photoservice
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 01:50:13 +00:00
csoler
11cfb1dc5c
fixed memory leak in group item not being deleted after being received and treated
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-20 12:36:57 +00:00
csoler
2b9a211184
fixed memory leak in cert signature verification at connect (Patch from Phenom). Also removed some unused variables reported by gcc
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-18 22:10:30 +00:00
csoler
14890ef007
added ACK system to make sure the secured tunnels for distant chat are actually working, before one starts using it.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-14 13:59:38 +00:00
csoler
06b68e4e31
updated comment. no actual change.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 21:53:30 +00:00
csoler
4c53d8dc5b
removed MT19937 which is not used anymore. Changed N from 624 to 1024 to reduce cost
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 20:59:18 +00:00
csoler
6ee0aa9b3f
fixed bug in distant chat accepting tunnels for collecting invites with same hash
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-07 20:43:37 +00:00