Commit Graph

4820 Commits

Author SHA1 Message Date
csoler
3407604a54
added code to add/remove virtual peers in RsGxsNetTunnel 2018-03-21 22:09:40 +01:00
csoler
076309133b
basic structure of GxsNetTunnelService 2018-03-15 17:46:21 +01:00
csoler
04dc764339
merged upstream/master 2018-03-15 09:19:56 +01:00
csoler
026951ff2c
added consistency check in getGroupMeta so that ADMIN/PUBLISH flags always correspond to what the key set reflects 2018-03-01 11:45:54 +01:00
csoler
5d5894352d
forced notification of type RECEIVE when creating a new group so that the GxsIFaceHelper updates the group list 2018-02-28 23:18:50 +01:00
csoler
29ab0e9913
fixed bug that would erase private publish key when a group update is received 2018-02-28 22:40:04 +01:00
csoler
165b241341
made add of publish key a meta group change, to force reload the list of groups 2018-02-27 23:19:27 +01:00
csoler
3bc5b456a5
added a FeedItem to warn when publish permissions are received for a channel 2018-02-27 22:42:48 +01:00
csoler
aad9397ef8
fixed memory leak in p3GxsTunnel 2018-02-26 23:38:13 +01:00
csoler
dd9f67a28b
fixed version number problem 2018-02-25 17:53:42 +01:00
Gioacchino Mazzurco
9a446fc1ff
Fix compilation for Android 2018-02-25 11:28:26 +01:00
csoler
681f543184
Merge pull request #1183 from csoler/v0.6.4
switched version to 0.6.4
2018-02-24 22:04:26 +01:00
csoler
39e70ed8bf
ignore unknown ptags in certificates instead of causing an error, for future backward compatibility 2018-02-24 21:51:18 +01:00
csoler
13441ff483
removed debug info in rsgenexchange.cc 2018-02-23 15:13:13 +01:00
csoler
d8e950c5e0
removed debug output from rsdataservice 2018-02-23 14:28:22 +01:00
csoler
ff7633fefe
Merge pull request #1184 from G10h4ck/linkLocalFallback
[0.6.4] Use link local address only if necessary fix #292
2018-02-23 14:00:39 +01:00
Gioacchino Mazzurco
8d5cd8afef
Increase size of list of ip shared via discovery2 2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
9dd1aef2b7
Discovery do not distribute addresses to hidden nodes
As there is no consensus in takde advantage of hidden nodes for
  discovery do not spread ip address to them
2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
e7facc122b
Prevent discovery to share local addresses if hidden
Do not query/share local addresses if hidden node as it would leak
  information about the location of the node
2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
4fa6bdc789
Improve discovery
Workaround RS single local address flawed assumption by spreading
  all viables local addrresses via discovery
Spread addresses also through hidden node as they are the only hope
  to help direct connection happening for common trusted nodes
  behind nasty firewalls
2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
2044a2c848
Use retrocompatible iterators
Explain why shuffling the local addresses list before looking for
 a viable local is a bad idea.
2018-02-21 12:35:27 +01:00
Phenom
73d11e1857
Fix Gcc Warning in nxsmsgsync_test.cc
/trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:28:
warning: deleting object of abstract class type ‘RsGixsReputation’ which
has non-virtual destructor will cause undefined behavior [-Wdelete-non-
virtual-dtor]
  delete mRep ;
/trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:29:
warning: deleting object of abstract class type ‘RsGcxs’ which has non-
virtual destructor will cause undefined behavior [-Wdelete-non-virtual-
dtor]
  delete mCircles;
/trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:30:
warning: deleting object of abstract class type ‘PgpAuxUtils’ which has
non-virtual destructor will cause undefined behavior [-Wdelete-non-
virtual-dtor]
  delete mPgpUtils;
