Commit Graph

3996 Commits

Author SHA1 Message Date
mr-alice
e8e054eeae addednew flag for anonymous search. Merged the two browsable flags in one single flag. 2016-10-31 14:26:01 +01:00
mr-alice
5b9ef04358 improved debug output in ftserver 2016-10-30 15:33:05 +01:00
mr-alice
def20a3f4c encrypted FT works. Fixed last bugs in ftServer 2016-10-30 15:11:22 +01:00
mr-alice
34dcb410b4 fixed a few bugs in ftServer for encrypted tunnel management 2016-10-30 11:36:00 +01:00
mr-alice
9a881619e1 added record for H(H(F)) in LocalDirectoryStorage 2016-10-29 18:35:48 +02:00
mr-alice
d843c1c1a6 put consts behind serial_size() and serialise() in turtle items and ft items 2016-10-29 18:18:02 +02:00
mr-alice
babc126be3 added default encryption policy variable and GUI to change it 2016-10-29 17:59:03 +02:00
mr-alice
8486346368 added new encryption/authentication format AEAD_chacha20_sha256 2016-10-26 22:05:56 +02:00
mr-alice
c87ca67120 improved efficiency of AEAD 2016-10-26 18:15:47 +02:00
mr-alice
88298b997e added check for cleartext in AEAD test vector #1 2016-10-26 14:45:21 +02:00
mr-alice
42f6f26820 fixed bug in AEAD 2016-10-26 14:36:35 +02:00
mr-alice
177752e6af fixed a few bugs in AEAD construction based on test results 2016-10-25 23:16:36 +02:00
mr-alice
0570427c1d added google test for chacha20 code 2016-10-25 14:09:39 +02:00
mr-alice
0387a28e78 added methods to get files from hash(hash) in directory_storage and ftServer 2016-10-25 00:08:27 +02:00
mr-alice
2d72b88130 added code for AEAD construction 2016-10-24 15:59:34 +02:00
mr-alice
9d32406669 added ft decryption routine 2016-10-19 22:49:51 +02:00
mr-alice
3ad0a81d8f added encryption routine for FT 2016-10-19 21:30:37 +02:00
mr-alice
997154f9c5 added preliminary implementation of chacha20/poly1305 2016-10-13 15:13:56 +02:00
csoler
a75115585b do not send un-hashed files to friends, and allow to re-send the directory content when all files are hashed 2016-10-01 15:46:32 +02:00
csoler
84341f26b3 changed _outgoing_file_hashes into a new map that connects services to tunnel ID instead of file hash, hence avoiding to remove a hash on server side when a tunnel is closed (bug found by Jolavillette) 2016-09-29 22:30:42 +02:00
csoler
b62b66a24c replace std::vector for std::set to represent _hashes_to_remove, so as to avoid duplicates (suggested by Jo) 2016-09-29 22:30:42 +02:00
csoler
e185bcdab4 fixed removal of directory when removing a friend 2016-09-28 23:02:24 +02:00
csoler
6e4ba76bbb improved display of shared directories for friends with no update info 2016-09-28 21:55:13 +02:00
Phenom
9672fe33d0 Fix InternalFileHierarchyStorage::check, error_string will never be
shown as always return true.
2016-09-28 11:35:44 +02:00
csoler
bf0777fd9e fixed update of DirHash list and FileHash list when files and dirs are removed, while keeping the cost low 2016-09-27 23:13:59 +02:00
csoler
37a4e7750c removed debug info in directory_storage.cc 2016-09-27 21:10:18 +02:00
cyril soler
2916c8b7c4 removed debug output in folderiterator 2016-09-27 10:14:17 +02:00
sehraf
9d72b064e1 add thread names & remove some warnings 2016-09-27 09:50:59 +02:00
csoler
a2ff5d27c5 simplified p3FileList code a little bit: removed mFriendIndexTab and made locked_getFriendIndex() create the remote directories on demand 2016-09-26 22:06:30 +02:00
csoler
fc1a350869 added automated import of old hash cache in order to avoid re-hashing everything when switching to the new system 2016-09-26 21:12:13 +02:00
cyril soler
15f69b2236 fixed crash in debug output in p3filelists 2016-09-26 11:11:22 +02:00
cyril soler
b95fbe34bc added a few more missing checks for null entries in mRemoteDirectories 2016-09-26 10:49:59 +02:00
cyril soler
3beaa974b0 fixed potential crash when an entry in mRemoteDirectories is NULL 2016-09-26 10:03:51 +02:00
csoler
1125dfe6d1 fixed folder iterator to properly handle broken symbolic links 2016-09-25 23:42:20 +02:00
csoler
be6370ef13 added missing code for searchTerms in new p3filelists service 2016-09-25 21:34:18 +02:00
csoler
93e70ca30b fixed search on remote files 2016-09-25 21:01:03 +02:00
csoler
068955d419 fixed up a few debug messages in p3filelists 2016-09-25 18:51:33 +02:00
csoler
bb4b577768 prevent storage for hash of files that cannot be hashed 2016-09-25 18:44:28 +02:00
csoler
ddc870c6b1 added some more debug info in DirectoryStorage class 2016-09-25 11:05:01 +02:00
csoler
19b1c4f5d9 fixed potential crash due to not checking if mRemoteDirectory[i] is empty in p3FileLists 2016-09-25 11:04:42 +02:00
csoler
cb4dc96229 removed debug info in p3filelists 2016-09-24 17:12:38 +02:00
csoler
ee54c02101 merged branch v0.6-FileLists locally into master 2016-09-24 14:47:45 +02:00
csoler
52ee76ed24 removed annoying debug message in ID system 2016-09-24 14:14:32 +02:00
mr-alice
e03bd6cbac fixed bug causing call to closedir on invalid handle 2016-09-24 13:56:02 +02:00
Mr. Alice
96b333d67e Merge pull request #1 from hunbernd/v0.6-FileLists
Fixed compilation on Windows and with 32 bit compiler
2016-09-24 09:04:25 +02:00
hunbernd
8500b5e9f5 Fixed inconsistency in integer sizes that caused segmentation fault while hashing files also broken message on the GUI 2016-09-23 21:56:41 +02:00
mr-alice
71a5bffed8 added small hack against re-hashing due to stat64 depending on local time on windows 2016-09-23 20:07:57 +02:00
hunbernd
70c8e14d16 Fix folderiterator.cc:23: error: cannot convert '_stat64*' to '_stati64*' for argument '2' to 'int _wstati64(const wchar_t*, _stati64*)' 2016-09-23 19:51:38 +02:00
hunbernd
529ab64ae3 Fixed missing time.h includes 2016-09-23 19:51:37 +02:00
hunbernd
ca281e4bb8 Fixed error with 32 bit GCC
Both uint32_t and size_t are resolved to unsigned int, it makes 2 lines conflicted.
This happens in filelist_io.cc, lines: 31-32, 36-37, 41-42
2016-09-23 19:51:36 +02:00