Commit Graph

2385 Commits

Author SHA1 Message Date
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