2018-02-20 23:28:48 +01:00
Gioacchino Mazzurco
0c99975800
Use link local address only if necessary
This should solve APIPA address being always selected as preferred local
address on Windows which was causing problems connecting to machines on
the same local network.
Now the link local address is used as fallback only if there is non link
local private address available.
2018-02-19 23:23:15 +01:00
csoler
566776366f
switched version to 0.6.4 2018-02-19 21:49:06 +01:00
csoler
2511934fb0
Merge pull request #1177 from csoler/v0.6-FT
added limiter in number of responses forwarded back by turtle search,…
2018-02-18 17:58:06 +01:00
csoler
7a844921ad
Merge pull request #1176 from csoler/v0.6-SecurityFixes
added load/save of known forums to avoid re-displaying it in the News…
2018-02-18 17:57:42 +01:00
csoler
6fe14136ae
added limiter in number of responses forwarded back by turtle search, which should avoid bursts of bandwidth for popular requests 2018-02-17 23:37:25 +01:00
csoler
8708dd9b94
fixed bug due to wrong service ID in serializer 2018-02-17 12:04:13 +01:00
csoler
d57f933109
added load/save of known channels to avoid re-displaying it in the NewsFeed after then have been deleted. 2018-02-16 23:51:43 +01:00
csoler
252626f5ec
added load/save of known forums to avoid re-displaying it in the NewsFeed after then have been deleted. 2018-02-16 23:24:01 +01:00
Phenom
83b6205af3 Fix New Chat Invite 2018-02-16 10:22:59 +01:00
csoler
0491e43118
Merge pull request #1169 from csoler/v0.6-FT
V0.6 ft
2018-02-11 21:28:43 +01:00
csoler
7a2d874863
Merge pull request #1153 from csoler/v0.6-TorOnly
V0.6 tor only
2018-02-11 20:49:45 +01:00
csoler
74a6076f18 added sources in new QModel. Unfinished yet. 2018-02-07 00:25:41 +01:00
csoler
3f8ff6489b first attempt at creating a display model for transfers. Not finished yet. 2018-02-04 22:56:13 +01:00
Gioacchino Mazzurco
00125864ff Add support for SQLCipher on Android
Plus some cleanup
2018-01-30 18:24:03 +01:00
Gioacchino Mazzurco
ebfe50f814 Make .pro files compiler agnostic on Android 2018-01-30 18:11:31 +01:00
Gioacchino Mazzurco
fa71ed25ba Install bdboot.txt in Android
DHT now works on android as bdboot.txt is bundled as android asset
Update Android documentation as DHT works on Android after this commit
2018-01-29 16:14:14 +01:00
csoler
8f7582588a fixed windows compilation 2018-01-27 20:59:11 +01:00
csoler
d0039241d3 replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows 2018-01-27 20:22:31 +01:00
csoler
725abad777 fixed a bug in filterItems that caused searched files to generate an error in the console 2018-01-23 22:18:02 +01:00
csoler
95e8fc4404 merged upstream/master 2018-01-16 23:03:26 +01:00
csoler
4c626e04a1
Merge pull request #1152 from csoler/v0.6-SecurityFixes
fixed possible crash due to accessing deleted memory in database cach…
2018-01-15 23:17:09 +01:00
csoler
841fee6799 fixed possible crash due to accessing deleted memory in database cache access 2018-01-15 23:13:42 +01:00
csoler
7cac367820 removed warnign about bad service string when the service string is actually empty 2018-01-14 22:39:50 +01:00
csoler
4eea5a8eca removed consts in GrpMetaCache pointers, and made it possible to always re=use cache entries, possibly updating them 2018-01-10 00:10:08 +01:00
csoler
506190a64b fixed bug causing failure of flag actions on groups 2018-01-09 22:11:11 +01:00
csoler
ed81b4cac6 removed delete causing read of deleted memory 2018-01-09 21:49:15 +01:00
csoler
89c538deb1 fixed double deletion problem causing crashes 2018-01-07 22:36:38 +01:00
csoler
b42b8e3a51 moved memory ownership of RsGxsGrpMetaData down into RsGxsDataAccess. Avoids many copy-constructors of RsTlvSecurityKey. Will probably spare a lot of CPU on windows 2018-01-07 21:41:41 +01:00