Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cOsBtjPvtTnV for ; Sun, 22 Jan 2012 16:27:43 +0100 (CET) Received: from nm32-vm7.bullet.mail.bf1.yahoo.com (nm32-vm7.bullet.mail.bf1.yahoo.com [72.30.239.143]) by mail.saout.de (Postfix) with SMTP for ; Sun, 22 Jan 2012 16:27:43 +0100 (CET) References: Message-ID: <1327246061.41932.YahooMailNeo@web161402.mail.bf1.yahoo.com> Date: Sun, 22 Jan 2012 07:27:41 -0800 (PST) From: FAN ZHANG In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-347748201-268146951-1327246061=:41932" Subject: Re: [dm-crypt] dm-crypt Digest, Vol 31, Issue 21 Reply-To: FAN ZHANG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "dm-crypt@saout.de" ---347748201-268146951-1327246061=:41932 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable dm-crypt is designated to encrypt content for block device. You should use = crypt file system (i.e. eCryptfs) to resolve your problem.=0A=0A=0A1. File = content as well as names can be encrypted by using eCryptfs.=0A2. Underneat= h file system could handle network connection /server power down issue with= proper journaling mechanism.=0A=A0=0A=A0=0AThanks=0A=A0=0AFan=0A=A0=0A=A0= =0A=A0=0AFrom: "dm-crypt-request@saout.de" =0ATo= : dm-crypt@saout.de =0ASent: Sunday, January 22, 2012 5:00 AM=0ASubject: dm= -crypt Digest, Vol 31, Issue 21=0A=0ASend dm-crypt mailing list submissions= to=0A=A0=A0=A0 dm-crypt@saout.de=A0=0A=0ATo subscribe or unsubscribe via t= he World Wide Web, visit=0A=A0=A0=A0 http://www.saout.de/mailman/listinfo/d= m-crypt=0Aor, via email, send a message with subject or body 'help' to=0A= =A0=A0=A0 dm-crypt-request@saout.de=0A=0AYou can reach the person managing = the list at=0A=A0=A0=A0 dm-crypt-owner@saout.de=0A=0AWhen replying, please = edit your Subject line so it is more specific=0Athan "Re: Contents of dm-cr= ypt digest..."=0A=0A=0AToday's Topics:=0A=0A=A0 1. Re: Cryptocontainer on r= emote storage (Roscoe)=0A=A0=A0=0A=0A--------------------------------------= --------------------------------=0A=0AMessage: 1=0ADate: Sun, 22 Jan 2012 1= 8:58:18 +1100=0AFrom: Roscoe =0ATo: Florian Weingarten =0ACc: dm-crypt@saout.de=0ASubject: Re: [dm-= crypt] Cryptocontainer on remote storage=0AMessage-ID:=0A=A0=A0=A0 =0AContent-Type= : text/plain; charset=3D"iso-8859-1"=0A=0AWouldn't this be a candidate for = iscsi or similar ? A big container file=0Asitting on a network fs seems a b= ad solution to me.=0A=0AI make no comment regarding choice of mode in this = scenario.=0A=0A-- Roscoe=0AOn Jan 18, 2012 9:03 PM, "Florian Weingarten" <= =0Aweingarten@itsec.rwth-aachen.de> wrote:=0A=0A> Hi everyone,=0A>=0A> I ha= ve been thinking about possible solutions to the problem of=0A> encrypted r= emote storage and I was wondering if dmcrypt would be good=0A> way to do it= .=0A>=0A> My requirements are basically as follows: I want to store files (= in the=0A> magnitude of gigabytes) on a remote server. However, I do not tr= ust the=0A> server's admins, therefore, the files should be encrypted. Acce= ss should=0A> not be too slow. Obviously, no key material what so ever shou= ld ever=0A> reach the server. Furthermore, filesystem metadata (names, acce= ss times,=0A> etc.) should also be hidden, so encrypted single files is not= enough.=0A>=0A> I was thinking about locally creating a large enough conta= iner file,=0A> encrypt it with cryptsetup/LUKS, upload it to the remote sto= rage. Then,=0A> access it via some network filesystem (sshfs, smbfs, nfs, .= ..) and=0A> locally mount the container with losetup. What do you think abo= ut this=0A> solution?=0A>=0A> My main concern is: What happens when the net= work link dies while the=0A> container is mounted? How much damage is there= in the worst case? I=0A> expect it to be pretty much the same as powering = down while a local=0A> filesystem is mounted (a few damaged sectors at most= , which will likely=0A> be recoverable because of filesystem journaling).= =0A>=0A> The main drawback is, in my opinion, that I initially have to uplo= ad a=0A> very large file to the storage (and do it again whenever I want to= resize).=0A>=0A> What network fs should I use? As far as I see it, I need = good=0A> authentication, but encryption is not necessary (so sshfs would be= an=0A> unnecessary overhead), right?=0A>=0A> I was also thinking about som= e copy-on-write ideas which create a local=0A> fs with all the "changes", w= hich I can then sync back to the remote=0A> server later all at once, which= would reduce the network activity and=0A> thus the risk of network errors.= =0A>=0A> Anybody got practical experiences with ideas of this kind? Any=0A>= performance benchmarks?=0A>=0A> Thanks!=0A> Flo=0A> ______________________= _________________________=0A> dm-crypt mailing list=0A> dm-crypt@saout.de= =0A> http://www.saout.de/mailman/listinfo/dm-crypt=0A>=0A-------------- nex= t part --------------=0AAn HTML attachment was scrubbed...=0AURL: =0A=0A------------------------------=0A=0A__________________________= _____________________=0Adm-crypt mailing list=0Adm-crypt@saout.de=0Ahttp://= www.saout.de/mailman/listinfo/dm-crypt=0A=0A=0AEnd of dm-crypt Digest, Vol = 31, Issue 21=0A**************************************** ---347748201-268146951-1327246061=:41932 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
dm-crypt is designated to encrypt content= for block device. You should use crypt file system (i.e. eCryptfs) to reso= lve your problem.


