mr-alice
ade6017f74
merged with upstream/master
2016-09-01 19:52:31 +02:00
Gio
746f4d7292
libretroshare remove unuseful code from RsRawItem
2016-08-25 15:11:58 +02:00
mr-alice
edc602f68f
added infrastructure for synchronisation of file lists
2016-08-20 16:23:11 +02:00
csoler
7545ad4d11
simplied/improved reputation system. Now ids can be banned based on their owner node using a single checkbox in the Person tab, with immediate effect
2016-08-04 11:43:35 +02:00
csoler
c4ef4d7743
saved owner node ID in GXS reputation item
2016-08-03 14:52:37 +02:00
mr-alice
5b9fd74d85
removed most of CacheStrapper stuff from ftServer, replaced fimonitor by p3FileDatabase
2016-07-30 21:52:42 +02:00
Phenom
3152ecaa9b
Fix UnitTests and run it in windows too.
2016-07-15 15:36:06 +02:00
csoler
0125f91b2d
fixed deserialise bug in FileItem
2016-07-06 22:36:59 -04:00
csoler
269f9457be
fixed load/save of new group ids and backward compatibility with FriendList
2016-07-06 22:02:56 -04:00
csoler
01c0d2f0f1
finished conversion to RsNodeGroupId for file transfer and GUI
2016-07-05 23:49:43 -04:00
csoler
4ee9effc4e
changed internal storage of groups of friend nodes so as to use an abstract ID instead of a string (phase 1 of local circles)
2016-07-04 23:55:48 -04:00
Phenom
d84fdff2e1
Fix GxsChannelPostItem when received comment.
2016-06-18 20:10:14 +02:00
csoler
25c0c9d4ce
added systematic consistency checking of public/private RSA keys at deserialisation time
2016-06-16 23:06:07 -04:00
csoler
dbd78d2401
merged with upstream/master
2016-06-16 20:19:03 -04:00
csoler
c3eba4a72d
added missing serialisation call for peer bandwidth limits
2016-06-14 21:54:24 -04:00
Cyril Soler
56e079739c
Merge pull request #413 from csoler/v0.6-Circles
...
V0.6 circles
2016-06-13 23:06:10 -04:00
csoler
fa29dd7332
changed the way RsGxsSyncMsgReqItem are sent for circle-restricted groups, using a hash of the group ID instead of encrypting the whole item, hense saving a lot of bandwidth on msg sync.
2016-06-12 21:41:09 -04:00
csoler
34f49d4ae8
removed compilation warning
2016-06-11 18:07:07 -04:00
csoler
a07805be1d
moved bandwidth limits to the pgp level
2016-06-09 20:41:27 -04:00
csoler
20b6745f70
added GUI and storage for max up/dn rates per peer
2016-06-07 21:48:22 -04:00
csoler
c2ae4fc904
merged upstream/master
2016-06-05 10:06:11 -04:00
csoler
a2ca0385db
fixed compilation and several problems following separation of public/private keys
2016-06-04 21:39:40 -04:00
csoler
590be092e5
separated RsTlvSecurityKey into two incompatible classes to enforce the correct usage of private vs. public keys
2016-06-02 23:47:57 -04:00
sehraf
4f60c8cc9b
libretroshare: fix comparison between signed and unsigned integer
2016-06-02 14:54:23 +02:00
sehraf
cfc0e7071a
libretroshare: remove unused variables
2016-06-02 14:54:07 +02:00
Cyril Soler
dafb2e6bc2
Merge pull request #396 from csoler/v0.6-Circles
...
V0.6 circles
2016-05-27 17:35:23 -04:00
csoler
59aef8ab7b
added packet slicing for large broadcast chat items, and output warning when chat of serialised item is too big. Also fixed a couple of bugs in the handling of chat packets
2016-05-26 20:33:24 -04:00
csoler
55cb15caa9
fixed updating of membership when loading circle cache entry
2016-05-22 20:35:51 -04:00
csoler
69573d19b4
fixed serialisation of circle subscription requests
2016-05-22 18:49:54 -04:00
csoler
722609a3e6
finished implementing the backend part for the subscription system
2016-05-18 21:13:54 -04:00
csoler
d01c61fde8
added items for encoding subscription requests and the logic to create them from GUI calls
2016-05-11 17:59:42 -04:00
csoler
5ab9aed371
added placeholder service ID for packet slicing probe
2016-04-29 18:40:28 -04:00
csoler
ebf54d1340
fixed unit tests
2016-03-26 17:25:15 -04:00
csoler
d1b09b93b9
removed some debug info
2016-03-25 18:54:13 -04:00
csoler
6a4add8806
implemented per-item encryption and Vetting method compatibility layer
2016-02-20 17:53:03 -05:00
csoler
763108f5fa
debugged transport of encrypted items. Still needs work.
2016-02-15 23:24:18 -05:00
csoler
fd04f0b3bb
updated to upstream/master
2016-01-13 20:27:08 -05:00
csoler
d55993d1e4
removed two instances of malloc(0) captured by new rs_malloc funtion
2016-01-12 21:43:04 -05:00
csoler
d13526facd
added a new method rs_malloc that checks its arguments and prints a stacktrace on error/weird call. Changed the code everywhere to use this instead of malloc. Removed some mallocs and replaced with RsTemporaryMemory
2016-01-12 21:10:11 -05:00
csoler
3094b52e8f
fixed potential integer overflow / Out of bounds read in rsbaseserial.cc. Also added a few more error output.
2016-01-11 19:08:52 -05:00
csoler
ee84ab732d
fixed serialisation error (missing call) for received Distant msg hash map
2016-01-09 10:58:49 -05:00
csoler
0c591f08ae
added auto re-send of distant messages after global router notified the message cannot be sent. Added a map n p3msgService to avoid receiving multiple times the same message.
2016-01-07 22:22:05 -05:00
csoler
9da8a8abc3
fixed compilation of RsNxsTransaction encryption code
2016-01-01 21:37:27 -05:00
csoler
6ecd2991e7
merged with latest trunk
2016-01-01 15:15:19 -05:00
csoler
672ab256d7
added safeguard against absurdly large packets in rsserial.cc and output of the beginning of the packet.
2015-12-27 10:03:07 -05:00
csoler
5d9272055f
merged with upstream/master
2015-12-22 18:33:01 -05:00
csoler
5fcaa36736
fixed some serialising bugs, and added proper notification of observer
2015-12-19 19:00:06 -05:00
csoler
6910ad3695
added stats exchange system to gather number of posts in unsubscribed groups without the need to actually DL the messages (reduced bw a lot)
2015-12-19 17:38:52 -05:00
csoler
7be7233b29
fixed a number of timing issues in rsgxsnetservice. To be tested.
2015-12-11 22:38:17 -05:00
csoler
0c1e6301b3
merged with latest upstream trunk
2015-12-05 16:49:00 -05:00
csoler
9193d3579b
merged with latest master before creating PR
2015-12-04 21:24:51 -05:00
csoler
bca89c63c6
fixed serialisation bug and added new GUI bits
2015-11-25 18:08:53 -05:00
csoler
1347ee4b37
added regular contacts list and method to move RsGxsIds from/into this list
2015-11-19 22:58:28 -05:00
csoler
cb97ce6f72
half-way through GxsTunnel service
2015-11-18 23:56:35 -05:00
csoler
b009c1135f
changed RsGenExchange strategy to use a threshold on reputation when validating posts
2015-10-25 23:45:33 -04:00
csoler
e60ac99994
added bias to reputation score for known and signed ids. Changed computation formula to an exp
2015-10-25 22:54:56 -04:00
csoler
f24bddf6f1
merged with upstream head
2015-10-25 20:42:41 -04:00
csoler
47dd70fbe8
added non selective tracking for GXS messages
2015-10-25 17:26:34 -04:00
csoler
21c31fb446
modifications to item encryption so as to match APIs
2015-10-22 20:24:36 -04:00
Phenom
47c47d144e
Fix Compilation on Win32 after PR#143 merged.
2015-10-12 23:21:17 +02:00
csoler
71c8dfdc58
manual merge before creating a conflict-free PR
2015-10-12 14:45:11 -04:00
csoler
ce96e88925
debugging of reputation system
2015-10-09 17:51:10 -04:00
csoler
bb7a8f2732
fixed some reputation sending bugs
2015-10-08 23:54:18 -04:00
csoler
8c6c9344fe
fixed a few bugs in reputation items serialisation code and GUI display
2015-10-08 23:02:34 -04:00
csoler
b0940890cd
fixed compilation
2015-10-06 22:39:14 -04:00
csoler
9f6bc0c3fc
added code for all reputation items
2015-10-06 00:11:18 -04:00
csoler
1c12178874
finished implementing decryption routines. Still needs fixing compilation
2015-10-01 23:37:50 -04:00
csoler
6626538cab
half way through RsNxsItem encryption
2015-09-27 23:53:55 -04:00
csoler
22d4893721
removed a few compilation warning that might cause compilation errors on some systems
2015-09-24 18:03:19 -04:00
csoler
85e6eca2f0
added serialisation for encrypted items
2015-09-12 16:27:01 -04:00
csoler
d304c7fea6
fixed bug in deserialisation causing the wrong method to be called
2015-09-12 09:37:36 -04:00
csoler
225e8f130b
changed serialisation methods to use c++ in rsnxsitems, added two new items for encrypted data, renamed classes RsNxsSyncGrp and RsNxsSyncMsg to RsNxsSyncGrp/MsgReqItem
2015-09-12 00:39:35 -04:00
AsamK
3cfe69787f
Fix subtle bug in tlv deserialization of TLV_TYPE_KEYSIGNATURETYPE
...
When using -O2, the variable currType is optimized out, so the
signature is added with the wrong sign type. Then when verifying the
data the signature is not found and verification fails.
The main sympton of this bug was receiving no more forum/channel posts.
Wit debug builds (-O0) this worked, that's why not every one was affected
by this.
This bug was introduced in 2012 (19e856c2a8
)
2015-09-02 02:03:46 +02:00
csoler
168eb45539
removed debug info about missing keys; added debug info about deserialization checking of string
2015-08-05 20:51:34 +02:00
csoler
260da99955
improved filtering method against lol bombs. Thx to ConcernedCitizen for pointing this out
2015-07-31 17:27:42 +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
thunder2
090148cea2
Fixed possible crash in RsGxsIdSerialiser by checking return value of dynamic_cast.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 01:43:10 +00:00
thunder2
63d85f8077
Fixed possible crash in RsFileTransferSerialiser by checking return value of dynamic_cast.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-12 00:58:05 +00:00
csoler
249c827f95
improved debug info in a few places
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-09 20:55:11 +00:00
electron128
d870b13a49
fixed potential integer problems in de-serialization of different TLV items (patch from Henry)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-01 12:17:03 +00:00
csoler
8e0b6b95c5
fixed potential integer problem in image de-serialization (reported by HM)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8568 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-29 12:00:40 +00:00
csoler
e1dcdd78b6
auto-cleaning of strings for types that cannot contain chars < 0x20 by design
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8547 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-23 19:25:13 +00:00
csoler
ab95a6c865
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8503 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:17:52 +00:00
electron128
f5843faef0
added missing size check in RsGxsRecognSerialiser
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-13 08:03:58 +00:00
electron128
eb7a52a2a7
fixed bug reporting wrong IP for connection (patch from Cyril)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8367 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:25:19 +00:00
csoler
777c915be2
load/save of banlist comments. Removed unused menu entries. Added auto-fill of input fields on sleection
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-02 13:02:20 +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
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
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
csoler
1f759c4004
removed a few redundant return statements
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8276 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:29:50 +00:00
csoler
13ff39429e
* Renamed RS_TLVKEY_DISTRIB_PRIVATE into *_PUBLISH, as it is used as such.
...
* Allow to check signatures and validate groups using private keys in GxsSecurity
* removed inconsistency in key flags when full keys where mixed up with publish keys.
This should fix the following bugs:
* channel owners did not receive posts from other peers who have publish rights
* channels sometimes not gettign through
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:28:46 +00:00
csoler
90d6ac6697
fixed memory leak and potential crash due to not copying items passed to config saving in messages. Added save/load for map between GRouter and Msg ids which fixes the never removed outgoing messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8184 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-28 21:46:10 +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
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
70918e9dcf
reduced size of output for buggy RsItems
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8111 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-03 21:57:24 +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
drbob
7cece484c4
Modify Messages with additional namespace - to allow switching to new Mail.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-22 04:45:01 +00:00
csoler
c4b1b3dfbc
fixed serialisation bug likely causing the loss of peers.cfg (Thx G10H4ck for finding this)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8039 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-16 21:27:35 +00:00
csoler
48ea291d95
moved signature validation and encryption one level up into p3IdService. Added timestamp for GXS identities and auto-removal after 7 days. Updated display in IdDialog
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8015 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:33:23 +00:00
csoler
6e8e5efb90
fixed a few bugs in distant chat protocol (allow re-negociation of DH parameters if decryption fails, correct passing of own gxs id for server side), making the system more reactive. Also fixed the issue of avatar not showing up. Changed the tunnel naming system to something specific to distant chat. WARNING: this version cannot distant chat with previous versions.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7943 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-14 20:55:05 +00:00