Commit Graph

12584 Commits

Author SHA1 Message Date
csoler
05613a25bd
Merge pull request #1193 from csoler/v0.6-SecurityFixes
ignore unknown ptags in certificates instead of causing an error, for…
2018-02-24 21:58:58 +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
Phenom
51a43d00f7 Add a warning in ToolTip if Max files reach in flat view mode Dir Tree. 2018-02-24 18:16:17 +01:00
csoler
062e00d960
Merge pull request #1189 from csoler/v0.6-SecurityFixes
V0.6 security fixes
2018-02-24 18:05:26 +01:00
Gioacchino Mazzurco
4a138e07b9
Implement IPv6 listening
With this commit IPv6-v3 surpass v0.6-IPv6-2 in term of features
  obsoleting it.
p3BitDht handle gracefully unwanted non IPv4 addresses
rsUdpStack handle gracefully unwanted non IPv4 addresses
pqissludp handle gracefully unwanted non IPv4 addresses
Move single address limitation workaround from
  p3discovery2::sendOwnContactInfo to better
  place p3PeerMgrIMPL::UpdateOwnAddress this way local address list is
  queried less often and only id there is some suggestion that it may
  have changed (probably ir will not be called all the times there is a
  changes in local network interfaces but is good enough)
Implement crossplatform rs_setsockopt to avoid too much ifdef around
Implement sockaddr_storage_copy to safely copy sockaddr_storage objects
2018-02-24 17:14:49 +01:00
Gioacchino Mazzurco
b3c7d195c8
Port pqissl to dual stack IPv6+IPv4
Changed unix_connect signature to be more comfortable for dual stack
  usage
Remove dead code in pqissl::pqissl(...)
Adapt p3I2pBob::connectI2P() to new unix_connect
Adapt extaddrfinder to new unix_connect
Add sockaddr_storage_ipv4_to_ipv6 to convert from flat IPv4 to IPv4
  mapped as IPv6
2018-02-24 14:29:56 +01:00
Gioacchino Mazzurco
2170313e42
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-24 14:29:56 +01:00
csoler
13441ff483
removed debug info in rsgenexchange.cc 2018-02-23 15:13:13 +01:00
csoler
49b321d132
fixed the text in invitation system 2018-02-23 14:39:08 +01:00
csoler
d8e950c5e0
removed debug output from rsdataservice 2018-02-23 14:28:22 +01:00
csoler
5a4d0f57d1
made the invite system non automatic, because it was confusing and could generate unwanted emails 2018-02-23 14:26:23 +01:00
csoler
fa84d1c881
Merge pull request #1185 from G10h4ck/disablePluginByDefault
[0.6.4] Build plugin only if requested
2018-02-23 14:01:43 +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
csoler
385f44bf61
Merge pull request #1188 from PhenomRetroShare/Fix_SharedFileDialogShowColumn
Fix SharedFilesDialog show old hidden column.
2018-02-22 23:03:48 +01:00
Phenom
c141eae828 Fix SharedFilesDialog show old hidden column. 2018-02-22 18:54:14 +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
csoler
4dfeab2781
Merge pull request #1187 from csoler/master
merge of reviewed parts of PR1103
2018-02-20 23:30:52 +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
Phenom
737a2b440d
Fix Gcc Warning in nxstesthub.cc
/tests/unittests/libretroshare/gxs/nxs_test/nxstesthub.cc:109: warning:
deleting object of polymorphic class type ‘NotifyWithPeerId’ which has
non-virtual destructor might cause undefined behavior [-Wdelete-non-
virtual-dtor]
   delete *it ;
2018-02-20 23:27:59 +01:00
Phenom
cfcdec458a
Fix Gcc Warning in support.h
/tests/unittests/libretroshare/serialiser/support.h:168: warning:
suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
  if (outfi)
/tests/unittests/libretroshare/serialiser/support.h:234: warning:
suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
         if (outfi)
2018-02-20 23:27:28 +01:00
Phenom
aadb9acbab
Fix Gcc Warning in NetworkDialog.cpp
/retroshare-gui/src/gui/NetworkDialog.cpp:83: warning: unused parameter
‘parent’ [-Wunused-parameter]
 NetworkDialog::NetworkDialog(QWidget *parent)
/retroshare-gui/src/gui/NetworkDialog.cpp:161: warning: this ‘if’ clause
does not guard... [-Wmisleading-indentation]
     if(l.empty())
2018-02-20 23:16:58 +01:00
csoler
e3d8d86044
updated translation files 2018-02-20 23:03:33 +01:00
csoler
4d7997b2ce
Merge pull request #1186 from csoler/v0.6-FT
V0.6 ft
2018-02-20 21:08:09 +01:00
csoler
a1b378e6f4
fixed ghost rows in TransfersDialog 2018-02-20 21:07:02 +01:00
csoler
c897962678
merged 2018-02-20 20:26:33 +01:00
csoler
11d607e997
Merge pull request #1179 from PhenomRetroShare/Add_ChangeAddIconForChannelForum
Change Add Channel/Forum post by Add.png
2018-02-20 20:19:10 +01:00
csoler
35b54bbcb7
Merge pull request #1180 from PhenomRetroShare/Add_ClearGxsGroupFrameWhenNoSelection
Clear GxsGroupFrame When No Selection
2018-02-20 20:18:31 +01:00
csoler
fec2b2e4d0
Merge pull request #1182 from PhenomRetroShare/Add_SplitFileNbSize
Split Number of Files and Size in RemoteDirModel.
2018-02-20 19:20:02 +01:00
Gioacchino Mazzurco
b2217fc109
Build plugin only if requested 2018-02-20 15:56:16 +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
Phenom
798ad15c3b Split Number of Files and Size in RemoteDirModel. 2018-02-19 20:13:54 +01:00
G10h4ck
afc43d0ff7
Merge pull request #1181 from Kcchouette/patch-1
Update markdown to be visible on github
2018-02-19 15:33:28 +01:00
Kcchouette
8492a40a0d
Update markdown to be visible on github 2018-02-19 15:17:59 +01:00
Phenom
71e1a46fa6 Clear GxsGroupFrame When No Selection 2018-02-18 23:13:27 +01:00
Phenom
8710761ad4 Change Add Channel/Forum post by Add.png 2018-02-18 19:15:14 +01:00
csoler
51f5d1958e
merged uptream/master 2018-02-18 18:00:24 +01:00
csoler
2bc0629cc7
Merge pull request #1178 from PhenomRetroShare/Fix_BugsInRsCollectionDialog
Fix bugs in rs collection dialog
2018-02-18 17:59:00 +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
7cda064ef4
merged uptream/master 2018-02-18 17:56:51 +01:00
Phenom
931fdd026e Fix bug in processSettings in RsCollectionDialog.cpp 2018-02-18 17:31:06 +01:00
Phenom
d87061ddb3 Fix bug when adding new items when hashing in RsCollectionDialog 2018-02-18 17:31:06 +01:00
Phenom
6d0945fbab Fix bug when removing root item in RsCollectionDialog 2018-02-18 17:31:06 +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