[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] Data integrity in nbd / using a LUKS-encrypted device




I am doing a number of tests of luks on top of nbd, experienced #2 on a number of occasions and experienced no particular trouble recoverying and remounting.

Be advised when LUKS is used on top of nbd the LUKS partition header is available in the files on the nbd-server for the usual sort of brute force attacks.


On 05/17/2017 05:25 PM, Wojciech Jablonski wrote:
Dear nbd,
Here's a question of mine I would be thankful to receive your answer to.

To what extent is data integrity ensured when using nbd? When writing data to a remote device, is data corruption possible in following scenarios:
1) power supply fails on client machine
2) network connection is lost/interrupted
3) above scenarios plus writing to a LUKS-encrypted device - is it possible/likely that the LUKS header could get damaged, or corruption will be limited to the file being written only.
Thank you for any comments and have a good day.

Kind regards,
Wojciech Jablonski




Reply to: