-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidechain Magic number should be used in NeoFS requests #82
Comments
Would be nice to think about it after #127 and nspcc-dev/neofs-dev-env#6 |
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Sep 27, 2021
Add `sidechain_magic` numeric field to `session.RequestMetaHeader` message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This was referenced Sep 27, 2021
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Sep 28, 2021
Add `sidechain_magic` numeric field to `session.RequestMetaHeader` message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This issue was rollbacked because it would break backward compatibility without status codes. Now it should work fine. Besides that implement, status code for invalid message so the client can process that and downgrade request version number. |
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Jan 10, 2022
To prevent theoretical cross-network replay attack, we need to have sidechain magic in NeoFS requests. Add `sidechain_magic` numeric field to `session.RequestMetaHeader` message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Jan 10, 2022
To prevent theoretical cross-network replay attack, we need to have sidechain magic in NeoFS requests. Add `sidechain_magic` numeric field to `session.RequestMetaHeader` message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Jan 10, 2022
After the recent update of NeoFS V2 protocol all requests must carry correct sidechain magic. Add `WRONG_SIDECHAIN_MAGIC` code to `CommonFail` section. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Jan 10, 2022
To prevent theoretical cross-network replay attack, we need to have sidechain magic in NeoFS requests. Add `sidechain_magic` numeric field to `session.RequestMetaHeader` message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Jan 10, 2022
After the recent update of NeoFS V2 protocol all requests must carry correct sidechain magic. Add `WRONG_SIDECHAIN_MAGIC` code to `CommonFail` section. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Jan 10, 2022
To prevent theoretical cross-network replay attack, we need to have network magic in NeoFS requests. Add `magic_number` numeric field to `session.RequestMetaHeader` message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-api
that referenced
this issue
Jan 10, 2022
After the recent update of NeoFS V2 protocol all requests must carry correct network magic. Add `WRONG_MAGIC_NUMBER` code to `CommonFail` section. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
that referenced
this issue
Jan 10, 2022
To prevent theoretical cross-network replay attack, we need to have network magic in NeoFS requests. Add `magic_number` numeric field to `session.RequestMetaHeader` message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
that referenced
this issue
Jan 10, 2022
After the recent update of NeoFS V2 protocol all requests must carry correct network magic. Add `WRONG_MAGIC_NUMBER` code to `CommonFail` section. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To prevent theoretical replay attack, we need to have Sidechain Magic in NeoFS requests.
The text was updated successfully, but these errors were encountered: