Commit Graph

375 Commits

Author SHA1 Message Date
csoler
bc82110c97 Restored backward compatibility in p3disc:
- created a subclass for Own item parts, which is compatible with old format.
- suppressed sending of Issuer packets when not using PGP



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-23 21:36:02 +00:00
csoler
f16c136cbb changed the order of upnp/stun and extaddrFinder to limit wrong analysis of firewalled situation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-16 18:58:42 +00:00
csoler
5e91af8be0 small bug fix about not acconting identical tunnels appropriately
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-15 20:34:34 +00:00
csoler
2ff271f810 added missing continue which caused sigsegv
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-15 07:28:23 +00:00
csoler
51eb8b8eaf added removal of turtle handling when canceling/ending a file transfer. next step: Turtle download is now ready for gui integration
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-14 19:34:22 +00:00
csoler
0a7d39d4da - improved integration with FT
- added function for properly removing handled file hashes
- tested/debugged persistence of file hashes
- tested/debugged tunnel re-digging and maintenance


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1298 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-14 18:59:42 +00:00
csoler
130d846207 - made turtle tunnel ids asymetric
- cleaned up the documentation in p3turtle.h
- update tunnel time stamp only *on the way back* to avoid unsuccessful requests to update a timestamp.
- implemented persistence of which hashes are to be handled.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-13 19:28:47 +00:00
alexandrut
9b7d486d6c bug fixing when storing incoming and partials directory
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-11 21:41:42 +00:00
csoler
211acc6adf suppressed file download memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-11 08:09:08 +00:00
joss17
646603d71d new computing for download and upload rate. No more indiv rate settings
Merge branch 'maxUploadRate'

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-08 17:09:00 +00:00
csoler
3d6697e28b win32 compilation fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-04 19:30:19 +00:00
csoler
48218e98cb turtle tunnel management
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-03 18:47:14 +00:00
joss17
a26206cfbb gcc44 compliance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-28 19:41:03 +00:00
joss17
7b4c7384b5 Merge branch 'gcc44'
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-27 20:59:48 +00:00
csoler
1046bdd846 First commit for the turtle download. It works without perturbating RS traffic, but still needs some (internal) smoothing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-26 21:42:45 +00:00
defnax
c298de7f15 removed pqistrings header from libretroshare project file doesnt needed more
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-26 15:37:17 +00:00
drbob
d4b52a59e5 Major bugfixes to get PGP authentication finished.
* p3disc now exchanges "Issuer" (pgp) certificates as well.
 * additional types for rsdiscitems.h
 * Bug Fix for NULL packet in p3service.cc
 * allow unauthed SSL certificates to be added in AuthSSL - otherwise cant add new friends!
 * only save authed SSL certificates.
 * fixed ref/unref of PGP keys in AuthGPG
 * added Mutex protection to AuthGPG
 * added PGP reloading when key is imported, or signed.
 * Fixed PGP key signing.
 * added Additional field validLvl to RsPeerDetails.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1270 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-25 11:38:47 +00:00
drbob
387b7bae6a * Fixed up SSL peerIds and gpg password stuff.
* PGP version compiling / running on OSX now.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-24 10:33:08 +00:00
drbob
edd13ba38a Missed these files from libretroshare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-23 17:40:35 +00:00
drbob
5f28f76b07 * Addition of openpgp support!
This is not enabled by default. Instructions to enable are at the end of msg.

This is 60% complete. Supports creation of certificates, adding friends and connections.
Parts still to do: pgpids, p3discovery, signing and trusting peers.

The main reason it is being commited is so that connections between peers can be 
properly tested, and development on OSX and win can start.

This requires gpg and the gpgme.h development libraries, and no longer 
requires the custom ssl libraries.

To compile it switch the configuration flags in scripts/config-linux.mk

To compile XPGP (v0.4.x) enable PQI_USE_XPGP:
#PQI_USE_SSLONLY = 1
PQI_USE_XPGP = 1

To compile SSL only, enable PQI_USE_SSLONLY:
PQI_USE_SSLONLY = 1
#PQI_USE_XPGP = 1
 
To compile OpenPGP, disable both:
#PQI_USE_SSLONLY = 1
#PQI_USE_XPGP = 1

