joss17
62111d00ca
change timer and fix log messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1780 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:44:44 +00:00
joss17
4295eee208
change timers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1779 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:44:24 +00:00
joss17
95888fed59
add a timeout to ext addr finder
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1778 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:44:04 +00:00
joss17
60210e786b
add extAddressFinder tick search
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1776 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:43:31 +00:00
joss17
ff87287af4
add logs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1773 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:42:44 +00:00
joss17
b99b99f0d5
Bug which causes net reset solved
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1770 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:41:55 +00:00
joss17
2e5130a1da
rewrite connection manager
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1769 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:41:24 +00:00
joss17
cf157422f5
improved stun check
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:40:31 +00:00
joss17
3d82d40a96
add debug log for connection manager
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1765 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:39:59 +00:00
joss17
81e1978a83
store exaddr from upnp to stun
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1763 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:39:26 +00:00
joss17
3c7f714650
improved stun failure resistance
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:38:52 +00:00
joss17
f090ee87b6
add network reset ehancement for stun and udp
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:38:37 +00:00
joss17
432311d5c3
small udate
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:38:02 +00:00
joss17
54276344ad
add reset net status when shutingdown
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1757 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:37:45 +00:00
joss17
7a7a4fc8d7
better flag management
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1755 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:37:12 +00:00
joss17
20cff8ecbd
add loopback network interface compatibility
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1754 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:36:56 +00:00
joss17
938c2edef2
removed unimplemented tcp flag
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1751 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:35:59 +00:00
joss17
324b51e250
improve udp stun and upnp collaboration
...
Conflicts:
libretroshare/src/libretroshare.pro
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1749 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:35:12 +00:00
joss17
b6c2b6897a
add gpg engine name log output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1743 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-28 21:10:35 +00:00
joss17
c00928a349
change back the engine setting. Now it should work with gpg1 and gpg2
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:50:30 +00:00
joss17
62452ed3c5
add gpgme error output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1737 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:48:11 +00:00
joss17
8a67100ebf
set gpg2 engine for gpgme
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1734 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:46:56 +00:00
joss17
a6029d69db
change ssl password encryption to non symmetric
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1730 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:39:47 +00:00
csoler
500b996ff5
fixed core dump issue.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-05 20:16:37 +00:00
csoler
a3b8ed76f5
corrected small display bug of location
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 20:15:38 +00:00
csoler
64a06fd0bb
fixed core dump issue where AuthSSL::VerifySignBin() is called with NULL parameters. Still, this should not happen.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 11:22:44 +00:00
drbob
0f99826623
* Major tweak to the serialiser: shifted size to 32bits to handle bigger packets. This will break compatibility.
...
* Modified tlvitems to support future expansions.
* added random tlv test functios.
* added dummy Wide Directory functions to rsdir (for the future;)
* Fixed Mutex Bug in fimonitor.
* added netiface_test for hiberation / net change testing.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1620 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 20:18:43 +00:00
joss17
6b63f511e3
add debug info when ip address is set to an unknown peer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-06 19:52:48 +00:00
csoler
26db7ada52
restored accounting for LAN transfer rates. See also trac ticket #60
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-04 20:31:25 +00:00
csoler
6de5024634
corrected bug in conversion char * (from gpgme) into string
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-02 19:31:10 +00:00
joss17
d00a33ca14
add warning log info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1585 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-02 19:20:46 +00:00
csoler
76fe07e428
added missing return in error case handling
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-01 19:48:18 +00:00
joss17
6db7ae1fe5
add error handling. Maybe some code review ciould be a good idea
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1556 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-18 12:44:54 +00:00
joss17
0a28f35eea
encrypt and decrypt ssl password
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1550 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-18 12:43:19 +00:00
csoler
a293a39d1b
- Integrated the turtle search and download to the gui. Now the search handles both friend and turtle searching.
...
- added a console in config->server->F2F routing to be able to visualize turtle routing statistics
WARNING: this is not complete yet. The fllowing still needs to be done:
- detect duplicates in search results between turtle and friends search
- RegExpr search does ot work with turtle (still to code).
- search does not search own files. Is this really needed after all ?
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-16 20:10:53 +00:00
csoler
dfeaed705b
corrected potentially harmful uninitialized memory reads
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-14 07:28:58 +00:00
joss17
0043af68c1
changed ctx->current_cert into X509_STORE_CTX_get_current_cert(ctx) according to steve@openssl.org
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 15:10:43 +00:00
joss17
ab07042510
Revert "changing X509 ctx->current_cert to ctx->cert because of null pointer"
...
This reverts commit 7dbe821174ad65db5b22ecebec1e8ae5f356239b.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 15:09:58 +00:00
alexandrut
339fcd53ed
add persistence to download queue
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 19:01:27 +00:00
drbob
60349baf9d
* Fixed certificate saving bug. (authssl.cc)
...
* added cert->issuer to external interface (rspeers.h)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-09 13:06:24 +00:00
drbob
6e5d2f43d8
This is a little experimental modification to the TCP/UDP listening ports.
...
* Modified bind calls to attach to 0.0.0.0:XXXX instead of specific
IP:Port combinations. This will help connectivity when RS chooses
the wrong interface.
* These changes are within #defines so they can be easily reverted.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-06 10:46:37 +00:00
drbob
2dfb95ad13
Fixed code to compile under windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1495 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-05 16:35:07 +00:00
drbob
2bf94b909a
Reworking of networking code to enable Net Restart.
...
* Stun code now runs continually - to check external network state.
* Udpsorter controls DHT stun is on/off. (via p3ConnectMgr)
* added code to enable threads to join/restart
* enabled NetRestart for UDP and TCP.
* tweaked networking code for faster startup (now ~30 seconds - can still be improved).
* tweaked debug messages for testing networking
* Added test for checking external IP address determination.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-04 23:22:44 +00:00
joss17
af0b56836f
changing X509 ctx->current_cert to ctx->cert because of null pointer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1477 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-02 14:12:22 +00:00
drbob
a023a0bfcd
Major change to the way certificates are stored now defaults to ~/.retroshare/SSLID/
...
* supports Multiple Accounts on same computer.
* Enabled libretroshare tests using Makefiles.
* restructured RsInit functions: Config Data is now private.
* switch OpenPGP on by default (added #define to rsinit).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-30 21:27:47 +00:00
drbob
870a30eac5
Modifications for updated Windows Build.
...
1) mods to use miniupnpc v1.3
2) bugfix to use WriteFile instead of write under windows with gpgme.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-30 14:36:42 +00:00
drbob
369bb6a5c5
Bugfixes to make pgp friend sharing work.
...
* added rsinit.h include so PGPSSL flag is read. (enabling ISSUER sharing)
* extra debugging so we can see the certs being passed around.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1399 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 21:25:39 +00:00
csoler
a436053e8b
windows compilation fix
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 20:57:18 +00:00
csoler
4685fadbeb
Hope I finally corrected the connexion + one-way bug
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1396 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 20:14:31 +00:00
csoler
f7475887dc
suppressed some debugging code
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-20 19:28:16 +00:00