Commit Graph

7827 Commits

Author SHA1 Message Date
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
thunder2
feaffedbb6 Fixed and updated english translation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 11:19:20 +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
defnax
86eb9a33d6 Fixing the Label layout
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8314 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 16:12:39 +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
electron128
6b2cdaf9e1 replaced multiple location warning with a location selector menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8311 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 14:01:33 +00:00
defnax
6b87ca2414 Set default tab back to Network Configuration
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8310 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 10:39:50 +00:00
electron128
cec8a15b28 added chat friend and message friend actions to FriendsList/Friend context menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8309 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 10:07:12 +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
defnax
fc97cdcfa2 Beautify Answer Button for VOIP Toaster
Display peername on voip notify text

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-28 13:59:20 +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
defnax
76642e4710 Set default stylesheet for the Edit Identity info label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8304 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 12:20:59 +00:00
electron128
3db9655c56 fixed memory leak in voip plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8303 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 12:07:07 +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
defnax
085d499ab0 Changed the default column size for thread title
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 11:40:13 +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
thunder2
4b1055ce2d Updated english translation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8298 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 09:45:02 +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
defnax
5200f30a32 updated todo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-26 16:23:04 +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
electron128
c1061a1e9d fix black background in chunkmap display with Qt5 (patch from sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-26 12:21:48 +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
electron128
cbdadfb3bf show error string form plugin loading as tooltip in gui (patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8291 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-25 15:12:20 +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
defnax
c0ecc0da7a Beautfy the stylesheet for the "Accept Call" Button, display notify text for voip calls too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8286 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 16:02:16 +00:00
csoler
a1082e9f41 fixed bug due to using a static in the wrong place
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-21 21:44:29 +00:00
csoler
e27ff0698e added testing button for incoming TOR connections ;-)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-21 21:12:48 +00:00
electron128
18a4bef840 added additional button to show statistics window in settings->node
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-21 11:18:55 +00:00
electron128
f803f1552c reduce memory corruption in voip plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8282 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-21 09:31:26 +00:00
electron128
807b7378df improved GenCertDialog (patch from Henry)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8281 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-21 09:03:58 +00:00
thunder2
5d194d2a9a Fixed layout of the ip addresses in ConfCertDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8280 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-20 22:17:09 +00:00
csoler
c462801772 fixed black background in statistics with qt5 (patch from sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-20 19:50:10 +00:00