csoler
a2e0f4196b
updated GUI for new distant chat
2015-11-26 20:40:06 -05:00
Cyril Soler
874f304cd2
Merge pull request #167 from G10h4ck/pqicleaning
...
Removed some cruft like mymethod(){return;} from pqi
2015-11-26 14:48:30 -05:00
electron128
413cee375c
set buffer size for reading config signatures to the size of the computed signature. This fixes the load of the configuration for locations created after 8e6c7cd
.
2015-11-06 19:50:59 +01:00
AsamK
0e2417dfd7
Hide debug messages from p3historymgr
2015-11-05 15:15:41 +01:00
Gio
8936dafe4d
Remove unnecessary overloading from pqissllistener
2015-10-30 20:12:46 +01:00
Gio
bb7cfc6387
Remove more cruft
2015-10-30 09:42:33 +01:00
Gio
30e40470e2
Removed some cruft like mymethod(){return;} from pqi
2015-10-30 09:23:59 +01:00
Gioacchino Mazzurco
71073c19b6
Respect passed parameters in unix_socket
2015-10-23 10:53:31 +02:00
csoler
1d1904cae1
added missing memory clean calls in X509 certificate generation
2015-10-20 21:03:08 -04:00
Cyril Soler
24a685f5a2
Merge pull request #148 from G10h4ck/unsanelan
...
Removed flawed logic samenet/samesubnet
2015-10-20 18:03:06 -04:00
Sergei Reznikov
34758be52a
Add Haiku support
2015-10-20 20:32:44 +03:00
Gio
16a5eed453
Removed flawed logic samenet/samesubnet you cannot determine if two ip are in the same subnet just from ips the internet is not just a bunch of /24
2015-10-17 10:27:49 +02:00
csoler
f1f722a767
added missing shutdown of non responsive socket that could leak FDs (suggested by GuessWho
2015-10-07 19:08:35 -04:00
csoler
39672b2df6
fixed typo causing non free of mutex_buf structure in pqissl.cc
2015-10-07 18:59:58 -04:00
Gio
e83ae76320
pqiconnect remove ni NULL pointer check as it would crash anyway for null pointer dereferencing before checking
2015-09-27 21:51:06 +02:00
Gio
28b9a443a2
Write in a sane way pqissl::connect_parameter
2015-09-27 21:51:06 +02:00
Gio
b16ecc89c8
Remove some garbage from pqissl
2015-09-27 15:38:31 +02:00
csoler
22d4893721
removed a few compilation warning that might cause compilation errors on some systems
2015-09-24 18:03:19 -04:00
Cyril Soler
0614a24bbb
Merge pull request #111 from csoler/v0.6-ImprovedExtIPDetermination
...
Improved reliability of the determination of external address
2015-09-23 22:11:50 -04:00
csoler
24b3325792
Improved reliability of the determination of external address: removed DHT stunner from the pool, added mPeerMgr which vote is based on ext address most often reported by peer discovery
2015-09-23 21:45:15 -04:00
csoler
7293cd3afa
updated ubuntu changelog
2015-09-21 22:58:58 -04:00
sehraf
6202e83c32
add default case to gui instead of falling back to tor labeling
2015-09-16 11:48:32 +02:00
sehraf
1dd3375c59
hide debug output
2015-09-15 17:14:55 +02:00
sehraf
d24b281948
optimizations
...
* reduced calls to mPeermgr
* use switch convenience
* small fixes
2015-09-15 17:10:48 +02:00
sehraf
bfcf43f0e1
fixed connection type detection and other small things
2015-09-15 16:18:46 +02:00
sehraf
6b87c38951
small fixes
2015-09-14 14:56:14 +02:00
sehraf
4b19e73975
added comments to functions
2015-09-14 09:56:43 +02:00
sehraf
0bc77d75ae
added some error handling
2015-09-08 13:48:30 +02:00
sehraf
4fc6c73dd9
replaced some ifs with switch
2015-09-07 23:40:52 +02:00
sehraf
fed43450ae
made server settings more generic and added i2p support
2015-09-07 23:01:24 +02:00
sehraf
95d6b06eb5
first working version
2015-09-07 21:34:10 +02:00
sehraf
ba74c04581
removed duplicated code, fixed compile, few additions
2015-09-07 21:34:10 +02:00
sehraf
c17d0e1498
add i2p support to libretroshare
2015-09-07 21:34:10 +02:00
AsamK
5dad1680e6
Implement history for distant chat
...
Uses the same history config as private chat
2015-08-28 01:29:34 +02:00
defnax
6e1a8fac10
Merge pull request #21 from AsamK/lobby_history
...
Store lobby history on disk
2015-08-27 18:43:28 +02:00
csoler
58d29c3ee2
fixed error message in pqissl::cansend()
2015-08-22 10:32:04 -04:00
csoler
2e08dde32b
additional check for pqissl::sockfd before using it (patch from Jenster)
2015-08-15 10:09:16 -04:00
csoler
3084d2a5ee
improved security message in console for whitelisted peers
2015-08-13 21:49:57 -04:00
AsamK
45e1e81d9c
Store chat lobby history on disk
2015-08-07 19:00:04 +02:00
csoler
2a47095599
removed unused method for OutQueue statistics; improved BW curve display; fixed a few display bugs
2015-07-31 17:24:19 +02:00
thunder2
c76141ed65
Added missing initialization in
...
- pqissl
- pqissludp
- PeerConnectStateBox
- RsTlvBanListEntry
- RsServer
- TcpStream
- PGPCertificateInfo
- peerConnectAddress
- AudioInputConfig
- SpeexInputProcessor
- xProgressBar
- TBoard
Removed unused member:
- xProgressBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8611 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-13 11:03:18 +00:00
csoler
989f80786e
saving current work on new bandwidth display. Still need to add names for services/peers, and use an appropriate curve style
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8608 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-13 03:04:36 +00:00
thunder2
f36b12c90f
Added missing restore of ostream format (std::dec) in p3ServiceServer::sendItem.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 21:51:17 +00:00
csoler
9471a91795
added basic functions to collect bandwidth info in pqistreamer both ways; added a sorting method in BWGraphSource to create curves from extracted BW info. Still not yet functional
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 04:04:18 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
7642ba1c1f
added load/save to service permission matrix
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7906 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-03 21:28:32 +00:00
csoler
b2c2b7fc85
implemented dedicated widget for service permission matrix. Permissions are not saved yet, and we also need a default switch
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7898 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-01 14:38:19 +00:00
csoler
352d8413c0
fixed stupid mistake in commit 7858 in SSL error handling causing impossibility to connect
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7866 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 19:17:33 +00:00
csoler
bf11765ff1
fixed a few compilation warnings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 08:22:54 +00:00
csoler
2e211a6904
fixed missing error checking in X509 Verify callback
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 08:13:26 +00:00
csoler
8cb3ae6d2e
added code to generate 3072 and 4096 bit PGP keys at startup (Patch from Serhaf)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-12 22:02:43 +00:00
csoler
13d7866171
simplification of the chat interface to libretroshare using a single unified class for chat IDs. Used a common chat widget for all chats including broadcast. Opens the way to having plugins send/recv chat messages. Patch from Electron.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7800 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-29 21:41:05 +00:00
csoler
0e9fcf1c42
limited number of error outputs to GetRsRawItem()
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-23 13:13:02 +00:00
csoler
acc45a4382
removed some debug messages, added some ifdefs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7775 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-21 19:12:40 +00:00
csoler
6452947e8a
reverted recent commit on connection logic: it does not solve the problem. More debugging needed.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7771 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-18 20:09:04 +00:00
csoler
93dd5d8322
fixed weird logic in handling connection attempt for an already connected peer.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 22:16:14 +00:00
csoler
85515f0a62
fixed cross-deadlock between pqissl and pqithreadstreamer by removing locks over atomic operations.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7766 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 21:46:07 +00:00
thunder2
0738121a90
Fixed deadlock in pqithreadstreamer::stop (request from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-09 11:18:20 +00:00
csoler
71cd1e0030
2nd attempt at fixing tcponudp bug. To be tested.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-08 22:17:06 +00:00
thunder2
40bfa50b29
Fixed utf8 issue when using strings with openssl
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7726 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-03 23:03:03 +00:00
thunder2
b475b84070
Removed some compiler warnings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7678 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 00:39:19 +00:00
thunder2
67215c7ffe
Removed unnecessary method p3Notify::AddFeedItem.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7674 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 20:28:45 +00:00
csoler
ea5b923428
added very basic display of outqueue statistics in BwCtrlWindow. Removed unnecessary list::size() calls in pqistreamer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:24:42 +00:00
csoler
39e123dbf2
added security check in pqissl::senddata() to avoid SIGSEGV when quitting
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-30 19:55:10 +00:00
csoler
d547cb6fdb
changed post fixed operator++ into prefixed. More efficient on some systems. Patch from Phenom.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-24 22:07:26 +00:00
csoler
880efee332
removed ifdef for the different sleep methods. Now only usleep is used, on all systems. Patch from Phenom
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7629 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-24 21:31:58 +00:00
csoler
b593a918a0
optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-21 22:33:02 +00:00
drbob
cdfbe90682
Fixed check if address has changed - was preventing resetting of local port.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-18 00:19:05 +00:00
csoler
e8b57abf05
removed udp debug output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-11 13:18:25 +00:00
csoler
03fc766e55
basics for TOR proxy status. Unfinished
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7567 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-28 09:54:20 +00:00
csoler
789e6ae24e
removed some debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-16 19:53:23 +00:00
csoler
0c536c3f4c
fixed deadlock in UDP connections. Still, UDP streams break after 5-10 secs. Needs further debugging.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-12 21:52:13 +00:00
csoler
28b11a555a
fixed call of deleted pointer in std::map (patch from Vaio)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-09 18:10:52 +00:00
csoler
f6db432c74
Merge of branch v0.6-rssocialnet 7419 to 7488. Changes from electron and myself:
...
- added possibility to modify groups (e.g. edit circles)
- fixed mismatched free/delete in fimonitor.cc, authssl.cc, pqibin.cc (saving encrypted hash cache file)
- improved plugin interface class to allow plugins to access GXS objects.
- added method to un-register notify clients from RsNotify
- fixed pqisslproxy for windows, due to win not properly supporting sockets in non blocking mode.
- removed static members form RsInitConfig and made RsAccounts object a pointer. This prevents plugin initialisation problems at symbol resolving time.
- removed bool return from p3IdService::getOwnIds()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-08-25 21:07:07 +00:00
thunder2
eb22610145
Merged revision 7443 from branches v0.5.5
...
Added patch from Henry:
- Added translation for password input
- Fixed utf8 issue in ProfileManager
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7444 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-07 19:37:04 +00:00
csoler
2785094c97
patch from HM to make password question translated
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-03 21:03:28 +00:00
csoler
be82951e2e
fixed popup of distant chat dialog, and display of peer names.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7406 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 22:06:43 +00:00
csoler
80f4401e88
- implemented DH protocol for PFS encryption in distant chat between GXS ids.
...
- changed format of keyId in rstlvkeys.{h,cc}, but kept the serialisation for backward compatibility (A #define needs to be removed to fix it for good). Updated rsrecogn, rsmsgitems, gxssecurity accordingly
- added "chat peer" in IdDialog to help testing distant chat.
Distant chat works and is now encrypted. The GUI still needs some smoothing: display of correct peer names
in chat window, remove the need to add a message in p3chatservice.cc:3217 to force poping up the chat window.
- added MsgAddress class to handle generic address types while keeping type separation in Messages. Not used yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7403 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-12 10:28:23 +00:00
drbob
c87efec81b
Fix for UDP relay deadlock... not tested
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-01 01:16:34 +00:00
csoler
b7f794c37d
added more error info for failed servicePerm packet. Fixed small bug in GXS-distantChat. Data passes through. Crypto still pending.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-26 21:44:16 +00:00
csoler
b6c68d1812
- started changing distant chat so that it works with GXS ids instead of PGP ids. Something is still broken in
...
service control. Crypto is not done yet => distant chat is unencrypted.
- changed GUI for distant chat. Removed invitation system.
- added menu item to distant chat GXS ids from IdentityItem (only entry point for now).
- fixed bug in chat lobbies causing re-connexion of lobbies not to happen everytime (bug reported bu Lain)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-25 21:43:05 +00:00
csoler
9aba04982e
improved cipher string for higher security
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-11 18:42:16 +00:00
drbob
cc6a141b68
disable debug
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-03 06:04:04 +00:00
drbob
23480be883
Added PgpAuxUtils to allow Mocking of Pgp functions for simulations.
...
Cleaned up some of the debug messages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7306 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-27 13:14:07 +00:00
csoler
a3ddc0ac7d
remvoed some debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 12:38:08 +00:00
csoler
bce35d26e3
fixed deadlock (found by Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-21 08:22:58 +00:00
csoler
33abca82e5
- removed LinksCloud from plugins (based on obsolete cache system)
...
- removed copy constructor of RsGenericId from std::string as it allowed many inconsistencies and double transforms of IDs from/to strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-20 16:34:26 +00:00
chrisparker126
ef8f48ae73
Added rsshared ptr helper object (only use in test for memory management)
...
Added first nxs_test
modified pserviceserver to allow better dependency injection
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-18 21:58:14 +00:00
drbob
1d17290e78
move #include out of header.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 03:53:30 +00:00
csoler
e865ff2fb6
added debug tags to p3ServiceControl
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-03 21:27:22 +00:00
drbob
0dbe55bd05
Fixed serialiser bug in RsTlvList
...
Switched to proper Ids in gxsCircle gxsId items.
Fixed up Config serialiser.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7218 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-01 08:00:20 +00:00
drbob
600639db51
fixed up tlv serialisers:
...
- Added RsTvlUnit: public RsTlvItem, which handles some of the infrstructure.
- made TlvSize() SetTlv() and print() const.
- split rstlvtypes into its bits and cleaned up header files.
- added templated RsTlvList, imilar to cyrils id one.
- removed GXS_GEN_TESTNET
- cleanedup rsserviceids.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7215 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 15:34:37 +00:00
drbob
0e6302ac6a
Removed configuration type (uint32) as its not needed or really used.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7212 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 05:20:57 +00:00
drbob
190988c3cc
Switched most of the services to use p3ServiceControl instead of p3LinkMgr.
...
- Added a couple of utility fns to p3ServiceControl too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7211 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-29 03:57:44 +00:00
drbob
efe9503c3a
Added Function to allow Services to get list of peers currently connected on a service.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7208 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-26 07:45:03 +00:00
drbob
0fac6fecf9
finished updateServicePermissions.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-25 12:13:43 +00:00
drbob
a06064e167
Finished Notifications in p3ServiceControl:
...
- added extra Mutex to make notifications work.
- Added ServiceControl tick to ServiceServer.
- switched p3discovery2 from pqiMonitor -> pqiServiceMonitor
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7201 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-23 03:30:59 +00:00
drbob
3ecf4a0858
- Exported ServiceInfoCompatible for GUI usage.
...
- Set the rsServiceControl variable.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7197 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-22 06:28:59 +00:00
drbob
83a78bcaee
Added ServiceControl + ServiceInfo. Basics are working, but still a lot to do!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7196 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-22 03:53:44 +00:00
chrisparker126
0f29d28b1b
merge of branch v0.6-idclean 7180
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 20:56:06 +00:00
drbob
1b2ed66814
Implementation of GxsId Opinion, and start of Reputation system.
...
- Removed old reputation system from p3idservice
- Removed old Msg types as well (no longer needed)
- Added real submitOpinion()
- Modified serviceString to support Reputation System.
- Added reputation information to both Cached Data, and Standard ID Data.
- Added basics of new reputation system as alternative service. (not gxs).
- Added Generic TLV types for maps.
- Moved configuration files to their own directory .rs/config/
- Finally, fixed up bits missed from the change to updateGroup!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-19 11:08:37 +00:00
csoler
a5efb4a59a
increased TCP buffer size on windows. Makes transfers faster.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7104 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-10 21:50:59 +00:00
csoler
235280399f
- changed Sha1CheckSum from hand-made class to instance of t_GenericIdType<> (should be backward compatible)
...
- updated ft/, p3msgservice and p3chatservice accordingly
- added a new class for Sha1Sum in t_GeneridIdType<>, and an additional template argument to make ids of identical size
incompatible.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7082 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-01 19:10:45 +00:00
drbob
c0738eec7f
Merging branches/v0.6-initdev into trunk.
...
These split at 6672 -> 7075, so quite a bit merge.
libretroshare compiles - but untested.
retroshare-gui needs GenCertDialog.ui and IdEditDialog.ui to be properly merged. (compile errors).
some plugins will be broken.
retroshare-nogui is untested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7078 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-01 14:16:15 +00:00
csoler
730554d397
improved gui message for known peers that are not friends
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-28 21:33:17 +00:00
csoler
11bc15b9cf
generalized the test for valid strings to all methods in AuthGPG
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-21 21:01:22 +00:00
csoler
1f4580304f
put a hard limit to packet size in pqistore to avoid calling realloc with fancy numbers when the stream has been corrupted
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7049 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-21 20:09:09 +00:00
csoler
43a32f23e1
fixed potential attack by supplying non hexadecimal strings as certificate common name
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-21 18:09:05 +00:00
drbob
ae5942733e
- Split majority of p3posted into p3postbase.cc - so that it can be reused by other services.
...
- Fixed iterator overflow into rsgxsupdateitems.cc
- Fixed Mutex deadlock in pqiperson.cc
- Removed old code.
- Fixed lots of compile warnings - mainly wrong variable ordering in constructors.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7044 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-20 11:42:27 +00:00
chrisparker126
f3afc128ee
Chozabu patch
...
- New db created for parent group id field, you will all previous gxs data
- posted now support sub post topics
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7042 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 23:38:48 +00:00
csoler
07239883c8
Allow loading packets of large size from config files (fixed storing of big messages), and continue on config files skipping items that cannot be deserialised (Modified patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 14:29:29 +00:00
drbob
06a582564d
Fixes for failed Proxy Connection Attempts:
...
- create Timeout Fn so it can be called by classes derived from pqissl.
- set HIDDEN timeout to 30 seconds.
- add reset_locked() calls on errors in pqisslproxy.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7039 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 11:35:31 +00:00
drbob
6526dd6c4b
Tweaked linkmgr to allow loopback connections.
...
This allows STD -> HIDDEN connections!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7037 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-19 06:25:49 +00:00
drbob
d39c5c028a
fixed up hidden addresses and removed whitespace from onion address.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7036 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 23:29:22 +00:00
drbob
ee09c3ce9c
Allow Local Address to be saved and modified in hidden mode.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7030 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 05:05:35 +00:00
drbob
12e7d73941
Added ProxyServer to configuration.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 04:40:39 +00:00
drbob
39db508ce7
Improvements for V0.6 logins to support hidden nodes.
...
- Separated Acount stuff from rsinit.cc => rsaccounts.cc
- Moved Account Directory to HID06_xxxxxxx, or STD06_xxxxx
This allows us to check for Hidden immediately
And prevents v0.5 accounts being used with 0.6
- Added functions to support Proxy, and Hidden stuff.
- Changed Minimum port to 10 to allow port 80 to be used by those who must.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7027 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 02:32:55 +00:00
csoler
bbdc978d00
improved display/fixed bugs in security item
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-16 19:57:08 +00:00
csoler
613f822133
added new feed item types and logic to show connection attempts from forged certificates (e.g. bad signature, bad certificate)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7018 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-15 20:19:17 +00:00
csoler
630824aa1b
Updated the notification system. Main changes are:
...
- the notification system is now a service, p3Notify, that is a public RsNotify.
- RsNotify does nothing except providing a registration system for new notify clients.
- Clients should derive a notify client from the NotifyClient class and register it to rsNotify
- all registered clients get all notifications, so only derive the needed methods. This should allow
plugins to get notifications as well.
- updated the code to call RsServer::notify()->[notification method] from inside libretroshare
- pqiNotify has been removed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-07 22:51:22 +00:00
csoler
146465a53f
fixed cipher list for openssl, since ECDHE is not configured, it cannot be used
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6974 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-28 21:41:43 +00:00
csoler
dd22bd24d9
fixed display of correct IP for connected friends. Only the external IP was shown previously. Port is not shown because it is random and could be misleading. Needs full recompilation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6918 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-30 13:48:39 +00:00
thunder2
31fd6f6261
Code maintenance for Qt 5:
...
- Fixed compile with MinGW-w64 under Windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6866 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-21 21:42:15 +00:00
thunder2
9095e9bd75
Code maintenance for Qt 5:
...
- Added some more includes needed by MinGW-w64
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-21 11:00:49 +00:00
thunder2
13e7ac8b43
Fixed compile of the libraries with MinGW 4.8 on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-07 23:11:10 +00:00
csoler
695e417fd5
changed std::wstring for std::string+utf8 in chat, and messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6795 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-03 21:41:34 +00:00
csoler
3a82fffd0e
- fixed bug (added missing call to addSerialType())
...
- removed unused RsFileTransferCacheRequestItem and all related functions
- fixed bug in turtle router calling members of a deleted item
- removed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6789 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 19:56:01 +00:00
drbob
b587301b5a
Added a thread per active peer - to reduce RTT and increase throughout.
...
* Added pqithreadstreamer, tweaked pqistreamer to support derivation.
* Shifted RTT from p3Service to p3FastService.
* Disabled lots of debug.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6787 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 03:21:04 +00:00
drbob
a7dd9ad9e3
Work-in-progress to reduce latency time:
...
* service->SendItem() now goes direct to pqistreamer buffer.
* split p3FastService out of p3Service.
p3FastService removes the recv buffer for faster processing.
p3Service maintains its original interface, so derivate classes can remain unchanged.
* Added uint32_t usec (wait period) to BinInterface.moretoread() & cansend() for future threading.
* Added Mutex protection to pqistreamer, pqissl and derivatives of both.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 10:11:34 +00:00
csoler
8e7fe9f79b
made file transfer a service. Removed all the old FT code from pqiHandler, and got rid of deprecated CRC32 computation/exchange methods
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6782 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 08:11:15 +00:00
thunder2
571099d56b
Optimized p3HistoryMgr::cleanOldMessages.
...
There is no need to check the messages when mMaxStorageDurationSeconds is set to 0.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6779 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 13:31:15 +00:00