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
865a45f294
Fixed possible crash in ftServer::receiveTurtleData by checking return value of dynamic_cast.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 01:16:16 +00:00
thunder2
3abec3363d
Fixed possible crash in ftServer::handleIncoming by checking return value of dynamic_cast.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8594 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 01:08:33 +00:00
thunder2
014e78dd8c
Fixed possible crash in ServiceControlSerialiser by checking return value of dynamic_cast.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8593 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 01:02:43 +00:00
thunder2
63d85f8077
Fixed possible crash in RsFileTransferSerialiser by checking return value of dynamic_cast.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 00:58:05 +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
thunder2
eca970bb0c
Added check of function parameter to DistantChatService::handleRecvDHPublicKey.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 00:45:48 +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
csoler
46a4273668
added back functionality to choose DL directory for each channel
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-07 00:52:52 +00:00
electron128
d870b13a49
fixed potential integer problems in de-serialization of different TLV items (patch from Henry)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-01 12:17:03 +00:00
csoler
636635a8b8
disable update of group messages for IdService since it is unused and takes some bandwidth
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8572 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-30 08:12:51 +00:00
csoler
8e0b6b95c5
fixed potential integer problem in image de-serialization (reported by HM)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8568 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-29 12:00:40 +00:00
thunder2
c97dae0652
Removed potentially unintentional integer overflow in NxsBandwidthRecorder::recordEvent.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-28 12:13:56 +00:00
thunder2
a0af7def27
Added initialize of RsGxsChannelPost members.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-28 11:08:26 +00:00
thunder2
3a71b8b662
Added stylesheet to plugins.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-28 10:11:47 +00:00
electron128
0e1b3eac2e
make identity name size limit in id service consistent with the limit in the GUI (patch from Henry)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8550 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-24 09:53:40 +00:00
csoler
d81a1c3900
removed useless debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-23 19:36:47 +00:00
csoler
e1dcdd78b6
auto-cleaning of strings for types that cannot contain chars < 0x20 by design
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8547 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-23 19:25:13 +00:00
csoler
f7e147c35d
fixed debug output for IP ranges
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-23 19:23:53 +00:00
csoler
0b66b36a46
fixed memory leak in GxsSecurity
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-22 21:35:39 +00:00
electron128
7884925217
let interface classes initialise their integers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8533 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-19 12:47:38 +00:00
electron128
ef5e218859
initialise BanListPeer::addr
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-19 12:08:34 +00:00
electron128
728d5d6704
let turtle reputation classes initialise their integers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-19 12:04:48 +00:00
electron128
dc65d365d8
let turtle items initialise their integers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-19 11:55:01 +00:00
thunder2
4d364042ad
Added destructor to p3LinkMgrIMPL.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 17:05:02 +00:00
electron128
3bc17bf3c2
added missing initialisation in p3GxsChannels
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 15:20:51 +00:00
electron128
b9255ad594
added missing initialisation in p3GxsCircles
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 15:17:37 +00:00
electron128
c6c3b45a3e
added missing initialisation in p3GxsForums
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 15:09:56 +00:00
electron128
32b07ecaf8
removed useless ifs in rsaccounts.cc
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 14:32:33 +00:00
electron128
13355a7efe
changed Radix64::decode to return result as std::vector
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8520 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 13:45:08 +00:00
thunder2
71cae5921c
Fixed using uninitialized variable in p3HistoryMgr::setSaveCount.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8517 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 10:39:49 +00:00
thunder2
73778c92d8
Fixed using uninitialized variable in p3HistoryMgr::setEnable.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-18 10:36:52 +00:00
electron128
962db670f1
fixed potential mismatch free/delete[] in distant chat
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 10:15:25 +00:00
electron128
7f7ede0e2a
added missing initialization for RsGXsIdGroup::mLastUsageTS
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 09:49:27 +00:00
electron128
cc0f1be95d
added check for return value of fseek in ftFileProvider
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 09:36:20 +00:00
electron128
15bb95a398
fixed potential memory leak in pgphandler
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 09:25:55 +00:00
electron128
72033c0efa
fixed memory leak in FileIndexStore
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8508 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 09:21:27 +00:00
electron128
e5425f31dc
removed unused branch and dummy function in pqihandler
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 09:07:45 +00:00
electron128
edf6b3e495
removed pqisecurity dummy functions. It is a packet filter which was never implemented. It's job is now done by service permissions.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-17 08:49:43 +00:00
csoler
ab95a6c865
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8503 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:17:52 +00:00
csoler
34570daba1
fixed compilation for versions not using sqlcipher
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:17:25 +00:00
csoler
49534d9efd
commented out some debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:11:07 +00:00
csoler
be774c866a
removed debug info in p3postbase
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8500 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:03:40 +00:00
csoler
bb38ffbf14
fixed uninitialised memory read in RsGxsNetUtils
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8499 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 18:54:25 +00:00
csoler
fb2be005ab
fixed Chat Lobby gui complaining about wrong string passed to RsGxsId constructor
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 18:53:35 +00:00
csoler
461a1c3e8d
added more debug info in pqissl when connection is attempted from banned address
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 18:52:44 +00:00
electron128
8aa6be3517
added missing delete in p3GeneralConfig
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 14:51:20 +00:00
thunder2
5f4e465a09
Added proper shutdown of the plugins with remove of the service and dlcose of the plugin handle.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 14:20:59 +00:00
electron128
bfab3622ec
fixed unlikely but possible invalid read in formatting of bandwidth numbers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 14:18:09 +00:00
electron128
26b28a88f9
added missing socket close in pqissllistenbase destructor
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8489 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 13:41:42 +00:00
electron128
e3fdec4fba
added missing free and fclose in FileIndex
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8487 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 13:30:25 +00:00
electron128
8fc3917c4b
webui:
...
- added profile import/creation
- fixed leaking file descriptors
- added upload handler for small files
- fixed terminal thread
- removed some unused parameter warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8485 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 12:35:07 +00:00
thunder2
0ac3be47a1
Removed unload of the plugins, because it causes a crash.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 23:16:39 +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
thunder2
fb8ec988b2
Changed parameter isFirstTimeRun of RsAccountsDetail::getAccountOptions to output parameter.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8479 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 22:16:06 +00:00
thunder2
8cbbf61755
Added missing breaks to p3GxsChannels::notifyChanges.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8477 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 21:44:22 +00:00
thunder2
b6e0f7c5a4
Fixed possible fread from a null pointer in HashCache.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8476 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 21:40:34 +00:00
thunder2
25acecdf93
Added missing breaks to p3GxsForums::notifyChanges.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8475 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 21:07:45 +00:00
thunder2
04297142ce
Added missing break in p3GxsChannels::handle_event.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8474 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 20:41:27 +00:00
csoler
88c0883146
fixed default value of banning IPs reported by friends to false.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8472 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 20:05:41 +00:00
thunder2
e30e0e1f8b
Fixed unitialized member on ftFileControl.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8471 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 18:35:09 +00:00
thunder2
fa4ce9a913
Removed unused members mStart and mEnd from ftFileCreator.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 18:30:02 +00:00
thunder2
002b6559be
Fixed previous commit.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8468 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 17:52:15 +00:00
thunder2
6e61a3321a
Fixed possible null pointer access in p3BitDht::addInternalPeer_locked.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8467 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 17:51:07 +00:00
thunder2
9947a21c73
Added missing dlcolse to RsPluginManager::loadPlugin.
...
Added proper handling of the handle of the loaded plugin.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8465 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 15:15:18 +00:00
thunder2
6a778ab904
Added check for trailing '/' of base directory in RsAccountsDetail::setupBaseDirectory.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 12:46:04 +00:00
electron128
dd25e5dc31
avoid unwanted wait in in p3IdService (thx to jolavillette for finding this)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8463 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 12:34:48 +00:00
thunder2
a4e72da526
Fixed commit 8448. Initialized the the member aes_key of DistantChatPeerInfo with memset.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 09:04:26 +00:00
thunder2
4f4b0f319d
Added missing unix_close to ExtAddrFinder getPage.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8461 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 00:05:04 +00:00
thunder2
d5b2f7dd02
Fixed memory leak in RsGenExchange::publishGrps.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8458 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 23:14:13 +00:00
thunder2
8cc2c921ed
Fixed memory leak in RsGenExchange::publishMsgs.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 23:04:54 +00:00
thunder2
5af0716a16
Fixed memory leak in DistantChatService::locked_sendDHPublicKey.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8456 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 22:34:03 +00:00
thunder2
dc62965760
Added missing fclose to RsAccountsDetail::loadPreferredAccount.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 22:23:26 +00:00
thunder2
b61355e894
Fixed memory leak in RsRecogn::createTagRequest
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8453 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 21:30:23 +00:00
thunder2
c187c03758
Fixed memory leak in DistributedChatService::invitePeerToLobby when lobby not found.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8452 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 21:24:17 +00:00
thunder2
e8b5ab9fae
Fixed memory leak in LookupDNSAddr.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 21:19:08 +00:00
thunder2
87758c4043
Fixed momory leak in RsDirUtil::getFileHash when the file doesn't exist.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8450 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 21:09:23 +00:00
thunder2
7563cb02d0
Fixed memory leak when RsServicePermissionItem::deserialise failed.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 20:42:25 +00:00
thunder2
725d44985b
Fixed uninitialised member in DistantChatPeerInfo and DistantChatDHInfo
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 20:13:12 +00:00
thunder2
0ca37f6756
Added version information of the libraries to HelpDialog.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8446 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 17:45:26 +00:00
csoler
b0f7b70ea2
fixed another uninitialised memory read in bitdht
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8445 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 15:46:00 +00:00
csoler
74d689184a
removed 2 unused members from FileDetails in ftextralist
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8443 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 15:27:03 +00:00
csoler
3eb673dc53
fixed 2 uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8441 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 15:15:41 +00:00
csoler
3f9180b999
fixed use of wrong variable in GxsGenExchange
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8440 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 15:08:04 +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
ca07e1415d
fixed invalid use of wrong iterator in GXS reputation system
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8434 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 10:10:30 +00:00
csoler
31492c2f3a
fixed wrong use of flags in pqibin (wtf??)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8431 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 09:49:21 +00:00
csoler
d38068c4bc
remove potential use of deleted item in rsRecogn
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 09:28:53 +00:00
csoler
c077091693
fixed potential passing of deleted item to sendChatItem when a ChatLobbyItem is too big (would probably cause a crash. Found using coverity)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 09:08:09 +00:00
csoler
1d165bb43d
fixed call to strncpy in network interface determination code which leaves unterminated string if strlen(ifptr->if_name)==16
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8427 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 08:51:55 +00:00
electron128
f5843faef0
added missing size check in RsGxsRecognSerialiser
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-13 08:03:58 +00:00
thunder2
ad4f57d756
Added own flag and new checkbox in settings for security ip feed items.
...
Changed NewsFeed::addUnique for SecurityIpItem to compare the ip addresses.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-13 01:28:01 +00:00
csoler
f360e9d0ba
fixed password handling in deferred signature algorithm (in case of cancel, enter wrong passphrase, etc)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-12 21:04:11 +00:00
csoler
70d35496ef
added check for whitelist before sending a Security item for IP changed.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-11 21:12:20 +00:00
csoler
74c01423f0
improved login system: do not re-ask for passphrase when user clicks cancel. Removed warning stating that maybe passphrase is wrong
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-11 20:31:52 +00:00
csoler
258c4e4afd
improved/removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8413 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-11 18:47:52 +00:00
csoler
4a6b5dce8f
removed/improved debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-10 19:56:27 +00:00
csoler
91bf1d6cb2
improved voting for extr address, and make sure DHTStunner does not return a banned IP
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-10 19:15:07 +00:00
csoler
dbf672e43b
added load/save for IP ranges limit parameter in banlists
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8387 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 16:21:31 +00:00
csoler
377eb50c6e
fixed bug in previous commit for chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8386 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 14:01:08 +00:00
csoler
ea7a5a5929
fixed bug causing false alarms of wrong reported IP from friends.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8385 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 13:50:11 +00:00
csoler
662fccd3a4
changed default setting to not require whitelist clearance for connection
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8384 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 13:21:59 +00:00
csoler
c4c9d1ddc3
removed debug output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8383 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 13:12:41 +00:00
csoler
20c3777d78
only send name changing events in lobby when the two nicknames are PGP-signed
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8380 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-06 11:44:23 +00:00
csoler
6c7d86d659
improved GUI layout. changed filtering strategy: now all is collected but only a subset is banned, according to user input. Default is to only ban IP ranges auto-generated and home-made ranges.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8375 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 20:26:57 +00:00
csoler
90b4c989c7
added auto-accept of loopback address
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 18:06:30 +00:00
electron128
87047ce1dc
set RS_REVISION_NUMBER to 1 to avoid plugin loading failure if no version is set
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8369 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:51:55 +00:00
electron128
eb7a52a2a7
fixed bug reporting wrong IP for connection (patch from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8367 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:25:19 +00:00
electron128
8d0842013b
removed debug output in p3BanList (patch from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8366 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:16:42 +00:00
electron128
e37e3876a4
added virtual destructor to RsNetworkExchangeService (patch from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:06:08 +00:00
thunder2
70d37d0306
Added check of account directory (check for missing subdirectories) in RsInit::InitRetroShare
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 23:03:03 +00:00
csoler
00921b969e
make sure that own IP reported by friend is a valid external IP. When connected on LAN, that is not the case.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8361 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 21:02:59 +00:00
csoler
ad13962e1f
added additional filter for incoming IP lists to remove banned IPs. Removed some debug info but left the testing info when checking IPs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8360 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 20:28:16 +00:00
csoler
908d308fc6
fixed a few bugs causing failure to search in whitelist/blacklist
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 19:26:41 +00:00
thunder2
fb28284be3
Added a notify in SecurityIpItem when the ip address was added to the whitelist.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8355 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 15:14:26 +00:00
thunder2
7bb30921a1
Added missing mutex in p3BanList::removeIpRange
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8352 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 14:15:17 +00:00
thunder2
82d7ab6052
Used the service permission flag "Require white list clearance" in pqissl
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8351 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 14:01:46 +00:00
thunder2
22a7d2eeeb
Added new feed item when a wrong external ip address is reported.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8350 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 12:38:23 +00:00
thunder2
9bef4502b1
Added feed item to notify a blacklisted ip address.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-02 21:36:26 +00:00
csoler
777c915be2
load/save of banlist comments. Removed unused menu entries. Added auto-fill of input fields on sleection
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-02 13:02:20 +00:00
csoler
25c0dfe69e
added IP whitelist to connect friend wizard. Disabled page for Friend Request, since the job can be handled by the Conclusion page just as well. If possible the duplicated code should be removed. Missing: add IP to conclusion page when coming from security item
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-02 08:00:30 +00:00
csoler
a8bc2d8d64
remove malformed IPs from saveList.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8341 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 22:17:14 +00:00
csoler
96cccbbc75
added hability to disconnect friends which report our own IP as something different than what we know. Removed a test in discovery2 that prevented sending info to a peer about himself. Not active yet since it needs some testing
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8340 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 22:03:07 +00:00
csoler
ab62eaee32
added one flag for requiring whitelist clearance before connect. Added GUI checkboxes to set it. Still needs the IP in connect wizard.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8339 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 19:44:36 +00:00
defnax
a5a214e265
update build file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8336 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 14:45:20 +00:00
electron128
4643d0cbe7
don't overwrite own/friends IPs with discovery info (patch from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8331 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-01 08:02:27 +00:00
csoler
e65785e1bc
switch from rsDht to rsBanList to decide on adding friend IP
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8328 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 19:52:51 +00:00
electron128
db40002dda
fixed compile
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8327 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 18:18:02 +00:00
electron128
b2634280a5
added missing mutex in idservice
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 17:31:40 +00:00
csoler
4e9dab7e42
use banlist instead of DHT to setup self IP
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8325 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 15:52:11 +00:00
csoler
94649dfbfd
fixed uninitialised memoy read causing non saving of whitelist ranges
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8323 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 21:48:45 +00:00
csoler
9ef5557146
fixed uninitialised memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8322 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 21:18:10 +00:00
csoler
bb74d08f33
add/remove from lists. Load/save from user whitelist/blacklist
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8321 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 20:29:06 +00:00
csoler
b2967418ff
added load/save of banlists
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 19:34:30 +00:00
csoler
f699855b7d
added whitelist system and GUI for it. Not used in pqissl yet.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 13:57:10 +00:00
electron128
0a42b334ae
prevent crafted distant msgs with partial message flag set (Patch from Henry)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 11:35:30 +00:00
csoler
e80c366393
added flags for whitelist/blacklist checks in isAddressAccepted()
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8317 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 09:29:43 +00:00
csoler
20a2d42038
almost done with load/save of BanLists. Changed the item format to include masked_bytes, and changed subitem types. Also disabled code from rsgxsreputationitems.cc wich was a copy of the code from rsbanlistitems.cc
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8316 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 20:49:37 +00:00
csoler
4ebc87b9c2
added possibility to include manually some IP ranges
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8315 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 18:03:14 +00:00
csoler
b0acf6dd59
improved display of banlist
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8313 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 16:07:35 +00:00
electron128
5f8755522e
fix banlist (Patch from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 14:06:15 +00:00
csoler
562c7c2c20
working version of IP banning lists. Default settings should keep users safe from traffic re-routing based on DHT masquerading. Some GUI bugs remain.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-28 21:44:43 +00:00
electron128
8b8ffa8caa
added missing mutex in p3BanList
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8306 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-28 09:38:13 +00:00
csoler
38aefdf62f
first UI prototype for IP ban list system. Not yet usable.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 21:30:40 +00:00
electron128
9fc5f01d87
fixed uninitialised memory read in AuthGPG
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 12:06:12 +00:00
thunder2
59e4899f68
Fixed Windows compile
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 11:53:08 +00:00
electron128
6a5a952f04
listen on localhost if node is a hidden node (patch from Henry)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 09:58:04 +00:00
csoler
047977b645
Started implementation of ban list. For now, just gathers the list of banned IPs from
...
the DHT and is not used to reject IPs yet (the DHT list is, even if DHT is desactivated).
Next steps: GUI with switch controls, exchange of IP ban lists between friends, handling IP ranges.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-26 21:17:09 +00:00
electron128
cee1819b7d
added toasters for incoming audio/video call to voip plugin (patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-26 15:19:57 +00:00
csoler
482c488b46
refusing connections from banned peers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-25 16:51:15 +00:00