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
csoler
975e0d01fb
fixed mistake in commit 6487
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6489 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 21:25:07 +00:00
csoler
0c2939734c
added limits for field sizes in key generation method. Removed some compilation warnings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6487 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 19:59:42 +00:00
thunder2
4ce08bee38
Renamed the lib of sqlcipher to libsqlcipher.a for Windows too.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 00:58:17 +00:00
thunder2
af5c31a4f5
Use the best network interface to route an ip instead of the first interface in getLocalInterfaces on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6469 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-01 15:12:06 +00:00
csoler
7414659bd9
Patch (modified) from Phenom to allow auto-subscribe to chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-29 16:15:33 +00:00
csoler
9f88917ac1
added display of SSL encryption parameters in PeerDetails dialog
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6465 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-28 21:47:25 +00:00
csoler
3560729ba7
fixed define for encrypted database
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-25 19:31:59 +00:00
csoler
4868a90d81
patch from Henry morgan to fix soem typos (e.g misspelled connexion into connection)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-24 21:23:50 +00:00
csoler
748f7db7a4
Made pqiStore accept packets even after deserialization error, so that it is retrocompatible (Patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-23 21:53:14 +00:00