and enable RS_USEPGPSSL in rsiface/rsinit.h




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-23 15:07:35 +00:00
csoler
79388588b0 added missing BIN_FLAGS_READABLE to pqistore constructor calls
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1231 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 20:18:03 +00:00
csoler
2bf79b663d added missing BIN_FLAGS_WRITABLE
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 19:54:33 +00:00
csoler
f73c925507 added a missing return after deletion of membio in case of fail read (error handling)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1228 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 15:38:02 +00:00
csoler
c996915bd1 suppressed double item deletion that happens rarely (error handling case)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 15:30:11 +00:00
drbob
02fc02d23c Modified (all I hope) remaining pqistream -> pqistore for cache file save/loads.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-12 21:55:50 +00:00
joss17
ec072e53f4 add include complying to gcc 4.4
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1217 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-11 14:30:53 +00:00
csoler
d22e1ceb23 added entry for pqistore
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-09 10:25:44 +00:00
drbob
2f1a8700ac Switched configuration back from 'Archive' Format to the standard
RsItem Packets.... but used an alterative streamer similar to pqiarchive.

This will cause problems, and delete the configuration for those
who have upgraded in the last month .... but will maintain compatibility
with previous stable release.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1201 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-09 00:19:54 +00:00
drbob
65e02ba4de * Rolled back Modifications to SearchDialog and PopupChatDialog.
- unable to get windows to compile with PopupChat on windows.
	- not happy with new SearchDialog. Not an improvement on old dialog + uses Qt4.4

 * updated version numbers...
 * added a couple of windows scripts.
 


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1200 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-08 23:07:08 +00:00
drbob
20593c9de2 Modified libretroshare to compile on Cygwin / MinGW.
* removed exceptions from serialiser (had troubles previously on win32).
 * Modified code in startup (enable CRYPTO structure) and rsdir.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1189 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-07 21:36:17 +00:00
joss17
e34173759e timeout on fil index cache transfer \n Set fileIndex cache transfer timeout to 300sec \n Remove the downloads item for file index cache transfer
Merge branch 'fiIndexCacheTransfertImprove'


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1180 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-06 20:48:32 +00:00
joss17
22dea2ceea Revert "Merge branch 'singleFileClient'"
This reverts commit 1bf9ed770532f3093548fa4120209be3a31c5c21, reversing
changes made to 5b0464d7a0aaa034851dfc80ca0a2d367f4c28ef.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1179 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-06 11:39:34 +00:00
joss17
698425ba9e Merge branch 'badPacketMessage'
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1168 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-05 13:35:36 +00:00
joss17
16231dea2b Merge branch 'singleFileClient'
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1167 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-05 13:32:59 +00:00
csoler
e144e75ba6 Added "peer is typing" functionality to private chat. This shoudld be extended to additional stuff like "idle", and to public chat. Also the display is the status bar of the chat window could be made nicer, e.g. directly in the msg window. Suppressed ChatDialog class that is not more used
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-05 13:18:53 +00:00
defnax
72f7fd0be4 update Readme
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1153 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-01 22:01:34 +00:00
drbob
28df984148 * Added partially completed authssl.cc, as we move towards openpgp authentication.
Once completed this will allow standard ssl authentication and provide the base for
the openpgp authenticator,
 * Tweaks, and removed debug statements.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1140 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-22 23:29:16 +00:00
drbob
5466c447ae Added missing files (extaddrfinder & p3turtle) to Makefiles.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-21 19:12:43 +00:00
csoler
bb681ae78f Turtle tunnel management. In progress.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-19 19:59:54 +00:00
notdefine
c01529e400 Remove compiling of tests.
This is because test programs have not been maintained since we switched to qmake for compiling libretroshare. 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-19 18:38:46 +00:00
csoler
8ed7d936f9 win32 compilation fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-16 20:30:59 +00:00
csoler
1aaf6f5c27 Corrected potential mutex lock problem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1130 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-16 19:36:58 +00:00
csoler
e2ea2ec75b Implemented turtle tunneling. Not debugged yet 8-).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-13 20:26:13 +00:00
beardog_uk
2f7fb3690f This should fix the bug with copypasting certifcates.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-10 19:52:07 +00:00
csoler
fac2a1cb83 made ip service checkbox permanent
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-09 21:13:48 +00:00
defnax
449674be3f fixed libretroshare.pro for win32 compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-09 17:04:32 +00:00
csoler
ab43d876c8 Added automatic slicing of search response packets so as to cope with streaming packet size requirements. Tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1118 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-06 21:06:44 +00:00
csoler
1ff00dcf07 it happens sometimes that files of size 0 are transfered. In such a case the destination file is not written down, and the following calls to moveFile in ftcontroller.cc produce an error. Ive put an if to avoid this.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1117 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-06 19:41:40 +00:00
csoler
9d89c12a38 added NULL gard in dhtPublish()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1116 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-06 18:57:30 +00:00
csoler
1542d5ad2c tried fix for cygwin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-04-06 11:55:27 +00:00