storj/uplink
Ivan Fraixedes 9caa3181d3
uplink/piecestore: Check SN piece hash timestamp (#3246)
Uplink must verify that every piece upload to a storage node return a
hash whose timestamp isn't older than the maximum elapsed time allowed
by the Satellite.

We cannot leave this check only to the Satellite site, because if there
is no error reported by this matter, the uplink cuts down the long tail.
When uplink submits the result uploads including these invalid ones, the
Satellite filters out the invalid ones and that can provoke that it gets
less than the optimal threshold amount of valid upload results, so it
rejects the request.

Detecting the error at this stage will allow the uplink to detect these
uploads as invalid and avoid to cut down the long tail prematurely.
2019-10-15 16:07:18 +02:00
..
ecclient all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
eestream Repair with hashes (#2925) 2019-09-06 15:20:36 -04:00
metainfo pkg/rpc: defeat MITM attacks in most cases (#3215) 2019-10-12 14:34:41 -06:00
piecestore uplink/piecestore: Check SN piece hash timestamp (#3246) 2019-10-15 16:07:18 +02:00
storage all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
stream lib/uplink: remove Seek method (#2768) 2019-08-13 20:29:02 +03:00
config.go cmd/uplink: use scopes to open (#2501) 2019-08-05 11:01:20 -06:00