1. File content as = well as names can be encrypted by using eCryptfs.
2. Underneath file = system could handle network connection /server power down issue with proper= journaling mechanism.
 
 
Thanks
 
Fan
 
 
 
From:= "dm-crypt-request@saout.de" <dm-crypt-request@saout.de>To: dm-crypt@saout.de Sent: Sunday, January 22, = 2012 5:00 AM
Subject: dm= -crypt Digest, Vol 31, Issue 21

Send dm-crypt mailing l= ist submissions to
    dm-crypt@saou= t.de 

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.saout.de/mailman/listinfo/dm-crypt<= BR>or, via email, send a message with subject or body 'help' to
 &n= bsp;  dm-crypt-request@saout.de

You can reac= h the person managing the list at
    dm-crypt= -owner@saout.de

When replying, please edit your Subject line so = it is more specific
than "Re: Contents of dm-crypt digest..."

Today's Topics:

  1. Re: Cryptocontainer on remote storage (Ro= scoe)
  

----------------------------------------------= ------------------------

Message: 1
Date: Sun, 22 Jan 2012 18:58:= 18 +1100
From: Roscoe <eocsor@gmail.com>
To: Florian Weingarte= n <weingarten@itsec.rwth-aachen.de>
= Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Cryptocontainer on remo= te storage
Message-ID:
    <C= AHtv-xOV4155zWLF3vghSHbfzkW9iL1MtDNsfe89Ky10RB6ecA@mail.gmail.com>Content-Type: text/plain; charset=3D"iso-8859-1"

Wouldn't this be = a candidate for iscsi or similar ? A big container file
sitting on a net= work fs seems a bad solution to me.

I make no comment regarding choi= ce of mode in this scenario.

-- Roscoe
On Jan 18, 2012 9:03 PM, "= Florian Weingarten" <
weingarten@itsec.rwth-a= achen.de> wrote:

> Hi everyone,
>
> I have bee= n thinking about possible solutions to the problem of
> encrypted rem= ote storage and I was wondering if dmcrypt would be good
> way to do = it.
>
> My requirements are basically as follows: I want to sto= re files (in the
> magnitude of gigabytes) on a remote server. Howeve= r, I do not trust the
> server's admins, therefore, the files should = be encrypted. Access should
> not be too slow. Obviously, no key mate= rial what so ever should ever
> reach the server. Furthermore, filesy= stem metadata (names, access times,
> etc.) should also be hidden, so= encrypted single files is not enough.
>
> I was thinking about= locally creating a large enough container file,
> encrypt it with cr= yptsetup/LUKS, upload it to the remote storage. Then,
> access it via some network filesystem (sshfs, smbfs, nfs, ...) and
> locall= y mount the container with losetup. What do you think about this
> so= lution?
>
> My main concern is: What happens when the network l= ink dies while the
> container is mounted? How much damage is there i= n the worst case? I
> expect it to be pretty much the same as powerin= g down while a local
> filesystem is mounted (a few damaged sectors a= t most, which will likely
> be recoverable because of filesystem jour= naling).
>
> The main drawback is, in my opinion, that I initia= lly have to upload a
> very large file to the storage (and do it agai= n whenever I want to resize).
>
> What network fs should I use?= As far as I see it, I need good
> authentication, but encryption is = not necessary (so sshfs would be an
> unnecessary overhead), right?>
> I was also thinking about some copy-on-write ideas which create a local
> fs with all the "changes", which I can then s= ync back to the remote
> server later all at once, which would reduce= the network activity and
> thus the risk of network errors.
><= BR>> Anybody got practical experiences with ideas of this kind? Any
&= gt; performance benchmarks?
>
> Thanks!
> Flo
> ___= ____________________________________________
> dm-crypt mailing list<= BR>> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm= -crypt
>
-------------- next part --------------
An HTML at= tachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20120122/8c5d2e4f/a= ttachment-0001.html>

------------------------------

______= _________________________________________
dm-crypt mailing list
dm-cry= pt@saout.de
http://www.saout.de/mailman/listinfo/dm-crypt

=
End of dm-crypt Digest, Vol 31, Issue 21
***************************= *************


---347748201-268146951-1327246061=:41932--