Differences

This shows you the differences between the selected revision and the current version of the page.

howto:encrypted_partitions 2011/05/09 19:30 howto:encrypted_partitions 2017/09/06 18:38 current
Line 1: Line 1:
====== Encrypted partitions for DNS-323 ====== ====== Encrypted partitions for DNS-323 ======
-It is possible to use losetup and friends to have encrypted partitions on your DNS 323. Currently, this is only possible for the 1.03 and 1.05 firmware, unless you fancy compiling your own kernel modules (see [[howto:crosscompile]]).+It is possible to use losetup and friends to have encrypted partitions on your DNS 323. Currently, this is only possible for the 1.03, 1.05, 1.10b7 firmware, unless you fancy compiling your own kernel modules (see [[howto:crosscompile]]).
But be aware that this will have a huge impact on performance (expect to get about 10% the performance of normal disk access...) But be aware that this will have a huge impact on performance (expect to get about 10% the performance of normal disk access...)
-====== Firmware dns323_FW_110b07_BETA.zip ======+ 
 +===== Firmware dns323_FW_110b07_BETA.zip =====
Looks like works both encrypted loopback (see instructions below) and dm-crypt + device-mapper (both modules already in kernel). Looks like works both encrypted loopback (see instructions below) and dm-crypt + device-mapper (both modules already in kernel).
For work with dm-crypt you need to setup ffp, take all necessary encryption modules from page below (http://www.x-linked.de/dns323/fw105/cryptloop/modules/crypto/). For work with dm-crypt you need to setup ffp, take all necessary encryption modules from page below (http://www.x-linked.de/dns323/fw105/cryptloop/modules/crypto/).
Line 64: Line 65:
Regarding cryptsetup looks like it is not nesessary because you can setup encrypted device using only device-mapper & dmsetup tool (see http://www.saout.de/misc/dm-crypt/) Regarding cryptsetup looks like it is not nesessary because you can setup encrypted device using only device-mapper & dmsetup tool (see http://www.saout.de/misc/dm-crypt/)
-====== Performance in case of dm-crypt ====== + 
-It is really nightmare. F.E. DNS-323 use Samsung 1,5TB drive.+ 
 + 
 +==== Performance in case of dm-crypt ==== 
 +It is really nightmare (if you think to move 1TB data from not encrypted disk to encrypted). F.E. DNS-323 use Samsung 1,5TB drive.
<code bash> <code bash>
dd bs=10M if=/dev/zero of=zero count=149 dd bs=10M if=/dev/zero of=zero count=149
Line 72: Line 76:
dd bs=10M if=zero of=/dev/null count=149 dd bs=10M if=zero of=/dev/null count=149
</code> takes ~8min (3MB/sec) for encrypted drive and 30s for normal drive (49MB/sec) </code> takes ~8min (3MB/sec) for encrypted drive and 30s for normal drive (49MB/sec)
-From one point of view it is normal to see some movies and play sound from that drives+ 
 +From another point of view it is not so bad and you can see Full DH movies and play sound from DNS-323 in case if it is connected to your WiFi which is not faster than 2MB/sec.

Navigation

Personal Tools