csoler
2bab688dec
fixed merge with upstream/master
2018-07-19 23:22:24 +02:00
csoler
6848a586f3
merged upstream/master
2018-07-08 21:17:48 +02:00
chelovechishko
b3dddeafdf
add missing namespaces
2018-07-06 23:55:12 +09:00
Gioacchino Mazzurco
1dd707710b
Merge branch 'master' into extra_locators_merge
2018-07-02 12:22:23 +02:00
csoler
b3277824eb
license fix in pqi
2018-05-28 22:03:39 +02:00
Gioacchino Mazzurco
1ad1fdc7be
p3NetMgrIMPL::checkNetAddress() notify if port change
...
Plus cleanups and proper sockaddr_storage copy
2018-05-22 19:17:37 +02:00
Phenom
f39fd069b5
Fix CppCheck duplInheritedMember warning in RsItem
...
/libretroshare/src/rsitems/rsitem.h:92: warning:
Cppcheck(duplInheritedMember): The class 'RsPeerNetItem' defines member
variable with name 'peerId' also defined in its parent struct 'RsItem'.
/libretroshare/src/rsitems/rsitem.h:92: warning:
Cppcheck(duplInheritedMember): The class 'RsHistoryMsgItem' defines
member variable with name 'peerId' also defined in its parent struct
'RsItem'.
/libretroshare/src/rsitems/rsitem.h:91: warning:
Cppcheck(duplInheritedMember): The class 'RsBanListConfigItem' defines
member variable with name 'type' also defined in its parent struct
'RsItem'.
/libretroshare/src/rsitems/rsitem.h:92: warning:
Cppcheck(duplInheritedMember): The class 'RsBanListConfigItem' defines
member variable with name 'peerId' also defined in its parent struct
'RsItem'.
2018-05-07 17:29:11 +02:00
Pooh
c0834cf232
Merge branch 'master' into logshutup1
2018-04-01 17:40:44 +03:00
RetroPooh
0a943ea9ee
log shut up
2018-04-01 17:30:36 +03:00
Gioacchino Mazzurco
234daffec7
Merge branch 'IPv6-v3' into extra_locators
2018-03-03 01:43:00 +01:00
Gioacchino Mazzurco
52ef72d761
Fix p3PeerMgrIMPL::UpdateOwnAddress local address
...
Due to a regression introduced in
dedfcb2b603da0f03547b7bb0c63164f10558f76 the local address was not
updated correctly causing part of RS networking being stuck and printing
lot of invalid sockaddr_storage messages, this commit fix the regression
2018-03-03 01:39:50 +01:00
Gioacchino Mazzurco
bed856425f
Share additional addresses via RsCertificate
2018-03-03 00:08:56 +01:00
Gioacchino Mazzurco
dedfcb2b60
More ipv6 to ipv4 conversion around
...
More safe sockaddr_storage copy
2018-03-01 10:12:15 +01:00
Gioacchino Mazzurco
f4a6090150
More ipv6_to_ipv4 conversions
2018-02-26 16:28:36 +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
csoler
e28886fe79
updated to upstream/master
2018-01-05 21:59:22 +01:00
csoler
ab60f49820
prevent sending/receiving of IP addresses to/at hidden nodes
2018-01-03 18:37:43 +01:00
csoler
fcc3995d87
removed BanList service from Retro-Tor version
2018-01-01 15:49:49 +01:00
Phenom
8884a324bb
Fix Uninitilized Peer Max Rates.
...
When called by /libretroshare/src/pqi/pqihandler.cc:140
2017-09-12 17:18:41 +02:00
csoler
a382a0f5ce
fixed memory leak in p3peermgr config load
2017-07-25 21:52:09 +02:00
Phenom
3a6bcf5ef8
Add flag for ChatServer
...
append the following assignation to qmake command line "CONFIG
+=rs_chatserver"
2017-07-18 16:34:56 +02:00
Phenom
5a64996304
Fix clang warning: unused variables 'RS_NET_NEEDS_RESET', ...
...
/libretroshare/src/pqi/p3peermgr.cc:53: warning: unused variable
'RS_NET_NEEDS_RESET' [-Wunused-const-variable]
const uint32_t RS_NET_NEEDS_RESET = 0x0000;
/libretroshare/src/pqi/p3peermgr.cc:54: warning: unused variable
'RS_NET_UNKNOWN' [-Wunused-const-variable]
const uint32_t RS_NET_UNKNOWN = 0x0001;
/libretroshare/src/pqi/p3peermgr.cc:55: warning: unused variable
'RS_NET_UPNP_INIT' [-Wunused-const-variable]
const uint32_t RS_NET_UPNP_INIT = 0x0002;
/libretroshare/src/pqi/p3peermgr.cc:56: warning: unused variable
'RS_NET_UPNP_SETUP' [-Wunused-const-variable]
const uint32_t RS_NET_UPNP_SETUP = 0x0003;
/libretroshare/src/pqi/p3peermgr.cc:57: warning: unused variable
'RS_NET_EXT_SETUP' [-Wunused-const-variable]
const uint32_t RS_NET_EXT_SETUP = 0x0004;
/libretroshare/src/pqi/p3peermgr.cc:58: warning: unused variable
'RS_NET_DONE' [-Wunused-const-variable]
const uint32_t RS_NET_DONE = 0x0005;
/libretroshare/src/pqi/p3peermgr.cc:59: warning: unused variable
'RS_NET_LOOPBACK' [-Wunused-const-variable]
const uint32_t RS_NET_LOOPBACK = 0x0006;
/libretroshare/src/pqi/p3peermgr.cc:60: warning: unused variable
'RS_NET_DOWN' [-Wunused-const-variable]
const uint32_t RS_NET_DOWN = 0x0007;
/libretroshare/src/pqi/p3peermgr.cc:62: warning: unused variable
'MIN_TIME_BETWEEN_NET_RESET' [-Wunused-const-variable]
const uint32_t MIN_TIME_BETWEEN_NET_RESET = 5;
/libretroshare/src/pqi/p3peermgr.cc:64: warning: unused variable
'PEER_IP_CONNECT_STATE_MAX_LIST_SIZE' [-Wunused-const-variable]
const uint32_t PEER_IP_CONNECT_STATE_MAX_LIST_SIZE = 4;
2017-07-16 21:31:41 +02:00
Phenom
e12f51b1be
Fix warning: variable ‘peerIt1’ set but not used
...
/libretroshare/src/pqi/p3peermgr.cc:2619: warning: variable ‘peerIt1’
set but not used [-Wunused-but-set-variable]
std::set<RsPgpId>::iterator peerIt1 =
groupItem.peerIds.find(*peerIt);
2017-07-16 20:28:24 +02:00
BabushkaRetroShare
7fb0419c75
Typo fixes
2017-06-04 20:34:10 +02:00
csoler
4bee52c406
removed old unused serialization code
2017-05-02 22:34:45 +02:00
csoler
0d7df568b4
moved rsconfigitems and rshistoryitems to rsitems/
2017-04-24 22:47:08 +02:00
csoler
fcabe6359f
switch RsConfigItems to new serialization
2017-04-24 18:51:51 +02:00
cyril soler
fd84639a45
removed some debug info
2017-03-10 15:05:41 +01:00
csoler
ee9fbefd76
added signal blockign trick for widgets, and fixed the bug causing wrong values to be displayed in server settings
2017-02-27 22:29:01 +01:00
Phenom
674b6de381
Fix Some gcc warnings 383 to 208 lines
...
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
csoler
b08a62afc9
restored delay between location cleaning to 5 mins
2016-10-04 21:25:56 +02:00
csoler
133676fdee
simplified the code to remove old locations and fixed bug that in some situation would let a PGP key with no locations
2016-10-04 21:25:56 +02:00
dimqua
613ce25209
Change I2P proxy default port to 4447
2016-08-19 09:47:52 +04:00
csoler
a69629cf73
added missing own id from group list, and removed possible duplicates in random group ids
2016-07-06 22:16:05 -04:00
csoler
269f9457be
fixed load/save of new group ids and backward compatibility with FriendList
2016-07-06 22:02:56 -04:00
csoler
01c0d2f0f1
finished conversion to RsNodeGroupId for file transfer and GUI
2016-07-05 23:49:43 -04:00
csoler
4ee9effc4e
changed internal storage of groups of friend nodes so as to use an abstract ID instead of a string (phase 1 of local circles)
2016-07-04 23:55:48 -04:00
sehraf
09afbbed5d
switched to new rslog method
2016-06-18 13:00:15 +02:00
csoler
83a143476e
fixed bug in setting MaxRate values
2016-06-09 23:23:51 -04:00
csoler
f5ad8b49be
moved node-wide options to node details
2016-06-09 23:13:07 -04:00
csoler
a4931edee0
fixed setting/getting maxrates using pgp id
2016-06-09 20:51:09 -04:00
csoler
a07805be1d
moved bandwidth limits to the pgp level
2016-06-09 20:41:27 -04:00
csoler
6b78275677
fixed bug in loading config file to set max rates
2016-06-08 22:54:40 -04:00
csoler
5a0fa66ac0
added proper talking between pqihandler and GUI for maxrates fixing
2016-06-08 22:44:28 -04:00
csoler
20b6745f70
added GUI and storage for max up/dn rates per peer
2016-06-07 21:48:22 -04:00
Phenom
c6f1cc4e63
Clear WebAPI when clear chat history in GUI.
...
Move notifyChatCleared call to p3ChatService
To maintain notify direction.
2016-03-31 22:52:53 +02:00
sehraf
dbdfdcd008
removed unused map lookups
2016-02-22 21:09:10 +01:00
sehraf
77166cbf13
impoved cleanup of unused locations
2016-02-22 16:41:31 +01:00
sehraf
4140969fcb
added seperated limit for discovery (30 days)
2016-02-19 16:35:11 +01:00
sehraf
841299d077
discovery: don't remove new added locations too soon
...
was: removed after 10 min. or less - when no connection is established
now: removed after 1 day - when no connection is established
2016-02-16 20:33:38 +01:00