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
csoler
79882695b7
fixed bug that prevented banned/old IP cleaning. Now it works fine.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-25 16:30:04 +00:00
csoler
f835823de3
moved the stop order up to RsThread to ease the test for stopping order in single job threads
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-25 15:11:42 +00:00
csoler
5b2ba1e81c
- added more debug info to p3LinkMgr
...
- added check for banned IP from DHT at connection time
- added regular removal of banned IPs from friend IP lists
- increased time of banned IP storage to 1 week (previously 6 hours)
- added save for banned IPs to keep them after restart (in bdfilter.cc) to file bdfilter.txt (can be manually updated)
- changed mFiltered into a std::map for increased search efficiency
- added secondary check of cert ID at connection time.-This line, and those below, will be ignored--
M libretroshare/src/pqi/p3netmgr.cc
M libretroshare/src/pqi/pqimonitor.h
M libretroshare/src/pqi/p3peermgr.cc
M libretroshare/src/pqi/p3linkmgr.h
M libretroshare/src/pqi/pqissllistener.cc
M libretroshare/src/pqi/p3peermgr.h
M libretroshare/src/pqi/p3linkmgr.cc
M libretroshare/src/pqi/pqiperson.cc
M libretroshare/src/pqi/pqissl.cc
M libretroshare/src/rsserver/rsinit.cc
M libretroshare/src/dht/p3bitdht_relay.cc
M libretroshare/src/dht/p3bitdht.cc
M libretroshare/src/dht/p3bitdht.h
M libretroshare/src/retroshare/rsdht.h
M libbitdht/src/udp/udpbitdht.h
M libbitdht/src/udp/udpbitdht.cc
M libbitdht/src/bitdht/bdmanager.cc
M libbitdht/src/bitdht/bdmanager.h
M libbitdht/src/bitdht/bdnode.h
M libbitdht/src/bitdht/bdfilter.h
M libbitdht/src/bitdht/bdfilter.cc
M libbitdht/src/bitdht/bdnode.cc
M libbitdht/src/bitdht/bdstore.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-25 14:02:45 +00:00
csoler
e9b9dce9f5
created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 20:54:38 +00:00
csoler
f2d4a237ca
moved semaphore based thread logic up to RsThread. This should help terminating service threads properly and possibly remove the SIGSEGV when quitting
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8287 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 18:16:49 +00:00
thunder2
69c1df7e2d
- Removed randomly forced updating of GUI in RsGxsUpdateBroadcastBase
...
- Added group changed notify when visible count or suppliers count of a group has changed
- Fixed suppliers count
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:40:19 +00:00
csoler
1f759c4004
removed a few redundant return statements
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8276 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:29:50 +00:00
csoler
13ff39429e
* Renamed RS_TLVKEY_DISTRIB_PRIVATE into *_PUBLISH, as it is used as such.
...
* Allow to check signatures and validate groups using private keys in GxsSecurity
* removed inconsistency in key flags when full keys where mixed up with publish keys.
This should fix the following bugs:
* channel owners did not receive posts from other peers who have publish rights
* channels sometimes not gettign through
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:28:46 +00:00
electron128
48ad51d040
fixed start of RsThreads
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8271 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-18 08:51:23 +00:00
electron128
699dc50b3f
in ChatLobbyWidget: show dialog to create a new identity when there is no own identity
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-17 10:13:32 +00:00
csoler
789b76f7b4
added a button to clear the IP address list. Also started to add diagnostic for TOR status. This is unfinished so it does not work yet.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-17 10:00:00 +00:00
electron128
66242ce068
show if TCP connection is incoming or outgoing (modified patch from sehraf)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-16 11:19:53 +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
electron128
a3b32b92d5
fixed wrong names in comment and debug output (patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-11 18:26:59 +00:00
csoler
4624d53dd7
simple hack to have non active groups gradually loose popularity and number of posts.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-09 11:29:31 +00:00
electron128
a126461beb
use random port >=1024 (patch from sehraf)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8217 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-04 09:05:38 +00:00
electron128
451718660a
show gxs message store period in gui, set forums store period to one year
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-02 18:48:10 +00:00
electron128
e663fa608c
allow 30 unicode symbols for identity name, instead of 30 bytes
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-02 07:57:59 +00:00
csoler
0e1b161537
fixed compilation with debug flag enabled in chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8189 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-29 20:43:46 +00:00
csoler
90d6ac6697
fixed memory leak and potential crash due to not copying items passed to config saving in messages. Added save/load for map between GRouter and Msg ids which fixes the never removed outgoing messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8184 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-28 21:46:10 +00:00
electron128
279cd3592e
marked unimplemented methods in rsgxsnetservice.h
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8178 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-28 12:11:31 +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
csoler
ee2bb70b0e
fixed a few bugs in global router, eliminated duplicate messages, improved routing logic
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8173 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-26 19:10:46 +00:00
csoler
03afc77f65
fixed stupid bug causing random crash in grouter
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8171 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-25 18:22:07 +00:00
csoler
139d16a0e3
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8169 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-25 13:47:37 +00:00
electron128
127c104e5e
added web interface to retroshare-gui
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-24 14:31:13 +00:00
thunder2
1b0f59d746
Fixed connections and removed more unused code (Patch from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-24 09:29:40 +00:00
csoler
042b61ff9e
disabled some useless old branches in the flushing of incoming items due to calling pqihandler::tick() and pqipersongrp::tickServiceRecv()
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8163 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-23 21:37:16 +00:00
csoler
dcf41395fd
added more info about the ghost items that printout at start. Where do they come from??
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-23 19:31:41 +00:00
csoler
3e4d63f4ab
added early removal of event items that do not belong to a subscribed lobby (causing signature check error)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8161 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-23 19:09:47 +00:00
csoler
7b55fc90ff
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8159 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-23 18:49:13 +00:00
csoler
3641a6c87c
attempt at fixing crash that shoult not happen in rsgxsutil.cc
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-23 18:48:40 +00:00
csoler
77a33cd445
removed unnecessary debug output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8153 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 20:09:20 +00:00
csoler
36506ea1e8
added security 200 bytes limit on ID nicknames from getIdDetails
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8152 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 19:03:46 +00:00
csoler
9fa87de6e3
cleaned the code in grouter, removed warning
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8151 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 19:02:14 +00:00
csoler
a9ba944e27
improvements to global router: longer half-life for routing events, re-sending of un-delivered items, removed unused constants, added missing file to .pro
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8148 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-20 21:24:22 +00:00
csoler
8d7842739c
fixed uninitialised memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8146 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-19 20:03:46 +00:00
csoler
fce6b7edf3
changed default data rates (it is better to have some prople need to reduce it than everyone need to increase it). Added placeholder in gen cert dialog for TOR
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8145 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-19 18:35:36 +00:00
csoler
e232dcb0a3
globally prevent chunk corruption and sendign of enormous messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8142 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-19 15:04:24 +00:00
csoler
057b2afa4e
improvement of global router after first test phase. Fixed a number of bugs.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-18 19:59:27 +00:00
csoler
6b84be37de
async distant messaging should work, but needs soem more testing. Use with care
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-17 21:37:26 +00:00
csoler
c9d5c7b3cb
turned some std::list<PeerId> into std::set, as it automatically prevents duplicates
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-17 21:36:22 +00:00
csoler
f1309a8cbe
fixed detection of TOR connections on server side (patch from sehraf)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-16 16:24:36 +00:00
csoler
5785ddca84
fixed per-friend message passing and cleaning. Next steps: debug multi-step friend transmission
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-15 20:48:30 +00:00
csoler
68d25b324a
fixed id auto-cleaning
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-14 20:57:40 +00:00
csoler
b0b986efff
fixed deadlock in old identity cleaning. There is still a bug to catch so the cleaning code is currently disabled (but RS will print info about deletion)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-14 16:56:02 +00:00
csoler
6b841ba4e1
saving ongoing work on global router. Fixed friend-to-friend message passing.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8128 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-12 21:43:52 +00:00
csoler
2ecd582273
half-way through async messaging. Redesigned global router pipeline so as to merge traffic from turtle and friend/routing matrix. Only turtle traffic currently enabled. Should provide minimal functionality
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-09 21:34:50 +00:00
csoler
e75b28b733
early check of too long group names (currently disabled)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-09 19:55:56 +00:00
csoler
2f2d01dc41
set max GxsId nickname size to some arbitrary value to avoid crazy long nicknames crafted to break the GUI. This should also be checked when de-serialising groups at a wider scale for group names in general
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-09 19:53:01 +00:00
csoler
059a0b3bf7
prevent discovery and p3PeerMgr::loadList() from erasing service permission flags. Now the existing pgp-based values are kept.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 21:18:43 +00:00
csoler
a15b69f5e9
fix for linux compilation case where sqlcipher is present in a subdirectory of trunk (Patch from Heini)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 19:24:14 +00:00
csoler
a4f6500772
fix for revision number in ubuntu/debian (patch from heini, untested)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8118 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 15:37:54 +00:00
electron128
81bbb9933d
added missing part of 8114
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8117 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 10:21:05 +00:00
electron128
ee68d00376
pqistreamer: only allocate incoming buffer when needed, free incoming buffer when not needed anymore
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 09:58:53 +00:00
electron128
e9b722a732
removed old code in rsiface/p3face
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 09:54:10 +00:00
electron128
32d1bd7b04
detach pqistreamer threads to allow resource cleanup or re-use
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8113 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 09:52:38 +00:00
electron128
28030f9b08
added missing delete in gxsnetservice
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8112 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 09:48:38 +00:00
csoler
70918e9dcf
reduced size of output for buggy RsItems
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8111 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-03 21:57:24 +00:00
csoler
e0ddaf8212
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8110 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-02 19:24:54 +00:00
csoler
6594156442
fixed bug leaking file lists. Do not use previous commit: it will leak your file lists.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8106 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-01 21:08:30 +00:00
csoler
a32acc67bb
fixed bug causing re-hashing of all files in some situations, and possibly preventing file lists to transfer between friends.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8105 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-01 19:54:16 +00:00
csoler
69c44ef9ef
improved display of ciphers giving TLS version
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8104 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-01 18:29:59 +00:00
csoler
96d5eb485a
changed default cert name so that v0.6 and v0.5 do not use the same file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-30 20:34:36 +00:00
electron128
070630d297
added missing delete in p3discovery2::processContactInfo()
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-30 17:04:57 +00:00
csoler
d8b276b7e2
improved temporary memory class
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-28 18:07:01 +00:00
csoler
e58c9de067
fixed a few missing deletes when handling errors in grouter. Experimenting a new scope guard to hold temporary memory. (Patch from GuessWho, modified)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-28 17:23:52 +00:00
electron128
9fc94b87ae
fixed redefinition warning of MSG_WAITALL on windows/mingw491
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8086 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-27 18:48:02 +00:00
electron128
d65adeb2ea
disabled debug print of DHT requests, disabled debug print in p3Peers::getProxyServer(), added missing newlines in debug prints (modified patch from Hypfer)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-27 18:41:44 +00:00
csoler
9d2b6faf9c
fixed bug with default chat lobby identity causing settings to show an empty list. Also fixed up GxsIdChooser
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8081 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-26 21:20:57 +00:00
electron128
0017f246e8
added missing return statement in RsDirUtil::saveStringToFile() (thx to sehraf)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8078 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-26 07:21:07 +00:00
csoler
ae0603a687
added test to prevent using twice the same config file; changed duplicate config file name causing deserialisation errors and loss of some config files; added printout of hex code for RsItems that fail deserialisation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-25 22:21:01 +00:00
electron128
74dd9f7b7b
fix data directory on Linux, use new path /usr/share/RetroShare06
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8073 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-25 08:29:12 +00:00
electron128
7e03f3944b
don't store name, location name and date in new SSL certs. Location name is now stored in an extra file. Backwards compatible to old locations and old peers.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-25 08:19:45 +00:00
electron128
0cd3f3868e
added command line parameters for webui port and base directory.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8069 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-22 12:29:30 +00:00
drbob
7cece484c4
Modify Messages with additional namespace - to allow switching to new Mail.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-22 04:45:01 +00:00
electron128
6dff335515
use notify for gxs events. Removed the previous polling based system. Now multiple clients can receive gxs changes. This also fixes the always growing changes queue in rs-nogui.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-20 10:39:17 +00:00
csoler
1f4d827140
commented out unused (and buggy) function in authgpg
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8054 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-19 21:42:31 +00:00
csoler
90427eb08b
fixed self-signature checking for imported keys, previously causing imported certificates with signatures to be rejected
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8053 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-19 21:02:14 +00:00
electron128
2335290a56
added check for empty author id in gxs group creation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-19 08:43:40 +00:00
csoler
5fc269bcff
released timing constraint a little bit for distant chat (last setting would make it unstable)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8041 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-17 21:16:15 +00:00
csoler
c4b1b3dfbc
fixed serialisation bug likely causing the loss of peers.cfg (Thx G10H4ck for finding this)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8039 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-16 21:27:35 +00:00
csoler
29d3c8bcdd
made signature verification passe when no key is present in the cache for lobby events
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8038 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-16 20:38:59 +00:00
csoler
67c5ef9c8a
increased responsivness of distant chat by forcing tunnel re-digging when no activity is detected. WARNING: the new timestamps make the communication break will peers not up to date, since they will not send keep alive packets on the same delay basis.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-15 13:23:03 +00:00
csoler
553240cda9
slowed down config saving in p3idservice
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 21:46:30 +00:00
csoler
502b34dff4
removed dead code in chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 21:44:37 +00:00
csoler
9ed57f9daa
added missing stamping of key and missing include
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:59:14 +00:00
csoler
48ea291d95
moved signature validation and encryption one level up into p3IdService. Added timestamp for GXS identities and auto-removal after 7 days. Updated display in IdDialog
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8015 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:33:23 +00:00
thunder2
b26c55126c
Fixed missing notify of changed message ids to the gui.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8011 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-11 13:39:58 +00:00
csoler
78160d729f
removed some dead code in pqithreadstreamer after last commit
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-10 21:41:41 +00:00
csoler
b6ce3ab7b2
attempt to fix the deadlock situations in pqithreadstreamer. Also solves the crash when quitting
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-10 21:16:41 +00:00
thunder2
f6a1cbb3b2
Reduced locking time of mutex in RsGenExchange::processMsgMetaChanges and RsGenExchange::processGrpMetaChanges.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 23:12:57 +00:00
csoler
a1b36cd530
added method in ftServer to allow retrieving data from shared/downloaded files (patch from electron, modified)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 13:46:07 +00:00
csoler
2664cf2f9a
fixed possible crash due to not checkitn rsIdentity
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 11:51:44 +00:00
csoler
6aaf559b3a
fixed typo preventing compilation without RS_USE_BITDHT flag
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 10:14:55 +00:00
csoler
5e15fdf2d0
set some default value for _default_identity if no value comes from LoadList
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 10:07:09 +00:00
csoler
cdf7de317d
removed systematic printout of outgoing items which killed performance (patch from electron)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 08:48:00 +00:00
csoler
4017a91932
removed compatibility between invites for old/new lobbies, causing error in flags
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7990 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-07 08:41:32 +00:00
csoler
b738d9b6e9
fixed bug causing invitation to turn lobbies into private lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7989 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-07 08:30:55 +00:00
csoler
5028dbbfe6
added missing include for some systems
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7988 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-06 21:53:00 +00:00
csoler
f9c78ebd61
merged in new lobbies with GXS ids. Old peers and new peers cannot see each others lobby lists. Invitations still work and can be used to transfer a lobby ID between versions. Messages of old and new peers will not be visible to each other
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7986 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-06 21:13:23 +00:00
csoler
2044575067
attempt to fix never ending thread. To be tested.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-05 20:53:32 +00:00
csoler
10162590ae
fixed mistake in distant chat (== instead of =)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-04 21:37:20 +00:00
csoler
ab9cb2b600
removed mentions to encrypted messages. Replaced by distant, with the appropriate flags. Removed old msg encryption code
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7963 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-20 10:34:11 +00:00
csoler
b02fdce3ad
Allow TLSv1.2 while keeping compatibility with TLS1 and 1.1 (Patch from cave)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7958 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-19 20:07:40 +00:00
csoler
d2c4c3bb09
added new flag to allow peers auto-download recommended files from trusted neighbor nodes, which give the possibility to push data to other nodes
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-18 19:07:58 +00:00
drbob
7d9ff44fe2
Added extra check against invalid sockfds.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-17 12:08:40 +00:00
drbob
ab2f506117
Added extra checks for valid sockfd in cansend / moretoread code
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7950 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-17 11:57:08 +00:00
csoler
ee9144c79a
removed deprectated items in chat lobbies. Removed debug output in distant chat.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7944 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-14 21:10:05 +00:00
csoler
6e8e5efb90
fixed a few bugs in distant chat protocol (allow re-negociation of DH parameters if decryption fails, correct passing of own gxs id for server side), making the system more reactive. Also fixed the issue of avatar not showing up. Changed the tunnel naming system to something specific to distant chat. WARNING: this version cannot distant chat with previous versions.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7943 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-14 20:55:05 +00:00
csoler
6585cfca2c
fixed compilation on debian squeeze. Removed placeHolder properties in CreateGxsForumMsg.ui and GxsGroupDialog.ui which need to be set in the cpp. Added a new DEFINE=NO_SQLCIPHER to compile without sqlcipher when sqlcipher cannot be found (no sqlcipher is available on debian squeeze).
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7941 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-13 19:34:38 +00:00
csoler
0d308ffa2e
patch from sehraf to fix the ChatId::toStdString() method
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7940 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-13 19:09:03 +00:00
csoler
baccdd58df
committing missing part of rev. 7928
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7930 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-08 21:06:36 +00:00
thunder2
8351510841
Receiving a shared key:
...
- Added notify of the group id and the refresh of the gui
- Added system message (create of message disabled)
- Added possibility to show a news feed item
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7926 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-08 01:01:48 +00:00
thunder2
83f2ee4c95
Fixed possible crash in the handle methods of RsGxsNetService when the dynamic cast of a received item fails.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7922 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-07 10:09:48 +00:00
thunder2
a7e0fd8345
Fixed double feed publication
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-07 01:04:51 +00:00