FrostFS is a decentralized distributed object storage integrated with the NEO Blockchain.
Find a file
Leonard Lyubich 2f38fef31a [#589] ir/container: Verify session token lifetime
Session tokens have limited lifetime in NeoFS. Container processor should
verify lifetime of the incoming tokens.

Define `NetworkState` interface with `Epoch` method to get number of the
current epoch. Use Netmap contract client's wrapper as `NetworkState` of
Container `Processor`. Check values of token lifetime, and deny if:

  * NBF value is gt the current epoch;
  * IAT is gt the current epoch;
  * EXP is le the current epoch.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-09 10:17:49 +03:00
.github [#450] Add go1.16 in tests 2021-03-31 11:49:53 +03:00
cmd [#587] cmd/neofs-cli: Add sign session-token command 2021-06-03 18:40:31 +03:00
config config/testnet: Update version of public testnet image 2021-06-03 19:49:10 +03:00
docs Specify neofs-contract version at release. 2021-06-03 19:49:10 +03:00
misc [#493] logger: Do not write app name in each log message of Node/IR 2021-05-11 12:35:12 +03:00
pkg [#589] ir/container: Verify session token lifetime 2021-06-09 10:17:49 +03:00
.dockerignore Initial commit 2020-07-10 17:45:00 +03:00
.gitattributes build: Better GitHub handling of auto-generated code 2020-08-04 12:17:09 +03:00
.gitignore build: Simplify test/lint related targets 2020-08-04 12:17:09 +03:00
.golangci.yml [#302] Update linter config 2021-01-12 18:47:02 +03:00
CHANGELOG.md Release v0.21.0 - Seongmodo (석모도, 席毛島) 2021-06-03 19:49:10 +03:00
CONTRIBUTING.md Minor typo fixes 2020-12-30 13:22:50 +03:00
CREDITS.md Update changelog for v0.17.0 release 2021-03-22 12:29:11 +03:00
Dockerfile.cli [#342] Fixes around Dockerfiles 2021-01-23 20:48:15 +03:00
Dockerfile.dirty-cli Add support for quick and dirty Docker image build 2021-03-18 11:56:39 +03:00
Dockerfile.dirty-ir Add support for quick and dirty Docker image build 2021-03-18 11:56:39 +03:00
Dockerfile.dirty-storage Add support for quick and dirty Docker image build 2021-03-18 11:56:39 +03:00
Dockerfile.ir [#342] Fixes around Dockerfiles 2021-01-23 20:48:15 +03:00
Dockerfile.storage [#342] Fixes around Dockerfiles 2021-01-23 20:48:15 +03:00
Dockerfile.storage-testnet [#342] Fixes around Dockerfiles 2021-01-23 20:48:15 +03:00
go.mod [#589] ir/container: Verify session token lifetime 2021-06-09 10:17:49 +03:00
go.sum [#589] ir/container: Verify session token lifetime 2021-06-09 10:17:49 +03:00
LICENSE Initial commit 2020-07-10 17:45:00 +03:00
Makefile [#450] Fix go.sum changes at builds with go1.16 2021-03-31 11:49:53 +03:00
README.md Specify neofs-contract version at release. 2021-06-03 19:49:10 +03:00

NeoFS

NeoFS is a decentralized distributed object storage integrated with the NEO Blockchain.


Report GitHub release (latest SemVer) License

Overview

NeoFS Nodes are organized in peer-to-peer network that takes care of storing and distributing user's data. Any Neo user may participate in the network and get paid for providing storage resources to other users or store his data in NeoFS and pay a competitive price for it.

Users can reliably store object data in the NeoFS network and have a transparent data placement process due to decentralized architecture and flexible storage policies. Each node is responsible for executing the storage policies that the users select for geographical location, reliability level, number of nodes, type of disks, capacity, etc. Thus, NeoFS gives full control over data to users.

Deep Neo Blockchain integration allows NeoFS to be used by dApp directly from NeoVM on the Smart Contract code level. This way dApps are not limited to on-chain storage and can manipulate large amounts of data without paying a prohibitive price.

NeoFS has native gRPC API and popular protocol gates such as AWS S3, HTTP, FUSE and sFTP allowing developers to easily integrate applications without rewriting their code.

Supported platforms

For now we only support GNU/Linux on amd64 CPUs with AVX/AVX2 instructions. More platforms will be officially supported after '1.0' release.

Latest version of neofs-node works with neofs-contract v0.9.0.

Contributing

Feel free to contribute to this project after reading the contributing guidelines.

Before starting to work on a certain topic, create a new issue first, describing the feature/topic you are going to implement.

Credits

NeoFS is maintained by NeoSPCC with the help and contributions from community members.

Please see CREDITS for details.

License